|
@@ -12,7 +12,7 @@
|
|
|
<u-button size="mini" @click="goBack">去抽奖</u-button>
|
|
|
</view> -->
|
|
|
</view>
|
|
|
-
|
|
|
+ <Address ref="applyAddress" @onConfirm="areaConfirm"></Address>
|
|
|
<!-- 查看详情弹框 -->
|
|
|
<u-popup v-model="showViews" mode="center" close-icon-color="#ffffff" closeable :border-radius="30" width="500rpx">
|
|
|
<view class="lottery-content">
|
|
@@ -73,10 +73,10 @@
|
|
|
</u-form-item>
|
|
|
<u-form-item label="省市区" required prop="receiveAreasName">
|
|
|
<u-input v-model="areaInfo.label" placeholder="请选择省市区" @click="openAddress" type="select" />
|
|
|
- <Address ref="applyAddress" @onConfirm="areaConfirm"></Address>
|
|
|
</u-form-item>
|
|
|
<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-input type="textarea" :height="100" auto-height placeholder="请输入收货详细地址(最多100个字符)" :maxlength="100" v-model="form.receiveAddress" class="receiveAddress"/> -->
|
|
|
+ <textarea :auto-height="true" placeholder="请输入收货详细地址(最多100个字符)" :maxlength="100" v-model="form.receiveAddress" class="receiveAddress"/>
|
|
|
</u-form-item>
|
|
|
</u-form>
|
|
|
</view>
|
|
@@ -85,7 +85,6 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
</u-popup>
|
|
|
-
|
|
|
</view>
|
|
|
</template>
|
|
|
|
|
@@ -264,13 +263,15 @@ export default {
|
|
|
if(this.form.id) {
|
|
|
params.id = this.form.id
|
|
|
}
|
|
|
+ // 更新收货地址
|
|
|
+ this.saveReceive(params)
|
|
|
// 保存我的收货地址
|
|
|
- saveAddress(params).then(res=>{
|
|
|
- if(res.status == 200) {
|
|
|
- // 保存领奖收货信息
|
|
|
- this.saveReceive(params)
|
|
|
- }
|
|
|
- })
|
|
|
+ // saveAddress(params).then(res=>{
|
|
|
+ // if(res.status == 200) {
|
|
|
+ // // 保存领奖收货信息
|
|
|
+ // this.saveReceive(params)
|
|
|
+ // }
|
|
|
+ // })
|
|
|
}
|
|
|
});
|
|
|
},
|
|
@@ -347,7 +348,6 @@ export default {
|
|
|
}
|
|
|
.lottery-content{
|
|
|
height: 100%;
|
|
|
- position: relative;
|
|
|
background: url(../../static/lottery_winbg1.png) no-repeat center top;
|
|
|
background-size: 100% auto;
|
|
|
.lottery-confrim-btn{
|