2024-03-13 15:14:37 +08:00
|
|
|
<view class="containerView public">
|
|
|
|
|
|
|
|
<!-- 个人 -->
|
|
|
|
<view class="itemView" bindtap="navpersonalData">
|
|
|
|
<view class="itemData">
|
|
|
|
<image class="avatarImg" src="{{userDetail.avatar? DOMAIN_NAME + userDetail.avatar : DOMAIN_NAME + '/profile/static/user/headImg.png'}}" mode="aspectFill"></image>
|
|
|
|
<view class="label">{{userDetail.username? userDetail.username:'登录'}}</view>
|
|
|
|
<view class="propOpen"></view>
|
|
|
|
<van-icon name="arrow" size="40rpx" color="gray" />
|
2024-02-22 18:57:41 +08:00
|
|
|
</view>
|
2024-02-21 17:43:11 +08:00
|
|
|
</view>
|
2024-02-22 18:57:41 +08:00
|
|
|
|
2024-03-13 15:14:37 +08:00
|
|
|
<!-- 菜单 -->
|
|
|
|
<view class="itemView">
|
2024-03-13 18:27:17 +08:00
|
|
|
<!-- 扫一扫 -->
|
|
|
|
<view class="itemData" bindtap='jumpScan'>
|
|
|
|
<view class="label">扫一扫</view>
|
|
|
|
<view class="propOpen"></view>
|
|
|
|
<van-icon name="scan" size="40rpx" color="gray" />
|
|
|
|
</view>
|
|
|
|
<!-- 菜单列表 -->
|
|
|
|
<view class="itemData" wx:for="{{customerPages}}" wx:key="*this" bindtap='navigateTo' data-url="{{item.url}}" data-name="{{item.name}}">
|
2024-03-13 15:14:37 +08:00
|
|
|
<view class="label">{{item.name}}</view>
|
|
|
|
<view class="propOpen"></view>
|
|
|
|
<van-icon name="arrow" size="40rpx" color="gray" />
|
2024-02-22 18:57:41 +08:00
|
|
|
</view>
|
2024-02-21 17:43:11 +08:00
|
|
|
</view>
|
|
|
|
|
2024-02-22 18:57:41 +08:00
|
|
|
<!-- tabBar -->
|
|
|
|
<view class="tab-bar">
|
|
|
|
<view wx:for="{{tabBarList}}" wx:key="index" class="tab-bar-item {{item.bulge?'bulge':''}}" data-path="{{item.pagePath}}" data-index="{{index}}" bindtap="switchTab">
|
|
|
|
<view wx:if="item.bulge" class="tab-bar-bulge"></view>
|
|
|
|
<image class="image" src="{{tabBarParam.selected === index ? item.selectedIconPath : item.iconPath}}"></image>
|
|
|
|
<view class="tab-bar-view" style="color: {{tabBarParam.selected === index ? tabBarParam.selectedColor : tabBarParam.color}}">{{item.text}}</view>
|
2024-02-21 17:43:11 +08:00
|
|
|
</view>
|
|
|
|
</view>
|
2024-03-13 18:27:17 +08:00
|
|
|
</view>
|
|
|
|
|
|
|
|
<!-- 消息提示 -->
|
|
|
|
<van-notify id="van-notify" />
|