微信支付
This commit is contained in:
parent
d8f3737fd9
commit
03f2047a09
@ -59,7 +59,7 @@
|
|||||||
-
|
-
|
||||||
</view>
|
</view>
|
||||||
<view class='item num'>
|
<view class='item num'>
|
||||||
<input type="number" v-model="attr.productSelect.cart_num" data-name="productSelect.cart_num" @input="bindCode(attr.productSelect.cart_num)" @keydown.native="btKeyDown" @keyup.native="btKeyUp"></input>
|
<input type="number" v-model="attr.productSelect.cart_num" data-name="productSelect.cart_num" @input="bindCode(attr.productSelect.cart_num)" @keydown="btKeyDown" @keyup="btKeyUp"></input>
|
||||||
</view>
|
</view>
|
||||||
<view v-if="iSplus" class="item plus" :class=" attr.productSelect.cart_num >= attr.productSelect.stock || destri ? 'on' : ''"
|
<view v-if="iSplus" class="item plus" :class=" attr.productSelect.cart_num >= attr.productSelect.stock || destri ? 'on' : ''"
|
||||||
@click="CartNumAdd">+</view>
|
@click="CartNumAdd">+</view>
|
||||||
|
@ -22,8 +22,8 @@ if (process.env.NODE_ENV === "development") {
|
|||||||
// httpApiThree = 'baseUrlTest' // h5跨域配置
|
// httpApiThree = 'baseUrlTest' // h5跨域配置
|
||||||
// #endif
|
// #endif
|
||||||
} else if (process.env.NODE_ENV === 'production') {
|
} else if (process.env.NODE_ENV === 'production') {
|
||||||
// httpApi = 'https://shop.lihaink.cn' // 生产
|
httpApi = 'https://shop.lihaink.cn' // 生产
|
||||||
httpApi = "https://crmeb-test.shop.lihaink.cn"
|
// httpApi = "https://crmeb-test.shop.lihaink.cn"
|
||||||
httpApiTwo = 'https://nk.lihaink.cn' // 生产
|
httpApiTwo = 'https://nk.lihaink.cn' // 生产
|
||||||
httpApiThree = 'http://ceshi-oa.lihaink.cn' //生产
|
httpApiThree = 'http://ceshi-oa.lihaink.cn' //生产
|
||||||
}
|
}
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
"name" : "CRMEB",
|
"name" : "CRMEB",
|
||||||
"appid" : "__UNI__3A527D1",
|
"appid" : "__UNI__3A527D1",
|
||||||
"description" : "",
|
"description" : "",
|
||||||
"versionName" : "1.0.6",
|
"versionName" : "1.0.9",
|
||||||
"versionCode" : 129,
|
"versionCode" : 132,
|
||||||
"transformPx" : false,
|
"transformPx" : false,
|
||||||
/* 5+App特有相关 */
|
/* 5+App特有相关 */
|
||||||
"app-plus" : {
|
"app-plus" : {
|
||||||
|
@ -1430,19 +1430,7 @@
|
|||||||
},
|
},
|
||||||
SubOrder: function(e) {
|
SubOrder: function(e) {
|
||||||
console.log(this.active);
|
console.log(this.active);
|
||||||
if (this.active == 0) {
|
|
||||||
uni.requestPayment({
|
|
||||||
"provider": "wxpay", //固定值为"wxpay"
|
|
||||||
"orderInfo": '1231032132',
|
|
||||||
success: function(res) {
|
|
||||||
// var rawdata = JSON.parse(res.rawdata);
|
|
||||||
console.log(res);
|
|
||||||
},
|
|
||||||
fail: function(err) {
|
|
||||||
console.log(err);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
let that = this,
|
let that = this,
|
||||||
data = {};
|
data = {};
|
||||||
if (!that.payType) return that.$util.Tips({
|
if (!that.payType) return that.$util.Tips({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user