|
@@ -7,9 +7,14 @@
|
|
|
<button class="admin-button-com mini-btn blue" style="margin-left:13upx;padding-top:17upx;padding-bottom:17upx;" @click="pageTo({url:'/pagesPurchase/pb'})">已屏蔽列表</button>
|
|
<button class="admin-button-com mini-btn blue" style="margin-left:13upx;padding-top:17upx;padding-bottom:17upx;" @click="pageTo({url:'/pagesPurchase/pb'})">已屏蔽列表</button>
|
|
|
<button class="admin-button-com mini-btn blue" style="margin-left:13upx;padding-top:17upx;padding-bottom:17upx;" @click="pageTo({url:'/pagesPurchase/open'})">开启零售功能</button>
|
|
<button class="admin-button-com mini-btn blue" style="margin-left:13upx;padding-top:17upx;padding-bottom:17upx;" @click="pageTo({url:'/pagesPurchase/open'})">开启零售功能</button>
|
|
|
</view>
|
|
</view>
|
|
|
- <view style="text-align:center;" @click.stop="pageTo({url:'/admin/ljh/info'})">
|
|
|
|
|
- <image :src="`${constant.imgUrl}/ljh/banner2.jpg`" mode="widthFix" style="width:97%;margin:0 auto;"></image>
|
|
|
|
|
- </view>
|
|
|
|
|
|
|
+
|
|
|
|
|
+ <template v-if="!$util.isEmpty(ad)">
|
|
|
|
|
+ <block v-for="(adInfo, adIndex) in ad" :key="adIndex">
|
|
|
|
|
+ <view style="text-align:center;" @click.stop="pageTo({url:adInfo.url})">
|
|
|
|
|
+ <image :src="adInfo.banner" mode="widthFix" style="width:97%;margin:0 auto;"></image>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </block>
|
|
|
|
|
+ </template>
|
|
|
|
|
|
|
|
<template v-if="!$util.isEmpty(supplierList)">
|
|
<template v-if="!$util.isEmpty(supplierList)">
|
|
|
|
|
|
|
@@ -65,7 +70,8 @@ export default {
|
|
|
},
|
|
},
|
|
|
data () {
|
|
data () {
|
|
|
return {
|
|
return {
|
|
|
- supplierList: []
|
|
|
|
|
|
|
+ supplierList: [],
|
|
|
|
|
+ ad:[]
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
onPullDownRefresh() {
|
|
onPullDownRefresh() {
|
|
@@ -120,6 +126,7 @@ export default {
|
|
|
getGHSList () {
|
|
getGHSList () {
|
|
|
return ghsList().then(res => {
|
|
return ghsList().then(res => {
|
|
|
this.supplierList = res.data.list
|
|
this.supplierList = res.data.list
|
|
|
|
|
+ this.ad = res.data.ad ? res.data.ad : []
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
|
settleAccounts (item) {
|
|
settleAccounts (item) {
|