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
@@ -7,6 +7,7 @@ build_test:
7
7
  - feature/live_marketing_iteration
8
8
  - feature/remove-error-report
9
9
  - fix/record-lottery
10
+ - feature/coupon_fix
10
11
  tags:
11
12
  - fe-group-prod-runner-2
12
13
  script:
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xiaoe_mp_npm",
3
- "version": "0.5.43",
3
+ "version": "0.5.44-test2",
4
4
  "description": "",
5
5
  "main": "miniprogram_dist/index.js",
6
6
  "scripts": {
@@ -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: {