Merge branch 'master' of http://git.luyuan.tk/luyuan/deming into xbx
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<view class="comment-item">
|
||||
<view class="user">
|
||||
<u-avatar :src="content.member_avatar" class="avatar" size="60"></u-avatar>
|
||||
<text class="name">{{ content.geval_frommembername }}</text>
|
||||
<text class="name">{{ content.member_nickname }}</text>
|
||||
<u-rate v-if="reply" :disabled='true' :count="count" v-model="rate" size="23" active-color="#FF780F" inactive-color="#F0EDF1" gutter="10"></u-rate>
|
||||
</view>
|
||||
<view class="content">
|
||||
|
||||
@@ -80,7 +80,6 @@ export default {
|
||||
// 判断是不是编辑页面 调用接口
|
||||
confirmBtn() {
|
||||
if(!this.debounce) return;
|
||||
this.debounce = false;
|
||||
this.info ? this.editAddress() : this.addAddress();
|
||||
},
|
||||
// chooseArea() {
|
||||
@@ -119,6 +118,7 @@ export default {
|
||||
},
|
||||
addAddress() {
|
||||
if(!this.validateValue()) return false;
|
||||
this.debounce = false;
|
||||
this.$u.api.addressAdd({
|
||||
area_id: this.area_id,
|
||||
city_id: this.city_id,
|
||||
@@ -144,6 +144,7 @@ export default {
|
||||
},
|
||||
editAddress() {
|
||||
if(!this.validateValue()) return false;
|
||||
this.debounce = false;
|
||||
this.$u.api.addressEdit({
|
||||
address_id: this.info.address_id,
|
||||
area_id: this.area_id,
|
||||
|
||||
@@ -34,7 +34,7 @@ export default {
|
||||
url: 'pageB/sdetails/index',
|
||||
params: {
|
||||
id: this.info.goods_id,
|
||||
type: 1,
|
||||
// type: 1,
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user