personal_center.wxml 3.6 KB
<!--pages/my/balance _center/balance _center.wxml-->
<view class='banner_box'>
        <view class='banner_tops'>
                <view class='banner_top'>
                        <view class='iconfont icon-fanhui' catchtap='get_my'></view>
                        <view class='hello'>你好,{{user.user.user_nickname}}</view>
                        <view class='charge_code' catchtap="get_exchange">
                                <view class='sign_in_box1' bindtap='signIn'>
                                        <view class='iconfont icon-qiandao'></view>
                                        <view>签到</view>
                                </view>
                        </view> 
                </view>
        </view>
        <view class='banner_middle'>
                <view class='banner_img'>
                        <view class='my_balance'>
                                <view class='balance'>我的积分</view>
                                <view class='balance_num'>{{user.user.score}}</view>
                        </view>
                        <image src='../../imgs/jifen.png' class='banner_img_img'></image>
                </view>

        </view>
</view>

<view class='bottom'>
        <view class='integral_detail'>积分明细</view>
        <view>
                <view wx:if='{{list.length>0}}'>
                        <view class='custom' wx:for='{{list}}' wx:key='{{item.id}}'>
                                <view class='custom_one'>{{item.name}}</view>
                                <view class='custom_two'>{{item.create_time}}</view>
                                <view class='price'>
                                        <text wx:if='{{item.score>0}}'>+</text> {{item.score}}
                                </view>
                        </view>
                </view>
                <view class='gogogo' wx:else>暂无明细</view>
        </view>
</view>

<view class='mask_box' wx:if='{{popup_state}}'>
        <view class='popup'>
                <image src='../../imgs/jindou1.png' class='jindouyi'></image>
                <image src='../../imgs/jindou2.png' class='jindouer'></image>
                <image src='../../imgs/jindou3.png' class='jindousan'></image>
                <view class='popup_box'>
                        <view class='iconfont icon-quxiao' bindtap='cancleMask'></view>
                        <view class='popup_title'>每日签到</view>
                        <view class='total'>已累积签
                                <text class='day'>{{user.user.signCount}}</text>天</view>
                </view>
                <view class='popup_content'>
                        <view class='look' bindtap='look_jifen'>查看我的积分 ></view>
                        <view class='sign_in_box'>
                                <view class='sign_in_days' wx:for='{{user.sign}}' wx:for-item='value' wx:for-index='key' wx:key='{{key}}'>
                                        <view class='box_vip'>
                                                <view class='key'>{{key}}</view>
                                                <image wx:if='{{value==1}}' src='../../imgs/aicon49.png'></image>
                                                <image wx:if='{{value==0}}' src='../../imgs/aicon48.png'></image>
                                        </view>
                                </view>
                        </view>
                        <view class='sign_in_hint'>每日打卡得10积分,积分可以抵现哦~</view>
                        <view class='popup_btn' bindtap='back_person'>立即签到</view>
                </view>
        </view>

</view>