jufubao-base 1.0.159-beta6 → 1.0.159-beta8

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-base",
3
- "version": "1.0.159-beta6",
3
+ "version": "1.0.159-beta8",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -390,10 +390,14 @@ export default {
390
390
 
391
391
  //站内应用处理
392
392
  let jumpUrl = '';
393
- let jumpUrlObj = parsePath(path);
394
393
  let cardPathStr = '';
395
- if(jumpUrlObj.isSameApp) jumpUrl = jumpUrlObj.url;
396
- else jumpUrl = `//${host}/${jumpUrlObj.dir}${jumpUrlObj.url}`;
394
+ const {deploy_dir} = this.projectAttr;
395
+ if(dir === deploy_dir) jumpUrl = path;
396
+ else jumpUrl = `//${host}/${dir}${path}`;
397
+
398
+ //#ifdef MP-WEIXIN
399
+ jumpUrl = `https:${jumpUrl}`;
400
+ //#endif
397
401
 
398
402
  //#ifdef MP-WEIXIN
399
403
  //获取自定义卡券登录地址(微信小程序跳转到H5平台起作用)
@@ -679,10 +679,14 @@ export default {
679
679
 
680
680
  //站内应用处理
681
681
  let jumpUrl = '';
682
- let jumpUrlObj = parsePath(path);
683
682
  let cardPathStr = '';
684
- if(jumpUrlObj.isSameApp) jumpUrl = jumpUrlObj.url;
685
- else jumpUrl = `//${host}/${jumpUrlObj.dir}${jumpUrlObj.url}`;
683
+ const {deploy_dir} = this.projectAttr;
684
+ if(dir === deploy_dir) jumpUrl = path;
685
+ else jumpUrl = `//${host}/${dir}${path}`;
686
+
687
+ //#ifdef MP-WEIXIN
688
+ jumpUrl = `https:${jumpUrl}`;
689
+ //#endif
686
690
 
687
691
  //#ifdef MP-WEIXIN
688
692
  //获取自定义卡券登录地址(微信小程序跳转到H5平台起作用)
@@ -100,9 +100,7 @@
100
100
  v-else
101
101
  class="empty_data"
102
102
  >
103
- <image :src="emptyBg"></image>
104
- {{ message }}
105
- </view>
103
+ <image :src="emptyBg"></image>{{ message }}</view>
106
104
  <xd-dailog
107
105
  :cancel="false"
108
106
  :confirm="false"
@@ -302,7 +302,7 @@
302
302
  </view>
303
303
  <view class="jfb-base-success__body-detail-html">
304
304
  <xd-content-xss
305
- v-html="info.custom_content.content"
305
+ :html="info.custom_content.content"
306
306
  ></xd-content-xss>
307
307
  </view>
308
308
  </view>
@@ -315,7 +315,7 @@
315
315
  <view>商品详情</view>
316
316
  </view>
317
317
  <view class="jfb-base-success__body-detail-html x-content-info" v-if="info.productDetail">
318
- <xd-content-xss v-html="info.productDetail"></xd-content-xss>
318
+ <xd-content-xss :html="info.productDetail"></xd-content-xss>
319
319
  </view>
320
320
  </view>
321
321
  </view>