jufubao-base 1.0.127 → 1.0.129

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.127",
3
+ "version": "1.0.129",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -26,8 +26,8 @@
26
26
  <view class="jfb-base-card-sweep-info__body-info-label">{{item.label}}</view>
27
27
  <view class="jfb-base-card-sweep-info__body-info-value">{{info[item.key]}}</view>
28
28
  </view>
29
- <view class="jfb-base-card-sweep-info__body-residue">
30
- <view class="jfb-base-card-sweep-info__body-residue-wrap" v-if="isShowBalance">
29
+ <view class="jfb-base-card-sweep-info__body-residue" v-if="isShowBalance">
30
+ <view class="jfb-base-card-sweep-info__body-residue-wrap">
31
31
  <view class="jfb-base-card-sweep-info__body-residue-label">
32
32
  <view :style="{ color: '#242424', fontSize: '28rpx' }">剩余元宝</view>
33
33
  </view>
@@ -96,7 +96,7 @@
96
96
  <view
97
97
  class="jfb-base-order-list__body-order-item-content"
98
98
  v-for="(Sitem, Sindex) in item.products"
99
- :key="Sitem.product_id + Sindex"
99
+ :key="getKey(Sitem.product_id,Sindex)"
100
100
  v-if="(item['isOpen'] === false && Sindex < showLen) || item['isOpen']">
101
101
  <image
102
102
  :src="Sitem.product_thumb"
@@ -183,7 +183,7 @@
183
183
  <view>暂无订单</view>
184
184
  </view>
185
185
  </template>
186
-
186
+
187
187
  </view>
188
188
  </view>
189
189
  </template>
@@ -276,6 +276,9 @@ export default {
276
276
  this.init(this.container);
277
277
  },
278
278
  methods: {
279
+ getKey(id, index){
280
+ return id + index;
281
+ },
279
282
  getBtnType(action) {
280
283
  if (action === "pay") return "primary";
281
284
  if (action === "cancel_unpaid") return "info";