|
@@ -5,139 +5,131 @@
|
|
|
<!-- #endif -->
|
|
|
<!-- <scroll-view class="content-box" scroll-y="true"> -->
|
|
|
<view class="user-section">
|
|
|
- <view class="bg"></view>
|
|
|
+ <view class="bg">
|
|
|
+ <image src="../../static/user/ground.png" mode=""></image>
|
|
|
+ </view>
|
|
|
+
|
|
|
+ <!-- top -->
|
|
|
<view class="user-info-box ">
|
|
|
<view class="detail flex" @click="navTo('/pages/userinfo/userinfo')">
|
|
|
<view class="portrait-box"><image class="portrait" :src="userInfo.avatar || '/static/error/missing-face.png'"></image></view>
|
|
|
<view class="info-box">
|
|
|
<view class="username">{{ userInfo.nickname || '游客' }}</view>
|
|
|
- <view class="font-size-sm" v-if="userInfo.uid">邀请码:{{ userInfo.uid }}</view>
|
|
|
+ <view class="font-size-sm" v-if="userInfo.uid">19999999999</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="config iconfont">
|
|
|
- <text class="setting iconsetting" @click="navTo('/pages/set/set')"></text>
|
|
|
- <!-- <text class="message iconmessage" @click="navTo('/pages/notice/notice')"></text> -->
|
|
|
+ <view class="config">
|
|
|
+ <text class="setting " @click="navTo('/pages/set/set')">
|
|
|
+ <image src="../../static/user/set.png" mode=""></image>
|
|
|
+ </text>
|
|
|
+ 设置
|
|
|
</view>
|
|
|
</view>
|
|
|
<!-- 会员卡功能 -->
|
|
|
- <view class="vip-card-box">
|
|
|
- <view @click="navTo('/pages/product/giftBag')" class="b-btn" v-if="userInfo.level == 0">我要升级</view>
|
|
|
- <view class="tit">
|
|
|
- <text class="iconfont iconintegral"></text>
|
|
|
- <text v-if="userInfo.level == 0">升级专享优惠权益</text>
|
|
|
- <text v-if="userInfo.level == 1">VIP会员</text>
|
|
|
- <text v-if="userInfo.level == 2">店长</text>
|
|
|
- <text v-if="userInfo.level == 3">总经理</text>
|
|
|
- <text v-if="userInfo.level == 4">分公司</text>
|
|
|
- <text v-if="userInfo.level == 5">大公司</text>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
+
|
|
|
</view>
|
|
|
- <view class="cover-container">
|
|
|
- <image class="arc" v-if="isShowIllegality" src="/static/img/arc.png"></image>
|
|
|
- <view class="tj-sction" v-if="isShowIllegality">
|
|
|
- <view class="tj-item" @click="navTo('/pages/wallet/wallet')">
|
|
|
- <text class="num">{{ userInfo.now_money || '0.00' }}</text>
|
|
|
- <text>余额</text>
|
|
|
- </view>
|
|
|
- <view class="tj-item" @click="navTo('/pages/award/award')">
|
|
|
- <text class="num">{{ userInfo.brokerage_price || '0.00' }}</text>
|
|
|
- <text>佣金</text>
|
|
|
- </view>
|
|
|
- <view class="tj-item" @click="navTo('/pages/scoreAccumulate/scoreAccumulate')">
|
|
|
- <text class="num">{{ userInfo.integral || '0.00' }}</text>
|
|
|
- <text>积分</text>
|
|
|
- </view>
|
|
|
- <view class="tj-item" @click="navTo('/pages/coupon/consumer')">
|
|
|
- <text class="num">{{ userInfo.consumer || '0.00' }}</text>
|
|
|
- <text>消费券</text>
|
|
|
+ <view class="item-box">
|
|
|
+ <view class="box-title flex borde-b">
|
|
|
+ <view class="title"><text>我的订单</text></view>
|
|
|
+ <view class="link" @click="navTo('/pages/order/order?state=5')" hover-class="common-hover">
|
|
|
+
|
|
|
+ <text class="iconfont iconenter"></text>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <!-- 订单 -->
|
|
|
- <view class="item-box">
|
|
|
- <view class="box-title flex borde-b">
|
|
|
- <view class="title"><text>我的订单</text></view>
|
|
|
- <view class="link" @click="navTo('/pages/order/order?state=5')" hover-class="common-hover">
|
|
|
- <text>全部订单</text>
|
|
|
- <text class="iconfont iconenter"></text>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view class="order-section">
|
|
|
- <view class="order-item" @click="navTo('/pages/order/order?state=1')" hover-class="common-hover" :hover-stay-time="50">
|
|
|
- <view class=" icon position-relative">
|
|
|
- <image class="icon-img" src="/static/icon/i2.png" mode="aspectFit"></image>
|
|
|
- <view class="corner" v-if="orderInfo.unshipped_count > 0">
|
|
|
- <text>{{ orderInfo.unshipped_count }}</text>
|
|
|
- </view>
|
|
|
+ <view class="order-section">
|
|
|
+ <view class="order-item" @click="navTo('/pages/order/order?state=1')" hover-class="common-hover" :hover-stay-time="50">
|
|
|
+ <view class=" icon1 position-relative">
|
|
|
+ <image class="icon-img" src="/static/icon/i2.png" mode="aspectFit"></image>
|
|
|
+ <view class="corner" v-if="orderInfo.unshipped_count > 0">
|
|
|
+ <text>{{ orderInfo.unshipped_count }}</text>
|
|
|
</view>
|
|
|
- <text>待发货</text>
|
|
|
</view>
|
|
|
- <view class="order-item" @click="navTo('/pages/order/order?state=2')" hover-class="common-hover" :hover-stay-time="50">
|
|
|
- <view class="icon position-relative">
|
|
|
- <image class="icon-img" src="/static/icon/i3.png" mode="aspectFit"></image>
|
|
|
- <view class="corner" v-if="orderInfo.received_count > 0">
|
|
|
- <text>{{ orderInfo.received_count }}</text>
|
|
|
- </view>
|
|
|
+ <text>待发货</text>
|
|
|
+ </view>
|
|
|
+ <view class="order-item" @click="navTo('/pages/order/order?state=2')" hover-class="common-hover" :hover-stay-time="50">
|
|
|
+ <view class="icon1 position-relative">
|
|
|
+ <image class="icon-img" src="/static/icon/i3.png" mode="aspectFit"></image>
|
|
|
+ <view class="corner" v-if="orderInfo.received_count > 0">
|
|
|
+ <text>{{ orderInfo.received_count }}</text>
|
|
|
</view>
|
|
|
- <text>待收货</text>
|
|
|
</view>
|
|
|
- <view class="order-item" @click="navTo('/pages/order/order?state=3')" hover-class="common-hover" :hover-stay-time="50">
|
|
|
- <view class="icon position-relative">
|
|
|
- <image class="icon-img" src="/static/icon/i4.png" mode="aspectFit"></image>
|
|
|
- <view class="corner" v-if="orderInfo.evaluated_count > 0">
|
|
|
- <text>{{ orderInfo.evaluated_count }}</text>
|
|
|
- </view>
|
|
|
+ <text>待收货</text>
|
|
|
+ </view>
|
|
|
+ <view class="order-item" @click="navTo('/pages/order/order?state=3')" hover-class="common-hover" :hover-stay-time="50">
|
|
|
+ <view class="icon1 position-relative">
|
|
|
+ <image class="icon-img" src="/static/icon/i4.png" mode="aspectFit"></image>
|
|
|
+ <view class="corner" v-if="orderInfo.evaluated_count > 0">
|
|
|
+ <text>{{ orderInfo.evaluated_count }}</text>
|
|
|
</view>
|
|
|
- <text>待评价</text>
|
|
|
</view>
|
|
|
- <view class="order-item" @click="navTo('/pages/order/refundOrder?state=0')" hover-class="common-hover" :hover-stay-time="50">
|
|
|
- <view class=" icon position-relative">
|
|
|
- <image class="icon-img" src="/static/icon/i1.png" mode="aspectFit"></image>
|
|
|
- <!-- <view class="corner" v-if="orderInfo.unpaid_count > 0">
|
|
|
- <text>{{ orderInfo.unpaid_count }}</text>
|
|
|
- </view> -->
|
|
|
- </view>
|
|
|
- <text>退款</text>
|
|
|
+ <text>待评价</text>
|
|
|
+ </view>
|
|
|
+ <view class="order-item" @click="navTo('/pages/order/refundOrder?state=0')" hover-class="common-hover" :hover-stay-time="50">
|
|
|
+ <view class=" icon1 position-relative">
|
|
|
+ <image class="icon-img" src="/static/icon/i1.png" mode="aspectFit"></image>
|
|
|
</view>
|
|
|
+ <text>退款</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="item-box" v-if="isShowIllegality">
|
|
|
- <!-- <view class="box-title flex borde-b">
|
|
|
- <view class="title"><text>我的资产</text></view>
|
|
|
- </view> -->
|
|
|
- <view class="order-section">
|
|
|
+ </view>
|
|
|
+ <!-- <view class="cover-container"> -->
|
|
|
+ <view class="vip">
|
|
|
+ <image src="../../static/user/upgrade.png" mode=""></image>
|
|
|
+ </view>
|
|
|
+
|
|
|
+ <!-- 订单 -->
|
|
|
+
|
|
|
+ <view class="item-box " v-if="isShowIllegality">
|
|
|
+ <view class="order-section order">
|
|
|
<view class="order-item" @click="navTo('/pages/wallet/wallet')" hover-class="common-hover" :hover-stay-time="50">
|
|
|
- <view class=" icon position-relative"><image class="icon-img" src="/static/icon/u1.png" mode="aspectFit"></image></view>
|
|
|
- <text>我的钱包</text>
|
|
|
+ <view class=" icon position-relative"><image class="icon-img" src="../../static/user/balance.png" mode="aspectFit"></image></view>
|
|
|
+ <text>我的余额</text>
|
|
|
</view>
|
|
|
<view class="order-item" @click="navTo('/pages/award/award')" hover-class="common-hover" :hover-stay-time="50">
|
|
|
- <view class=" icon position-relative"><image class="icon-img" src="/static/icon/u2.png" mode="aspectFit"></image></view>
|
|
|
- <text>奖励明细</text>
|
|
|
+ <view class=" icon position-relative"><image class="icon-img" src="../../static/user/commission.png" mode="aspectFit"></image></view>
|
|
|
+ <text>我的佣金</text>
|
|
|
</view>
|
|
|
<view class="order-item" @click="navTo('/pages/scoreAccumulate/scoreAccumulate')" hover-class="common-hover" :hover-stay-time="50">
|
|
|
- <view class=" icon position-relative"><image class="icon-img" src="/static/icon/u3.png" mode="aspectFit"></image></view>
|
|
|
- <text>积分明细</text>
|
|
|
+ <view class=" icon position-relative"><image class="icon-img" src="../../static/user/integral.png" mode="aspectFit"></image></view>
|
|
|
+ <text>我的积分</text>
|
|
|
</view>
|
|
|
<view class="order-item" @click="navTo('/pages/coupon/consumer')" hover-class="common-hover" :hover-stay-time="50">
|
|
|
- <view class=" icon position-relative"><image class="icon-img" src="/static/icon/u5.png" mode="aspectFit"></image></view>
|
|
|
- <text>消费券明细</text>
|
|
|
+ <view class=" icon position-relative"><image class="icon-img" src="../../static/user/coupon.png" mode="aspectFit"></image></view>
|
|
|
+ <text>我的消费券</text>
|
|
|
</view>
|
|
|
- <view v-if="userInfo.is_store == 1" class="order-item" @click="openQr" hover-class="common-hover" :hover-stay-time="50">
|
|
|
+ <!-- <view v-if="userInfo.is_store == 1" class="order-item" @click="openQr" hover-class="common-hover" :hover-stay-time="50">
|
|
|
<view class=" icon position-relative"><image class="icon-img" src="/static/icon/u4.png" mode="aspectFit"></image></view>
|
|
|
<text>核销</text>
|
|
|
- </view>
|
|
|
+ </view> -->
|
|
|
</view>
|
|
|
- </view>
|
|
|
+
|
|
|
+ <!-- <image class="arc" v-if="isShowIllegality" src="/static/img/arc.png"></image> -->
|
|
|
+ <!-- <view class="tj-sction" v-if="isShowIllegality">
|
|
|
+ <view class="tj-item" @click="navTo('/pages/wallet/wallet')">
|
|
|
+ <text class="num">{{ userInfo.now_money || '0.00' }}</text>
|
|
|
+ <text>余额</text>
|
|
|
+ </view>
|
|
|
+ <view class="tj-item" @click="navTo('/pages/award/award')">
|
|
|
+ <text class="num">{{ userInfo.brokerage_price || '0.00' }}</text>
|
|
|
+ <text>佣金</text>
|
|
|
+ </view>
|
|
|
+ <view class="tj-item" @click="navTo('/pages/scoreAccumulate/scoreAccumulate')">
|
|
|
+ <text class="num">{{ userInfo.integral || '0.00' }}</text>
|
|
|
+ <text>积分</text>
|
|
|
+ </view>
|
|
|
+ <view class="tj-item" @click="navTo('/pages/coupon/consumer')">
|
|
|
+ <text class="num">{{ userInfo.consumer || '0.00' }}</text>
|
|
|
+ <text>消费券</text>
|
|
|
+ </view>
|
|
|
+ </view> -->
|
|
|
<!-- 浏览历史 -->
|
|
|
- <view class="history-section icon">
|
|
|
+ <view class="history-section ">
|
|
|
<uni-list>
|
|
|
- <uni-list-item v-if="isShowIllegality" title="我的钱包" @click="navTo('/pages/wallet/wallet')" thumb="/static/icon/img11.png"></uni-list-item>
|
|
|
- <!-- <uni-list-item title="地址管理" @click="navTo('/pages/address/address')" thumb="/static/icon/img01.png"></uni-list-item> -->
|
|
|
- <uni-list-item title="我的团队" @click="navTo('/pages/myteam/myteam')" thumb="/static/icon/myteam_1.png"></uni-list-item>
|
|
|
- <uni-list-item title="我的收藏" @click="navTo('/pages/favorites/favorites')" thumb="/static/icon/img02.png"></uni-list-item>
|
|
|
- <!--<uni-list-item title="商户入驻" @click="navTo('/pages/address/address')" thumb="/static/icon/img05.png"></uni-list-item>-->
|
|
|
- <uni-list-item title="邀请好友" @click="navTo('/pages/shareQrCode/index')" thumb="/static/icon/img10.png"></uni-list-item>
|
|
|
- <uni-list-item title="关于我们" @click="navTo('/pages/set/about')" thumb="/static/icon/img09.png"></uni-list-item>
|
|
|
+ <uni-list-item v-if="isShowIllegality" title="我的推广" @click="navTo('/pages/wallet/wallet')" thumb="/static/user/tuiguang.png"></uni-list-item>
|
|
|
+ <uni-list-item title="邀请海报" @click="navTo('/pages/myteam/myteam')" thumb="/static/user/haibao.png"></uni-list-item>
|
|
|
+ <uni-list-item title="我的收藏" @click="navTo('/pages/favorites/favorites')" thumb="/static/user/collect.png"></uni-list-item>
|
|
|
+ <uni-list-item title="收货地址" @click="navTo('/pages/shareQrCode/index')" thumb="/static/user/address.png"></uni-list-item>
|
|
|
+ <uni-list-item title="商家入口" @click="navTo('/pages/merchant/merchant')" thumb="/static/user/shopping.png"></uni-list-item>
|
|
|
</uni-list>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -374,7 +366,7 @@ export default {
|
|
|
}
|
|
|
.container {
|
|
|
height: 100%;
|
|
|
- background-color: $page-color-base;
|
|
|
+ background-color: #FFFFFF;
|
|
|
/* #ifdef APP-PLUS */
|
|
|
.bar-height {
|
|
|
height: var(--status-bar-height);
|
|
@@ -388,15 +380,19 @@ export default {
|
|
|
|
|
|
.user-section {
|
|
|
height: 435rpx;
|
|
|
- padding: 15rpx 30rpx 0;
|
|
|
+ padding: 60rpx 0 0 30rpx;
|
|
|
position: relative;
|
|
|
.bg {
|
|
|
position: absolute;
|
|
|
+ height: 480rpx;
|
|
|
+ width: 100%;
|
|
|
left: 0;
|
|
|
top: 0;
|
|
|
- width: 100%;
|
|
|
- height: 100%;
|
|
|
- background-color: $base-color;
|
|
|
+ image{
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ }
|
|
|
+ // background-color: $base-color;
|
|
|
}
|
|
|
}
|
|
|
.user-info-box {
|
|
@@ -428,9 +424,25 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
.config {
|
|
|
- font-size: 48rpx;
|
|
|
- height: 130rpx;
|
|
|
+ font-size: 28rpx;
|
|
|
+ font-family: PingFang SC;
|
|
|
+ font-weight: 500;
|
|
|
+ color: #52C696;
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
+ width: 165rpx;
|
|
|
+ height: 64rpx;
|
|
|
+ background: #FFFFFF;
|
|
|
+ border-radius: 32px 0px 0px 32px;
|
|
|
.setting {
|
|
|
+ width: 32rpx;
|
|
|
+ height: 32rpx;
|
|
|
+ image{
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ }
|
|
|
+
|
|
|
// margin-right: 51rpx;
|
|
|
}
|
|
|
}
|
|
@@ -483,13 +495,25 @@ export default {
|
|
|
margin-top: 10rpx;
|
|
|
}
|
|
|
}
|
|
|
+ .vip{
|
|
|
+ margin-top: -110rpx;
|
|
|
+ padding: 0 30rpx;
|
|
|
+ height: 170rpx;
|
|
|
+ image{
|
|
|
+ height: 100%;
|
|
|
+ width: 100%;
|
|
|
+ }
|
|
|
+ }
|
|
|
.cover-container {
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
background: $page-color-base;
|
|
|
- margin-top: -160rpx;
|
|
|
padding: 0 30rpx;
|
|
|
position: relative;
|
|
|
background: #f5f5f5;
|
|
|
padding-bottom: 20rpx;
|
|
|
+ margin-top: -110rpx;
|
|
|
+
|
|
|
.arc {
|
|
|
position: absolute;
|
|
|
left: 0;
|
|
@@ -515,9 +539,11 @@ export default {
|
|
|
}
|
|
|
|
|
|
.item-box {
|
|
|
+ position: relative;
|
|
|
border-radius: 10rpx;
|
|
|
background-color: white;
|
|
|
- margin-top: 20rpx;
|
|
|
+ top: -130rpx;
|
|
|
+ margin: 0 30rpx;
|
|
|
.box-title {
|
|
|
line-height: 1;
|
|
|
padding: 30rpx;
|
|
@@ -530,7 +556,11 @@ export default {
|
|
|
color: $font-color-light;
|
|
|
}
|
|
|
}
|
|
|
+ .order{
|
|
|
+ margin-top: 70rpx;
|
|
|
+ }
|
|
|
.order-section {
|
|
|
+
|
|
|
@extend %section;
|
|
|
padding: 28rpx 0;
|
|
|
.order-item {
|
|
@@ -550,6 +580,18 @@ export default {
|
|
|
font-size: 44rpx;
|
|
|
}
|
|
|
.icon {
|
|
|
+ height: 88rpx;
|
|
|
+ width: 90rpx;
|
|
|
+ margin-bottom: 18rpx;
|
|
|
+ background-size: 100%;
|
|
|
+ background-repeat: no-repeat;
|
|
|
+ background-position: center;
|
|
|
+ .icon-img {
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .icon1 {
|
|
|
height: 50rpx;
|
|
|
width: 48rpx;
|
|
|
margin-bottom: 18rpx;
|