mirror of
https://gitee.com/java110/WechatOwnerService.git
synced 2026-02-23 21:36:38 +08:00
优化小程序
This commit is contained in:
parent
2e77e00724
commit
d8ee722682
@ -62,7 +62,7 @@
|
||||
})
|
||||
},
|
||||
_toGoodsDetail: function(_product) {
|
||||
this.vc.navigateTo({
|
||||
this.vc.navigateToMall({
|
||||
url: '/pages/goods/goods?productId=' + _product.productId+"&shopId="+_product.shopId
|
||||
},true);
|
||||
}
|
||||
|
||||
@ -82,7 +82,7 @@
|
||||
_toShopDetail: function(_shop) {
|
||||
let url = this.openType == "1,3" ? '/pages/cate/cate?shopId=' :
|
||||
'/pages/homemaking/shop?shopId='
|
||||
this.vc.navigateTo({
|
||||
this.vc.navigateToMall({
|
||||
url: url + _shop.shopId
|
||||
}, true);
|
||||
}
|
||||
|
||||
@ -18,6 +18,9 @@
|
||||
<input v-model="msgCode" placeholder="请输入短信验证码" name="input"></input>
|
||||
<button class='cu-btn bg-green shadow' :disabled="btnDisabled" @click="sendMsgCode()">{{btnValue}}</button>
|
||||
</view>
|
||||
<view >
|
||||
<view >{{codeMsg}}</view>
|
||||
</view>
|
||||
<view class="padding flex flex-direction margin-top">
|
||||
<button class="cu-btn bg-green lg" @click="_doRegister()">绑定</button>
|
||||
</view>
|
||||
@ -34,6 +37,7 @@
|
||||
return {
|
||||
link: '',
|
||||
second: 60,
|
||||
codeMsg: '',
|
||||
msgCode: '',
|
||||
areaShow: false,
|
||||
btnValue: '验证码',
|
||||
@ -87,6 +91,7 @@
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
});
|
||||
_that.codeMsg = res.data;
|
||||
wx.hideLoading();
|
||||
_that.timer();
|
||||
return;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user