<!--more.wxml-->
<!-- <import src="../../utils/recommend/recommend.wxml" /> -->
<view class="flex-column j-center user-info-wrap">
    <view class='qiandao-wrap flex-column a-center j-center'>
        <text class='iconfont icon-qiandao qiandao' bindtap='sign'></text>
        <view class='white rpx24'>{{isSign ? '已签到' : '未签到'}}</view>
    </view>
    <view class='jifen-wrap flex-column a-center j-center'>
        <text class='jifen-change' wx:if="{{showScoreChange}}">{{scoreChange}}</text>
        <text class='iconfont icon-jifen1 jifen'></text>
        <text class='white rpx24'>{{scoreNum}}</text>
    </view>
    <view class="user-info">
        <view class="user-avatar-kuang">
            <image src="{{userInfo.headimgurl}}" class="user-avatar"></image>
        </view>
        <view class="rpx28 user-name">
            <text>{{userInfo.nickname}}<text style='padding-left:20rpx;'>{{goldtitle}}</text></text>
            <text>ID: {{openid}}</text>
            <text>账户余额:{{userInfo.gold}}</text>
        </view>
    </view>
    <view class="user-info-footer"></view>
</view>

<view class="my_order">
    <view class="order_type">
        <view class="order_item" data-typekind='1' bindtap='seeOrder'>
            <view class="order_icon iconfont icon-daifukuan"></view>
            待付款
        </view>
        <view class="order_item" data-typekind='2' bindtap='seeOrder'>
            <view class="order_icon iconfont icon-daifahuo"></view>
            待发货
        </view>
        <view class="order_item" data-typekind='3' bindtap='seeOrder'>
            <view class="order_icon iconfont icon-yifahuo"></view>
            待收货
        </view>
        <view class="order_item.gap" data-typekind='8' bindtap='seeOrder'>
            <view class="order_icon iconfont icon-refund"></view>
            退款/售后
        </view>
        <view class="order_item" data-typekind='0' bindtap='seeOrder'>
            <view style="color:#C91723" class="order_icon iconfont icon-allorder"></view>
            我的订单
        </view>
    </view>
</view>
<view class="my_order" style='border-top: 1rpx solid #eee;'>
    <view class="order_type">
        <view class="order_item" catchtap="navMyDownline">
            <view class="order_icon ">{{downline>999?'999+':downline?downline:'0'}}</view>
            粉丝
        </view>
        <view class="order_item" catchtap="navCoupon">
            <view class="order_icon ">{{coupon?coupon:'0'}}</view>
            优惠券
        </view>
        <navigator url="./goods_collect/goods_collect" hover-class="none" class="order_item" catchtap="navCollection">
            <view class="order_icon ">{{collection.length?collection.length:'0'}}</view>
            收藏
        </navigator>
        <view class="order_item.gap">
            <view class="order_icon ">{{totalCount?'totalCount'+' ':'0.00 '}}元</view>
            总消费
        </view>
        <view hover-class="none" data-share_status="{{userInfo.share_status}}" class="order_item" data-index="0" bindtap='seeDownLine'>
            <view style="color:#C91723" class="order_icon iconfont icon-pocket"></view>
            {{userInfo.share_status == 1 ? '佣金提现' : '申请分销'}}
        </view>
    </view>
</view>

<view class="action_row" style='margin-top: 10rpx;'>
    <!-- <view class="action_item" bindtap="seeGroupOrder" hover-class='view-hover'>
    <view class="action_icon iconfont icon-pintuan" style="color:#EAAE6C"></view>
    <view class="action_name">我的团购</view>
  </view> -->
    <view class="action_item" bindtap="navCoupon" hover-class='view-hover'>
        <view class="action_icon iconfont icon-coupon" style="color:#a447d6"></view>
        <view class="action_name">优惠券</view>
    </view>
    <view class="action_item" bindtap="seeFindCollect" hover-class='view-hover'>
        <view class="action_icon iconfont icon-shoucang" style="color:#F11810"></view>
        <view class="action_name">资讯收藏</view>
    </view>
    <view class="action_item" data-kind='goods_collect' bindtap="enter" hover-class='view-hover'>
        <view class="action_icon iconfont icon-shoucangshangpin" style="color:#EA6CBA"></view>
        <view class="action_name">商品收藏</view>
    </view>
    <view class="action_item" bindtap="switchCart" hover-class='view-hover'>
        <view class="action_icon iconfont icon-cart" style="color:#ec4c0c"></view>
        <view class="action_name">购物车</view>
    </view>
</view>
<view class="action_row">

    <view class="action_item" bindtap="seeGamesArea" hover-class='view-hover'>
        <view class="action_icon iconfont icon-youxi" style="color:#B8B924"></view>
        <view class="action_name">游戏专区</view>
    </view>
    <view class="action_item" bindtap="navAddress" hover-class='view-hover'>
        <view class="action_icon iconfont icon-location" style="color:#ffa60c"></view>
        <view class="action_name">地址管理</view>
    </view>
    <view class="action_item" bindtap="seePush" hover-class='view-hover'>
        <view class="action_icon iconfont icon-jifen" style="color:#16AFF7"></view>
        <view class="action_name">我的推客</view>
    </view>
    <view class="action_item" bindtap="member" hover-class='view-hover'>
        <!-- <view class="action_icon iconfont icon-guanyuwomen" style="color:#e4393c"></view> -->
        <image src='../../images/rechange.png' style='width:80rpx;height:80rpx;margin:0 auto;'></image>
        <view class="action_name">会员充值</view>
    </view>
</view>
<view class="action_row">
    <view class="action_item" bindtap="seeShopAddress" hover-class='view-hover'>
        <view class="action_icon iconfont icon-dianpudizhi" style="color:#6CEADF"></view>
        <view class="action_name">店铺地址</view>
    </view>
    <view class="action_item" bindtap="seeAboutUs" hover-class='view-hover'>
        <view class="action_icon iconfont icon-guanyuwomen" style="color:#e4393c"></view>
        <view class="action_name">关于我们</view>
    </view>
    <view class="action_item" hover-class='view-hover'>
        <contact-button type="default-dark" class="contact_btn"></contact-button>
        <view class="action_icon iconfont icon-service" style="color:#f52e87"></view>
        <view class="action_name">在线客服</view>
    </view>
    <view class="action_item" bindtap='makeCall' hover-class='view-hover'>
        <!-- <contact-button type="default-dark" class="contact_btn"></contact-button> -->
        <view class="action_icon iconfont icon-kefudianhua" style="color:#24B994"></view>
        <view class="action_name">客服电话</view>
    </view>
</view>
<view class="action_row">
    
    <view class="action_item" bindtap="seeOfficialWeb" hover-class='view-hover'>
        <view class="action_icon iconfont icon-wangzhan" style="color:#16AFF7"></view>
        <view class="action_name">官方网站</view>
    </view>
     <view class="action_item" hover-class='view-hover' data-kind='apply_shop' bindtap="enter" wx:if="{{showShop}}">
        <view class="action_icon iconfont icon-shenqingruzhu" style="color:#49DE29"></view>
        <view class="action_name">申请店铺入驻</view>
    </view> 
</view>

<view class='modal' wx:if="{{showApply}}">
    <view class='apply-wrap white-bg rpx28'>
        <view class='apply-item-wrap'>
            <view class='flex-row a-center apply-item'>
                <view class='apply-item-left'>姓名：</view>
                <input type='text' placeholder='请输入你的姓名' bindinput='getName'></input>
            </view>
            <view class='flex-row a-center apply-item'>
                <view class='apply-item-left'>电话：</view>
                <input type='text' placeholder='请输入您的手机号码' bindinput='getPhone'></input>
            </view>
        </view>
        <view class='flex-row a-center'>
            <button class='cancle-apply-btn' data-kind="cancle" bindtap='whetherApply'>取消</button>
            <button class='sure-apply-btn main-bg white' data-kind="sure" bindtap='whetherApply'>提交申请</button>
        </view>
    </view>
</view>

<!--技术支持  -->
<view class='bac'>
    <view class='jishu'>
        <image class='img_box' src='../../images/jishu.png'></image>
    </view>
</view>


<!-- <template is="recommend" data="{{recommendInfo}}"></template> -->
<!-- <web-view src="http://mpwechat.net"></web-view> -->