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.
149 lines
6.9 KiB
149 lines
6.9 KiB
<wxs module="formate" src="../../../pages/formate.wxs"></wxs>
|
|
<cu-custom bgColor="bg-white" isBack="{{false}}">
|
|
<view slot="content" style="color:black;font-size:18px">我的</view>
|
|
</cu-custom>
|
|
|
|
<scroll-view scroll-y style="height: {{height}}rpx;">
|
|
<view class="bg-white flex flex-justify" style="padding:32rpx" wx:if="{{userInfo}}" bindtap="toUserInfo">
|
|
<view class="flex">
|
|
<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">
|
|
<text 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:14px;padding:4px;"
|
|
wx:if="{{userInfo.isAuth != 1 && userInfo.userType == 1}}">去认证</text>
|
|
</view>
|
|
</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>
|
|
<text class="cuIcon-right text-gray" style="font-size:18px"></text>
|
|
</view>
|
|
<!-- <wux-grids col="4">
|
|
<wux-grid bind:click="toShop">
|
|
<view style="padding: 40rpx 0rpx">
|
|
<wux-badge count="{{0}}" top="-8" right="-8">
|
|
<image style="width:60rpx;height:60rpx;" src="/assets/image/menu/menu_shop.png"></image>
|
|
</wux-badge>
|
|
<view class="text-sm">{{userInfo.hasStore == 1 ? '我的店铺' : '申请开店'}}</view>
|
|
</view>
|
|
</wux-grid>
|
|
<wux-grid id="1" bind:click="clickGrid">
|
|
<view style="padding: 40rpx 0rpx">
|
|
<wux-badge count="{{0}}" top="-8" right="-8">
|
|
<image style="width:60rpx;height:60rpx;" src="/assets/image/menu/menu_biding.png"></image>
|
|
</wux-badge>
|
|
<view class="text-sm">我的竞价</view>
|
|
</view>
|
|
</wux-grid>
|
|
<wux-grid id="2" bind:click="clickGrid">
|
|
<view style="padding: 40rpx 0rpx">
|
|
<wux-badge count="{{0}}" top="-8" right="-8">
|
|
<image style="width:60rpx;height:60rpx;" src="/assets/image/menu/menu_form.png"></image>
|
|
</wux-badge>
|
|
<view class="text-sm">订单交易</view>
|
|
</view>
|
|
</wux-grid>
|
|
<wux-grid id="3" bind:click="clickGrid">
|
|
<view style="padding: 40rpx 0rpx">
|
|
<wux-badge count="{{messageNumber}}" top="-8" right="-8">
|
|
<image style="width:60rpx;height:60rpx;" src="/assets/image/menu/menu_message.png"></image>
|
|
</wux-badge>
|
|
<view class="text-sm">我的消息</view>
|
|
</view>
|
|
</wux-grid>
|
|
</wux-grids> -->
|
|
|
|
<view style="height:16rpx"></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 title="{{userInfo.hasStore == 1 ? '我的店铺' : '我要开店'}}" is-link url="/pages/shop/index/index">
|
|
<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 title="我的报价" is-link url="/pages/bidding/index/index">
|
|
<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 title="交易订单" is-link url="/pages/morder/index/index">
|
|
<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 title="代卖订单" is-link url="/pages/agent/order/index">
|
|
<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 is-link url="/pages/message/index/index">
|
|
<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 title="我的余额" is-link url="/pages/withdrawal/balance/index">
|
|
<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 title="我的积分" is-link url="/pages/html/integral/index">
|
|
<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 title="我的帖子" is-link url="/pages/article/list/index">
|
|
<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 title="收货地址" is-link url="/pages/adress/list/index">
|
|
<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 title="设置" is-link url="/pages/home/setting/index">
|
|
<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" />
|