Browse Source

修改样式

master
qushutong 6 years ago
parent
commit
a0d40ea1d9
  1. 10
      src/views/modules/news/news.vue

10
src/views/modules/news/news.vue

@ -134,7 +134,7 @@
fixed="right" fixed="right"
header-align="center" header-align="center"
align="center" align="center"
width="150"> width="200">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button type="text" <el-button type="text"
size="small" size="small"
@ -147,14 +147,6 @@
type="text" type="text"
size="small" size="small"
@click="modifyOnLine(scope.row)">下线</el-button> @click="modifyOnLine(scope.row)">下线</el-button>
</template>
</el-table-column>
<el-table-column :label="$t('handle')"
fixed="right"
header-align="center"
align="center"
width="100">
<template slot-scope="scope">
<el-button v-if="scope.row.bannerFlag === '0' && scope.row.newsUpDownState === '0' && new Date(scope.row.newsReleaseStartTime.replace('-', '/')) < new Date() <el-button v-if="scope.row.bannerFlag === '0' && scope.row.newsUpDownState === '0' && new Date(scope.row.newsReleaseStartTime.replace('-', '/')) < new Date()
&& new Date(scope.row.newsReleaseEndTime.replace('-', '/')) > new Date() " && new Date(scope.row.newsReleaseEndTime.replace('-', '/')) > new Date() "
type="text" type="text"

Loading…
Cancel
Save