纸通宝小程序
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.
 

453 lines
21 KiB

<wxs module="formate" src="../../../pages/formate.wxs"></wxs>
<scroll-view scroll-y style="height: {{height}}rpx;">
<view class="topArea">
<view class="heradImg">
<wux-image width="{{78}}" height="{{78}}" wux-class="image" shape="circle" src="{{avatarUrl}}" bindtap="toUserInfo">
<image style="width:156rpx;height:156rpx;border-radio:30px" slot="loading" src="/assets/myinfo/user-icon.png"></image>
</wux-image>
<view class="topText" bindtap="toUserInfo">
<view wx:if="{{userInfo}}" style="height:158rpx">
<view>
<text class="textType1">{{userInfo.realName}}</text>
<image class="img-auth2" src="{{userInfo.isAuth == 1 ? '/assets/myinfo/ysmicon.png' : '/assets/myinfo/wsmicon.png'}}">
</image>
</view>
<text class="textType2">{{userInfo.mobile}}</text>
</view>
<view wx:else style="width:208rpx;height:158rpx">
<text class="textType1">点击登录\n</text>
<text class="textType2">登陆解锁更多功能</text>
</view>
</view>
<view class="topIconRight">
<view class="topIconRightIcon1" id="message" is-link bindtap="toPage">
<image class="RightIcon1Img" src="/assets/myinfo/messageWhite.png"></image>
<wux-badge count="{{messageNumber}}" top="-56" right="4">
</wux-badge>
</view>
<view class="topIconRightIcon2" id="setting" is-link bindtap="toPage">
<image class="RightIcon1Img" src="/assets/myinfo/seticon.png"></image>
</view>
</view>
</view>
<view class="topButtomVipBJ" id="tovip" is-link bindtap="toPage">
<image class="vipBjImg" src="/assets/myinfo/vipBottomBj.png"></image>
<view class="vipBjSmallLeftTop">
<image style="width:26rpx;height:26rpx" src="/assets/myinfo/vipIcon.png"></image>
<text style="font-size: 26rpx;color: #DBC189;letter-spacing: 0.5rpx;line-height: 37rpx;float:right;margin-top:-4rpx">VIP会员</text>
</view>
<view class="vipBjSmallTextMid">
<text wx:if="{{userInfo.isVIP==1}}" class="textMid">到期时间:{{userInfo.memberExpiredAt}}</text>
<text wx:else class="textMid">立即开通会员 尊享特权</text>
</view>
<view class="vipRightImg">
<image class="rightImg" src="/assets/myinfo/jx.png"></image>
</view>
</view>
<view class="topButtomVipBJ2">
<image class="vipBjImg2" src="/assets/myinfo/vipTopBj.png">
</image>
<text wx:if="{{userInfo.isVIP==1}}" class="vipImgText">立即续费</text>
<text wx:else class="vipImgText">开通会员</text>
</view>
</view>
<view class="zt">
<view class="dmArea1">
<view class="dmArea1-top">
<view class="dmArea1-top-left">
<text class="dmArea1-top-left-text">代卖订单</text>
</view>
<view class="dmArea1-top-right" id="agentall" is-link bindtap="toPage">
<view class="dmArea1-top-right-inoc">
<image class="dmArea1-top-right-inoc-class" src="/assets/myinfo/incon13.png"></image>
</view>
<text class="dmArea1-top-right-text">查看更多订单</text>
</view>
</view>
<view class="boderLine"></view>
<view class="dmArea1-bottom">
<view class="dmArea1-bottom-zt" id="agent50" is-link bindtap="toPage">
<view class="dmArea1-bottom-zt-topIcon">
<image class="dmArea1-bottom-zt-topIcon-icon" src="/assets/myinfo/dyy.png"></image>
</view>
<view class="dmArea1-bottom-zt-text"><text class="dmArea1-bottom-zt-text-text">待预约</text></view>
</view>
<view class="dmArea1-bottom-zt" id="agent51" is-link bindtap="toPage">
<view class="dmArea1-bottom-zt-topIcon">
<image class="dmArea1-bottom-zt-topIcon-icon" src="/assets/myinfo/bz9.png"></image>
</view>
<view class="dmArea1-bottom-zt-text"><text class="dmArea1-bottom-zt-text-text">待送货</text></view>
</view>
<view class="dmArea1-bottom-zt" id="agent53" is-link bindtap="toPage">
<view class="dmArea1-bottom-zt-topIcon">
<image class="dmArea1-bottom-zt-topIcon-icon" src="/assets/myinfo/bz12.png"></image>
</view>
<view class="dmArea1-bottom-zt-text"><text class="dmArea1-bottom-zt-text-text">结算中</text></view>
</view>
<view class="dmArea1-bottom-zt" id="agent54" is-link bindtap="toPage">
<view class="dmArea1-bottom-zt-topIcon">
<image class="dmArea1-bottom-zt-topIcon-icon" src="/assets/myinfo/bz11.png"></image>
</view>
<view class="dmArea1-bottom-zt-text"><text class="dmArea1-bottom-zt-text-text">已完成</text></view>
</view>
<view class="dmArea1-bottom-zt" id="agent55" is-link bindtap="toPage">
<view class="dmArea1-bottom-zt-topIcon">
<image class="dmArea1-bottom-zt-topIcon-icon" src="/assets/myinfo/bz10.png"></image>
</view>
<view class="dmArea1-bottom-zt-text"><text class="dmArea1-bottom-zt-text-text">已关闭</text></view>
</view>
</view>
</view>
<view class="dmArea2">
<view class="dmArea2-top" id="balance" is-link bindtap="toPage">
<view class="dmArea2-top-left">
<text class="dmArea2-top-left-text">我的钱包</text>
</view>
<view class="dmArea2-top-right">
<view class="dmArea2-top-right-inoc">
<image class="dmArea2-top-right-inoc-class" src="/assets/myinfo/incon13.png"></image>
</view>
<text class="dmArea2-top-right-text">进入钱包</text>
</view>
</view>
<view class="boderLine"></view>
<view class="dmArea2-bottom">
<view class="dmArea2-bottom-content">
<view class="dmArea2-bottom-contentIconTxt" id="balance" is-link bindtap="toPage">
<view class="dmArea2-bottom-contentIcon">{{formate.numberFormat(accountMoney)}}</view>
<view class="dmArea2-bottom-contentTxt">我的余额</view>
</view>
<view class="dmArea2-bottom-contentIconTxt" id="balance" is-link bindtap="toPage">
<view class="dmArea2-bottom-contentIcon">¥{{formate.numberFormat(frozenMoney)}}</view>
<view class="dmArea2-bottom-contentTxt">提现中的余额</view>
</view>
<view class="dmArea2-bottom-contentIconTxt" id="toMyMoney" is-link bindtap="toPage">
<view style="float:right">
<view class="dmArea2-bottom-contentIcon2F">
<view class="dmArea2-bottom-contentIcon2">查看账单</view>
</view>
<view class="dmArea2-bottom-contentTxt2">我的账单</view>
</view>
</view>
</view>
</view>
</view>
<view class="dmArea3" id="shop" is-link bindtap="toPage">
<view class="dmArea3-left">
<image class="dmArea3-left-inco" src="/assets/myinfo/fb.png"></image>
<text wx:if="{{!userInfo}}" class="dmArea3-left-text">赶紧登陆赚钱吧</text>
<text wx:if="{{userInfo && userInfo.hasStore==1}}" class="dmArea3-left-text">赶紧发布商品赚钱吧</text>
<text wx:if="{{userInfo && userInfo.hasStore==0}}" class="dmArea3-left-text">超多人想买,快来开店赚钱</text>
</view>
<view wx:if="{{!userInfo}}" class="dmArea3-right">立即登录</view>
<view wx:if="{{userInfo && userInfo.hasStore==1}}" class="dmArea3-right">进入店铺</view>
<view wx:if="{{userInfo && userInfo.hasStore==0}}" class="dmArea3-right">申请开店</view>
</view>
<view class="dmArea4">
<view class="dmArea1-top">
<view class="dmArea1-top-left">
<text class="dmArea1-top-left-text">其他工具</text>
</view>
</view>
<view class="boderLine"></view>
<view class="bg-white padding dmArea4Content">
<view class="grid col-4 grid-square">
<view class="dmArea4Content" id="bidding" is-link bindtap="toPage">
<view class="dmArea4ImgView">
<image class="dmArea4Img" src="/assets/myinfo/wdbj.png"></image>
</view>
<view class="dmArea4text">我的报价</view>
</view>
<view class="dmArea4Content">
<view class="dmArea4ImgView" id="ordering" is-link bindtap="toPage">
<image class="dmArea4Img" src="/assets/myinfo/jydd.png"></image>
</view>
<view class="dmArea4text">交易订单</view>
</view>
<view class="dmArea4Content">
<view class="dmArea4ImgView" id="integral" is-link bindtap="toPage">
<image class="dmArea4Img" src="/assets/myinfo/wdjf.png"></image>
</view>
<view class="dmArea4text">我的积分</view>
</view>
<view class="dmArea4Content">
<view class="dmArea4ImgView" id="myCus" is-link bindtap="toPage">
<image class="dmArea4Img" src="/assets/myinfo/wdkf.png"></image>
</view>
<view class="dmArea4text">我的客服</view>
</view>
</view>
<view class="grid col-4 grid-square">
<view class="dmArea4Content">
<view class="dmArea4ImgView" id="adress" is-link bindtap="toPage">
<image class="dmArea4Img" src="/assets/myinfo/shdz.png"></image>
</view>
<view class="dmArea4text">收货地址</view>
</view>
<view class="dmArea4Content">
<view class="dmArea4ImgView" id="qnLogistic" is-link bindtap="toPage">
<image class="dmArea4Img" src="/assets/myinfo/qnwl.png"></image>
</view>
<view class="dmArea4text">千鸟物流</view>
</view>
<view class="dmArea4Content">
<view class="dmArea4ImgView">
<image class="dmArea4Img" src="/assets/myinfo/fxztb.png"></image>
</view>
<button open-type="share" title="快来看看你的纸通宝吧!" hover-class="none" class="fxztb">分享纸通宝</button>
</view>
</view>
</view>
</view>
</view>
<!-- <view class="dmArea">
<text class="daAreaTietleText">代卖订单</text>
<text style="float:right">查看更多订单></text>
<view class="boderLine">
</view>
<view class="dmAreaConten" id="agent50" is-link bindtap="toPage">
<view class="sonConten1">
<view class="iconArea">
<image class="iconArea" src="/assets/myinfo/dyy.png"></image>
</view>
<text>待预约</text>
</view>
<view class="sonConten" id="agent51" is-link bindtap="toPage">
<view class="iconArea">
<image class="iconArea" src="/assets/myinfo/bz9.png"></image>
</view>
<text>待送货</text>
</view>
<view class="sonConten" id="agent53" is-link bindtap="toPage">
<view class="iconArea">
<image class="iconArea" src="/assets/myinfo/bz12.png"></image>
</view>
<text>结算中</text>
</view>
<view class="sonConten" id="agent54" is-link bindtap="toPage">
<view class="iconArea">
<image class="iconArea" src="/assets/myinfo/bz11.png"></image>
</view>
<text>已完成</text>
</view>
<view class="sonConten" id="agent55" is-link bindtap="toPage">
<view class="iconArea">
<image class="iconArea" src="/assets/myinfo/bz10.png"></image>
</view>
<text>已关闭</text>
</view>
</view>
</view> -->
<!-- <view class="dmArea2">
<view id="balance" is-link bindtap="toPage">
<text class="daAreaTietleText">我的钱包</text>
<text class="dmArea2Text">进入钱包></text>
</view>
<view class="boderLine">
</view>
<view class="dmAreaConten2">
<view class="moneyTextArea1" id="balance" is-link bindtap="toPage">
<text style="font-family: PingFangSC-Medium;font-size: 40rpx;color: rgba(0,0,0,0.85)letter-spacing: 0;text-align: center;">{{formate.numberFormat(accountMoney)}}\n</text>
<text style="font-family: PingFangSC-Regular;font-size: 26rpx;color: rgba(0,0,0,0.65);letter-spacing: 0;margin-left:10rpx">我的余额</text>
</view>
<view class="moneyTextArea2" id="balance" is-link bindtap="toPage">
<text style="font-family: PingFangSC-Medium;font-size: 40rpx;color: rgba(0,0,0,0.85)letter-spacing: 0;text-align: center;">¥{{formate.numberFormat(frozenMoney)}}\n</text>
<text style="font-family: PingFangSC-Regular;font-size: 26rpx;color: rgba(0,0,0,0.65);letter-spacing: 0;">提现中的金额</text>
</view>
<view class="moneyTextArea3" id="toMyMoney" is-link bindtap="toPage">
<view class="btnView"><text style="font-size: 8px;color: rgba(0,0,0,0.85);">查看账单</text></view>
<text style="font-family: PingFangSC-Regular;font-size: 26rpx;color: rgba(0,0,0,0.65);letter-spacing: 0;margin-top:25rpx;margin-left:15rpx">我的账单</text>
</view>
</view>
</view>
<view class="dmArea3" id="shop" is-link bindtap="toPage">
<view style="width:300rpx;height:28rpx;margin-top:15rpx;float:left">
<image style="width:28rpx;height:28rpx;margin-top:5rpx" src="/assets/myinfo/fb.png"></image>
<text wx:if="{{!userInfo}}" style="font-size: 26rpx;color: rgba(0,0,0,0.85);margin-left:15rpx">赶紧登陆赚钱吧</text>
<text wx:if="{{userInfo && userInfo.hasStore==1}}" style="font-size: 26rpx;color: rgba(0,0,0,0.85);margin-left:15rpx">赶紧发布商品赚钱吧</text>
<text wx:if="{{userInfo && userInfo.hasStore==0}}" style="font-size: 26rpx;color: rgba(0,0,0,0.85);margin-left:15rpx">超多人想买,快来开店赚钱</text>
</view>
<view style="width:120rpx;float:right;margin-right:41rpx">
<view wx:if="{{!userInfo}}" class="btnView2"><text style="font-size: 10px;color: rgba(0,0,0,0.85);">立即登录</text></view>
<view wx:if="{{userInfo && userInfo.hasStore==1}}" class="btnView2"><text style="font-size: 10px;color: rgba(0,0,0,0.85);">进入店铺</text></view>
<view wx:if="{{userInfo && userInfo.hasStore==0}}" class="btnView2"><text style="font-size: 10px;color: rgba(0,0,0,0.85);">申请开店</text></view>
</view>
</view>
<view class="dmArea4">
<view>
<text class="daAreaTietleText ">其他工具</text>
</view>
<view class="boderLine">
</view>
<view class="dmAreaConten">
<view class="dmArea4sonConten1" id="bidding" is-link bindtap="toPage">
<view class="dmArea4iconArea">
<image class="dmArea4iconAreaIMG" src="/assets/myinfo/wdbj.png"></image>
</view>
<text class="otherText">我的报价</text>
</view>
<view class="dmArea4sonConten2">
<view class="dmArea4iconArea" id="ordering" is-link bindtap="toPage">
<image class="dmArea4iconAreaIMG" src="/assets/myinfo/jydd.png"></image>
</view>
<text class="otherText">交易订单</text>
</view>
<view class="dmArea4sonConten2">
<view class="dmArea4iconArea" id="integral" is-link bindtap="toPage">
<image class="dmArea4iconAreaIMG" src="/assets/myinfo/wdjf.png"></image>
</view>
<text class="otherText">我的积分</text>
</view>
<view class="dmArea4sonConten2">
<view class="dmArea4iconArea" id="myCus" is-link bindtap="toPage">
<image class="dmArea4iconAreaIMG" src="/assets/myinfo/wdkf.png"></image>
</view>
<text class="otherText">我的客服</text>
</view>
<view class="dmArea4sonConten1">
<view class="dmArea4iconArea" id="adress" is-link bindtap="toPage">
<image class="dmArea4iconAreaIMG" src="/assets/myinfo/shdz.png"></image>
</view>
<text class="otherText">收货地址</text>
</view>
<view class="dmArea4sonConten2">
<view class="dmArea4iconArea" id="qnLogistic" is-link bindtap="toPage">
<image class="dmArea4iconAreaIMG" src="/assets/myinfo/qnwl.png"></image>
</view>
<text class="otherText">千鸟物流</text>
</view>
</view>
</view> -->
</scroll-view>
<wux-dialog id="wux-dialog" />
<!-- <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:377rpx;background-image: linear-gradient(124deg, rgba(0,122,255,0.67) 0%, rgba(13,100,227,0.95) 100%);"></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>
<view class="hx"></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" /> -->