...
|
...
|
@@ -11,7 +11,7 @@ |
|
|
<div class="list exchange-info">
|
|
|
<!--address-->
|
|
|
<div class="list-item exchange-address" @click="changeAddress">
|
|
|
<div class="consignee">
|
|
|
<div class="co
|
|
|
<span class="mr50">{{address.consignee}}</span>
|
|
|
<span>{{address.mobile}}</span>
|
|
|
</div>
|
...
|
...
|
@@ -39,7 +39,9 @@ |
|
|
<script>
|
|
|
const $ = require('yoho-jquery');
|
|
|
const qs = require('yoho-qs');
|
|
|
const tip = require('common/tip');
|
|
|
const bus = require('common/vue-bus');
|
|
|
const yoho = require('yoho');
|
|
|
|
|
|
const productList = require('home/return/list.vue');
|
|
|
const exchangeItem = require('home/exchange/item.vue');
|
...
|
...
|
@@ -127,7 +129,13 @@ |
|
|
},
|
|
|
methods: {
|
|
|
changeAddress() {
|
|
|
alert('TODO:更换地址');
|
|
|
yoho.goAddress({
|
|
|
type:'1'
|
|
|
}, (address)=>{
|
|
|
|
|
|
}, () => {
|
|
|
tip('更换地址失败~');
|
|
|
});
|
|
|
},
|
|
|
|
|
|
// 商品 feature改变
|
...
|
...
|
@@ -144,7 +152,6 @@ |
|
|
queryProductFeature(pid) {
|
|
|
$.get(`/product/product_${pid}.json`).then(result => {
|
|
|
this.entity = result;
|
|
|
this.entity.id = pid;
|
|
|
return result;
|
|
|
});
|
|
|
},
|
...
|
...
|
|