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.
43 lines
834 B
43 lines
834 B
2 years ago
|
<template>
|
||
|
<view>
|
||
|
<image class="width35 imgs mart30" mode="widthFix" v-for="(item,index) in agents" :src="item.imgs" :key="index"
|
||
|
@click="jumppage(item.url)"></image>
|
||
|
</view>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
export default {
|
||
|
data() {
|
||
|
return {
|
||
|
agents: [{
|
||
|
title: '代理商管理',
|
||
|
imgs: '../static/agent1.png',
|
||
|
url: '../agentmanage/agentmanage'
|
||
|
}, {
|
||
|
title: '分发卡券',
|
||
|
imgs: '../static/agent2.png',
|
||
|
url: '/pages/user/minePromotion/minePromotion'
|
||
|
}, {
|
||
|
title: '修改密码',
|
||
|
imgs: '../static/agent3.png',
|
||
|
url: '/pages/login/resetpasswd'
|
||
|
}]
|
||
|
}
|
||
|
},
|
||
|
methods: {
|
||
|
//跳转页面
|
||
|
jumppage(item) {
|
||
|
uni.navigateTo({
|
||
|
url: item
|
||
|
})
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
</script>
|
||
|
|
||
|
<style lang="less">
|
||
|
.imgs {
|
||
|
margin-left: 10%;
|
||
|
}
|
||
|
</style>
|