<block wx:if="{{active == 1}}">
    <view class="my_index">
        <view class="user_info">
            <view class="user">
                <view class="user_left">
                    <image class="user_image" src="{{user.avatar}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" bind:tap="goNovaURL" data-url="/common-page/pages/info/index" />
                    <view class="name">{{user.nickname}}</view>
                </view>
                <view class="user-right">
                    <van-icon name="qr" size="60rpx" color="white" bind:tap="goNovaURL" data-url="/nova-shop/pages/invite/index" />
                </view>
            </view>
            <view class="members">
                <van-icon name="gem" size="48rpx" />
                <view class="title">会员中心</view>
                <button class="members_button" bind:tap="toVIP">成为会员</button>
            </view>
        </view>
        <view class="change_info">
            <view class="change line">
                <view class="change_num">{{account.balance ? account.balance : 0}}</view>
                <view class="name">零钱</view>
            </view>
            <view class="change">
                <view class="change_num">{{account.credit? account.credit : 0}}</view>
                <view class="name">积分</view>
            </view>
        </view>
        <view class="order_info">
            <view class="title">我的订单</view>
            <view class="order_box">
                <block wx:for="{{orders}}" wx:key="index">
                    <view class="order" data-url="{{item.url}}" bind:tap="goNovaURL">
                        <image class="icon" src="{{item.image}}" />
                        <view class="name">{{item.title}}</view>
                    </view>
                </block>
            </view>
        </view>
        <view class="cell_info">
            <van-cell title="收货地址" link-type="navigateTo" url="/common-page/pages/address/index" is-link icon="location-o" />
            <van-cell title="购物车" link-type="navigateTo" url="/nova-shop/pages/shop-cart/index" is-link icon="cart-o" />
            <van-cell title="我的收藏" link-type="navigateTo" url="/common-page/pages/collect/index" is-link icon="cart-o" />
            <van-cell title="每日签到" link-type="navigateTo" url="/nova-common/pages/daily-check/index" is-link icon="calendar-o" />
            <van-cell title="优惠券" is-link icon="coupon-o" url="/nova-shop/pages/coupons/index" />
            <van-cell title="我的砍价商品" is-link icon="goods-collect-o" url="/nova-shop/pages/goods/helpGoods/bargainLog/index" />
            <van-cell title="我的拼团" is-link icon="apps-o" url="/nova-shop/pages/goods/groupBuy/myGroup/index" />
            <van-cell title="我的团队" is-link icon="friends-o" url="/nova-shop/pages/team/index" />
            <button open-type="contact">
                <view class="btn-left">
                    <van-icon name="service-o" style="margin-right:10rpx" />
                    联系客服
                </view>
                <van-icon name="arrow" color="#999" size="32rpx" />
            </button>
        </view>
    </view>
</block>
<block wx:if="{{active == 2}}">
    <view class="top">
        <view class="name">
            <image src="{{user.avatar}}" class="portrait" bind:tap="goNovaURL" data-url="/common-page/pages/info/index"></image>
            <view class="txt">{{user.nickname}}</view>
            <!-- <view class="information" bind:tap="goNovaURL" data-url="/common-page/pages/info/index">编辑信息</view> -->
            <view class="user-right" style="margin: 145rpx 0rpx 0rpx 10rpx;">
                <van-icon name="qr" size="60rpx" color="white" bind:tap="goNovaURL" data-url="/nova-shop/pages/invite/index" />
            </view>
        </view>
        <view class="members" bind:tap="toVIP"></view>
    </view>
    <view class="box">
        <view class="change">
            <view class="change-txt">
                <view class="change-title">{{account.balance? account.balance : 0}}</view>
                <view class="change-ts">零钱</view>
            </view>
            <view class="change-txt">
                <view class="change-title">{{account.credit? account.credit : 0}}</view>
                <view class="change-ts">积分</view>
            </view>
        </view>
        <view class="order">
            <view class="my" data-url="/nova-shop/pages/myOrder/index" bind:tap="goNovaURL">
                <view class="my-order">我的订单</view>
                <view class="image">
                    <van-icon name="arrow" />
                </view>
            </view>
            <view class="stay">
                <view wx:for="{{brandShop}}" wx:key="index">
                    <view class="stay-box" data-url="{{item.url}}" bind:tap="goNovaURL">
                        <image src="{{item.image}}" class="stay-image"></image>
                        <view class="stay-txt">{{item.txt}}</view>
                    </view>
                </view>
            </view>
        </view>
        <view class="address" bind:tap="goNovaURL" data-url="/nova-shop/pages/shop-cart/index">
            <view class="address-txt">
                <image src="https://file-cloud.fmode.cn/lb486SzXLP/20211207/vccjqv091438.png" class="address-image"></image>
                <view class="address-title">购物车</view>
            </view>
            <view class="image">
                <van-icon name="arrow" />
            </view>
        </view>
        <view class="address" bind:tap="goNovaURL" data-url="/common-page/pages/collect/index">
            <view class="address-txt">
                <image src="https://file-cloud.fmode.cn/lb486SzXLP/20220303/j81vfu092452.png" class="address-image"></image>
                <view class="address-title">我的收藏</view>
            </view>
            <view class="image">
                <van-icon name="arrow" />
            </view>
        </view>
        <view class="address" bind:tap="goNovaURL" data-url="/common-page/pages/address/index">
            <view class="address-txt">
                <image src="https://file-cloud.fmode.cn/lb486SzXLP/20211207/vccjqv091438.png" class="address-image"></image>
                <view class="address-title">收货地址</view>
            </view>
            <view class="image">
                <van-icon name="arrow" />
            </view>
        </view>
        <view class="address" bindtap="sign">
            <view class="address-txt">
                <image src="https://file-cloud.fmode.cn/nCCirOU5zn/20220112/8qhlks120207.png" class="address-image"></image>
                <view class="address-title">每日签到</view>
            </view>
            <view class="image">
                <van-icon name="arrow" />
            </view>
        </view>
        <view class="address" bindtap="cellClick">
            <view class="address-txt">
                <image src="https://file-cloud.fmode.cn/lb486SzXLP/20211207/2d4781091423.png" class="address-image"></image>
                <view class="address-title">优惠券</view>
            </view>
            <view class="image">
                <van-icon name="arrow" />
            </view>
        </view>
        <view class="address" bind:tap="goNovaURL" data-url="/nova-shop/pages/team/index">
            <view class="address-txt">
                <image src="https://file-cloud.fmode.cn/nCCirOU5zn/20220104/121tmv024911.png" class="address-image"></image>
                <view class="address-title">我的团队</view>
            </view>
            <view class="image">
                <van-icon name="arrow" />
            </view>
        </view>
        <button class="address" open-type="contact">
            <view class="address-txt">
                <image src="https://file-cloud.fmode.cn/lb486SzXLP/20211207/6e976b091439.png" class="address-image"></image>
                <view class="addresss-title">客服中心</view>
            </view>
            <view class="images">
                <van-icon name="arrow" />
            </view>
        </button>
        <!-- <view class="address">
      <view class="exit">退出登录</view>
    </view> -->
    </view>
</block>
<block wx:if="{{active == 3}}">
    <view class="tops">
        <view class="name">
            <image src="{{user.avatar}}" class="portrait" bind:tap="goNovaURL" data-url="/common-page/pages/info/index"></image>
            <view class="txt">{{user.nickname}}</view>
            <!-- <view class="" bind:tap="goNovaURL" data-url="/common-page/pages/info/index">编辑信息</view> -->
            <view class="information">
                <van-icon name="qr" size="60rpx" color="white" bind:tap="goNovaURL" data-url="/nova-shop/pages/invite/index" />
            </view>
        </view>
        <view class="members" bind:tap="toVIP"></view>
    </view>
    <view class="boxs">
        <view class="changes">
            <view class="change-txt">
                <view class="change-title">{{account.balance? account.balance : 0}}</view>
                <view class="change-ts">零钱</view>
            </view>
            <view class="change-txt">
                <view class="change-title">{{account.credit? account.credit : 0}}</view>
                <view class="change-ts">积分</view>
            </view>
        </view>
        <view class="order">
            <view class="my" data-url="/nova-shop/pages/myOrder/index" bind:tap="goNovaURL">
                <view class="my-order">我的订单</view>
                <view class="image">
                    <van-icon name="arrow" />
                </view>
            </view>
            <view class="stay">
                <view wx:for="{{brShop}}" wx:key="index">
                    <view class="stay-box" data-url="{{item.url}}" bind:tap="goNovaURL">
                        <image src="{{item.image}}" class="stay-image"></image>
                        <view class="stay-txt">{{item.txt}}</view>
                    </view>
                </view>
            </view>
        </view>
        <view class="addresss" bind:tap="goNovaURL" data-url="/nova-shop/pages/shop-cart/index">
            <view class="address-txt">
                <image src="https://file-cloud.fmode.cn/nCCirOU5zn/20211215/64e10n042743.png" class="address-image"></image>
                <view class="address-title">购物车</view>
            </view>
            <view class="image">
                <van-icon name="arrow" />
            </view>
        </view>
        <view class="addresss" bind:tap="goNovaURL" data-url="/common-page/pages/collect/index">
            <view class="address-txt">
                <image src="https://file-cloud.fmode.cn/lb486SzXLP/20220303/j81vfu092452.png" class="address-image"></image>
                <view class="address-title">我的收藏</view>
            </view>
            <view class="image">
                <van-icon name="arrow" />
            </view>
        </view>
        <view class="addresss" bind:tap="goNovaURL" data-url="/common-page/pages/address/index">
            <view class="address-txt">
                <image src="https://file-cloud.fmode.cn/nCCirOU5zn/20211215/64e10n042743.png" class="address-image"></image>
                <view class="address-title">收货地址</view>
            </view>
            <view class="image">
                <van-icon name="arrow" />
            </view>
        </view>
        <view class="addresss" bindtap="sign">
            <view class="address-txt">
                <image src="https://file-cloud.fmode.cn/nCCirOU5zn/20220112/21v1dl020956.png" class="address-image"></image>
                <view class="address-title" bindtap="coupons">每日签到</view>
            </view>
            <view class="image">
                <van-icon name="arrow" />
            </view>
        </view>
        <view class="addresss" bindtap="cellClick">
            <view class="address-txt">
                <image src="https://file-cloud.fmode.cn/nCCirOU5zn/20211215/7ohgo6042744.png" class="address-image"></image>
                <view class="address-title" bindtap="coupons">优惠券</view>
            </view>
            <view class="image">
                <van-icon name="arrow" />
            </view>
        </view>
        <view class="addresss" bind:tap="goNovaURL" data-url="/nova-shop/pages/team/index">
            <view class="address-txt">
                <image src="https://file-cloud.fmode.cn/nCCirOU5zn/20220104/521m03024916.png" class="address-image"></image>
                <view class="address-title">我的团队</view>
            </view>
            <view class="image">
                <van-icon name="arrow" />
            </view>
        </view>
        <button class="addresss" open-type="contact">
            <view class="address-txt">
                <image src="https://file-cloud.fmode.cn/nCCirOU5zn/20211215/t71qe0042744.png" class="address-image"></image>
                <view class="addresss-title">客服中心</view>
            </view>
            <view class="images">
                <van-icon name="arrow" />
            </view>
        </button>
        <!-- <view class="addres">
      <view class="exit">退出登录</view>
    </view> -->
    </view>
</block>
<block wx:if="{{active == 4}}">
    <view class="department">
        <view class="user_info2">
            <view class="user2">
                <image class="user_image2" src="{{user.avatar}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" bind:tap="goNovaURL" data-url="/common-page/pages/info/index" />
                <view class="username">{{user.nickname}}</view>
                <view class="user-right">
                    <van-icon name="qr" size="60rpx" color="black" bind:tap="goNovaURL" data-url="/nova-shop/pages/invite/index" />
                </view>
            </view>
            <view class="change_info2">
                <view class="change2">
                    <view class="change_num2">{{account.balance? account.balance : 0}}</view>
                    <view class="nmae2">零钱</view>
                </view>
                <view class="change2">
                    <view class="change_num2">{{account.credit? account.credit : 0}}</view>
                    <view class="nmae2">积分</view>
                </view>
            </view>
            <view class="members2" bind:tap="toVIP">
                <image class="members2_img" src="https://file-cloud.fmode.cn/nCCirOU5zn/20211215/bc1hvs045126.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />
            </view>
        </view>
        <view class="order_info2">
            <view class="title2">
                <view class="my_order">我的订单</view>
                <view class="all_order">
                    <view class="all_order_title">全部订单</view>
                    <van-icon name="arrow" color="#c9c9c9" />
                </view>
            </view>
            <view class="order_box2">
                <block wx:for="{{orders_4}}" wx:key="index">
                    <view class="order2" data-url="{{item.url}}" bind:tap="goNovaURL">
                        <image class="icon2" src="{{item.image}}" />
                        <view class="name2">{{item.title}}</view>
                    </view>
                </block>
            </view>
        </view>
        <view class="cell_info2">
            <van-cell custom-class="van-cell" title="购物车" is-link bind:click="cellClick" url="/nova-shop/pages/shop-cart/index" />
            <van-cell custom-class="van-cell" title="我的收藏" is-link bind:click="cellClick" url="/common-page/pages/collect/index" />
            <van-cell custom-class="van-cell" title="每日签到" link-type="navigateTo" url="/nova-common/pages/daily-check/index" is-link />
            <van-cell custom-class="van-cell" title="收货地址" link-type="navigateTo" url="/common-page/pages/address/index" is-link />
            <van-cell custom-class="van-cell" title="优惠券" is-link bind:click="cellClick" />
            <van-cell custom-class="van-cell" title="我的团队" is-link link-type="navigateTo" url="/nova-shop/pages/team/index" />
            <button open-type="contact">
                <view class="btn-left_5">客服中心</view>
                <van-icon name="arrow" color="#999" size="32rpx" />
            </button>
        </view>
    </view>
</block>
<block wx:if="{{active == 5}}">
    <view class="my_index_5">
        <view class="user_info_5">
            <view class="user_5">
                <image class="user_image_5" src="{{user.avatar}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" bind:tap="goNovaURL" data-url="/common-page/pages/info/index" />
                <view class="user_right_5">
                    <view class="right_name">{{user.nickname}}</view>
                    <!-- <view class="membership_due">{{user_5.desc}}</view> -->
                    <view class="user-right">
                        <van-icon name="qr" size="60rpx" color="black" bind:tap="goNovaURL" data-url="/nova-shop/pages/invite/index" />
                    </view>
                </view>
            </view>
            <view class="members_5" bind:tap="toVIP">
                <image class="members_image" src="https://file-cloud.fmode.cn/nCCirOU5zn/20211215/h1l7hv041447.png" />
            </view>
        </view>
        <view class="wallet_info">
            <view class="wallet">
                <view class="wallet_num">{{account.balance? account.balance : 0}}</view>
                <view class="wallet_name">零钱</view>
            </view>
            <view class="wallet">
                <view class="wallet_num">{{account.credit? account.credit : 0}}</view>
                <view class="wallet_name">积分</view>
            </view>
        </view>
        <view class="my_order_info">
            <view class="order_top" data-url="/nova-shop/pages/myOrder/index" bind:tap="goNovaURL">
                <view class="order_title">我的订单</view>
                <view class="all_order">
                    <view class="all_order_title">全部订单</view>
                    <van-icon name="arrow" color="#c9c9c9" />
                </view>
            </view>
            <view class="my_order_box">
                <block wx:for="{{orders_5}}" wx:key="index">
                    <view class="order_5" data-url="{{item.url}}" bind:tap="goNovaURL">
                        <image class="order_image" src="{{item.image}}" />
                        <view class="order_name">{{item.title}}</view>
                    </view>
                </block>
            </view>
        </view>
        <view class="cell_info_5">
            <van-cell custom-class="van-cell" title="购物车" is-link bind:click="cellClick" url="/nova-shop/pages/shop-cart/index" />
            <van-cell custom-class="van-cell" title="购物车" is-link link-type="navigateTo" url="/common-page/pages/collect/index" />
            <van-cell custom-class="van-cell" title="每日签到" link-type="navigateTo" url="/nova-common/pages/daily-check/index" is-link />
            <van-cell custom-class="van-cell" title="每日签到" link-type="navigateTo" url="/nova-common/pages/daily-check/index" is-link />
            <van-cell custom-class="van-cell" title="收货地址" link-type="navigateTo" url="/common-page/pages/address/index" is-link />
            <van-cell custom-class="van-cell" title="优惠券" is-link bind:click="cellClick" />
            <van-cell custom-class="van-cell" title="我的团队" is-link link-type="navigateTo" url="/nova-shop/pages/team/index" />
            <button open-type="contact">
                <view class="btn-left_5">客服中心</view>
                <van-icon name="arrow" color="#999" size="32rpx" />
            </button>
        </view>
    </view>
</block>