You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
xuan-pay-cweb/subpackages/groupBuyingConfiguration/groupBuyingConfiguration.vue

77 lines
1.5 KiB

<template>
<view>
<!-- 菜单功能 -->
<view class="backcor6 all-container pd-main" >
<view class="funcss" v-for="(item,index) in funcList" :key="index" @click="jumpdesfun(item)">
<image :src="item.img" mode="widthFix" class="funicon"></image>
<view class="width100 font14 mart5">{{item.title}}</view>
</view>
</view>
</view>
</template>
<script>
export default {
data(){
return{
funcList:[
{
title: '门店图片',
url: './storeImg/storeImg',
img: '/static/img/home4.png'
},
{
title: '门店产品',
url: './storeProduct/storeProduct',
img: '/static/img/home4.png'
},{
title: '团购产品',
url:'./groupProduct/groupProduct',
img: '/static/img/home4.png'
},{
title: '门店信息',
url:'./storeMessage/storeMessage',
img: '/static/img/home4.png'
}
],
storeId:'',
}
},
onLoad(options){
if(options.storeId){
this.storeId = options.storeId;
}
},
methods:{
/**
* 跳转功能
*/
jumpdesfun(item) {
let that = this;
uni.navigateTo({
url: item.url+"?storeId="+that.storeId
})
},
}
}
</script>
<style lang="scss" scoped>
// 菜单
.funcss {
width: 33%;
height: 100px;
border-right: 1px solid #e8e8e8;
border-bottom: 1px solid #e8e8e8;
background-color: #FFFFFF;
text-align: center;
display: inline-block;
.funicon {
width: 35px;
padding-top: 15px;
}
}
</style>