|
|
@ -1,5 +1,8 @@ |
|
|
<template> |
|
|
<template> |
|
|
<view class="warpper"> |
|
|
|
|
|
|
|
|
<view class="warpper"> |
|
|
|
|
|
<view> |
|
|
|
|
|
<uni-nav-bar left-icon="back" @clickLeft="back" statusBar fixed :title="titleText"></uni-nav-bar> |
|
|
|
|
|
</view> |
|
|
<view class="qn-form-item"> |
|
|
<view class="qn-form-item"> |
|
|
<view class="label"><text class="label__text">收货人</text></view> |
|
|
<view class="label"><text class="label__text">收货人</text></view> |
|
|
<view class="value"> |
|
|
<view class="value"> |
|
|
@ -97,12 +100,14 @@ export default { |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
onLoad(option) { |
|
|
onLoad(option) { |
|
|
|
|
|
this.titleText = option.type |
|
|
if(option.id) { |
|
|
if(option.id) { |
|
|
this.id = option.id |
|
|
this.id = option.id |
|
|
this.getAddressDetail() |
|
|
this.getAddressDetail() |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
methods: { |
|
|
methods: { |
|
|
|
|
|
back, |
|
|
// 通过id查询收货地址 |
|
|
// 通过id查询收货地址 |
|
|
getAddressDetail() { |
|
|
getAddressDetail() { |
|
|
getAddressDetail({id: this.id}).then(res => { |
|
|
getAddressDetail({id: this.id}).then(res => { |
|
|
@ -158,7 +163,15 @@ export default { |
|
|
</script> |
|
|
</script> |
|
|
|
|
|
|
|
|
<style lang="scss" scoped> |
|
|
<style lang="scss" scoped> |
|
|
.warpper { |
|
|
|
|
|
|
|
|
.warpper { |
|
|
|
|
|
.warpper-title { |
|
|
|
|
|
width: 100%; |
|
|
|
|
|
font-size: 36rpx; |
|
|
|
|
|
color: #000000; |
|
|
|
|
|
letter-spacing: 0; |
|
|
|
|
|
text-align: center; |
|
|
|
|
|
font-weight: 500; |
|
|
|
|
|
} |
|
|
.qn-form-item { |
|
|
.qn-form-item { |
|
|
width: 750rpx; |
|
|
width: 750rpx; |
|
|
padding: 0rpx 32rpx; |
|
|
padding: 0rpx 32rpx; |
|
|
|