jufubao-base 1.0.159-beta1 → 1.0.159-beta10

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.
Files changed (70) hide show
  1. package/package.json +1 -1
  2. package/src/components/JfbBaseAddress/JfbBaseAddress.vue +3 -2
  3. package/src/components/JfbBaseAfterOrderDetail/JfbBaseAfterOrderDetail.vue +3 -2
  4. package/src/components/JfbBaseAfterOrderList/JfbBaseAfterOrderList.vue +3 -2
  5. package/src/components/JfbBaseBack/JfbBaseBack.vue +3 -2
  6. package/src/components/JfbBaseBackground/JfbBaseBackground.vue +3 -2
  7. package/src/components/JfbBaseBlock/JfbBaseBlock.vue +3 -2
  8. package/src/components/JfbBaseCard/JfbBaseCard.vue +6 -5
  9. package/src/components/JfbBaseCardBindV2/JfbBaseCardBindV2.vue +3 -2
  10. package/src/components/JfbBaseCardDetail/JfbBaseCardDetail.vue +0 -1
  11. package/src/components/JfbBaseCardDetailEntry/Attr.js +22 -0
  12. package/src/components/JfbBaseCardDetailEntry/JfbBaseCardDetailEntry.vue +85 -35
  13. package/src/components/JfbBaseCardDisabled/JfbBaseCardDisabled.vue +3 -3
  14. package/src/components/JfbBaseCardDisabledEntry/JfbBaseCardDisabledEntry.vue +3 -4
  15. package/src/components/JfbBaseCardEntry/Attr.js +22 -1
  16. package/src/components/JfbBaseCardEntry/JfbBaseCardEntry.vue +89 -35
  17. package/src/components/JfbBaseCardInfo/JfbBaseCardInfo.vue +25 -4
  18. package/src/components/JfbBaseCardInfoEntry/Attr.js +22 -0
  19. package/src/components/JfbBaseCardInfoEntry/JfbBaseCardInfoEntry.vue +283 -262
  20. package/src/components/JfbBaseCardMerge/JfbBaseCardMerge.vue +3 -2
  21. package/src/components/JfbBaseCardMergeEntry/JfbBaseCardMergeEntry.vue +3 -2
  22. package/src/components/JfbBaseCardShift/JfbBaseCardShift.vue +3 -10
  23. package/src/components/JfbBaseCardShiftEntry/JfbBaseCardShiftEntry.vue +15 -18
  24. package/src/components/JfbBaseCardSweepInfo/JfbBaseCardSweepInfo.vue +3 -2
  25. package/src/components/JfbBaseCardV3/JfbBaseCardV3.vue +14 -14
  26. package/src/components/JfbBaseCity/JfbBaseCity.vue +3 -2
  27. package/src/components/JfbBaseClear/JfbBaseClear.vue +3 -2
  28. package/src/components/JfbBaseConList/JfbBaseConList.vue +4 -5
  29. package/src/components/JfbBaseConPhone/JfbBaseConPhone.vue +3 -2
  30. package/src/components/JfbBaseEntry/JfbBaseEntry.vue +4 -3
  31. package/src/components/JfbBaseExpressDetail/JfbBaseExpressDetail.vue +3 -4
  32. package/src/components/JfbBaseFastLink/JfbBaseFastLink.vue +17 -15
  33. package/src/components/JfbBaseFooter/JfbBaseFooter.vue +0 -1
  34. package/src/components/JfbBaseHeader/JfbBaseHeader.vue +3 -2
  35. package/src/components/JfbBaseLogin/JfbBaseLogin.vue +26 -9
  36. package/src/components/JfbBaseLoginForgetPwd/JfbBaseLoginForgetPwd.vue +6 -8
  37. package/src/components/JfbBaseLoginSetPwd/JfbBaseLoginSetPwd.vue +6 -3
  38. package/src/components/JfbBaseMapOverlay/JfbBaseMapOverlay.vue +6 -5
  39. package/src/components/JfbBaseMapSearch/JfbBaseMapSearch.vue +3 -2
  40. package/src/components/JfbBaseMergeUserCard/JfbBaseMergeUserCard.vue +28 -27
  41. package/src/components/JfbBaseMultipleExpress/JfbBaseMultipleExpress.vue +3 -4
  42. package/src/components/JfbBaseMy/JfbBaseMy.vue +3 -3
  43. package/src/components/JfbBaseMySetting/JfbBaseMySetting.vue +6 -4
  44. package/src/components/JfbBaseNotice/JfbBaseNotice.vue +6 -4
  45. package/src/components/JfbBaseNoticeBottom/JfbBaseNoticeBottom.vue +3 -2
  46. package/src/components/JfbBaseNoticeTop/JfbBaseNoticeTop.vue +3 -2
  47. package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +18 -29
  48. package/src/components/JfbBaseOrderList/JfbBaseOrderList.vue +8 -3
  49. package/src/components/JfbBasePay/JfbBasePay.vue +3 -2
  50. package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollect.vue +22 -7
  51. package/src/components/JfbBasePhoneLogin/JfbBasePhoneLogin.vue +23 -7
  52. package/src/components/JfbBasePosterType/FourScreen.vue +12 -6
  53. package/src/components/JfbBaseRecharge/JfbBaseRecharge.vue +4 -4
  54. package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrder.vue +3 -4
  55. package/src/components/JfbBaseRechargeOrderDetail/JfbBaseRechargeOrderDetail.vue +4 -7
  56. package/src/components/JfbBaseRechargeSuccess/JfbBaseRechargeSuccess.vue +6 -9
  57. package/src/components/JfbBaseSearch/JfbBaseSearch.vue +3 -2
  58. package/src/components/JfbBaseSuccess/JfbBaseSuccess.vue +3 -3
  59. package/src/components/JfbBaseUserCenter/JfbBaseUserCenter.vue +3 -2
  60. package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +3 -2
  61. package/src/components/JfbBaseUserOrder/JfbBaseUserOrder.vue +4 -3
  62. package/src/components/JfbBaseVideo/JfbBaseVideo.vue +6 -4
  63. package/src/components/JfbBaseWallet/JfbBaseWallet.vue +3 -2
  64. package/src/components/JfbBaseWalletDetail/JfbBaseWalletDetail.vue +5 -8
  65. package/src/components/JfbBaseWalletEffective/JfbBaseWalletEffective.vue +5 -8
  66. package/src/components/JfbBaseWalletIndex/JfbBaseWalletIndex.vue +3 -4
  67. package/src/components/JfbBaseWalletItem/JfbBaseWalletItem.vue +8 -17
  68. package/src/components/JfbBaseWebview/JfbBaseWebview.vue +4 -3
  69. package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorize.vue +3 -2
  70. package/src/components/JfbBaseWxAuthorizeError/JfbBaseWxAuthorizeError.vue +3 -4
@@ -10,9 +10,7 @@
10
10
  :class="{ editx: isEditx && active }"
11
11
  v-if="isEditx && active"
12
12
  >
13
- <view class="jfb-base-recharge-order-detail__edit-icon" @click="delEdit"
14
- >删除</view
15
- >
13
+ <view class="jfb-base-recharge-order-detail__edit-icon" @click="delEdit">删除</view>
16
14
  </view>
17
15
  <!-- #endif -->
18
16
  <view v-if="info!==null" class="jfb-base-recharge-order-detail__body">
@@ -81,14 +79,13 @@ export default {
81
79
  };
82
80
  },
83
81
  watch: {
84
- container(value) {
85
- this.init(value);
82
+ container(value,oldValue) {
83
+ if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
84
+ if (this.$configProject['isPreview']) this.init(value)
86
85
  },
87
86
  },
88
87
  created() {
89
88
  this.init(this.container);
90
-
91
- //todo
92
89
  },
93
90
  methods: {
94
91
  onJfbLoad(options) {
@@ -10,9 +10,7 @@
10
10
  :class="{ editx: isEditx && active }"
11
11
  v-if="isEditx && active"
12
12
  >
13
- <view class="jfb-base-recharge-success__edit-icon" @click="delEdit"
14
- >删除</view
15
- >
13
+ <view class="jfb-base-recharge-success__edit-icon" @click="delEdit">删除</view>
16
14
  </view>
17
15
  <!-- #endif -->
18
16
  <view class="jfb-base-recharge-success__body" v-if="info !== null">
@@ -38,9 +36,7 @@
38
36
  @click="handleToBtn(item)"
39
37
  type="primary"
40
38
  :bgColor="mainColor"
41
- >
42
- {{ item.label }}
43
- </xd-button>
39
+ >{{ item.label }}</xd-button>
44
40
  </view>
45
41
  </view>
46
42
  </view>
@@ -73,8 +69,9 @@ export default {
73
69
  };
74
70
  },
75
71
  watch: {
76
- container(value) {
77
- this.init(value);
72
+ container(value,oldValue) {
73
+ if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
74
+ if (this.$configProject['isPreview']) this.init(value)
78
75
  },
79
76
  },
80
77
  created() {
@@ -168,7 +165,7 @@ export default {
168
165
  }, Math.pow(this.date, this.time > this.maxTime ? this.maxTime : this.time) * 1000);
169
166
  }
170
167
  },
171
-
168
+
172
169
  onJfbUnload() {
173
170
  if (this.timeer) {
174
171
  clearTimeout(this.timeer);
@@ -54,8 +54,9 @@
54
54
  return {}
55
55
  },
56
56
  watch: {
57
- container(value) {
58
- this.init(value)
57
+ container(value,oldValue) {
58
+ if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
59
+ if (this.$configProject['isPreview']) this.init(value)
59
60
  }
60
61
  },
61
62
  created() {
@@ -65,7 +65,7 @@
65
65
  <view class="settle-item" v-for="(settle,index) in info.settleInfo" :key="index">
66
66
  <view>{{settle.label}}:</view>
67
67
  <view v-if="settle.type === 'price'">
68
- <xd-unit :price="settle.value" unit="" :is-old="false"></xd-unit>
68
+ <xd-unit :price="settle.value" :is-old="false"></xd-unit>
69
69
  </view>
70
70
  <view v-else v-html="settle.value"></view>
71
71
  </view>
@@ -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>
@@ -121,8 +121,9 @@
121
121
  }
122
122
  },
123
123
  watch: {
124
- container(value) {
125
- this.init(value)
124
+ container(value,oldValue) {
125
+ if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
126
+ if (this.$configProject['isPreview']) this.init(value)
126
127
  }
127
128
  },
128
129
  created() {
@@ -147,8 +147,9 @@
147
147
  }
148
148
  },
149
149
  watch: {
150
- container(value) {
151
- this.init(value)
150
+ container(value,oldValue) {
151
+ if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
152
+ if (this.$configProject['isPreview']) this.init(value)
152
153
  }
153
154
  },
154
155
  created() {
@@ -124,9 +124,10 @@
124
124
  }
125
125
  },
126
126
  watch: {
127
- container(value) {
128
- this.init(value);
129
- if(this.$configProject.isPreview) {
127
+ container(value,oldValue) {
128
+ if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
129
+ if (this.$configProject['isPreview']){
130
+ this.init(value);
130
131
  this.onJfbLoad( this.options)
131
132
  }
132
133
  }
@@ -121,10 +121,12 @@
121
121
  }
122
122
  },
123
123
  watch: {
124
- container(value, oloValue) {
125
- if(JSON.stringify(value) === JSON.stringify(oloValue)) return;
126
- this.init(value);
127
- if (this.$configProject['isPreview']) this.onJfbLoad(this.options)
124
+ container(value,oldValue) {
125
+ if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
126
+ if (this.$configProject['isPreview']) {
127
+ this.init(value);
128
+ this.onJfbLoad(this.options)
129
+ }
128
130
  }
129
131
  },
130
132
  created() {
@@ -81,8 +81,9 @@ export default {
81
81
  };
82
82
  },
83
83
  watch: {
84
- container(value) {
85
- this.init(value);
84
+ container(value,oldValue) {
85
+ if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
86
+ if (this.$configProject['isPreview']) this.init(value)
86
87
  },
87
88
  newLabel: {
88
89
  deep: true,
@@ -10,9 +10,7 @@
10
10
  :class="{ editx: isEditx && active }"
11
11
  v-if="isEditx && active"
12
12
  >
13
- <view class="jfb-base-wallet-detail__edit-icon" @click="delEdit"
14
- >删除</view
15
- >
13
+ <view class="jfb-base-wallet-detail__edit-icon" @click="delEdit">删除</view>
16
14
  </view>
17
15
  <!-- #endif -->
18
16
  <view class="jfb-base-wallet-detail__body">
@@ -35,7 +33,7 @@
35
33
  >
36
34
  <view class="jfb-base-wallet-detail__body-info-item-label">
37
35
  {{ item.label }}
38
- </view>
36
+ </view>
39
37
  <view class="jfb-base-wallet-detail__body-info-item-value">
40
38
  {{ item.value }}
41
39
  </view>
@@ -69,14 +67,13 @@ export default {
69
67
  };
70
68
  },
71
69
  watch: {
72
- container(value) {
73
- this.init(value);
70
+ container(value,oldValue) {
71
+ if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
72
+ if (this.$configProject['isPreview']) this.init(value)
74
73
  },
75
74
  },
76
75
  created() {
77
76
  this.init(this.container);
78
-
79
- //todo
80
77
  },
81
78
  methods: {
82
79
  onJfbLoad(options) {
@@ -10,9 +10,7 @@
10
10
  :class="{ editx: isEditx && active }"
11
11
  v-if="isEditx && active"
12
12
  >
13
- <view class="jfb-base-wallet-effective__edit-icon" @click="delEdit"
14
- >删除</view
15
- >
13
+ <view class="jfb-base-wallet-effective__edit-icon" @click="delEdit">删除</view>
16
14
  </view>
17
15
  <!-- #endif -->
18
16
  <view class="jfb-base-wallet-effective__body" v-if="status">
@@ -71,14 +69,13 @@ export default {
71
69
  };
72
70
  },
73
71
  watch: {
74
- container(value) {
75
- this.init(value);
72
+ container(value,oldValue) {
73
+ if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
74
+ if (this.$configProject['isPreview']) this.init(value)
76
75
  },
77
76
  },
78
77
  created() {
79
78
  this.init(this.container);
80
-
81
- //todo
82
79
  },
83
80
  methods: {
84
81
  async onJfbLoad(options) {
@@ -86,7 +83,7 @@ export default {
86
83
  this.type = options.type;
87
84
  await this.getList();
88
85
  this.status = true;
89
- },
86
+ },
90
87
  /**
91
88
  * @description 监听事件变化
92
89
  * @param container {object} 业务组件对象自己
@@ -278,14 +278,13 @@ export default {
278
278
  };
279
279
  },
280
280
  watch: {
281
- container(value) {
282
- this.init(value);
281
+ container(value,oldValue) {
282
+ if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
283
+ if (this.$configProject['isPreview']) this.init(value)
283
284
  },
284
285
  },
285
286
  created() {
286
287
  this.init(this.container);
287
-
288
- //todo
289
288
  },
290
289
  computed: {
291
290
  alert_bottom() {
@@ -103,27 +103,19 @@
103
103
  >
104
104
  <view>
105
105
  <XdFontIcon
106
- :icon="
107
- item.operate_type === 'A' ? 'iconshouru' : 'iconzhichu'
108
- "
106
+ :icon="item.operate_type === 'A' ? 'iconshouru' : 'iconzhichu'"
109
107
  ></XdFontIcon>
110
108
  <text style="margin-left: 10rpx">{{
111
109
  item.trade_type_name
112
110
  }}</text>
113
111
  </view>
114
112
  <view>
115
- <view
116
- >{{ item.operate_type === "A" ? "+" : "-" }}
117
- {{ dividePrice(item.amount) }}</view
118
- >
113
+ <view>{{ item.operate_type === "A" ? "+" : "-" }} {{ dividePrice(item.amount) }}</view>
119
114
  <view>{{ item.created_time }}</view>
120
115
  </view>
121
- </view></view
122
- >
123
-
124
- <view class="jfb-base-wallet-item__body-list-empty" v-else
125
- >暂无数据</view
126
- >
116
+ </view>
117
+ </view>
118
+ <view class="jfb-base-wallet-item__body-list-empty" v-else>暂无数据</view>
127
119
  </view>
128
120
  </view>
129
121
  <XdDailog
@@ -191,14 +183,13 @@ export default {
191
183
  };
192
184
  },
193
185
  watch: {
194
- container(value) {
195
- this.init(value);
186
+ container(value,oldValue) {
187
+ if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
188
+ if (this.$configProject['isPreview']) this.init(value)
196
189
  },
197
190
  },
198
191
  created() {
199
192
  this.init(this.container);
200
-
201
- //todo
202
193
  },
203
194
  methods: {
204
195
  async onJfbLoad(options) {
@@ -45,8 +45,9 @@
45
45
  }
46
46
  },
47
47
  watch: {
48
- container(value) {
49
- this.init(value)
48
+ container(value,oldValue) {
49
+ if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
50
+ if (this.$configProject['isPreview']) this.init(value)
50
51
  }
51
52
  },
52
53
  created() {
@@ -77,7 +78,7 @@
77
78
  * @param container {object} 业务组件对象自己
78
79
  */
79
80
  init(container) {
80
-
81
+
81
82
  },
82
83
  }
83
84
  }
@@ -111,8 +111,9 @@
111
111
  }
112
112
  },
113
113
  watch: {
114
- container(value) {
115
- this.init(value)
114
+ container(value,oldValue) {
115
+ if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
116
+ if (this.$configProject['isPreview']) this.init(value)
116
117
  }
117
118
  },
118
119
  created() {
@@ -61,14 +61,13 @@ export default {
61
61
  };
62
62
  },
63
63
  watch: {
64
- container(value) {
65
- this.init(value);
64
+ container(value,oldValue) {
65
+ if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
66
+ if (this.$configProject['isPreview']) this.init(value)
66
67
  },
67
68
  },
68
69
  created() {
69
70
  this.init(this.container);
70
-
71
- //todo
72
71
  },
73
72
  methods: {
74
73
  onJfbLoad(options) {