jufubao-base 1.0.287 → 1.0.289-beta1

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 (56) hide show
  1. package/get.package.path.js +2 -2
  2. package/package.json +1 -1
  3. package/src/components/CusCouponChose/CusCouponChose.vue +1027 -0
  4. package/src/components/CusCouponItem/CusCouponItem.vue +298 -0
  5. package/src/components/CusEnter/CusEnter.vue +360 -0
  6. package/src/components/CusPoster/CusPoster.vue +212 -0
  7. package/src/components/CusPoster/CusSwiperDot.vue +234 -0
  8. package/src/components/CusProduct/CusProduct.vue +372 -0
  9. package/src/components/CusShops/CusShops.vue +518 -0
  10. package/src/components/CusSwiperDot/CusSwiperDot.vue +234 -0
  11. package/src/components/CusTab/CusTab.vue +411 -0
  12. package/src/components/CusVideo/CusVideo.vue +170 -0
  13. package/src/components/JfbBaseCard/JfbBaseCard.vue +6 -0
  14. package/src/components/JfbBaseCardEntry/JfbBaseCardEntry.vue +6 -0
  15. package/src/components/JfbBaseCardV2/JfbBaseCardV2.vue +6 -0
  16. package/src/components/JfbBaseCardV3/JfbBaseCardV3.vue +6 -0
  17. package/src/components/JfbBaseChangeCompany/Api.js +18 -0
  18. package/src/components/JfbBaseChangeCompany/Attr.js +18 -0
  19. package/src/components/JfbBaseChangeCompany/JfbBaseChangeCompany.vue +201 -0
  20. package/src/components/JfbBaseChangeCompany/JfbBaseChangeCompanyLess.less +79 -0
  21. package/src/components/JfbBaseChangeCompany/JfbBaseChangeCompanyMixin.js +30 -0
  22. package/src/components/JfbBaseChangeCompany/Mock.js +7 -0
  23. package/src/components/JfbBaseChangeCompany/cusAttr/advanced.js +24 -0
  24. package/src/components/JfbBaseChangeCompany/cusAttr/content.js +27 -0
  25. package/src/components/JfbBaseChangeCompany/cusAttr/style.js +127 -0
  26. package/src/components/JfbBaseChoseCompany/Api.js +33 -0
  27. package/src/components/JfbBaseChoseCompany/Attr.js +18 -0
  28. package/src/components/JfbBaseChoseCompany/JfbBaseChoseCompany.vue +350 -0
  29. package/src/components/JfbBaseChoseCompany/JfbBaseChoseCompanyLess.less +79 -0
  30. package/src/components/JfbBaseChoseCompany/JfbBaseChoseCompanyMixin.js +30 -0
  31. package/src/components/JfbBaseChoseCompany/Mock.js +9 -0
  32. package/src/components/JfbBaseChoseCompany/cusAttr/advanced.js +24 -0
  33. package/src/components/JfbBaseChoseCompany/cusAttr/content.js +69 -0
  34. package/src/components/JfbBaseChoseCompany/cusAttr/style.js +327 -0
  35. package/src/components/JfbBaseFooter/Attr.js +10 -155
  36. package/src/components/JfbBaseFooter/JfbBaseFooter.vue +96 -43
  37. package/src/components/JfbBaseFooter/cusAttr/advanced.js +12 -0
  38. package/src/components/JfbBaseFooter/cusAttr/content.js +446 -0
  39. package/src/components/JfbBaseFooter/cusAttr/style.js +7 -0
  40. package/src/components/JfbBaseFooter/cusAttr/tools.js +17 -0
  41. package/src/components/JfbBaseNotice/JfbBaseNotice.vue +2 -3
  42. package/src/components/JfbBaseOrderList/Mock.js +1 -1
  43. package/src/components/JfbBaseTfkSearch/Api.js +15 -0
  44. package/src/components/JfbBaseTfkSearch/CustomList.vue +10 -0
  45. package/src/components/JfbBaseTfkSearch/JfbBaseTfkSearch.vue +247 -7
  46. package/src/components/JfbBaseTfkSearch/XdQueryFilter.vue +354 -0
  47. package/src/components/JfbBaseTfkSearch/XdQuerySort.vue +192 -0
  48. package/src/components/JfbBaseUserInfo/Attr.js +12 -0
  49. package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +8 -2
  50. package/src/components/JfbBaseWalletDetail/JfbBaseWalletDetail.vue +3 -0
  51. package/src/components/JfbBaseWalletEffective/JfbBaseWalletEffective.vue +3 -0
  52. package/src/components/JfbBaseWalletIndex/JfbBaseWalletIndex.vue +17 -7
  53. package/src/components/JfbBaseWalletItem/JfbBaseWalletItem.vue +6 -2
  54. package/src/mixins/componentsMixins.js +363 -55
  55. package/src/mixins/posterMixins.js +27 -199
  56. package/src/mixins/productCompMixins.js +252 -0
@@ -64,8 +64,9 @@
64
64
  class="jfb-base-wallet-index__body-type-item"
65
65
  @click="handleToWalletDetail(item)"
66
66
  >
67
- <view>{{ dividePrice(item.amount) }}</view>
68
- <view :style="{ color: mainColor }">{{ item.wallet_name }}</view>
67
+ <view class="jfb-base-wallet-index__body-type-item-name" :style="{ color: mainColor }">{{ item.wallet_name }}</view>
68
+ <view class="jfb-base-wallet-index__body-type-item-amount">{{ dividePrice(item.amount) }}</view>
69
+ <view class="jfb-base-wallet-index__body-type-item-company" v-if="item.customer_name">{{item.customer_name}}</view>
69
70
  </view>
70
71
  </view>
71
72
  </view>
@@ -275,6 +276,7 @@ export default {
275
276
  total_amount: 0,
276
277
  show_name: "",
277
278
  status: false,
279
+ wallet_nnid: null
278
280
  };
279
281
  },
280
282
  watch: {
@@ -387,6 +389,7 @@ export default {
387
389
  vm: this,
388
390
  data: {
389
391
  wallet_type: this.wallet_type,
392
+ wallet_nnid: this.wallet_nnid,
390
393
  },
391
394
  })
392
395
  .then((res) => {
@@ -462,17 +465,18 @@ export default {
462
465
  },
463
466
  handleToWalletDetail(item) {
464
467
  this.$xdUniHelper.navigateTo({
465
- url: `${this.walletDetailPath}?wallet_type=${item.wallet_type}&type=${this.type}`,
468
+ url: `${this.walletDetailPath}?wallet_type=${item.wallet_type}&type=${this.type}&wallet_nnid=${item.wallet_nnid}`,
466
469
  });
467
470
  },
468
471
  handleToBillDetail(item) {
469
472
  this.$xdUniHelper.navigateTo({
470
- url: `${this.billDetailPath}?trade_id=${item.trade_id}`,
473
+ url: `${this.billDetailPath}?trade_id=${item.trade_id}&wallet_nnid=${item.wallet_nnid}`,
471
474
  });
472
475
  },
473
476
  handleShowQrcode() {
474
477
  if (this.typeList.length === 1) {
475
478
  this.wallet_type = this.typeList[0].wallet_type;
479
+ this.wallet_nnid = this.typeList[0].wallet_nnid;
476
480
  this.getQrcode();
477
481
  } else {
478
482
  this.showPayType = true;
@@ -482,8 +486,10 @@ export default {
482
486
  console.log(flat, item, "alalaalaal");
483
487
  if (flat) {
484
488
  this.wallet_type = item.wallet_type;
489
+ this.wallet_nnid = item.wallet_nnid;
485
490
  } else {
486
491
  this.wallet_type = null;
492
+ this.wallet_nnid = null;
487
493
  }
488
494
  },
489
495
  handleUse() {
@@ -589,12 +595,16 @@ export default {
589
595
  &-item {
590
596
  text-align: center;
591
597
  margin-bottom: 20rpx;
592
- & > view:first-child {
598
+ &-name{
593
599
  font-size: 36rpx;
594
600
  }
595
- & > view:last-child {
601
+ &-amount {
602
+ font-size: 36rpx;
603
+ margin: 10rpx 0;
604
+ }
605
+ &-company {
596
606
  font-size: 24rpx;
597
- margin-top: 20rpx;
607
+ color: #999
598
608
  }
599
609
  }
600
610
  }
@@ -180,6 +180,7 @@ export default {
180
180
  wallet_type: "",
181
181
  walletInfo: {},
182
182
  status: false,
183
+ wallet_nnid: null
183
184
  };
184
185
  },
185
186
  watch: {
@@ -194,6 +195,7 @@ export default {
194
195
  methods: {
195
196
  async onJfbLoad(options) {
196
197
  this.type = options.type;
198
+ this.wallet_nnid = options.wallet_nnid;
197
199
  this.date = `${new Date().getFullYear()}-${String(
198
200
  new Date().getMonth() + 1
199
201
  ).padStart(2, "0")}`;
@@ -202,6 +204,7 @@ export default {
202
204
  vm: this,
203
205
  data: {
204
206
  wallet_type: this.wallet_type,
207
+ wallet_nnid: this.wallet_nnid,
205
208
  },
206
209
  })
207
210
  .then((res) => {
@@ -226,6 +229,7 @@ export default {
226
229
  page_token: this.page_token,
227
230
  operate_type: this.operate_type,
228
231
  wallet_type: this.wallet_type,
232
+ wallet_nnid: this.wallet_nnid,
229
233
  },
230
234
  })
231
235
  .then((res) => {
@@ -314,7 +318,7 @@ export default {
314
318
  },
315
319
  handleToBillDetail(item) {
316
320
  this.$xdUniHelper.navigateTo({
317
- url: `${this.billDetailPath}?trade_id=${item.trade_id}`,
321
+ url: `${this.billDetailPath}?trade_id=${item.trade_id}&wallet_nnid=${this.wallet_nnid}`,
318
322
  });
319
323
  },
320
324
  handleConfirm(status) {
@@ -322,7 +326,7 @@ export default {
322
326
  },
323
327
  handleToEffective(item) {
324
328
  this.$xdUniHelper.navigateTo({
325
- url: `${this.effectivePath}?wallet_type=${this.wallet_type}&type=${this.type}`,
329
+ url: `${this.effectivePath}?wallet_type=${this.wallet_type}&type=${this.type}&wallet_nnid=${this.wallet_nnid}`,
326
330
  });
327
331
  },
328
332
  /**