|
@ -23,17 +23,13 @@ |
|
|
</view> --> |
|
|
</view> --> |
|
|
<view class="topBox"> |
|
|
<view class="topBox"> |
|
|
<view class="users"> |
|
|
<view class="users"> |
|
|
<view class="u-top" |
|
|
|
|
|
@click="$utils.navigateTo('/login/wxUserInfo')" |
|
|
|
|
|
v-if="userInfo.appletOpenid"> |
|
|
|
|
|
|
|
|
<view class="u-top" @click="$utils.navigateTo('/login/wxUserInfo')" v-if="userInfo.appletOpenid"> |
|
|
<image class="img" :src="userInfo.headImage" mode="widthFix"></image> |
|
|
<image class="img" :src="userInfo.headImage" mode="widthFix"></image> |
|
|
<view class="tit"> |
|
|
<view class="tit"> |
|
|
{{ userInfo.nickName }} |
|
|
{{ userInfo.nickName }} |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="u-top" |
|
|
|
|
|
v-else |
|
|
|
|
|
@click="$utils.navigateTo('/login/login')"> |
|
|
|
|
|
|
|
|
<view class="u-top" v-else @click="$utils.navigateTo('/login/login')"> |
|
|
<image class="img" |
|
|
<image class="img" |
|
|
src="https://img2.baidu.com/it/u=2953585264,744730101&fm=253&fmt=auto&app=138&f=JPEG?w=360&h=360" |
|
|
src="https://img2.baidu.com/it/u=2953585264,744730101&fm=253&fmt=auto&app=138&f=JPEG?w=360&h=360" |
|
|
mode="widthFix"></image> |
|
|
mode="widthFix"></image> |
|
@ -46,6 +42,8 @@ |
|
|
|
|
|
|
|
|
<view class="listBox"> |
|
|
<view class="listBox"> |
|
|
<view class="lists"> |
|
|
<view class="lists"> |
|
|
|
|
|
<uni-section @click="toPromotion" title="推广" type="line" titleFontSize="34rpx" |
|
|
|
|
|
style="border-radius: 10rpx;"></uni-section> |
|
|
<uni-section title="我的订单" type="line" titleFontSize="34rpx" |
|
|
<uni-section title="我的订单" type="line" titleFontSize="34rpx" |
|
|
style="border-radius: 10rpx;"></uni-section> |
|
|
style="border-radius: 10rpx;"></uni-section> |
|
|
<view class="order-list"> |
|
|
<view class="order-list"> |
|
@ -89,7 +87,7 @@ |
|
|
pageSize: 10 |
|
|
pageSize: 10 |
|
|
}, |
|
|
}, |
|
|
orderList: [], |
|
|
orderList: [], |
|
|
total : 0 |
|
|
|
|
|
|
|
|
total: 0 |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
onShow() { |
|
|
onShow() { |
|
@ -100,7 +98,7 @@ |
|
|
}, |
|
|
}, |
|
|
//滚动到屏幕底部 |
|
|
//滚动到屏幕底部 |
|
|
onReachBottom() { |
|
|
onReachBottom() { |
|
|
if(this.queryParams.pageSize < this.total){ |
|
|
|
|
|
|
|
|
if (this.queryParams.pageSize < this.total) { |
|
|
this.queryParams.pageSize += 10 |
|
|
this.queryParams.pageSize += 10 |
|
|
this.getOrderList() |
|
|
this.getOrderList() |
|
|
} |
|
|
} |
|
@ -113,6 +111,13 @@ |
|
|
this.total = res.result.total |
|
|
this.total = res.result.total |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
//跳转推广页面 |
|
|
|
|
|
toPromotion(){ |
|
|
|
|
|
uni.navigateTo({ |
|
|
|
|
|
url: '/pages/promotion/promotion' |
|
|
|
|
|
}) |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
</script> |
|
|
</script> |
|
@ -243,8 +248,8 @@ |
|
|
align-items: center; |
|
|
align-items: center; |
|
|
margin-top: 20rpx; |
|
|
margin-top: 20rpx; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.oldPrice{ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.oldPrice { |
|
|
margin-left: 10rpx; |
|
|
margin-left: 10rpx; |
|
|
color: #757575; |
|
|
color: #757575; |
|
|
text-decoration: line-through; |
|
|
text-decoration: line-through; |
|
|