Commit 8371f868 authored by 黄奎's avatar 黄奎

页面修改

parent d5738c42
...@@ -18,12 +18,12 @@ ...@@ -18,12 +18,12 @@
<template slot-scope="scope"> <template slot-scope="scope">
<div style="display: inline-block;"> <div style="display: inline-block;">
<div class="flex q-ml-md"> <div class="flex q-ml-md">
<div class="catalog_num" v-if="scope.row.ChapterNo.indexOf('.') == -1"> <div class="catalog_num" v-if="scope.row.ChapterNo.indexOf('.') == -1" style="cursor:pointer;">
<span> <span>
<i>{{ scope.row.ChapterNo }}</i> <i>{{ scope.row.ChapterNo }}</i>
</span> </span>
</div> </div>
<div style="margin-left: 36px;width:360px;" class="ellipsis" <div style="margin-left: 36px;width:360px;cursor:pointer;" class="ellipsis"
v-if="scope.row.ChapterNo.indexOf('.') == -1"> v-if="scope.row.ChapterNo.indexOf('.') == -1">
{{ scope.row.ChapterName }} {{ scope.row.ChapterName }}
</div> </div>
...@@ -46,8 +46,7 @@ ...@@ -46,8 +46,7 @@
</el-table-column> </el-table-column>
<el-table-column prop="address" label="章节详情" width="200"> <el-table-column prop="address" label="章节详情" width="200">
<template slot-scope="scope"> <template slot-scope="scope">
<q-btn flat color="primary" v-if="scope.row.ChapterNo.indexOf('.') != -1" <q-btn flat color="primary" @click.stop="viewDetail(scope.row)">章节详情</q-btn>
@click.stop="viewDetail(scope.row)">章节详情</q-btn>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="address" label="状态" width="100"> <el-table-column prop="address" label="状态" width="100">
...@@ -79,7 +78,6 @@ ...@@ -79,7 +78,6 @@
<q-space /> <q-space />
<q-btn icon="close" flat round dense v-close-popup /> <q-btn icon="close" flat round dense v-close-popup />
</q-card-section> </q-card-section>
<q-card-section> <q-card-section>
<div class="text-subtitle1 q-mb-md">章节学习内容</div> <div class="text-subtitle1 q-mb-md">章节学习内容</div>
<div v-html="viewObj.ChapterContent" v-if="viewObj.ChapterContent!=''" <div v-html="viewObj.ChapterContent" v-if="viewObj.ChapterContent!=''"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment