|
|
@@ -3,13 +3,7 @@
|
|
|
<view class="order_list">
|
|
|
<block>
|
|
|
<block v-if="!$util.isEmpty(supplierList)">
|
|
|
- <view
|
|
|
- class="list_item"
|
|
|
- v-for="(item, index) in supplierList"
|
|
|
- :key="index"
|
|
|
- @click="enter(item)"
|
|
|
- >
|
|
|
- <view class="dist">{{item.dist}}</view>
|
|
|
+ <view class="list_item" v-for="(item, index) in supplierList" :key="index" @click="enterShop(item)" >
|
|
|
<view class="store_name">
|
|
|
<image :src="item.avatar"></image>
|
|
|
<view class="store_title">{{item.name}}</view>
|
|
|
@@ -31,10 +25,7 @@
|
|
|
</view>
|
|
|
</block>
|
|
|
<block v-else>
|
|
|
- <AppWrapperEmpty
|
|
|
- title="暂无数据"
|
|
|
- :is-empty="$util.isEmpty(supplierList)"
|
|
|
- />
|
|
|
+ <AppWrapperEmpty title="暂无数据" :is-empty="$util.isEmpty(supplierList)" />
|
|
|
</block>
|
|
|
</block>
|
|
|
</view>
|
|
|
@@ -105,9 +96,9 @@ export default {
|
|
|
url: '/pagesInvite/inviteShop'
|
|
|
})
|
|
|
},
|
|
|
- enter (item) {
|
|
|
+ enterShop(item) {
|
|
|
const { id } = item
|
|
|
- uni.navigateTo({url:`/pagesPurchase/ghsProduct?id=${id}`, type: 2 })
|
|
|
+ this.pageTo({url: '/pagesPurchase/ghsProduct',query:{id:id},type: 2})
|
|
|
},
|
|
|
init() {
|
|
|
this.getGHSList()
|
|
|
@@ -231,12 +222,12 @@ export default {
|
|
|
}
|
|
|
& > .store_btn {
|
|
|
position: absolute;
|
|
|
- top:155upx;
|
|
|
+ top:140upx;
|
|
|
left: 0upx;
|
|
|
& > .btn_entrance {
|
|
|
display: inline-block;
|
|
|
font-size: 26upx;
|
|
|
- color: #CCCCCC;
|
|
|
+ color: #666666;
|
|
|
padding: 10upx 20upx;
|
|
|
margin-left: 20upx;
|
|
|
text-decoration:underline;
|