jufubao-base 1.0.243-beta201 → 1.0.243-beta203

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 (148) hide show
  1. package/package.json +1 -1
  2. package/src/components/JfbBaseAfterSales/JfbBaseAfterSales.vue +40 -3
  3. package/src/components/JfbBaseAfterSales/Mock.js +2 -9
  4. package/src/components/JfbBaseAfterSales/refundOrderInfo.vue +3 -3
  5. package/src/components/JfbBaseAfterSalesDetail/JfbBaseAfterSalesDetail.vue +24 -5
  6. package/src/components/JfbBaseAfterSalesDetail/secProd.vue +9 -1
  7. package/src/components/JfbBaseAfterSalesList/Attr.js +23 -0
  8. package/src/components/JfbBaseAfterSalesList/JfbBaseAfterSalesList.vue +53 -8
  9. package/src/components/JfbBaseBalance/Api.js +46 -0
  10. package/src/components/JfbBaseBalance/Attr.js +316 -0
  11. package/src/components/JfbBaseBalance/JfbBaseBalance.vue +336 -0
  12. package/src/components/JfbBaseBalance/JfbBaseBalanceLess.less +79 -0
  13. package/src/components/JfbBaseBalance/JfbBaseBalanceMixin.js +30 -0
  14. package/src/components/JfbBaseBalance/Mock.js +9 -0
  15. package/src/components/JfbBaseCardDetailEntry/Attr.js +11 -0
  16. package/src/components/JfbBaseCardDetailEntry/JfbBaseCardDetailEntry.vue +6 -6
  17. package/src/components/JfbBaseCardEntry/Attr.js +27 -16
  18. package/src/components/JfbBaseCardEntry/JfbBaseCardEntry.vue +4 -2
  19. package/src/components/JfbBaseCardEntry/Mock.js +20 -1
  20. package/src/components/JfbBaseCardGive/JfbBaseCardGive.vue +2 -4
  21. package/src/components/JfbBaseCardInfoEntry/Attr.js +36 -25
  22. package/src/components/JfbBaseCardInfoEntry/JfbBaseCardInfoEntry.vue +5 -2
  23. package/src/components/JfbBaseCodeOpenVip/Api.js +35 -0
  24. package/src/components/JfbBaseCodeOpenVip/Attr.js +281 -0
  25. package/src/components/JfbBaseCodeOpenVip/JfbBaseCodeOpenVip.vue +251 -0
  26. package/src/components/JfbBaseCodeOpenVip/JfbBaseCodeOpenVipLess.less +79 -0
  27. package/src/components/JfbBaseCodeOpenVip/JfbBaseCodeOpenVipMixin.js +30 -0
  28. package/src/components/JfbBaseCodeOpenVip/Mock.js +13 -0
  29. package/src/components/JfbBaseConDialog/JfbBaseConDialog.vue +4 -5
  30. package/src/components/JfbBaseConsumpCode/Api.js +133 -0
  31. package/src/components/JfbBaseConsumpCode/Attr.js +74 -0
  32. package/src/components/JfbBaseConsumpCode/JfbBaseConsumpCode.vue +1118 -0
  33. package/src/components/JfbBaseConsumpCode/JfbBaseConsumpCodeLess.less +79 -0
  34. package/src/components/JfbBaseConsumpCode/JfbBaseConsumpCodeMixin.js +30 -0
  35. package/src/components/JfbBaseConsumpCode/Mock.js +22 -0
  36. package/src/components/JfbBaseFastLink/Attr.js +12 -1
  37. package/src/components/JfbBaseFastLink/JfbBaseFastLink.vue +66 -0
  38. package/src/components/JfbBaseFooter/Attr.js +12 -0
  39. package/src/components/JfbBaseFooter/JfbBaseFooter.vue +13 -0
  40. package/src/components/JfbBaseHeader/Attr.js +82 -0
  41. package/src/components/JfbBaseHeader/JfbBaseHeader.vue +47 -1
  42. package/src/components/JfbBaseHeaderColumn/Attr.js +82 -0
  43. package/src/components/JfbBaseHeaderColumn/JfbBaseHeaderColumn.vue +48 -2
  44. package/src/components/JfbBaseLogin/JfbBaseLogin.vue +17 -3
  45. package/src/components/JfbBaseNoticeDialog/Api.js +1 -1
  46. package/src/components/JfbBaseNoticeDialog/Attr.js +27 -0
  47. package/src/components/JfbBaseNoticeDialog/JfbBaseNoticeDialog.vue +42 -15
  48. package/src/components/JfbBaseNoticeGroup/Api.js +23 -0
  49. package/src/components/JfbBaseNoticeGroup/Attr.js +237 -0
  50. package/src/components/JfbBaseNoticeGroup/JfbBaseNoticeGroup.vue +174 -0
  51. package/src/components/JfbBaseNoticeGroup/JfbBaseNoticeGroupLess.less +79 -0
  52. package/src/components/JfbBaseNoticeGroup/JfbBaseNoticeGroupMixin.js +30 -0
  53. package/src/components/JfbBaseNoticeGroup/Mock.js +13 -0
  54. package/src/components/JfbBaseOpenVip/Api.js +39 -0
  55. package/src/components/JfbBaseOpenVip/Attr.js +331 -0
  56. package/src/components/JfbBaseOpenVip/JfbBaseOpenVip.vue +459 -0
  57. package/src/components/JfbBaseOpenVip/JfbBaseOpenVipLess.less +79 -0
  58. package/src/components/JfbBaseOpenVip/JfbBaseOpenVipMixin.js +30 -0
  59. package/src/components/JfbBaseOpenVip/Mock.js +7 -0
  60. package/src/components/JfbBaseOpenVip/XdVipList.vue +130 -0
  61. package/src/components/JfbBaseOpenVipCard/Api.js +58 -0
  62. package/src/components/JfbBaseOpenVipCard/Attr.js +48 -0
  63. package/src/components/JfbBaseOpenVipCard/JfbBaseOpenVipCard.vue +111 -0
  64. package/src/components/JfbBaseOpenVipCard/JfbBaseOpenVipCardLess.less +79 -0
  65. package/src/components/JfbBaseOpenVipCard/JfbBaseOpenVipCardMixin.js +30 -0
  66. package/src/components/JfbBaseOpenVipCard/Mock.js +13 -0
  67. package/src/components/JfbBaseOpenVipDetail/Api.js +35 -0
  68. package/src/components/JfbBaseOpenVipDetail/Attr.js +37 -0
  69. package/src/components/JfbBaseOpenVipDetail/JfbBaseOpenVipDetail.vue +234 -0
  70. package/src/components/JfbBaseOpenVipDetail/JfbBaseOpenVipDetailLess.less +79 -0
  71. package/src/components/JfbBaseOpenVipDetail/JfbBaseOpenVipDetailMixin.js +30 -0
  72. package/src/components/JfbBaseOpenVipDetail/Mock.js +15 -0
  73. package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +191 -19
  74. package/src/components/JfbBaseOrderList/Api.js +11 -0
  75. package/src/components/JfbBaseOrderList/JfbBaseOrderList.vue +31 -13
  76. package/src/components/JfbBasePay/Attr.js +52 -0
  77. package/src/components/JfbBasePay/JfbBasePay.vue +23 -6
  78. package/src/components/JfbBasePay/Mock.js +0 -9
  79. package/src/components/JfbBasePersonalData/Api.js +26 -0
  80. package/src/components/JfbBasePersonalData/Attr.js +13 -0
  81. package/src/components/JfbBasePersonalData/JfbBasePersonalData.vue +278 -0
  82. package/src/components/JfbBasePersonalData/JfbBasePersonalDataLess.less +79 -0
  83. package/src/components/JfbBasePersonalData/JfbBasePersonalDataMixin.js +30 -0
  84. package/src/components/JfbBasePersonalData/Mock.js +13 -0
  85. package/src/components/JfbBasePhoneLogin/JfbBasePhoneLogin.vue +11 -1
  86. package/src/components/JfbBasePointsCard/Api.js +18 -0
  87. package/src/components/JfbBasePointsCard/Attr.js +187 -0
  88. package/src/components/JfbBasePointsCard/JfbBasePointsCard.vue +212 -0
  89. package/src/components/JfbBasePointsCard/JfbBasePointsCardLess.less +79 -0
  90. package/src/components/JfbBasePointsCard/JfbBasePointsCardMixin.js +30 -0
  91. package/src/components/JfbBasePointsCard/Mock.js +5 -0
  92. package/src/components/JfbBasePointsDetail/Api.js +48 -0
  93. package/src/components/JfbBasePointsDetail/Attr.js +305 -0
  94. package/src/components/JfbBasePointsDetail/JfbBasePointsDetail.vue +267 -0
  95. package/src/components/JfbBasePointsDetail/JfbBasePointsDetailLess.less +79 -0
  96. package/src/components/JfbBasePointsDetail/JfbBasePointsDetailMixin.js +30 -0
  97. package/src/components/JfbBasePointsDetail/Mock.js +6 -0
  98. package/src/components/JfbBasePoster/Attr.js +1 -1
  99. package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmall.vue +2 -2
  100. package/src/components/JfbBasePosterGroup/Api.js +22 -0
  101. package/src/components/JfbBasePosterGroup/Attr.js +156 -0
  102. package/src/components/JfbBasePosterGroup/JfbBasePosterGroup.vue +268 -0
  103. package/src/components/JfbBasePosterGroup/JfbBasePosterGroupLess.less +79 -0
  104. package/src/components/JfbBasePosterGroup/JfbBasePosterGroupMixin.js +30 -0
  105. package/src/components/JfbBasePosterGroup/Mock.js +13 -0
  106. package/src/components/JfbBaseSavingDetail/Api.js +41 -0
  107. package/src/components/JfbBaseSavingDetail/Attr.js +70 -0
  108. package/src/components/JfbBaseSavingDetail/JfbBaseSavingDetail.vue +724 -0
  109. package/src/components/JfbBaseSavingDetail/JfbBaseSavingDetailLess.less +79 -0
  110. package/src/components/JfbBaseSavingDetail/JfbBaseSavingDetailMixin.js +30 -0
  111. package/src/components/JfbBaseSavingDetail/Mock.js +10 -0
  112. package/src/components/JfbBaseSavingDetail/components/echarts.min.js +26 -0
  113. package/src/components/JfbBaseSavingDetail/components/echarts.vue +254 -0
  114. package/src/components/JfbBaseSavingDetail/components/wx-canvas.js +105 -0
  115. package/src/components/JfbBaseShare/Api.js +20 -0
  116. package/src/components/JfbBaseShare/Attr.js +59 -0
  117. package/src/components/JfbBaseShare/JfbBaseShare.vue +282 -0
  118. package/src/components/JfbBaseShare/JfbBaseShareLess.less +79 -0
  119. package/src/components/JfbBaseShare/JfbBaseShareMixin.js +30 -0
  120. package/src/components/JfbBaseShare/Mock.js +16 -0
  121. package/src/components/JfbBaseSuccess/JfbBaseSuccess.vue +14 -3
  122. package/src/components/JfbBaseTfkSearch/ContentProduct.vue +12 -22
  123. package/src/components/JfbBaseTfkSearch/JfbBaseTfkSearch.vue +12 -1
  124. package/src/components/JfbBaseTfkSearch/Mock.js +51 -3
  125. package/src/components/JfbBaseTfkSearch/listMixins.js +2 -1
  126. package/src/components/JfbBaseUserInfo/Attr.js +175 -11
  127. package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +342 -119
  128. package/src/components/JfbBaseUserOrder/Attr.js +16 -0
  129. package/src/components/JfbBaseUserOrder/JfbBaseUserOrder.vue +11 -2
  130. package/src/components/JfbBaseWithDrawAgain/Api.js +41 -0
  131. package/src/components/JfbBaseWithDrawAgain/Attr.js +92 -0
  132. package/src/components/JfbBaseWithDrawAgain/JfbBaseWithDrawAgain.vue +354 -0
  133. package/src/components/JfbBaseWithDrawAgain/JfbBaseWithDrawAgainLess.less +79 -0
  134. package/src/components/JfbBaseWithDrawAgain/JfbBaseWithDrawAgainMixin.js +30 -0
  135. package/src/components/JfbBaseWithDrawAgain/Mock.js +10 -0
  136. package/src/components/JfbBaseWithDrawRecord/Api.js +19 -0
  137. package/src/components/JfbBaseWithDrawRecord/Attr.js +79 -0
  138. package/src/components/JfbBaseWithDrawRecord/JfbBaseWithDrawRecord.vue +233 -0
  139. package/src/components/JfbBaseWithDrawRecord/JfbBaseWithDrawRecordLess.less +79 -0
  140. package/src/components/JfbBaseWithDrawRecord/JfbBaseWithDrawRecordMixin.js +30 -0
  141. package/src/components/JfbBaseWithDrawRecord/Mock.js +7 -0
  142. package/src/components/JfbBaseWithdraw/Api.js +48 -0
  143. package/src/components/JfbBaseWithdraw/Attr.js +328 -0
  144. package/src/components/JfbBaseWithdraw/JfbBaseWithdraw.vue +272 -0
  145. package/src/components/JfbBaseWithdraw/JfbBaseWithdrawLess.less +79 -0
  146. package/src/components/JfbBaseWithdraw/JfbBaseWithdrawMixin.js +30 -0
  147. package/src/components/JfbBaseWithdraw/Mock.js +7 -0
  148. package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorize.vue +10 -0
@@ -0,0 +1,79 @@
1
+ /**
2
+ * @desc 获取绝对路径完整地址
3
+ * @param @path
4
+ **/
5
+ //例如:https://image.jufubao.cn/20220501010108/image/bg/default_gonghui_bg.png
6
+ @basePath: 'business/';
7
+ @doMain: '//sandbox-img.jufubao.cn/';
8
+
9
+ .getBusinessImageUrl(@path, @size: 'size8') {
10
+ @url: "@{doMain}@{basePath}@{path}?x-oss-process=style/@{size}";
11
+ background-image: url(@url);
12
+ }
13
+
14
+ //start
15
+ .jfb-base-balance {
16
+ box-sizing: border-box;
17
+
18
+ &__body{
19
+ position: relative;
20
+ overflow: hidden;
21
+ z-index: 2
22
+ }
23
+
24
+ &.editx,&.editx:hover {
25
+ position: relative;
26
+ min-height: unit(100, rpx);
27
+ z-index: 3;
28
+ &::after {
29
+ border: 2rpx dashed blue;
30
+ content: " ";
31
+ position: absolute;
32
+ top:0;
33
+ left:0;
34
+ bottom:0;
35
+ right:0;
36
+ z-index: 4;
37
+ cursor: pointer;
38
+ }
39
+
40
+ }
41
+
42
+
43
+ &__edit {
44
+ cursor: pointer;
45
+ position: absolute;
46
+ right: unit(0, rpx);
47
+ top: unit(-52, rpx);
48
+ height: unit(50, rpx);
49
+ line-height: unit(50, rpx);
50
+ display: flex;
51
+ justify-content: center;
52
+ align-items: center;
53
+ background: rgba(0, 0, 0, .6);
54
+ border-radius: unit(10, rpx);
55
+ box-shadow: 0 0 10px rbga(0, 0, 0, 0.3);
56
+ color: #fff;
57
+ font-size: unit(22, rpx);
58
+
59
+ &-icon{
60
+ padding: 0 unit(20, rpx);
61
+ }
62
+
63
+ &.editx {
64
+ box-sizing: border-box;
65
+
66
+ }
67
+ }
68
+ }
69
+ //end
70
+
71
+
72
+ /**notPreview**/
73
+ .jfb-base-balance {
74
+ //&:before {
75
+ //content: " ";
76
+ //display: table;
77
+ //}
78
+ }
79
+ /**endNotPreview**/
@@ -0,0 +1,30 @@
1
+ 'use strict';
2
+
3
+
4
+ //@AttrImport
5
+ import Attr from "./Attr";
6
+ //@EndAttrImport
7
+
8
+
9
+ export default {
10
+ data() {
11
+ return {
12
+ //#ifdef H5
13
+
14
+ //@AttrData
15
+ Attr:{}, //对外开发编辑属性
16
+ //@EndAttrData
17
+
18
+ // #endif
19
+ cssRoot: 'jfb-base-balance'
20
+ }
21
+ },
22
+ created() {
23
+
24
+ //@AttrDataCreated
25
+ this.Attr = this.$xdUniHelper.customClone(Attr);
26
+ //@EndAttrDataCreated
27
+
28
+
29
+ },
30
+ }
@@ -0,0 +1,9 @@
1
+ 'use strict';
2
+
3
+ module.exports = {
4
+
5
+ getBalanceDetail: { "wallet_list": [{ "sort": 2, "wallet_type": "UC", "show_name": "可用余额", "amount": 19940, "is_support_withdraw": "Y" }, { "sort": 0, "wallet_type": "UT", "show_name": "待到账余额", "amount": 0, "is_support_withdraw": "N" }], "request_id": "279b309d137cae9f" },
6
+
7
+ getBalanceWalletTradeList: { "next_page_token": "2", "total_size": 0, "list": [{ "trade_nnid": "eDaOl5aPD4Fx8gtBJC1bd", "order_id": "i771037005030096968", "amount": 10, "trade_type": "user_withdraw_chargeback", "trade_type_name": "提现失败", "operate_type": "A", "operate_type_name": "收入", "trade_name": "", "comment": "余额提现", "created_time": 1744883229 }, { "trade_nnid": "qhBI-btv4hh8TpsGdCrDG", "order_id": "i771066286233878607", "amount": 10, "trade_type": "user_withdraw", "trade_type_name": "余额提现", "operate_type": "R", "operate_type_name": "支出", "trade_name": "", "comment": "", "created_time": 1744796528 }, { "trade_nnid": "NCI4DolRx-0GqFfY5J9-P", "order_id": "i771065517556367438", "amount": 10, "trade_type": "user_withdraw", "trade_type_name": "余额提现", "operate_type": "R", "operate_type_name": "支出", "trade_name": "", "comment": "", "created_time": 1744796345 }, { "trade_nnid": "upM7epMxX3FqoTytFyKUn", "order_id": "i771062549364867149", "amount": 10, "trade_type": "user_withdraw", "trade_type_name": "余额提现", "operate_type": "R", "operate_type_name": "支出", "trade_name": "", "comment": "", "created_time": 1744795637 }, { "trade_nnid": "nzH3e_P25C-q7wcN52L-z", "order_id": "i771061580484837452", "amount": 10, "trade_type": "user_withdraw", "trade_type_name": "余额提现", "operate_type": "R", "operate_type_name": "支出", "trade_name": "", "comment": "", "created_time": 1744795406 }, { "trade_nnid": "aduSpdXNKl0dwqxPhovf0", "order_id": "i771059916772212811", "amount": 10, "trade_type": "user_withdraw", "trade_type_name": "余额提现", "operate_type": "R", "operate_type_name": "支出", "trade_name": "", "comment": "", "created_time": 1744795009 }, { "trade_nnid": "dTTmA75uN-Mv3as8XE1Te", "order_id": "i771054224359293002", "amount": 10, "trade_type": "user_withdraw", "trade_type_name": "余额提现", "operate_type": "R", "operate_type_name": "支出", "trade_name": "", "comment": "", "created_time": 1744793652 }, { "trade_nnid": "jo4IOWJ1wPyGXiA5wQYUU", "order_id": "i771037005030096968", "amount": 10, "trade_type": "user_withdraw", "trade_type_name": "余额提现", "operate_type": "R", "operate_type_name": "支出", "trade_name": "", "comment": "", "created_time": 1744789547 }, { "trade_nnid": "78qU6Cemnhqnvms2-iJDI", "order_id": "i771019326374281284", "amount": 1000, "trade_type": "user_withdraw_chargeback", "trade_type_name": "提现失败", "operate_type": "A", "operate_type_name": "收入", "trade_name": "", "comment": "余额提现", "created_time": 1744789418 }, { "trade_nnid": "yLLohJoE-qowAuxastB1z", "order_id": "i771034873199591494", "amount": 1000, "trade_type": "user_withdraw_chargeback", "trade_type_name": "提现失败", "operate_type": "A", "operate_type_name": "收入", "trade_name": "", "comment": "余额提现", "created_time": 1744789410 }], "request_id": "e9f0142e62066570" },
8
+
9
+ }
@@ -26,6 +26,17 @@ export default {
26
26
  });
27
27
  },
28
28
  },
29
+ {
30
+ label: "是否展示主业务线",
31
+ ele: "xd-radio",
32
+ valueKey: "isShowBuss",
33
+ groupKey:'content',
34
+ value: 'N',
35
+ list: [
36
+ {label: "展示", value: "Y"},
37
+ {label: "隐藏", value: "N"},
38
+ ]
39
+ },
29
40
  {
30
41
  label: '票券解绑成功回跳地址:',
31
42
  ele: 'xd-select-pages-path',
@@ -51,14 +51,12 @@
51
51
  <view class="card_sec">券号:{{ info.card_number }}</view>
52
52
  <view class="card_sec">有效期:{{ info.end_time }}</view>
53
53
  <view class="card_sec">
54
- 余额:{{ info.card_point }}{{ info.unit }}
55
- <text v-if="info.other_card_point && info.card_point_type === 2"
54
+ <text>{{isShowBuss==='Y'?info.main_business_code_name:''}}余额:{{ info.card_point }}{{ info.unit }}</text>
55
+ <text
56
+ v-if="info.other_card_point && info.card_point_type === 2"
56
57
  style="font-size: 24rpx;margin-left: 20rpx;"
57
58
  >(购买其他物品可抵:{{info.other_card_point}} {{ info.unit }})</text>
58
59
  </view>
59
- <!-- <view class="card_other" v-if="info.other_card_point && info.card_point_type === 2">
60
- <text>购买其他物品可抵:</text><text>{{info.other_card_point}} {{ info.unit }}</text>
61
- </view> -->
62
60
  </view>
63
61
  </view>
64
62
  <view
@@ -145,6 +143,7 @@ export default {
145
143
  return {
146
144
  userInfo: null, //用户信息(暂时不可用)
147
145
  entryGroupId: '',//加载入口数据组别
146
+ isShowBuss:'N',//是否展示主营业务线
148
147
 
149
148
  info: null,
150
149
  timeStr: "",
@@ -225,6 +224,7 @@ export default {
225
224
  * @param container {object} 业务组件对象自己
226
225
  */
227
226
  init(container) {
227
+ this.isShowBuss = getContainerPropsValue(container, 'content.isShowBuss', 'N')
228
228
  this.backUrl = getContainerPropsValue(container, "content.back_url", { value: "" }).value;
229
229
  this.shift_url = getContainerPropsValue(container, "content.shift_url", { value: "" }).value;
230
230
  this.give_url = getContainerPropsValue(container, "content.give_url", { value: "" }).value;
@@ -574,7 +574,7 @@ export default {
574
574
  border-radius: 24rpx;
575
575
  padding: 24rpx;
576
576
 
577
-
577
+
578
578
  &-title{
579
579
  display: flex;
580
580
  font-size: 32rpx;
@@ -61,11 +61,11 @@ export default {
61
61
  //当一个插件中出现使用内容分类时候需要设置code值,在页面引用时候容器id + code进行拼接
62
62
  //data.params = Object.assign({}, data.params, {code: 'g_test_id'});
63
63
  }
64
-
64
+
65
65
  //获取返回参数(场景类型名称为必填)
66
66
  //获取返回参数(场景类型名称为必填)
67
67
  let loading = { close(){}}
68
-
68
+
69
69
  //获取显示内容
70
70
  if (action === 'screen') {
71
71
  XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_bucket_content_tip'})
@@ -77,9 +77,9 @@ export default {
77
77
  console.error(error);
78
78
  loading.close();
79
79
  });
80
-
80
+
81
81
  }
82
-
82
+
83
83
  //获取返回参数(广告位高度必选项)
84
84
  if (action === 'getNewsInfo') {
85
85
  XdBus.getParentApi('cmsGetPublishEditxContent')(data.params)
@@ -92,7 +92,7 @@ export default {
92
92
  console.error(error);
93
93
  });
94
94
  }
95
-
95
+
96
96
  //获取产品业务线列表
97
97
  if (action === 'namespace') {
98
98
  XdBus.getParentApi('getOptionsNamespaces')({})
@@ -105,7 +105,7 @@ export default {
105
105
  console.error(error);
106
106
  });
107
107
  }
108
-
108
+
109
109
  //使用内容分类
110
110
  if (action === 'cmsPublishEditxContent') {
111
111
  loading = XdBus.getParentApi('loading')({});
@@ -120,7 +120,7 @@ export default {
120
120
  console.error(error);
121
121
  });
122
122
  }
123
-
123
+
124
124
  //位置列表
125
125
  if (action === 'getListPostion') {
126
126
  loading = XdBus.getParentApi('loading')({});
@@ -134,7 +134,7 @@ export default {
134
134
  console.error(error);
135
135
  });
136
136
  }
137
-
137
+
138
138
  //位置创建
139
139
  if (action === 'addPostion') {
140
140
  loading = XdBus.getParentApi('loading')({});
@@ -149,7 +149,7 @@ export default {
149
149
  data.cb(false)
150
150
  });
151
151
  }
152
-
152
+
153
153
  //位置编辑
154
154
  if (action === 'editPostion') {
155
155
  loading = XdBus.getParentApi('loading')({});
@@ -164,7 +164,7 @@ export default {
164
164
  data.cb(false)
165
165
  });
166
166
  }
167
-
167
+
168
168
  //位置删除
169
169
  if (action === 'deleltePostion') {
170
170
  loading = XdBus.getParentApi('loading')({});
@@ -179,7 +179,7 @@ export default {
179
179
  data.cb(false)
180
180
  });
181
181
  }
182
-
182
+
183
183
  //获取广告位内容列表
184
184
  if (action === 'getListContent') {
185
185
  loading = XdBus.getParentApi('loading')({});
@@ -193,7 +193,7 @@ export default {
193
193
  console.error(error);
194
194
  });
195
195
  }
196
-
196
+
197
197
  //广告内容创建
198
198
  if (action === 'addContent') {
199
199
  loading = XdBus.getParentApi('loading')({});
@@ -208,7 +208,7 @@ export default {
208
208
  data.cb(false)
209
209
  });
210
210
  }
211
-
211
+
212
212
  //广告内容编辑
213
213
  if (action === 'editContent') {
214
214
  loading = XdBus.getParentApi('loading')({});
@@ -223,7 +223,7 @@ export default {
223
223
  data.cb(false)
224
224
  });
225
225
  }
226
-
226
+
227
227
  //广告内容删除
228
228
  if (action === 'deleteContent') {
229
229
  loading = XdBus.getParentApi('loading')({});
@@ -238,7 +238,7 @@ export default {
238
238
  data.cb(false)
239
239
  });
240
240
  }
241
-
241
+
242
242
  //内容发布
243
243
  if (action === 'publish') {
244
244
  loading = XdBus.getParentApi('loading')({});
@@ -253,7 +253,7 @@ export default {
253
253
  console.error(error);
254
254
  });
255
255
  }
256
-
256
+
257
257
  //通知页面进行刷新
258
258
  if (action === 'update') {
259
259
  loading = XdBus.getParentApi('loading')({});
@@ -276,6 +276,17 @@ export default {
276
276
  inline: false,
277
277
  notice: '当未设置文案时候,前台页面显示为"<span style="color:red">已登录</span>",建议不超过<span style="color:red">4</span>个汉字'
278
278
  },
279
+ {
280
+ label: "是否展示主业务线",
281
+ ele: "xd-radio",
282
+ valueKey: "isShowBuss",
283
+ groupKey:'content',
284
+ value: data['isShowBuss'] || "N",
285
+ list: [
286
+ {label: "展示", value: "Y"},
287
+ {label: "隐藏", value: "N"},
288
+ ]
289
+ },
279
290
  {
280
291
  label: "是否展示核销二维码",
281
292
  ele: "xd-radio",
@@ -211,7 +211,7 @@
211
211
  <text>{{item.end_time}}</text>
212
212
  </view>
213
213
  <view class="card-list__yue">
214
- <text>余额:</text>
214
+ <text>{{isShowBuss==='Y'?item.main_business_code_name:''}}余额:</text>
215
215
  <text>{{item.card_point}} {{ item.unit }}</text>
216
216
  </view>
217
217
  <view class="card-list__other" v-if="item.other_card_point && item.card_point_type === 2">
@@ -388,7 +388,7 @@
388
388
  <text>{{item.end_time}}</text>
389
389
  </view>
390
390
  <view class="card-list__yue">
391
- <text>余额:</text>
391
+ <text>{{item.main_business_code_name}}余额:</text>
392
392
  <text>{{item.card_point}} {{ item.unit }}</text>
393
393
  </view>
394
394
  <view class="card-list__other" v-if="item.other_card_point && item.card_point_type === 2">
@@ -511,6 +511,7 @@ export default {
511
511
  inCallbackUrlOrg:'',//是否带有回调地址
512
512
  isChange:'N',
513
513
  isTransfering:'N',
514
+ isShowBuss:'N',
514
515
 
515
516
  //提示文案
516
517
  noticeBackgroundColor: "",
@@ -619,6 +620,7 @@ export default {
619
620
  this.cardLayout = getContainerPropsValue(container,"content.cardLayout","1");
620
621
  this.changeUrl = getContainerPropsValue(container,"content.change_url",{value: ""}).value;
621
622
  this.disabledUrl = getContainerPropsValue(container,"content.disabled_url",{value: ""}).value;
623
+ this.isShowBuss = getContainerPropsValue(container,'content.isShowBuss', 'N')
622
624
  this.bindUrl = getContainerPropsValue(container,"content.bind_url",{value: ""}).value;
623
625
  this.detailUrl = getContainerPropsValue(container,"content.detail_url",{value: ""}).value;
624
626
  this.confirmUrl = getContainerPropsValue(container,"content.confirm_url",{value: ""}).value;
@@ -3,6 +3,25 @@
3
3
  module.exports = {
4
4
  getListEntryCardBind: {
5
5
  "list": [
6
+ {"card_number":"101001000006820",
7
+ "card_point":4989,
8
+ "card_type":"59",
9
+ "card_type_name":"多余额福卡2",
10
+ "unit":"点",
11
+ "end_time":"2024-09-09",
12
+ "is_valid":"Y",
13
+ "main_business_code_name":"电影(勿改)、蛋糕(勿改)",
14
+ "other_card_point":3991,
15
+ "is_exchange":"N",
16
+ "card_point_type":2,
17
+ "business_codes":["cake","market","movie"],
18
+ "is_login":"N",
19
+ "consume_type":"1",
20
+ "card_use_rule":"可凭本票券到电影(勿改)、商城(对应百货)(勿改)、蛋糕(勿改)使用",
21
+ "is_transfering":"N",
22
+ "show_name":"多余额福卡2",
23
+ "is_show_baseinfo":"N","is_gift":"N"
24
+ },
6
25
  {
7
26
  "card_number": "101001000008422",
8
27
  "card_point": 100000,
@@ -16,7 +35,7 @@ module.exports = {
16
35
  "is_exchange": "N",
17
36
  "is_transfering":"Y",
18
37
  "card_point_type": 1,
19
- "is_login":'Y',
38
+ "is_login":'N',
20
39
  "is_gift":"Y",
21
40
  "business_codes": ["health"]
22
41
  }, {
@@ -27,9 +27,7 @@
27
27
  <view class="card_info">
28
28
  <view class="card_type">券号:{{ info.card_number }}</view>
29
29
  <view class="card_sec">有效期:{{ info.end_time }}</view>
30
- <view class="card_sec"
31
- >余额:{{ info.card_point }}{{ info.unit }}</view
32
- >
30
+ <view class="card_sec">余额:{{ info.card_point }}{{ info.unit }}</view>
33
31
  <view
34
32
  class="card_other"
35
33
  v-if="info.other_card_point && info.card_point_type === 2"
@@ -136,7 +134,7 @@
136
134
  <xd-button @click="toSeeShareImg" width="260rpx" type="primary" size="small"
137
135
  >查看分享图片</xd-button>
138
136
  </view>
139
-
137
+
140
138
  <!-- #endif -->
141
139
  </view>
142
140
  </xd-dailog>
@@ -26,30 +26,6 @@ export default {
26
26
  });
27
27
  },
28
28
  },
29
- {
30
- label: '票券绑定成功回跳地址:',
31
- ele: 'xd-select-pages-path',
32
- valueKey: 'back_url',
33
- groupKey:'advanced',
34
- placeholder: '请选择票券绑定成功回跳地址',
35
- value: null,
36
- setting: {
37
- router: XdBus.getParentApi('getPagesTree'),
38
- },
39
- inline: false,
40
- },
41
- {
42
- label: '我的票券跳转地址:',
43
- ele: 'xd-select-pages-path',
44
- valueKey: 'my_card_url',
45
- groupKey:'advanced',
46
- placeholder: '请选择我的票券跳转地址',
47
- value: null,
48
- setting: {
49
- router: XdBus.getParentApi('getPagesTree'),
50
- },
51
- inline: false,
52
- },
53
29
  {
54
30
  label: '票券号码框自定义文案:',
55
31
  ele: 'el-input',
@@ -80,6 +56,41 @@ export default {
80
56
  {label: "是", value: "Y"},
81
57
  {label: "否", value: "N"},
82
58
  ]
83
- }
59
+ },
60
+ {
61
+ label: "是否展示主业务线",
62
+ ele: "xd-radio",
63
+ valueKey: "isShowBuss",
64
+ groupKey:'content',
65
+ value: 'N',
66
+ list: [
67
+ {label: "展示", value: "Y"},
68
+ {label: "隐藏", value: "N"},
69
+ ]
70
+ },
71
+ {
72
+ label: '票券绑定成功回跳地址:',
73
+ ele: 'xd-select-pages-path',
74
+ valueKey: 'back_url',
75
+ groupKey:'advanced',
76
+ placeholder: '请选择票券绑定成功回跳地址',
77
+ value: null,
78
+ setting: {
79
+ router: XdBus.getParentApi('getPagesTree'),
80
+ },
81
+ inline: false,
82
+ },
83
+ {
84
+ label: '我的票券跳转地址:',
85
+ ele: 'xd-select-pages-path',
86
+ valueKey: 'my_card_url',
87
+ groupKey:'advanced',
88
+ placeholder: '请选择我的票券跳转地址',
89
+ value: null,
90
+ setting: {
91
+ router: XdBus.getParentApi('getPagesTree'),
92
+ },
93
+ inline: false,
94
+ },
84
95
  ],
85
96
  };
@@ -85,7 +85,7 @@
85
85
  <text>{{info.end_time}}</text>
86
86
  </view>
87
87
  <view class="card-list__yue" v-if="isShowBalance">
88
- <text>余额:</text>
88
+ <text>{{isShowBuss==='Y'?info.main_business_code_name:''}}余额:</text>
89
89
  <text>{{info.card_point}} {{ info.unit }}</text>
90
90
  </view>
91
91
  <view class="card-list__other" v-if="info.is_bind_show_other_point === 'Y' && info.other_card_point && info.card_point_type === 2">
@@ -158,6 +158,7 @@ export default {
158
158
  card_pwd_placeholder: "",
159
159
  showInfo: false,
160
160
  entryGroupId: '',//加载入口数据组别
161
+ isShowBuss:'N',//是否展示主营业务线
161
162
 
162
163
  qrcode: "", //二维码
163
164
  showForm: true,
@@ -242,7 +243,8 @@ export default {
242
243
  this.handlerAfterBindCard(res);
243
244
  })
244
245
  .catch();
245
- } else {
246
+ }
247
+ else {
246
248
  jfbRootExec("pwdCardBindEntry", {
247
249
  vm: this,
248
250
  data: {
@@ -313,6 +315,7 @@ export default {
313
315
  this.card_pwd_placeholder = getContainerPropsValue(container, "content.card_pwd_placeholder", "请输入密码");
314
316
  this.my_card_url = getContainerPropsValue(container, 'content.my_card_url', { value: "" }).value;
315
317
  this.is_show_balance = getContainerPropsValue(container, 'content.is_show_balance', "N");
318
+ this.isShowBuss = getContainerPropsValue(container, 'content.isShowBuss', 'N')
316
319
  //'wechat_mini_program|default'
317
320
  this.entryGroupId = getContainerPropsValue(container,"content.entryGroupId","default");
318
321
  },
@@ -0,0 +1,35 @@
1
+ 'use strict';
2
+ /**
3
+ * @description 接口配置,
4
+ * 在设置方法名字当时候,别忘记加上【模块名字】:Code
5
+ * @type {*[]}
6
+ */
7
+ module.exports = [
8
+ {
9
+ mapFnName: "getExchangeCode",
10
+ title: "兑换码",
11
+ path: "/member/v1/exchange/:exchange_code",
12
+ isRule: true,
13
+ params: {
14
+ exchange_code: ['兑换码', 'String', '必选']
15
+ },
16
+ isConsole: true,
17
+ disabled: true,
18
+ },
19
+ {
20
+ mapFnName: "createVipOrder",
21
+ title: "创建VIP订单",
22
+ path: "/member/v1/order/submit",
23
+ isRule: false,
24
+ data: {
25
+ business_code: ['业务编码', 'String', '必选'],
26
+ product_id: ['商品id', 'Number', '必选'],
27
+ notify_provider_id: ['notify_provider_id', 'Number', '可选'],
28
+ selected_card_list_json: ['已使用的卡券数据', 'array', '可选'],
29
+ selected_wallet_list_json: ['已使用的钱包数据', 'array', '可选'],
30
+ need_pay_price: ['需要支付的价格', 'Number', '可选']
31
+ },
32
+ isConsole: true,
33
+ disabled: true,
34
+ }
35
+ ];