...
|
...
|
@@ -65,11 +65,11 @@ |
|
|
</div>
|
|
|
</div>
|
|
|
<div class="group-list address-item">
|
|
|
<a class="glist-item auth" id="address" v-if="data.nickName">
|
|
|
<a class="glist-item" @click="manageAddress" v-if="data.nickName">
|
|
|
地址管理
|
|
|
<span class="num">{{data.address_num}} <span class="icon icon-right"></span></span>
|
|
|
</a>
|
|
|
<p class="glist-item" v-else>
|
|
|
<p class="glist-item" @click="manageAddress" v-else>
|
|
|
地址管理
|
|
|
</p>
|
|
|
</div>
|
...
|
...
|
@@ -240,6 +240,20 @@ |
|
|
$('.auth').on('click', this.authClick);
|
|
|
}
|
|
|
},
|
|
|
manageAddress() {
|
|
|
if (yoho.isLogin()) {
|
|
|
yoho.goAddress({
|
|
|
type: '2'
|
|
|
});
|
|
|
} else {
|
|
|
yoho.goLogin('', () => {
|
|
|
yoho.goAddress({
|
|
|
type: '2'
|
|
|
});
|
|
|
});
|
|
|
}
|
|
|
|
|
|
},
|
|
|
addressClick() {
|
|
|
yoho.goAddress({
|
|
|
type: '2'
|
...
|
...
|
|