jufubao-forms 1.0.7 → 1.0.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-forms",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "private": false,
5
5
  "description": "聚福宝表单业务插件库",
6
6
  "main": "index.js",
@@ -140,6 +140,7 @@
140
140
  },
141
141
  marketToolText(){
142
142
  let toolText = {
143
+ 'prize-answer': '去抽奖',
143
144
  prize: '去抽奖',
144
145
  coupon: '去领券',
145
146
  walking: '健步走',
@@ -213,7 +214,7 @@
213
214
  handleMarketToolBtn(){
214
215
  let url = this.checkUrlIsValid(this.activity_page_url);
215
216
  if(url){
216
- if(this.marketing_tool === 'prize') url = url + '?id=' + this.activity_id;
217
+ if(this.marketing_tool === 'prize' || this.marketing_tool === 'prize-answer') url = url + '?id=' + this.activity_id;
217
218
  else if(this.marketing_tool === 'coupon') url = url + '?activity_id=' + this.activity_id;
218
219
  else url = url + `?id=${this.activity_id}&activity_id=${this.activity_id}&foreign_id=${this.foreign_id}`;
219
220
  this.$xdUniHelper.navigateTo({