jufubao-base 1.0.63-beta218 → 1.0.63-beta220

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.63-beta218",
3
+ "version": "1.0.63-beta220",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -541,6 +541,38 @@
541
541
  >地址: {{ info.shop.shop_address }}
542
542
  </view>
543
543
  </view>
544
+ <view
545
+ :style="{
546
+ background: backgroundColor,
547
+ border: borderBox,
548
+ borderRadius: radius + 'rpx',
549
+ boxShadow: shadowBox,
550
+ marginBottom: padding + 'rpx',
551
+ }"
552
+ v-if="info.detail"
553
+ class="jfb-base-order-detail__body-card"
554
+ >
555
+ <view
556
+ v-for="(item, index) in info.detail"
557
+ :key="index"
558
+ class="jfb-base-order-detail__body-order"
559
+ >
560
+ <view :style="{ fontWeight: item.style }">
561
+ <view
562
+ ><text v-html="item.label"></text
563
+ ><text v-if="item.label">:</text></view
564
+ >
565
+ <view v-html="item.value"></view>
566
+ </view>
567
+ <view
568
+ :style="{ marginLeft: '30rpx' }"
569
+ v-if="item.type === 'copy'"
570
+ class="jfb-base-order-detail__body-order-copy"
571
+ @click="copy(item.value)"
572
+ >复制</view
573
+ >
574
+ </view>
575
+ </view>
544
576
  <view
545
577
  v-if="info.pay_info && biz_code !== 'gift'"
546
578
  class="jfb-base-order-detail__body-card"
@@ -633,38 +665,6 @@
633
665
  </view>
634
666
  </view>
635
667
  </view>
636
- <view
637
- :style="{
638
- background: backgroundColor,
639
- border: borderBox,
640
- borderRadius: radius + 'rpx',
641
- boxShadow: shadowBox,
642
- marginBottom: padding + 'rpx',
643
- }"
644
- v-if="info.detail"
645
- class="jfb-base-order-detail__body-card"
646
- >
647
- <view
648
- v-for="(item, index) in info.detail"
649
- :key="index"
650
- class="jfb-base-order-detail__body-order"
651
- >
652
- <view :style="{ fontWeight: item.style }">
653
- <view
654
- ><text v-html="item.label"></text
655
- ><text v-if="item.label">:</text></view
656
- >
657
- <view v-html="item.value"></view>
658
- </view>
659
- <view
660
- :style="{ marginLeft: '30rpx' }"
661
- v-if="item.type === 'copy'"
662
- class="jfb-base-order-detail__body-order-copy"
663
- @click="copy(item.value)"
664
- >复制</view
665
- >
666
- </view>
667
- </view>
668
668
  <view
669
669
  v-if="info.productDetail"
670
670
  class="jfb-base-order-detail__body-card jfb-base-order-detail__body-shop"
@@ -842,6 +842,11 @@ export default {
842
842
  this.getOrderDetail();
843
843
  }
844
844
  },
845
+ is_hot(n, o) {
846
+ if (this.isPreview) {
847
+ this.getOrderDetail();
848
+ }
849
+ },
845
850
  },
846
851
  computed: {
847
852
  ...mapState(['siteInfo']),
@@ -959,7 +964,7 @@ export default {
959
964
  label: "客服电话",
960
965
  style: "normal",
961
966
  type: "text",
962
- value: this.siteInfo.mapping.customer_phone,
967
+ value: this.isPreview ? '010-66666' :this.siteInfo.mapping.customer_phone,
963
968
  });
964
969
  }
965
970
  return item;