|
- <!--pages/mine/index.wxml-->
- <view class="mine_container">
- <view class="user_massage">
- <view class="message_box">
- <image class="user_avatar" src="{{userInfo.headimgurl}}"></image>
- <view class="approve_box">
- <view class="id_box">
- <text class="user_name">{{userInfo.nickname}}</text>
- <view wx:if="{{userInfo.identityName}}" class="approve_btn">{{userInfo.identityName}}</view>
- </view>
- <view class="integral">
- <image style="width: 26rpx;height: 26rpx;margin-right: 10rpx;" src="../../assets/img/gold.png"></image>
- <text style="font-size: 24rpx;color: #ffffff;margin-right: 20rpx;" bindtap="handlePointDetail">{{userInfo.mallPoints || 0}}</text>
- <text style="color: rgba(255, 255, 255, 0.6);font-size: 24rpx;">护河积分可兑换礼物!快来加入我们吧~</text>
- </view>
- </view>
- </view>
- </view>
- <view class="function_list">
- <!-- 标题 -->
- <view class="apply_head" wx:if="{{!userInfo.identityName}}">
- <view class="item_title">
- <image style="height: 33rpx;width: 42rpx;margin-right: 20rpx;" src="../../assets/img/apply.png"></image>
- <view style="font-size: 28rpx;z-index:99;color: #FFFFFF;">申请成为护河身份</view>
- </view>
- <view class="apply_btn" bindtap="goApprove">立即申请</view>
- </view>
- <view class="function_item" wx:for="{{list}}" wx:key="index" bindtap="goRecords" data-path="{{item.path}}">
- <view class="item_title">
- <image style="height: 40rpx;width: 40rpx;margin-right: 14rpx;" src="{{'../../assets/img/'+ item.type +'.png'}}"></image>
- <view style="font-size: 30rpx;z-index:99">{{item.title}}</view>
- </view>
- <view class="enter_box">
- <text style="font-size: 26rpx; color: #C6C6C6;margin-top: -2rpx;">{{item.info}}</text>
- <image style="height: 30rpx;width: 30rpx;margin-left: 20rpx;" src="../../assets/img/more.png"></image>
- </view>
- </view>
- </view>
- <view class="tag"></view>
- <view class="function_list">
- <view class="function_item" wx:for="{{otherList}}" wx:key="index" bindtap="goRecords" data-path="{{item.path}}">
- <view class="item_title">
- <image style="height: 40rpx;width: 40rpx;margin-right: 14rpx;" src="{{'../../assets/img/'+ item.type +'.png'}}"></image>
- <view style="font-size: 30rpx;z-index:99">{{item.title}}</view>
- <text wx:if="{{item.showNumbers && numbers > 0}}" class="badge">{{numbers > 99 ? '99+' : numbers }}</text>
- </view>
- <view class="enter_box">
- <text style="font-size: 26rpx; color: #C6C6C6;margin-top: -2rpx;">{{item.info}}</text>
- <image style="height: 30rpx;width: 30rpx;margin-left: 20rpx;" src="../../assets/img/more.png"></image>
- </view>
- </view>
- </view>
- </view>
|