Commit 873112d0 by 王志慧

style修改

1 parent a2f4bade
...@@ -50,12 +50,12 @@ ...@@ -50,12 +50,12 @@
</div> </div>
<!-- <i class="carIcon"></i> --> <!-- <i class="carIcon"></i> -->
</div> </div>
<div class="table"> <div class="table-wrap">
<h3>适用门店</h3> <h3>适用门店</h3>
<GLTable :hasNum="false" :hasPage="false" :tableParams="tableParams" :table-data="tableInfo"> <GLTable :hasNum="false" :hasPage="false" :tableParams="tableParams" :table-data="tableInfo"></GLTable>
</GLTable>
</div> </div>
<h3 style="margin-top:20px;">产品详情</h3> <div class="table-wrap">
<h3>产品详情</h3>
<div class="goodsDescList"> <div class="goodsDescList">
<div class="goodsDescItem" v-for="(item, index) in goodsInfo.goodsDescList" :key="index"> <div class="goodsDescItem" v-for="(item, index) in goodsInfo.goodsDescList" :key="index">
<img :src="item.content" v-if="item.resType == 1" class="productDetailsImg" alt="" /> <img :src="item.content" v-if="item.resType == 1" class="productDetailsImg" alt="" />
...@@ -63,6 +63,7 @@ ...@@ -63,6 +63,7 @@
<div v-if="item.resType == 2" class="goodsDescItem__content" v-html="item.content"></div> <div v-if="item.resType == 2" class="goodsDescItem__content" v-html="item.content"></div>
</div> </div>
</div> </div>
</div>
</div> </div>
</GLDialog> </GLDialog>
</template> </template>
...@@ -98,22 +99,26 @@ export default { ...@@ -98,22 +99,26 @@ export default {
upgradeGoodsId: '', upgradeGoodsId: '',
purchasePrice: 0 purchasePrice: 0
}, },
tableParams: { tableParams: {
btnId: new Date().getTime() + parseInt(Math.random() * 1000), btnId: new Date().getTime() + parseInt(Math.random() * 1000),
listName: 'list', listName: 'list',
tableColumns: [{ tableColumns: [
label: '商户名称', {
prop: 'merchantNames' label: '商户名称',
}, { prop: 'merchantNames'
label: '商户号', },
prop: 'merchantId' {
}, { label: '商户号',
label: '商品别名', prop: 'merchantId'
prop: 'upgradeGoodsAlias' },
}] {
label: '商品别名',
prop: 'upgradeGoodsAlias'
}
]
}, },
tableInfo: [], tableInfo: []
} }
}, },
computed: { computed: {
...@@ -243,7 +248,7 @@ export default { ...@@ -243,7 +248,7 @@ export default {
font-weight: 600; font-weight: 600;
font-size: 30px; font-size: 30px;
color: #ee3040; color: #ee3040;
margin-left:8px; margin-left: 8px;
} }
} }
...@@ -312,8 +317,16 @@ export default { ...@@ -312,8 +317,16 @@ export default {
align-items: center; align-items: center;
width: 168px; width: 168px;
height: 40px; height: 40px;
margin-left:18px; margin-left: 18px;
background: #5850ff; background: #5850ff;
border-radius: 4px; border-radius: 4px;
} }
.table-wrap {
margin-top:24px;
h3 {
font-size: 16px;
color: #333333;
margin-bottom:16px;
}
}
</style> </style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!