mirror of
https://gitee.com/java110/WechatOwnerService.git
synced 2026-06-12 10:00:57 +08:00
Merge branch 'master' of http://git.homecommunity.cn/supervip/WechatOwnerService
This commit is contained in:
commit
2770a85663
@ -62,7 +62,7 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
_toGoodsDetail: function(_product) {
|
_toGoodsDetail: function(_product) {
|
||||||
this.vc.navigateTo({
|
this.vc.navigateToMall({
|
||||||
url: '/pages/goods/goods?productId=' + _product.productId+"&shopId="+_product.shopId
|
url: '/pages/goods/goods?productId=' + _product.productId+"&shopId="+_product.shopId
|
||||||
},true);
|
},true);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -82,7 +82,7 @@
|
|||||||
_toShopDetail: function(_shop) {
|
_toShopDetail: function(_shop) {
|
||||||
let url = this.openType == "1,3" ? '/pages/cate/cate?shopId=' :
|
let url = this.openType == "1,3" ? '/pages/cate/cate?shopId=' :
|
||||||
'/pages/homemaking/shop?shopId='
|
'/pages/homemaking/shop?shopId='
|
||||||
this.vc.navigateTo({
|
this.vc.navigateToMall({
|
||||||
url: url + _shop.shopId
|
url: url + _shop.shopId
|
||||||
}, true);
|
}, true);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -18,6 +18,9 @@
|
|||||||
<input v-model="msgCode" placeholder="请输入短信验证码" name="input"></input>
|
<input v-model="msgCode" placeholder="请输入短信验证码" name="input"></input>
|
||||||
<button class='cu-btn bg-green shadow' :disabled="btnDisabled" @click="sendMsgCode()">{{btnValue}}</button>
|
<button class='cu-btn bg-green shadow' :disabled="btnDisabled" @click="sendMsgCode()">{{btnValue}}</button>
|
||||||
</view>
|
</view>
|
||||||
|
<view >
|
||||||
|
<view >{{codeMsg}}</view>
|
||||||
|
</view>
|
||||||
<view class="padding flex flex-direction margin-top">
|
<view class="padding flex flex-direction margin-top">
|
||||||
<button class="cu-btn bg-green lg" @click="_doRegister()">绑定</button>
|
<button class="cu-btn bg-green lg" @click="_doRegister()">绑定</button>
|
||||||
</view>
|
</view>
|
||||||
@ -27,13 +30,14 @@
|
|||||||
<script>
|
<script>
|
||||||
const context = require("../../context/Java110Context.js");
|
const context = require("../../context/Java110Context.js");
|
||||||
const constant = context.constant;
|
const constant = context.constant;
|
||||||
import conf from '../../config.js'
|
import conf from '../../conf/config'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
link: '',
|
link: '',
|
||||||
second: 60,
|
second: 60,
|
||||||
|
codeMsg: '',
|
||||||
msgCode: '',
|
msgCode: '',
|
||||||
areaShow: false,
|
areaShow: false,
|
||||||
btnValue: '验证码',
|
btnValue: '验证码',
|
||||||
@ -87,6 +91,7 @@
|
|||||||
icon: 'none',
|
icon: 'none',
|
||||||
duration: 2000
|
duration: 2000
|
||||||
});
|
});
|
||||||
|
_that.codeMsg = res.data;
|
||||||
wx.hideLoading();
|
wx.hideLoading();
|
||||||
_that.timer();
|
_that.timer();
|
||||||
return;
|
return;
|
||||||
@ -109,6 +114,7 @@
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
_doRegister: function(e) {
|
_doRegister: function(e) {
|
||||||
|
console.log(conf.DEFAULT_COMMUNITY_ID,'123')
|
||||||
let obj = {
|
let obj = {
|
||||||
"link": this.link,
|
"link": this.link,
|
||||||
"msgCode": this.msgCode,
|
"msgCode": this.msgCode,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user