<!--pages/my/my.wxml-->
<view class='page {{is_mobile||popup_state?"active":""}}'>
      <view class='biggest_box'>
                  <view class='banner_box'>
                <view class='hint_box'>
                        <view class='sign_in_box1' bindtap='signIn'>
                                <view class='iconfont icon-qiandao'></view>
                                <view>签到</view>
                        </view>
                        <view class='iconfont icon-message' catchtap='get_message'></view>
                </view>
                <view class='head_portrait'>
                        <!-- <view class='icvip'> -->
                        <view class='iconfont icon-vip {{user.user.is_vip===1?"active":""}}'></view>
                        <!-- </view> -->
                        <image src='{{user.user.avatar}}' catchtap='getamend_person'></image>
                </view>
                <view class='head_info'>
                        <view class='urer_name'>{{user.user.user_nickname}}</view>
                        <view class='member_center_box'>
                                <view>开通会员享{{user.cashback}}%返现
                                </view>
                                <view class='member_center' bindtap='jump_vip'>会员中心</view>
                        </view>
                        <view class='integral_box'>
                                <view class='intetral' bindtap='get_recharge'>
                                        <view class='intetral1'>{{user.user.balance}}</view>
                                        <view style='display:flex; align-items: flex-end;'>
                                                <view>余额.储值</view>
                                                <view class='interal_label'>奖券</view>
                                        </view>
                                </view>
                                <view class='intetral' bindtap='show_coupons'>
                                        <view class='intetral1'>{{user.user.couponCount}}</view>
                                        <view bindtap='coupons'>优惠券</view>
                                </view>
                                <view class='intetral' bindtap='integral'>
                                        <view class='intetral1'>{{user.user.score}}</view>
                                        <view>积分抵现</view>
                                </view>
                        </view>
                </view>
        </view>
      </view>

        <view class='exchange_code_recharge' bindtap='get_activity'>
                <!-- <view class='center_align'>
                        <view class='exchange_info'>特邀用户兑换码充值</view>
                        <view class='imme'>立即前往兑换></view>
                </view> -->
        </view>

        <view class='content_item'>
                <view class='item_list'>
                        <view class='content_title'>
                                <view class='line'></view>
                                <view class='title'>我的订单</view>
                        </view>
                        <view class='my_order'>
                                <!-- <view class='order_item' bindtap='get_obligation' wx:for='{{stateArr}}' wx:for-index='index' wx:key='{{index}}' data-index='{{index}}' data-id='{{item.id}}'>
                                        <view class='small_red_dot_order' wx:if='{{orderState}}'></view>
                                        <view class='content_img'>
                                                <image src='{{imgUrl}}{{item.icon}}' class='iconfont0'></image>
                                        </view> 
                                        <view>{{item.name}}</view>
                                </view> -->
                                 <view class='order_item' bindtap='get_obligation1'>
                                        <view class='small_red_dot_order' wx:if='{{orderState1}}'>{{order1}}</view>
                                        <view class='content_img'>
                                                <image src='{{imgUrl}}aicon44__1.png' class='iconfont0'></image>
                                        </view> 
                                        <view>待付款</view>
                                </view>
                                 <view class='order_item' bindtap='get_obligation2'>
                                        <view class='small_red_dot_order' wx:if='{{orderState2}}'>{{order2}}</view>
                                        <view class='content_img'>
                                                <image src='{{imgUrl}}aicon44__2.png' class='iconfont1'></image>
                                        </view> 
                                        <view>待发货</view>
                                </view>
                                 <view class='order_item' bindtap='get_obligation3'>
                                        <view class='small_red_dot_order' wx:if='{{orderState3}}'>{{order3}}</view>
                                        <view class='content_img'>
                                                <image src='{{imgUrl}}aicon44__3.png' class='iconfont2'></image>
                                        </view> 
                                        <view>待收货</view>
                                </view>
                                 <view class='order_item' bindtap='get_obligation4'>
                                        <view class='small_red_dot_order' wx:if='{{orderState4}}'>{{order4}}</view>
                                        <view class='content_img'>
                                                <image src='{{imgUrl}}aicon44__4.png' class='iconfont4'></image>
                                        </view> 
                                        <view>待评价</view>
                                </view>
                                <view class='order_item' bindtap='jump_afterMarket'>
                                        <view class='small_red_dot_order' wx:if='{{orderState9}}'>{{order9}}</view>
                                        <view class='content_img'>
                                                <image src='{{imgUrl}}aicon44__5.png' class='iconfont5'></image>
                                        </view>
                                        <view>售后</view>
                                </view>
                        </view>
                </view>
                <view class='item_list2'>
                        <view class='stored_value'>
                                <view class='line'></view>
                                <view class='title'>储值有礼</view>
                        </view>
                        <scroll-view class='scroll_box' scroll-x>
                                <view class='stored_value_item{{index}}' wx:for='{{user.stored}}' wx:key='{{item.id}}' bindtap='get_recharge' wx:for-index='index' data-id='{{item.id}}'>
                                        <view>
                                                <view class='money'>{{item.price}}
                                                        <text>元</text>
                                                </view>
                                                <view class='package'>{{item.remark}}</view>
                                        </view>
                                </view>
                        </scroll-view>
                </view>

                <view class='item_list3'>
                        <view class='list_content' bindtap='get_share'>
                                <view class='list_left'>
                                        <image src='{{imgUrl}}aicon46--1.png' class='icon'></image>
                                        <view>分享有礼</view>
                                </view>
                                <view class='list_right'>
                                        <view>成功邀请好友,得60优惠券</view>
                                        <view class='iconfont icon-jinru'></view>
                                </view>
                        </view>
                </view>
        </view>
        <view class='item_list3'>
                <view class='list_content' bindtap='get_collection'>
                        <view class='list_left'>
                                <image src='{{imgUrl}}aicon46--2.png' class='icon'></image>
                                <view>我的收藏</view>
                        </view>
                        <view class='list_right'>
                                <view class='iconfont icon-jinru'></view>
                        </view>
                </view>
                <view class='line2'></view>
                <view class='list_content1' bindtap='get_address'>
                        <view class='list_left'>
                                <image src='{{imgUrl}}aicon46--3.png' class='icon'></image>
                                <view>地址管理</view>
                        </view>
                        <view class='list_right'>
                                <view class='iconfont icon-jinru'></view>
                        </view>
                </view>
        </view>
        <view class='item_list3'>
                <view class='list_content' bindtap='suggestion'>
                        <view class='list_left'>
                                <image src='{{imgUrl}}aicon46--4.png' class='icon'></image>
                                <view>意见反馈</view>
                        </view>
                        <view class='list_right'>
                                <view class='iconfont icon-jinru'></view>
                        </view>
                </view>
                <view class='line2' style='background:#fff'></view>
                <view class='list_content' bindtap='get_issue'>
                        <view class='list_left'>
                                <image src='{{imgUrl}}aicon46--5.png' class='icon'></image>
                                <view>用户指南</view>
                        </view>
                        <view class='list_right'>
                                <view class='iconfont icon-jinru'></view>
                        </view>
                </view>
        </view>

        <!-- <view class='mask_box' wx:if='{{popup_state}}'>
                <view class='popup'>
                        <view class='popup_box'>
                                <view class='iconfont icon-quxiao' bindtap='cancleMask'></view>
                                <view class='popup_title'>每日签到</view>
                                <view class='total'>已累积签
                                        <text class='day'>2</text>天</view>
                        </view>
                        <view class='popup_content'>
                                <view class='look' bindtap='jump_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> -->
        <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>
</view>

<view class='bangding_mask' wx:if='{{is_mobile}}'>
        <view class='mobile_box'>
                <view class='new_address_btn' bindtap='go_bangding_mobile'>绑定手机</view>
        </view>
</view>