2022-07-01 14:31:08 +08:00
|
|
|
<template>
|
|
|
|
|
<div class="AppPageMerchant">
|
2022-07-01 17:14:22 +08:00
|
|
|
|
|
|
|
|
<div class="list">
|
|
|
|
|
<div class="item" v-for="(item, index) in appList" :key="index" @click="linkTo(item.url)" :style="item.isBottom ? 'border-bottom: 1px solid #eee;' : ''">
|
|
|
|
|
<div class="icon" :style="`backgroundImage: url(${item.icon});`"></div>
|
|
|
|
|
<p>{{item.name}}</p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2022-07-01 14:31:08 +08:00
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
export default {
|
|
|
|
|
name: 'AppPageMerchant',
|
2022-07-01 17:14:22 +08:00
|
|
|
appName: '商户入口',
|
2022-07-01 14:31:08 +08:00
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
label: '西城-商户管理',
|
|
|
|
|
appList: [
|
|
|
|
|
{
|
|
|
|
|
name: '商户档案',
|
2022-07-01 17:14:22 +08:00
|
|
|
icon: require('./img/shanghudangan.png'),
|
2022-07-01 14:31:08 +08:00
|
|
|
url: '../AppMerchantManage/AppMerchantManage',
|
|
|
|
|
isBottom: true
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: '网格管理',
|
2022-07-01 17:14:22 +08:00
|
|
|
icon: require('./img/wanggeguanli.png'),
|
2022-07-01 14:31:08 +08:00
|
|
|
url: '../AppMerchanGird/AppMerchanGird',
|
|
|
|
|
isBottom: true
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: '商户地图',
|
2022-07-01 17:14:22 +08:00
|
|
|
icon: require('./img/shanghuditu.png'),
|
2022-07-01 14:31:08 +08:00
|
|
|
url: '../AppMerchantMap/AppMerchantMap',
|
|
|
|
|
isBottom: true
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: '网格统计',
|
2022-07-01 17:14:22 +08:00
|
|
|
icon: require('./img/wanggetongji.png'),
|
2022-07-01 14:31:08 +08:00
|
|
|
url: '../AppMerchanStatistics/AppMerchanStatistics'
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
onShow() {
|
2022-07-01 17:14:22 +08:00
|
|
|
document.title = '商户入口'
|
2022-07-01 14:31:08 +08:00
|
|
|
},
|
|
|
|
|
methods: {
|
2022-07-01 17:14:22 +08:00
|
|
|
linkTo(url) {
|
|
|
|
|
console.log(url)
|
|
|
|
|
uni.navigateTo({url})
|
|
|
|
|
}
|
2022-07-01 14:31:08 +08:00
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
|
.AppPageMerchant{
|
2022-07-01 17:14:22 +08:00
|
|
|
padding: 20px;
|
|
|
|
|
.list{
|
|
|
|
|
background-color: #fff;
|
|
|
|
|
border-radius: 16px;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
.item{
|
|
|
|
|
text-align: center;
|
|
|
|
|
padding-bottom: 38px;
|
|
|
|
|
border-right: 1px solid #eee;
|
|
|
|
|
width: calc(33% - 1px);
|
|
|
|
|
float: left;
|
|
|
|
|
.icon{
|
|
|
|
|
display: inline-block;
|
|
|
|
|
width: 80px;
|
|
|
|
|
height: 80px;
|
|
|
|
|
margin: 40px 0 8px 0;
|
|
|
|
|
background-size: 100% 100%;
|
|
|
|
|
text-align: center;
|
|
|
|
|
}
|
|
|
|
|
p{
|
|
|
|
|
font-size: 28px;
|
|
|
|
|
font-family: PingFangSC-Regular, PingFang SC;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
color: #3D434A;
|
|
|
|
|
line-height: 40px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.item:nth-of-type(3n) {
|
|
|
|
|
border-right: 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
2022-07-01 14:31:08 +08:00
|
|
|
}
|
|
|
|
|
</style>
|