|
|
@@ -54,18 +54,22 @@
|
|
|
</view>
|
|
|
<view class="container">
|
|
|
<block v-for="(item, index) in iconList" :key="index">
|
|
|
- <view class="padding" v-if="item.name == '分割线'">
|
|
|
- <u-line color="#d3d3d3"></u-line>
|
|
|
- </view>
|
|
|
- <view class="flex justify-between align-center padding" @click="navByIcon(item.url)" v-else>
|
|
|
- <view class="flex align-center">
|
|
|
- <view class="flex align-center" style="width: 38rpx;height: 38rpx;">
|
|
|
- <image :src="item.icon" :style="{width: item.width, height: item.height}"></image>
|
|
|
+ <block v-if="item.name == '分割线'">
|
|
|
+ <view class="padding">
|
|
|
+ <u-line color="#d3d3d3"></u-line>
|
|
|
+ </view>
|
|
|
+ </block>
|
|
|
+ <block v-else>
|
|
|
+ <view class="flex justify-between align-center padding" @click="navByIcon(item.url)" v-if="item.show">
|
|
|
+ <view class="flex align-center">
|
|
|
+ <view class="flex align-center" style="width: 38rpx;height: 38rpx;">
|
|
|
+ <image :src="item.icon" :style="{width: item.width, height: item.height}"></image>
|
|
|
+ </view>
|
|
|
+ <view class="text-black text-bold text-lg padding-left">{{item.name}}</view>
|
|
|
</view>
|
|
|
- <view class="text-black text-bold text-lg padding-left">{{item.name}}</view>
|
|
|
+ <view class="cuIcon-right"></view>
|
|
|
</view>
|
|
|
- <view class="cuIcon-right"></view>
|
|
|
- </view>
|
|
|
+ </block>
|
|
|
</block>
|
|
|
</view>
|
|
|
</view>
|
|
|
@@ -85,16 +89,20 @@
|
|
|
userId: '',
|
|
|
userData: {},
|
|
|
isLogin: true,
|
|
|
+ isAgency: false,
|
|
|
iconList: [
|
|
|
- {name: '我的礼品', icon: '/static/icon-gift.png', width: '36upx', height: '33upx', url: '/pages/activityList/mine/myGift'},
|
|
|
- {name: '我的音乐', icon: '/static/icon-music.png', width: '33upx', height: '32upx', url: '/pages/activityList/mine/myMusic'},
|
|
|
- // {name: '我的奖金', icon: '/static/icon-awards.png', width: '29upx', height: '38upx', url: '/pages/activityList/mine/myAwards'},
|
|
|
- {name: '我的助力', icon: '/static/icon-history.png', width: '32upx', height: '32upx', url: '/pages/activityList/mine/myBoost'},
|
|
|
- {name: '我的公益', icon: '/static/icon-welfare.png', width: '31upx', height: '31upx', url: '/pages/activityList/mine/myWelfare'},
|
|
|
+ {name: '我的礼品', icon: '/static/icon-gift.png', width: '36upx', height: '33upx', url: '/pages/activityList/mine/myGift', show: true},
|
|
|
+ {name: '我的音乐', icon: '/static/icon-music.png', width: '33upx', height: '32upx', url: '/pages/activityList/mine/myMusic', show: true},
|
|
|
+ {name: '我的助力', icon: '/static/icon-history.png', width: '32upx', height: '32upx', url: '/pages/activityList/mine/myBoost', show: true},
|
|
|
+ {name: '我的公益', icon: '/static/icon-welfare.png', width: '31upx', height: '31upx', url: '/pages/activityList/mine/myWelfare', show: true},
|
|
|
{name: '分割线', icon: '', width: '', height: '', url: ''},
|
|
|
- {name: '花积分', icon: '/static/icon-mall.png', width: '30upx', height: '26upx', url: ''},
|
|
|
- {name: '更多活动', icon: '/static/icon-activity.png', width: '26upx', height: '31upx', url: ''},
|
|
|
- {name: '活动规则', icon: '/static/icon-rule.png', width: '29upx', height: '33upx', url: ''}
|
|
|
+ {name: '成为代理', icon: '/static/icon-agency.png', width: '33upx', height: '32upx', url: '/pages/activityList/mine/agent/agentDetail', show: true},
|
|
|
+ {name: '去推广', icon: '/static/icon-promote.png', width: '31upx', height: '30upx', url: '/pages/activityList/mine/agent/promote', show: true},
|
|
|
+ {name: '我的推广', icon: '/static/icon-myPromote.png', width: '29upx', height: '30upx', url: '/pages/activityList/mine/agent/myPromote', show: true},
|
|
|
+ {name: '我的收益', icon: '/static/icon-income.png', width: '24upx', height: '34upx', url: '/pages/activityList/mine/agent/myIncome/myIncome', show: true},
|
|
|
+ {name: '花积分', icon: '/static/icon-mall.png', width: '30upx', height: '26upx', url: '', show: true},
|
|
|
+ {name: '更多活动', icon: '/static/icon-activity.png', width: '26upx', height: '31upx', url: '', show: true},
|
|
|
+ {name: '活动规则', icon: '/static/icon-rule.png', width: '29upx', height: '33upx', url: '', show: true}
|
|
|
],
|
|
|
}
|
|
|
},
|