调整区块链电商App兼容优化
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
<template>
|
||||
<view class="lists">
|
||||
<block v-if="lists.length > 0">
|
||||
<view class="header-flex">
|
||||
<!-- <view class="header-flex">
|
||||
门店数量{{total}}
|
||||
<view class="add-btn" @click="$Router.push({name: 'shopCreate'})">添加门店</view>
|
||||
</view>
|
||||
</view> -->
|
||||
<view class="lists-item" v-for="(item, index) in lists" :key="index" @click="$Router.push({name: 'shopCreate', params: { id: item.store_id }})">
|
||||
<view class="header">
|
||||
<image class="logo" :src="item.cover" mode="aspectFill"></image>
|
||||
@@ -41,6 +41,9 @@
|
||||
this.lists = res.data
|
||||
this.total = res.page.total
|
||||
})
|
||||
},
|
||||
onNavigationBarButtonTap() {
|
||||
this.$Router.push({name: 'shopCreate'})
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user