Commit 21589821 by cwq0219

首页设置

1 parent ebe32071
...@@ -77,7 +77,7 @@ html { ...@@ -77,7 +77,7 @@ html {
} }
.marketing .wechat-container { .marketing .wechat-container {
width: 375px; width: 290px;
margin-left: 32px; margin-left: 32px;
background: #ffffff; background: #ffffff;
position: relative; position: relative;
...@@ -88,7 +88,7 @@ html { ...@@ -88,7 +88,7 @@ html {
} }
.marketing .wechat-container .wechat-box { .marketing .wechat-container .wechat-box {
width: 375px; width: 290px;
border: 1px solid #cecece; border: 1px solid #cecece;
// width: 100%; // width: 100%;
border-radius: 2px; border-radius: 2px;
...@@ -175,6 +175,10 @@ html { ...@@ -175,6 +175,10 @@ html {
z-index: 999; z-index: 999;
} }
.marketing .flex-default {
display: flex;
}
.marketing .flex { .marketing .flex {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
......
...@@ -114,6 +114,7 @@ export default { ...@@ -114,6 +114,7 @@ export default {
{ {
label: '浏览量(次)', label: '浏览量(次)',
name: 'goodsStatistics', name: 'goodsStatistics',
width: '180',
formatter: cellValue => { formatter: cellValue => {
return cellValue.goodsStatistics ? cellValue.goodsStatistics.viewAmount || '0' : '0' return cellValue.goodsStatistics ? cellValue.goodsStatistics.viewAmount || '0' : '0'
} }
...@@ -128,6 +129,7 @@ export default { ...@@ -128,6 +129,7 @@ export default {
{ {
label: '零售价(元)', label: '零售价(元)',
name: 'retailPrice', name: 'retailPrice',
width: '180',
formatter: cellValue => { formatter: cellValue => {
return (cellValue.retailPrice / 100).toFixed(2) return (cellValue.retailPrice / 100).toFixed(2)
} }
......
...@@ -118,6 +118,7 @@ export default { ...@@ -118,6 +118,7 @@ export default {
{ {
label: '浏览量(次)', label: '浏览量(次)',
name: 'goodsStatistics', name: 'goodsStatistics',
width: '180',
formatter: cellValue => { formatter: cellValue => {
return cellValue.goodsStatistics ? cellValue.goodsStatistics.viewAmount || '0' : '0' return cellValue.goodsStatistics ? cellValue.goodsStatistics.viewAmount || '0' : '0'
} }
...@@ -132,6 +133,7 @@ export default { ...@@ -132,6 +133,7 @@ export default {
{ {
label: '零售价(元)', label: '零售价(元)',
name: 'retailPrice', name: 'retailPrice',
width: '180',
formatter: cellValue => { formatter: cellValue => {
return (cellValue.retailPrice / 100).toFixed(2) return (cellValue.retailPrice / 100).toFixed(2)
} }
......
...@@ -19,9 +19,6 @@ ...@@ -19,9 +19,6 @@
<div class="table-btns" slot="auth-button" slot-scope="scope"> <div class="table-btns" slot="auth-button" slot-scope="scope">
<el-button type="text" @click="handleEdit(2, scope.scope)">编辑</el-button> <el-button type="text" @click="handleEdit(2, scope.scope)">编辑</el-button>
<el-button type="text" @click="handleDelete(scope.scope)">删除</el-button> <el-button type="text" @click="handleDelete(scope.scope)">删除</el-button>
<!-- <el-button type="text" @click="handleDelete(scope.scope)">隐藏</el-button>
<el-button type="text" @click="handleDelete(scope.scope)">显示</el-button>
<el-button type="text" @click="handleDelete(scope.scope)">置顶</el-button> -->
</div> </div>
</GLTable> </GLTable>
<!-- 表格区域 end --> <!-- 表格区域 end -->
...@@ -75,10 +72,6 @@ export default { ...@@ -75,10 +72,6 @@ export default {
return dayjs(cellValue.createdDate).format('YYYY-MM-DD HH:mm:ss') return dayjs(cellValue.createdDate).format('YYYY-MM-DD HH:mm:ss')
} }
} }
// {
// label: '专区来源',
// prop: ''
// }
] ]
}, },
pageConf: { pageSize: 'pageSize', pageNum: 'currentPage', totalCount: 'total' } pageConf: { pageSize: 'pageSize', pageNum: 'currentPage', totalCount: 'total' }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!