|
@@ -7,10 +7,10 @@
|
|
|
<view class="viewsDetail" v-else @click="viewsDetail(item)">查看详情</view>
|
|
|
</view>
|
|
|
<view style="padding:150rpx 30rpx 0;" v-if="list.length == 0">
|
|
|
- <u-empty text="还未中奖" :icon-size="80" mode="list"></u-empty>
|
|
|
- <view style="text-align: center;">
|
|
|
+ <u-empty text="还没有奖品记录" :icon-size="80" mode="list"></u-empty>
|
|
|
+ <!-- <view style="text-align: center;">
|
|
|
<u-button size="mini" @click="goBack">去抽奖</u-button>
|
|
|
- </view>
|
|
|
+ </view> -->
|
|
|
</view>
|
|
|
|
|
|
<!-- 查看详情弹框 -->
|
|
@@ -35,7 +35,7 @@
|
|
|
<view>
|
|
|
<view v-if="curRevice.state == 'WAIT_SEND_EXPRESS'">暂未发货,如收货信息有误, 请联系客服电话<text class="tell" @click="callPhone">{{kfPhone}}</text></view>
|
|
|
<view v-else>
|
|
|
- 中国邮政 <text class="tell">(单号:16546464645)</text> <u-button @click="copyWlCode" size="mini">复制</u-button>
|
|
|
+ {{curRevice.expressName}} <text class="tell">(单号:{{curRevice.expressNum}})</text> <u-button @click="copyWlCode" size="mini">复制</u-button>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -47,7 +47,7 @@
|
|
|
</u-popup>
|
|
|
|
|
|
<!-- 乐豆领取详情弹框 -->
|
|
|
- <u-popup v-model="showLjLd" mode="center" close-icon-color="#ffffff" closeable :border-radius="30" width="500rpx" height="450rpx">
|
|
|
+ <u-popup v-model="showLjLd" mode="center" close-icon-color="#ffffff" closeable :border-radius="30" width="500rpx">
|
|
|
<view class="lottery-content">
|
|
|
<view class="lottery-title">欢迎领取</view>
|
|
|
<view class="lottery-msg">
|
|
@@ -75,7 +75,7 @@
|
|
|
<u-input v-model="areaInfo.label" placeholder="请选择省市区" @click="openAddress" type="select" />
|
|
|
<Address ref="applyAddress" @onConfirm="areaConfirm"></Address>
|
|
|
</u-form-item>
|
|
|
- <u-form-item label="详细地址" required prop="receiveAddress">
|
|
|
+ <u-form-item label="详细地址" :border-bottom="false" required prop="receiveAddress">
|
|
|
<u-input type="textarea" :height="100" auto-height placeholder="请输入收货详细地址(最多100个字符)" :maxlength="100" v-model="form.receiveAddress" class="receiveAddress"/>
|
|
|
</u-form-item>
|
|
|
</u-form>
|
|
@@ -113,7 +113,8 @@ export default {
|
|
|
areaInfo: {}, // 省市区
|
|
|
areaIdArr: [], // 省市区id数组
|
|
|
list: [],
|
|
|
- curRevice: null
|
|
|
+ curRevice: null,
|
|
|
+ fromPage: ''
|
|
|
}
|
|
|
},
|
|
|
// 必须要在onReady生命周期,因为onLoad生命周期组件可能尚未创建完毕
|
|
@@ -124,6 +125,7 @@ export default {
|
|
|
console.log(option,'option')
|
|
|
this.getfindWinPrize()
|
|
|
this.kfPhone = this.$store.state.vuex_kfMobile
|
|
|
+ this.fromPage = option.fromPage
|
|
|
},
|
|
|
onUnload() {
|
|
|
this.form = {
|
|
@@ -134,7 +136,13 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
goBack(){
|
|
|
- uni.navigateBack()
|
|
|
+ if(this.fromPage == 'usercenter'){
|
|
|
+ uni.redirectTo({
|
|
|
+ url: '/pagesA/luckDraw/luckDraw'
|
|
|
+ })
|
|
|
+ }else{
|
|
|
+ uni.navigateBack()
|
|
|
+ }
|
|
|
},
|
|
|
// 电话客服
|
|
|
callPhone () {
|
|
@@ -204,7 +212,7 @@ export default {
|
|
|
// 复制单号
|
|
|
copyWlCode(){
|
|
|
uni.setClipboardData({
|
|
|
- data: 'hello',
|
|
|
+ data: this.curRevice.expressNum,
|
|
|
success: function () {
|
|
|
console.log('success');
|
|
|
}
|