xiaoe_mp_npm 0.1.7 → 0.1.8

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.
@@ -219,6 +219,17 @@ Component({
219
219
  },
220
220
  },
221
221
  observers: {
222
+ distributionMode(val) {
223
+ if (val === 1) {
224
+ this.setData({
225
+ express_type: val
226
+ })
227
+ } else if (val === 2) {
228
+ this.setData({
229
+ express_type: val
230
+ })
231
+ }
232
+ },
222
233
  marketingData(marketingData) {
223
234
  // 这里的逻辑应该是存在拼团的时候那么payment_type就要赋值为13,如果是限时折扣或者是单买的话,payment_type不做赋值默认为2
224
235
  if (
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xiaoe_mp_npm",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "description": "",
5
5
  "main": "miniprogram_dist/index.js",
6
6
  "scripts": {
@@ -219,6 +219,17 @@ Component({
219
219
  },
220
220
  },
221
221
  observers: {
222
+ distributionMode(val) {
223
+ if (val === 1) {
224
+ this.setData({
225
+ express_type: val
226
+ })
227
+ } else if (val === 2) {
228
+ this.setData({
229
+ express_type: val
230
+ })
231
+ }
232
+ },
222
233
  marketingData(marketingData) {
223
234
  // 这里的逻辑应该是存在拼团的时候那么payment_type就要赋值为13,如果是限时折扣或者是单买的话,payment_type不做赋值默认为2
224
235
  if (