页面优化4
This commit is contained in:
parent
f2ec0f7ae4
commit
e674e1a441
|
|
@ -35,7 +35,12 @@
|
|||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="标题" align="center" prop="title" :show-overflow-tooltip="true" width="200"/>
|
||||
<el-table-column label="内容" align="center" prop="content" :show-overflow-tooltip="true"/>
|
||||
<el-table-column label="内容" align="center" prop="content" :show-overflow-tooltip="true">
|
||||
<template slot-scope="scope">
|
||||
<span v-if="scope.row.type==1">{{scope.row.content}}</span>
|
||||
<span v-if="scope.row.type==2">{{scope.row.fileContent}}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="是否启用" align="center" prop="type" :show-overflow-tooltip="true" width="120">
|
||||
<template slot-scope="scope">
|
||||
<span v-if="scope.row.type==1">文本内容</span>
|
||||
|
|
|
|||
|
|
@ -575,7 +575,8 @@ export default {
|
|||
},
|
||||
xAxis: {
|
||||
type: 'value',
|
||||
boundaryGap: [0, 0.01],
|
||||
boundaryGap: [0, 0.01],
|
||||
minInterval: 1,
|
||||
axisLine: {
|
||||
lineStyle: {
|
||||
color: "#748AA1"
|
||||
|
|
@ -639,6 +640,7 @@ export default {
|
|||
xAxis: {
|
||||
type: 'value',
|
||||
boundaryGap: [0, 0.01],
|
||||
minInterval: 1,
|
||||
axisLine: {
|
||||
lineStyle: {
|
||||
color: "#748AA1"
|
||||
|
|
|
|||
Loading…
Reference in New Issue