xiaoe_mp_npm 0.5.43 → 0.5.44-test2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.gitlab-ci.yml
CHANGED
|
@@ -372,6 +372,7 @@ Component({
|
|
|
372
372
|
}
|
|
373
373
|
},
|
|
374
374
|
changeVal(event) {
|
|
375
|
+
console.log('event',event)
|
|
375
376
|
let data = event.detail
|
|
376
377
|
if (data <= 0) {
|
|
377
378
|
data = 1
|
|
@@ -391,6 +392,7 @@ Component({
|
|
|
391
392
|
},
|
|
392
393
|
// init 是否初次触发
|
|
393
394
|
countBlur(init) {
|
|
395
|
+
console.log('init',init)
|
|
394
396
|
if (this.data.count === this.data.goodsCount && init !== true) {
|
|
395
397
|
return false;
|
|
396
398
|
}
|
|
@@ -11,6 +11,7 @@ Component({
|
|
|
11
11
|
})
|
|
12
12
|
},
|
|
13
13
|
'prePayInfo': function(data) {
|
|
14
|
+
console.log('data',data)
|
|
14
15
|
if(data) {
|
|
15
16
|
this.setData({
|
|
16
17
|
couponDiscount: data?.coupon_discount || 0,
|
|
@@ -102,6 +103,7 @@ Component({
|
|
|
102
103
|
})
|
|
103
104
|
},
|
|
104
105
|
setPricingInfoFirst(cu_id, promo_code) {
|
|
106
|
+
console.log('cu_id',cu_id)
|
|
105
107
|
this.triggerEvent('dataChange', {
|
|
106
108
|
name: "couponSelect",
|
|
107
109
|
payParams: {
|
package/package.json
CHANGED
|
@@ -372,6 +372,7 @@ Component({
|
|
|
372
372
|
}
|
|
373
373
|
},
|
|
374
374
|
changeVal(event) {
|
|
375
|
+
console.log('event',event)
|
|
375
376
|
let data = event.detail
|
|
376
377
|
if (data <= 0) {
|
|
377
378
|
data = 1
|
|
@@ -391,6 +392,7 @@ Component({
|
|
|
391
392
|
},
|
|
392
393
|
// init 是否初次触发
|
|
393
394
|
countBlur(init) {
|
|
395
|
+
console.log('init',init)
|
|
394
396
|
if (this.data.count === this.data.goodsCount && init !== true) {
|
|
395
397
|
return false;
|
|
396
398
|
}
|
package/src/coupon/index.js
CHANGED
|
@@ -11,6 +11,7 @@ Component({
|
|
|
11
11
|
})
|
|
12
12
|
},
|
|
13
13
|
'prePayInfo': function(data) {
|
|
14
|
+
console.log('data',data)
|
|
14
15
|
if(data) {
|
|
15
16
|
this.setData({
|
|
16
17
|
couponDiscount: data?.coupon_discount || 0,
|
|
@@ -102,6 +103,7 @@ Component({
|
|
|
102
103
|
})
|
|
103
104
|
},
|
|
104
105
|
setPricingInfoFirst(cu_id, promo_code) {
|
|
106
|
+
console.log('cu_id',cu_id)
|
|
105
107
|
this.triggerEvent('dataChange', {
|
|
106
108
|
name: "couponSelect",
|
|
107
109
|
payParams: {
|