调整区块链电商App兼容优化

This commit is contained in:
唐明明
2021-10-15 15:58:04 +08:00
parent 5c5e110a27
commit 440ce824d8
39 changed files with 7742 additions and 9194 deletions

View File

@@ -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>