jufubao-forms 1.0.0-beta15 → 1.0.0-beta16

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.0-beta15",
3
+ "version": "1.0.0-beta16",
4
4
  "private": false,
5
5
  "description": "聚福宝表单业务插件库",
6
6
  "main": "index.js",
@@ -377,7 +377,7 @@
377
377
  if(this.marketing_tool === 'prize') url = url + '?id=' + this.activity_id;
378
378
  else if(this.marketing_tool === 'coupon') url = url + '?activity_id=' + this.activity_id;
379
379
  else url = url + `?id=${this.activity_id}&activity_id=${this.activity_id}&foreign_id=${this.foreign_id}`;
380
- this.$xdUniHelper.navigateTo({
380
+ this.$xdUniHelper.redirectTo({
381
381
  url: url
382
382
  })
383
383
  }
@@ -24,7 +24,9 @@
24
24
  <view class="result_num">{{ right_number }}</view>
25
25
  <view class="result_total">共{{ formList.length }}道题</view>
26
26
  <view class="btn_wrap">
27
- <view v-if="marketToolText" class="btn primary" @click="handleMarketToolBtn">{{ marketToolText }}</view>
27
+ <view v-if="marketToolText" class="btn primary"
28
+ style="background:#FE7A63;color:#FFFFFF;"
29
+ @click="handleMarketToolBtn">{{ marketToolText }}</view>
28
30
  <view v-else class="btn" @click="toHomePage">返回首页</view>
29
31
  <view v-if="is_show_error_answer_analysis==='Y'" class="btn primary" @click="isShowAnalysis=true">答案解析</view>
30
32
  </view>
@@ -325,8 +325,8 @@
325
325
  this.activity_page_url = activity_page_url;
326
326
  this.activity_id = activity_id;
327
327
  // uni.showToast({title: '提交成功'});
328
- this.form_status = 'success';
329
- this.$xdUniHelper.navigateTo({
328
+ // this.form_status = 'success';
329
+ this.$xdUniHelper.redirectTo({
330
330
  url: this.qaResultPath + `?form_id=${this.form_id}&main_content_id=${main_content_id}`
331
331
  })
332
332
  })
@@ -340,7 +340,7 @@
340
340
  if(this.marketing_tool === 'prize') url = url + '?id=' + this.activity_id;
341
341
  else if(this.marketing_tool === 'coupon') url = url + '?activity_id=' + this.activity_id;
342
342
  else url = url + `?id=${this.activity_id}&activity_id=${this.activity_id}&foreign_id=${this.foreign_id}`;
343
- this.$xdUniHelper.navigateTo({
343
+ this.$xdUniHelper.redirectTo({
344
344
  url: url
345
345
  })
346
346
  }