jufubao-gift 1.0.33-beta1 → 1.0.33-beta2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-gift",
3
- "version": "1.0.33-beta1",
3
+ "version": "1.0.33-beta2",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件礼包插件包",
6
6
  "main": "index.js",
@@ -175,6 +175,12 @@
175
175
  })
176
176
  let itemShadow = getContainerPropsValue(container, "content.itemShadow", {});
177
177
  this.itemShadow = this.getShadowCompatibleOldStyle(itemShadow, {})
178
+
179
+ if (this.$configProject['isPreview']) {
180
+ if(this.showPoolName === "Y"){
181
+ this.p_getGiftPoolList();
182
+ }
183
+ }
178
184
  },
179
185
  handleGiftClick(item){
180
186
  let curPool = this.poolList[this.poolActiveIndex];
@@ -197,6 +203,14 @@
197
203
  scene: "market"
198
204
  }
199
205
  }).then(res => {
206
+ if(this.$configProject['isPreview']){
207
+ if(this.tabType === 'category'){
208
+ this.poolList = [ { value: 1, name: "归类A" },{ value: 2, name: "归类B" },{ value: 4, name: "归类C" },]
209
+ }else{
210
+ this.poolList = res.list.map(item => ({name: item.pool_name, value: item.gift_pool_id}))
211
+ }
212
+ return;
213
+ }
200
214
  this.poolList = res.list.map(item => ({name: item.pool_name, value: item.gift_pool_id}))
201
215
  })
202
216
  },