You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
116 lines
5.8 KiB
116 lines
5.8 KiB
<wxs module="formate" src="../../../pages/formate.wxs"></wxs>
|
|
<cu-custom bgColor="bg-blue" isBack="{{false}}" shadow="{{true}}">
|
|
<view slot="content" style="color:white;font-size:18px">我的</view>
|
|
</cu-custom>
|
|
|
|
<scroll-view scroll-y style="height: {{height}}rpx;">
|
|
|
|
<view style="height:80rpx;background-color:#008AFF;border-radius: 0px 0px 800px 800px"></view>
|
|
<view style="padding:0rpx 32rpx 32rpx 32rpx;margin-top:-48rpx" >
|
|
<view class="flex bg-white" style="padding:24rpx 32rpx;border-radius: 6px;" bindtap="toUserInfo">
|
|
<view style="position: relative">
|
|
<wux-image width="{{60}}" height="{{60}}" wux-class="image" shape="circle" src="{{avatarUrl}}">
|
|
<image style="width:60px;height:60px;border-radio:30px" slot="loading" src="/assets/image/ygImg.png"></image>
|
|
</wux-image>
|
|
<view class="cu-tag badge cuIcon-vip bg-blue" style="font-size:24rpx;z-index: 11" wx:if="{{userInfo.isVIP}}">
|
|
</view>
|
|
</view>
|
|
<view class="flex flex-column flex-center" style="margin-left:24rpx;align-items:flex-start">
|
|
<view class="flex flex-center" wx:if="{{userInfo}}">
|
|
<text class="text-bold text-sg" style="white-space: nowrap">{{userName || ''}}</text>
|
|
<view class="flex flex-center" style="font-size:12px" catchtap="toAuthor">
|
|
<image class="img-auth2"
|
|
src="{{userInfo.isAuth == 1 ? '/assets/image/icon_author.png' : '/assets/image/icon_unauthor.png'}}">
|
|
</image>
|
|
<text class="{{userInfo.isAuth == 1 ? 'text-blue' : 'text-gray'}}">{{userInfo.isAuth == 1 ? '已认证' : '未实名认证'}}</text>
|
|
<text class="text-yellow" style="font-size:12px;padding:4px;" wx:if="{{userInfo.isAuth != 1}}">去认证</text>
|
|
</view>
|
|
</view>
|
|
<view style="margin-top:12rpx" wx:else>
|
|
<text class="text-gray" style="font-size:14px">您还没有登录,去登录</text>
|
|
</view>
|
|
<view class="flex flex-center" style="font-size:12px;margin-top:12rpx" catchtap="toAuthor">
|
|
<text class="text-black" style="font-size:14px">{{userInfo.mobile||''}}</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<wux-cell-group>
|
|
<wux-cell title="纸通宝会员" is-link url="/pages/ztbvip/index">
|
|
<image slot="header" style="width:32rpx;height:32rpx;margin:6rpx 12rpx 0rpx 0rpx"
|
|
src="/assets/image/menu/menu_vip.png"></image>
|
|
</wux-cell>
|
|
<wux-cell id="shop" title="{{userInfo.hasStore == 1 ? '我的店铺' : '我要开店'}}" is-link bind:click="toPage">
|
|
<image slot="header" style="width:32rpx;height:32rpx;margin:6rpx 12rpx 0rpx 0rpx"
|
|
src="/assets/image/menu/menu_shop.png"></image>
|
|
</wux-cell>
|
|
</wux-cell-group>
|
|
|
|
<view style="height:16rpx"></view>
|
|
<wux-cell-group>
|
|
<wux-cell id="bidding" title="我的报价" is-link bind:click="toPage">
|
|
<image slot="header" style="width:32rpx;height:32rpx;margin:6rpx 12rpx 0rpx 0rpx"
|
|
src="/assets/image/menu/menu_biding.png"></image>
|
|
</wux-cell>
|
|
<wux-cell id="ordering" title="交易订单" is-link bind:click="toPage">
|
|
<image slot="header" style="width:32rpx;height:32rpx;margin:6rpx 12rpx 0rpx 0rpx"
|
|
src="/assets/image/menu/menu_form.png"></image>
|
|
</wux-cell>
|
|
<wux-cell id="agent" title="代卖订单" is-link bind:click="toPage">
|
|
<image slot="header" style="width:32rpx;height:32rpx;margin:6rpx 12rpx 0rpx 0rpx"
|
|
src="/assets/image/menu/menu_order.png"></image>
|
|
</wux-cell>
|
|
<wux-cell id="message" is-link bind:click="toPage">
|
|
<view slot="header" class="flex">
|
|
<image style="width:32rpx;height:32rpx;margin-right:12rpx" src="/assets/image/menu/menu_message.png"></image>
|
|
<wux-badge count="{{messageNumber}}" top="-16" right="-16">
|
|
<text>消息</text>
|
|
</wux-badge>
|
|
</view>
|
|
</wux-cell>
|
|
</wux-cell-group>
|
|
|
|
<view style="height:16rpx"></view>
|
|
<wux-cell-group>
|
|
<wux-cell id="balance" title="我的余额" is-link bind:click="toPage">
|
|
<image slot="header" style="width:32rpx;height:32rpx;margin:6rpx 12rpx 0rpx 0rpx"
|
|
src="/assets/image/menu/menu_balance.png"></image>
|
|
<text slot="footer" class="text-lg" style="padding-top:4px">{{formate.numberFormat2(accountMoney)}}</text>
|
|
</wux-cell>
|
|
<wux-cell id="integral" title="我的积分" is-link bind:click="toPage">
|
|
<image slot="header" style="width:32rpx;height:32rpx;margin:6rpx 12rpx 0rpx 0rpx"
|
|
src="/assets/image/menu/menu_jifen.png"></image>
|
|
<view slot="footer" class="flex flex-center">
|
|
<text style="background-color: #FF6600;border-radius: 16px;color: white;padding: 4rpx 18rpx 6rpx 18rpx;font-size: 12px">积分换会员</text>
|
|
<text class="text-lg" style="margin-left:24rpx">{{userInfo.memberRewardPoint || 0}}</text>
|
|
</view>
|
|
</wux-cell>
|
|
<wux-cell id="article" title="我的帖子" is-link bind:click="toPage">
|
|
<image slot="header" style="width:32rpx;height:32rpx;margin:6rpx 12rpx 0rpx 0rpx"
|
|
src="/assets/image/menu/menu_article.png"></image>
|
|
</wux-cell>
|
|
</wux-cell-group>
|
|
<view style="height:16rpx"></view>
|
|
<wux-cell-group>
|
|
<wux-cell title="千鸟物流" is-link url="/pages/html/logistics/index">
|
|
<image slot="header" style="width:32rpx;height:32rpx;margin:6rpx 12rpx 0rpx 0rpx"
|
|
src="/assets/image/menu/menu_transform.png"></image>
|
|
</wux-cell>
|
|
<wux-cell id="adress" title="收货地址" is-link bind:click="toPage">
|
|
<image slot="header" style="width:32rpx;height:32rpx;margin:6rpx 12rpx 0rpx 0rpx"
|
|
src="/assets/image/menu/menu_location.png"></image>
|
|
</wux-cell>
|
|
<wux-cell title="联系客服" is-link url="/pages/home/service/index">
|
|
<image slot="header" style="width:32rpx;height:32rpx;margin:6rpx 12rpx 0rpx 0rpx"
|
|
src="/assets/image/menu/menu_service.png"></image>
|
|
</wux-cell>
|
|
<wux-cell id="setting" title="设置" is-link bind:click="toPage">
|
|
<image slot="header" style="width:36rpx;height:36rpx;margin:6rpx 12rpx 0rpx 0rpx"
|
|
src="/assets/image/menu/menu_setting.png"></image>
|
|
</wux-cell>
|
|
</wux-cell-group>
|
|
|
|
<view style="height:120rpx"></view>
|
|
</scroll-view>
|
|
<wux-dialog id="wux-dialog" />
|