jufubao-base 1.0.134-beta9 → 1.0.134

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 (210) hide show
  1. package/package.json +3 -4
  2. package/src/components/JfbBaseAddress/Attr.js +5 -11
  3. package/src/components/JfbBaseAddress/JfbBaseAddress.vue +3 -3
  4. package/src/components/JfbBaseAddress/JfbBaseAddressLess.less +19 -18
  5. package/src/components/JfbBaseAfterOrderDetail/Attr.js +7 -19
  6. package/src/components/JfbBaseAfterOrderDetail/JfbBaseAfterOrderDetail.vue +4 -6
  7. package/src/components/JfbBaseAfterOrderDetail/JfbBaseAfterOrderDetailLess.less +19 -18
  8. package/src/components/JfbBaseAfterOrderList/Attr.js +16 -25
  9. package/src/components/JfbBaseAfterOrderList/JfbBaseAfterOrderList.vue +9 -6
  10. package/src/components/JfbBaseAfterOrderList/JfbBaseAfterOrderListLess.less +19 -18
  11. package/src/components/JfbBaseBack/JfbBaseBackLess.less +19 -18
  12. package/src/components/JfbBaseBackground/Attr.js +8 -9
  13. package/src/components/JfbBaseBackground/JfbBaseBackground.vue +3 -0
  14. package/src/components/JfbBaseBackground/JfbBaseBackgroundLess.less +19 -18
  15. package/src/components/JfbBaseBlock/Attr.js +2 -12
  16. package/src/components/JfbBaseBlock/JfbBaseBlock.vue +8 -1
  17. package/src/components/JfbBaseBlock/JfbBaseBlockLess.less +19 -18
  18. package/src/components/JfbBaseBottomNotice/JfbBaseBottomNoticeLess.less +19 -18
  19. package/src/components/JfbBaseCard/Attr.js +36 -78
  20. package/src/components/JfbBaseCard/JfbBaseCard.vue +2 -2
  21. package/src/components/JfbBaseCard/JfbBaseCardLess.less +19 -18
  22. package/src/components/JfbBaseCardBind/JfbBaseCardBindLess.less +19 -18
  23. package/src/components/JfbBaseCardBindV2/Attr.js +4 -5
  24. package/src/components/JfbBaseCardBindV2/JfbBaseCardBindV2.vue +1 -3
  25. package/src/components/JfbBaseCardBindV2/JfbBaseCardBindV2Less.less +19 -18
  26. package/src/components/JfbBaseCardDetail/Attr.js +3 -4
  27. package/src/components/JfbBaseCardDetail/JfbBaseCardDetailLess.less +19 -18
  28. package/src/components/JfbBaseCardDetailEntry/Attr.js +8 -10
  29. package/src/components/JfbBaseCardDetailEntry/JfbBaseCardDetailEntry.vue +13 -4
  30. package/src/components/JfbBaseCardDetailEntry/JfbBaseCardDetailEntryLess.less +19 -18
  31. package/src/components/JfbBaseCardDisabled/Attr.js +3 -1
  32. package/src/components/JfbBaseCardDisabled/JfbBaseCardDisabledLess.less +19 -18
  33. package/src/components/JfbBaseCardDisabledEntry/JfbBaseCardDisabledEntryLess.less +19 -18
  34. package/src/components/JfbBaseCardEntry/Api.js +1 -1
  35. package/src/components/JfbBaseCardEntry/Attr.js +67 -86
  36. package/src/components/JfbBaseCardEntry/JfbBaseCardEntry.vue +5 -6
  37. package/src/components/JfbBaseCardEntry/JfbBaseCardEntryLess.less +19 -18
  38. package/src/components/JfbBaseCardInfo/Attr.js +16 -22
  39. package/src/components/JfbBaseCardInfo/JfbBaseCardInfoLess.less +19 -18
  40. package/src/components/JfbBaseCardInfoEntry/Attr.js +11 -16
  41. package/src/components/JfbBaseCardInfoEntry/JfbBaseCardInfoEntryLess.less +19 -18
  42. package/src/components/JfbBaseCardMerge/Attr.js +8 -21
  43. package/src/components/JfbBaseCardMerge/JfbBaseCardMerge.vue +30 -15
  44. package/src/components/JfbBaseCardMerge/JfbBaseCardMergeLess.less +19 -18
  45. package/src/components/JfbBaseCardMergeEntry/Attr.js +6 -20
  46. package/src/components/JfbBaseCardMergeEntry/JfbBaseCardMergeEntry.vue +25 -28
  47. package/src/components/JfbBaseCardMergeEntry/JfbBaseCardMergeEntryLess.less +19 -18
  48. package/src/components/JfbBaseCardShift/Attr.js +4 -18
  49. package/src/components/JfbBaseCardShift/JfbBaseCardShift.vue +11 -26
  50. package/src/components/JfbBaseCardShift/JfbBaseCardShiftLess.less +19 -18
  51. package/src/components/JfbBaseCardShiftEntry/Attr.js +26 -34
  52. package/src/components/JfbBaseCardShiftEntry/JfbBaseCardShiftEntry.vue +257 -294
  53. package/src/components/JfbBaseCardShiftEntry/JfbBaseCardShiftEntryLess.less +19 -18
  54. package/src/components/JfbBaseCardShiftEntry/Mock.js +1 -2
  55. package/src/components/JfbBaseCardSweepInfo/Attr.js +3 -5
  56. package/src/components/JfbBaseCardSweepInfo/JfbBaseCardSweepInfoLess.less +19 -18
  57. package/src/components/JfbBaseCardV2/Attr.js +17 -21
  58. package/src/components/JfbBaseCardV2/JfbBaseCardV2.vue +5 -3
  59. package/src/components/JfbBaseCardV2/JfbBaseCardV2Less.less +19 -18
  60. package/src/components/JfbBaseCardV3/Attr.js +14 -18
  61. package/src/components/JfbBaseCardV3/JfbBaseCardV3.vue +1 -1
  62. package/src/components/JfbBaseCardV3/JfbBaseCardV3Less.less +19 -18
  63. package/src/components/JfbBaseCity/Attr.js +4 -2
  64. package/src/components/JfbBaseCity/JfbBaseCityLess.less +19 -18
  65. package/src/components/JfbBaseClear/JfbBaseClear.vue +9 -9
  66. package/src/components/JfbBaseClear/JfbBaseClearLess.less +19 -18
  67. package/src/components/JfbBaseClear/JfbBaseClearMixin.js +0 -12
  68. package/src/components/JfbBaseConDialog/Api.js +2 -2
  69. package/src/components/JfbBaseConDialog/Attr.js +14 -23
  70. package/src/components/JfbBaseConDialog/JfbBaseConDialog.vue +35 -63
  71. package/src/components/JfbBaseConDialog/JfbBaseConDialogLess.less +19 -18
  72. package/src/components/JfbBaseConDialog/Mock.js +1 -20
  73. package/src/components/JfbBaseConDialog/XdCouCardBind.vue +9 -15
  74. package/src/components/JfbBaseConList/Api.js +1 -1
  75. package/src/components/JfbBaseConList/Attr.js +224 -149
  76. package/src/components/JfbBaseConList/JfbBaseConList.vue +133 -150
  77. package/src/components/JfbBaseConList/JfbBaseConListLess.less +19 -18
  78. package/src/components/JfbBaseConPhone/JfbBaseConPhoneLess.less +19 -18
  79. package/src/components/JfbBaseEntry/Attr.js +21 -33
  80. package/src/components/JfbBaseEntry/JfbBaseEntry.vue +23 -34
  81. package/src/components/JfbBaseEntry/JfbBaseEntryLess.less +19 -18
  82. package/src/components/JfbBaseExpressDetail/JfbBaseExpressDetailLess.less +19 -18
  83. package/src/components/JfbBaseFastLink/Api.js +54 -1
  84. package/src/components/JfbBaseFastLink/Attr.js +116 -168
  85. package/src/components/JfbBaseFastLink/JfbBaseFastLink.vue +16 -12
  86. package/src/components/JfbBaseFastLink/JfbBaseFastLinkLess.less +19 -18
  87. package/src/components/JfbBaseFooter/Attr.js +22 -28
  88. package/src/components/JfbBaseFooter/JfbBaseFooter.vue +15 -19
  89. package/src/components/JfbBaseFooter/JfbBaseFooterLess.less +19 -18
  90. package/src/components/JfbBaseHeader/Attr.js +91 -89
  91. package/src/components/JfbBaseHeader/JfbBaseHeader.vue +29 -28
  92. package/src/components/JfbBaseHeader/JfbBaseHeaderLess.less +19 -18
  93. package/src/components/JfbBaseLine/Attr.js +59 -0
  94. package/src/components/JfbBaseLine/JfbBaseLine.vue +105 -0
  95. package/src/components/JfbBaseLine/JfbBaseLineLess.less +80 -0
  96. package/src/components/JfbBaseLine/JfbBaseLineMixin.js +30 -0
  97. package/src/components/JfbBaseLogin/Api.js +1 -1
  98. package/src/components/JfbBaseLogin/Attr.js +88 -111
  99. package/src/components/JfbBaseLogin/JfbBaseLogin.vue +5 -4
  100. package/src/components/JfbBaseLogin/JfbBaseLoginLess.less +19 -18
  101. package/src/components/JfbBaseLoginForgetPwd/Attr.js +45 -52
  102. package/src/components/JfbBaseLoginForgetPwd/JfbBaseLoginForgetPwd.vue +14 -14
  103. package/src/components/JfbBaseLoginForgetPwd/JfbBaseLoginForgetPwdLess.less +19 -18
  104. package/src/components/JfbBaseLoginSetPwd/Attr.js +4 -6
  105. package/src/components/JfbBaseLoginSetPwd/JfbBaseLoginSetPwdLess.less +19 -18
  106. package/src/components/JfbBaseMapOverlay/JfbBaseMapOverlayLess.less +19 -18
  107. package/src/components/JfbBaseMapSearch/Attr.js +15 -0
  108. package/src/components/JfbBaseMapSearch/JfbBaseMapSearch.vue +25 -1
  109. package/src/components/JfbBaseMapSearch/JfbBaseMapSearchLess.less +19 -18
  110. package/src/components/JfbBaseMergeUserCard/Attr.js +3 -4
  111. package/src/components/JfbBaseMergeUserCard/JfbBaseMergeUserCardLess.less +19 -18
  112. package/src/components/JfbBaseMultipleExpress/Attr.js +3 -4
  113. package/src/components/JfbBaseMultipleExpress/JfbBaseMultipleExpressLess.less +19 -18
  114. package/src/components/JfbBaseMy/JfbBaseMyLess.less +19 -18
  115. package/src/components/JfbBaseMySetting/Attr.js +1 -1
  116. package/src/components/JfbBaseMySetting/JfbBaseMySettingLess.less +19 -18
  117. package/src/components/JfbBaseNotice/Attr.js +58 -109
  118. package/src/components/JfbBaseNotice/JfbBaseNotice.vue +54 -82
  119. package/src/components/JfbBaseNotice/JfbBaseNoticeLess.less +19 -18
  120. package/src/components/JfbBaseNoticeBottom/JfbBaseNoticeBottomLess.less +19 -18
  121. package/src/components/JfbBaseNoticeTop/JfbBaseNoticeTopLess.less +19 -18
  122. package/src/components/JfbBaseOrderDetail/Attr.js +193 -210
  123. package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +3 -5
  124. package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetailLess.less +19 -18
  125. package/src/components/JfbBaseOrderList/Attr.js +44 -56
  126. package/src/components/JfbBaseOrderList/JfbBaseOrderList.vue +3 -5
  127. package/src/components/JfbBaseOrderList/JfbBaseOrderListLess.less +19 -18
  128. package/src/components/JfbBasePay/Attr.js +13 -2
  129. package/src/components/JfbBasePay/JfbBasePay.vue +6 -7
  130. package/src/components/JfbBasePay/JfbBasePayLess.less +19 -18
  131. package/src/components/JfbBasePay/Mock.js +1 -2
  132. package/src/components/JfbBasePhoneCollect/Attr.js +2 -27
  133. package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollect.vue +1 -1
  134. package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollectLess.less +19 -18
  135. package/src/components/JfbBasePhoneLogin/Attr.js +2 -27
  136. package/src/components/JfbBasePhoneLogin/JfbBasePhoneLoginLess.less +19 -18
  137. package/src/components/JfbBasePoster/Attr.js +83 -103
  138. package/src/components/JfbBasePoster/JfbBasePoster.vue +143 -141
  139. package/src/components/JfbBasePoster/JfbBasePosterLess.less +19 -18
  140. package/src/components/JfbBasePoster/MoreScreen.vue +2 -7
  141. package/src/components/JfbBasePosterBigSmall/Attr.js +76 -93
  142. package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmall.vue +9 -10
  143. package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmallLess.less +19 -18
  144. package/src/components/JfbBasePosterBigSmall/getWidthHeight.js +2 -2
  145. package/src/components/JfbBasePosterEntry/Attr.js +34 -47
  146. package/src/components/JfbBasePosterEntry/JfbBasePosterEntry.vue +51 -52
  147. package/src/components/JfbBasePosterEntry/JfbBasePosterEntryLess.less +19 -18
  148. package/src/components/JfbBasePosterType/Attr.js +48 -82
  149. package/src/components/JfbBasePosterType/FourScreen.vue +4 -14
  150. package/src/components/JfbBasePosterType/JfbBasePosterType.vue +59 -36
  151. package/src/components/JfbBasePosterType/JfbBasePosterTypeLess.less +19 -18
  152. package/src/components/JfbBasePosterType/Screen.vue +284 -0
  153. package/src/components/JfbBaseRecharge/Attr.js +23 -35
  154. package/src/components/JfbBaseRecharge/JfbBaseRecharge.vue +8 -54
  155. package/src/components/JfbBaseRecharge/JfbBaseRechargeLess.less +19 -18
  156. package/src/components/JfbBaseRechargeOrder/Attr.js +22 -32
  157. package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrder.vue +7 -12
  158. package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrderLess.less +19 -18
  159. package/src/components/JfbBaseRechargeOrderDetail/JfbBaseRechargeOrderDetailLess.less +19 -18
  160. package/src/components/JfbBaseRechargeSuccess/Attr.js +8 -10
  161. package/src/components/JfbBaseRechargeSuccess/JfbBaseRechargeSuccessLess.less +19 -18
  162. package/src/components/JfbBaseSearch/Api.js +60 -0
  163. package/src/components/JfbBaseSearch/Attr.js +148 -6
  164. package/src/components/JfbBaseSearch/JfbBaseSearch.vue +37 -8
  165. package/src/components/JfbBaseSearch/JfbBaseSearchLess.less +19 -18
  166. package/src/components/JfbBaseSearch/Mock.js +5 -0
  167. package/src/components/JfbBaseSetPwd/Attr.js +147 -6
  168. package/src/components/JfbBaseSetPwd/JfbBaseSetPwdLess.less +19 -18
  169. package/src/components/JfbBaseSuccess/Attr.js +19 -89
  170. package/src/components/JfbBaseSuccess/JfbBaseSuccess.vue +26 -48
  171. package/src/components/JfbBaseSuccess/JfbBaseSuccessLess.less +19 -18
  172. package/src/components/JfbBaseSuccess/Mock.js +0 -8
  173. package/src/components/JfbBaseTestApi/JfbBaseTestApi.vue +9 -9
  174. package/src/components/JfbBaseTestApi/JfbBaseTestApiLess.less +19 -18
  175. package/src/components/JfbBaseTestBody/JfbBaseTestBodyLess.less +19 -18
  176. package/src/components/JfbBaseTestBottom/JfbBaseTestBottomLess.less +19 -18
  177. package/src/components/JfbBaseTestNotice/JfbBaseTestNoticeLess.less +19 -18
  178. package/src/components/JfbBaseTestTop/JfbBaseTestTopLess.less +19 -18
  179. package/src/components/JfbBaseUserCenter/Attr.js +53 -72
  180. package/src/components/JfbBaseUserCenter/JfbBaseUserCenter.vue +27 -40
  181. package/src/components/JfbBaseUserCenter/JfbBaseUserCenterLess.less +19 -18
  182. package/src/components/JfbBaseUserInfo/Attr.js +45 -54
  183. package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +21 -21
  184. package/src/components/JfbBaseUserInfo/JfbBaseUserInfoLess.less +19 -18
  185. package/src/components/JfbBaseUserOrder/Attr.js +94 -119
  186. package/src/components/JfbBaseUserOrder/JfbBaseUserOrder.vue +7 -21
  187. package/src/components/JfbBaseUserOrder/JfbBaseUserOrderLess.less +19 -18
  188. package/src/components/JfbBaseVideo/Attr.js +19 -72
  189. package/src/components/JfbBaseVideo/JfbBaseVideo.vue +28 -69
  190. package/src/components/JfbBaseVideo/JfbBaseVideoLess.less +19 -18
  191. package/src/components/JfbBaseVideo/XdVideo.vue +44 -6
  192. package/src/components/JfbBaseWallet/Attr.js +19 -27
  193. package/src/components/JfbBaseWallet/JfbBaseWalletLess.less +19 -18
  194. package/src/components/JfbBaseWalletDetail/Attr.js +6 -2
  195. package/src/components/JfbBaseWalletDetail/JfbBaseWalletDetailLess.less +19 -18
  196. package/src/components/JfbBaseWalletEffective/JfbBaseWalletEffectiveLess.less +19 -18
  197. package/src/components/JfbBaseWalletIndex/Attr.js +1 -3
  198. package/src/components/JfbBaseWalletIndex/JfbBaseWalletIndexLess.less +19 -18
  199. package/src/components/JfbBaseWalletItem/Attr.js +1 -3
  200. package/src/components/JfbBaseWalletItem/JfbBaseWalletItemLess.less +19 -18
  201. package/src/components/JfbBaseWebview/JfbBaseWebviewLess.less +19 -18
  202. package/src/components/JfbBaseWxAuthorize/Api.js +3 -3
  203. package/src/components/JfbBaseWxAuthorize/Attr.js +3 -31
  204. package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorize.vue +28 -34
  205. package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorizeLess.less +19 -18
  206. package/src/components/JfbBaseWxAuthorizeError/Attr.js +17 -21
  207. package/src/components/JfbBaseWxAuthorizeError/JfbBaseWxAuthorizeError.vue +4 -4
  208. package/src/components/JfbBaseWxAuthorizeError/JfbBaseWxAuthorizeErrorLess.less +19 -18
  209. package/src/components/JfbBaseCardShift/Mock.js +0 -21
  210. package/src/components/JfbBaseClear/Attr.js +0 -17
@@ -1,30 +1,33 @@
1
1
  'use strict';
2
2
  import StyleForm from "@/utils/StyleForm";
3
- let styleForm = new StyleForm(
4
- {bgColor:null, border: null, shadow: null, spacing: '', margin: null,radius:null},
5
- null,
6
- 'list',
7
- true
8
- );
3
+ let styleForm = new StyleForm({border: null, shadow: null, spacing: '', bgColor:'', margin: null,radius:null}, null, 'list');
9
4
  export default {
10
5
  style: [],
11
- content: (data={})=>{
6
+ content: (data)=>{
12
7
  return [
13
8
  {
14
9
  label: '自定义按钮名称:',
15
10
  ele: 'el-input',
16
11
  type: 'text',
17
12
  valueKey: 'custom_btn_name',
18
- groupKey:'content',
19
13
  value: data['custom_btn_name'] || '',
20
14
  placeholder: '请输入自定义按钮名称',
21
15
  className: 'input80'
22
16
  },
17
+ {
18
+ "label": "自定义按钮跳转地址:",
19
+ "ele": "xd-select-pages-path",
20
+ "valueKey": "custom_btn_path",
21
+ "value": data['custom_btn_path'] || null,
22
+ "setting": {
23
+ router: XdBus.getParentApi('getPagesTree'),
24
+ },
25
+ "inline": false,
26
+ },
23
27
  {
24
28
  label: '是否显示码:',
25
29
  ele: 'xd-radio',
26
30
  valueKey: 'is_show_code',
27
- groupKey:'content',
28
31
  value:data['is_show_code']|| '',
29
32
  placeholder: '请选择',
30
33
  list: [
@@ -33,10 +36,9 @@ export default {
33
36
  ],
34
37
  },
35
38
  {
36
- label: '是否显示商品信息:',
39
+ label: '是否显示商品:',
37
40
  ele: 'xd-radio',
38
41
  valueKey: 'is_show_product',
39
- groupKey:'content',
40
42
  value:data['is_show_product']|| '',
41
43
  placeholder: '请选择',
42
44
  list: [
@@ -45,9 +47,8 @@ export default {
45
47
  ],
46
48
  },
47
49
  {
48
- label: '温馨提示配置:',
50
+ label: '自定义内容:',
49
51
  ele: 'xd-site-news',
50
- groupKey:'content',
51
52
  valueKey: 'notice',
52
53
  value: data['notice'] || null,
53
54
  className: 'input70',
@@ -69,12 +70,11 @@ export default {
69
70
  }
70
71
 
71
72
  //获取返回参数(场景类型名称为必填)
72
- //获取返回参数(场景类型名称为必填)
73
- let loading = { close(){}}
73
+ let loading = XdBus.getParentApi('loading')({});
74
74
 
75
75
  //获取显示内容
76
76
  if (action === 'screen') {
77
- XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_bucket_content_tip'})
77
+ XdBus.getParentApi('getOptionsSettingList')({ setting_id: 'edtix_bucket_content_tip' })
78
78
  .then(res => {
79
79
  loading.close();
80
80
  data.cb(res['list'])
@@ -91,7 +91,7 @@ export default {
91
91
  XdBus.getParentApi('cmsGetPublishEditxContent')(data.params)
92
92
  .then(res => {
93
93
  loading.close()
94
- data.cb({list: res.list, selectId: res.selected})
94
+ data.cb({ list: res.list, selectId: res.selected })
95
95
  })
96
96
  .catch(error => {
97
97
  loading.close()
@@ -114,7 +114,6 @@ export default {
114
114
 
115
115
  //使用内容分类
116
116
  if (action === 'cmsPublishEditxContent') {
117
- loading = XdBus.getParentApi('loading')({});
118
117
  XdBus.getParentApi('cmsPublishEditxContent')(data.params)
119
118
  .then(res => {
120
119
  console.log('cmsPublishEditxContent', res)
@@ -129,7 +128,6 @@ export default {
129
128
 
130
129
  //位置列表
131
130
  if (action === 'getListPostion') {
132
- loading = XdBus.getParentApi('loading')({});
133
131
  XdBus.getParentApi('getListNewsPosition')(data.params)
134
132
  .then(res => {
135
133
  loading.close();
@@ -143,7 +141,6 @@ export default {
143
141
 
144
142
  //位置创建
145
143
  if (action === 'addPostion') {
146
- loading = XdBus.getParentApi('loading')({});
147
144
  XdBus.getParentApi('addNewsPosition')(data.params)
148
145
  .then(res => {
149
146
  loading.close();
@@ -158,7 +155,6 @@ export default {
158
155
 
159
156
  //位置编辑
160
157
  if (action === 'editPostion') {
161
- loading = XdBus.getParentApi('loading')({});
162
158
  XdBus.getParentApi('updateNewsPosition')(data.params)
163
159
  .then(res => {
164
160
  loading.close();
@@ -173,7 +169,6 @@ export default {
173
169
 
174
170
  //位置删除
175
171
  if (action === 'deleltePostion') {
176
- loading = XdBus.getParentApi('loading')({});
177
172
  XdBus.getParentApi('deleteNewsPosition')(data.params)
178
173
  .then(res => {
179
174
  loading.close();
@@ -188,7 +183,6 @@ export default {
188
183
 
189
184
  //获取广告位内容列表
190
185
  if (action === 'getListContent') {
191
- loading = XdBus.getParentApi('loading')({});
192
186
  XdBus.getParentApi('getListNewsContent')(data.params)
193
187
  .then(res => {
194
188
  loading.close();
@@ -202,7 +196,6 @@ export default {
202
196
 
203
197
  //广告内容创建
204
198
  if (action === 'addContent') {
205
- loading = XdBus.getParentApi('loading')({});
206
199
  XdBus.getParentApi('addNewsContent')(data.params)
207
200
  .then(res => {
208
201
  loading.close();
@@ -217,7 +210,6 @@ export default {
217
210
 
218
211
  //广告内容编辑
219
212
  if (action === 'editContent') {
220
- loading = XdBus.getParentApi('loading')({});
221
213
  XdBus.getParentApi('updateNewsContent')(data.params)
222
214
  .then(res => {
223
215
  loading.close();
@@ -232,7 +224,6 @@ export default {
232
224
 
233
225
  //广告内容删除
234
226
  if (action === 'deleteContent') {
235
- loading = XdBus.getParentApi('loading')({});
236
227
  XdBus.getParentApi('deleteNewsContent')(data.params)
237
228
  .then(res => {
238
229
  loading.close();
@@ -247,7 +238,6 @@ export default {
247
238
 
248
239
  //内容发布
249
240
  if (action === 'publish') {
250
- loading = XdBus.getParentApi('loading')({});
251
241
  console.log('publish', data.params)
252
242
  XdBus.getParentApi('cmsPublishContent')(data.params)
253
243
  .then(res => {
@@ -262,74 +252,14 @@ export default {
262
252
 
263
253
  //通知页面进行刷新
264
254
  if (action === 'update') {
265
- loading = XdBus.getParentApi('loading')({});
266
255
  XdBus.getParentApi('getXdBusUpdateView')('onUpdateView', {});
267
256
  loading.close()
268
257
  }
269
258
  },
270
259
  inline: false,
271
- notice: '温馨提示内容配置选用后(组件预览将不做实时生效处理),将根据不同业务线展示对应提示内容。',
272
- },
273
- {
274
- label: '背景颜色:',
275
- ele: 'xd-color',
276
- valueKey: 'boxBgColor',
277
- groupKey:'style',
278
- value: data['boxBgColor'] || '',
279
- placeholder: '请选择背景颜色',
280
- classNmae: 'input80',
281
- },
282
- {
283
- label: '支付状态背景颜色:',
284
- ele: 'xd-color',
285
- valueKey: 'payBgColor',
286
- groupKey:'style',
287
- value: data['payBgColor'] || '',
288
- placeholder: '请选择支付状态背景颜色',
289
- classNmae: 'input80',
290
- },
291
- ...styleForm.getForm(data, '二维码样式配置'),
292
- {
293
- ele: 'title',
294
- label: '操作按钮样式设置',
295
- size: 'small',
296
- groupKey:'style',
297
- },
298
- {
299
- label: '边框颜色:',
300
- ele: 'xd-color',
301
- valueKey: 'btnBorderColor',
302
- groupKey:'style',
303
- value: data['btnBorderColor'] || '',
304
- classNmae: 'input80',
305
- },
306
- {
307
- label: '背景颜色:',
308
- ele: 'xd-color',
309
- valueKey: 'btnBgColor',
310
- groupKey:'style',
311
- value: data.btnBgColor || '',
312
- classNmae: 'input80',
313
- },
314
- {
315
- label: '文字颜色:',
316
- ele: 'xd-color',
317
- valueKey: 'btnTextColor',
318
- groupKey:'style',
319
- value: data.btnTextColor || '',
320
- classNmae: 'input80',
321
- },
322
- {
323
- "label": "自定义按钮跳转地址:",
324
- "ele": "xd-select-pages-path",
325
- "valueKey": "custom_btn_path",
326
- "value": data['custom_btn_path'] || null,
327
- "groupKey":'advanced',
328
- "setting": {
329
- router: XdBus.getParentApi('getPagesTree'),
330
- },
331
- "inline": false,
260
+ notice: '',
332
261
  },
262
+ ...styleForm.getForm(data, '内容配置')
333
263
  ].filter(i=>i)
334
264
  },
335
265
  advanced: [],
@@ -16,7 +16,10 @@
16
16
  <view class="jfb-base-success__edit-icon" @click="delEdit">删除</view>
17
17
  </view>
18
18
  <!-- #endif -->
19
- <view class="jfb-base-success__body" :style="{backgroundColor: boxBgColor}">
19
+ <view
20
+ class="jfb-base-success__body"
21
+
22
+ >
20
23
  <view class="x-line"></view>
21
24
  <view
22
25
  v-if="noUserLoding === true"
@@ -33,8 +36,8 @@
33
36
  marginBottom: jfbListSpacing + 'rpx',
34
37
  boxShadow: jfbListShadowComputed,
35
38
  border: jfbListBorderComputed,
39
+ backgroundColor: jfbListBgColor,
36
40
  borderRadius: jfbListRadius + 'rpx',
37
- backgroundColor:payBgColor,
38
41
  }"
39
42
  >
40
43
  <view class="jfb-base-success__body-icon-item">
@@ -82,7 +85,6 @@
82
85
  border: jfbListBorderComputed,
83
86
  backgroundColor: jfbListBgColor,
84
87
  borderRadius: jfbListRadius + 'rpx',
85
- padding:jfbListSpacing + 'rpx',
86
88
  }"
87
89
  v-if="
88
90
  info.codes.length === 1 &&
@@ -91,7 +93,8 @@
91
93
  "
92
94
  class="jfb-base-success__body-card jfb-base-success__body-cashier"
93
95
  >
94
- <view class="jfb-base-success__body-cashier-text">{{info.codes[0].show_type === "qrcode" ? "二维码" : "条形码" }}</view>
96
+ <view class="jfb-base-success__body-cashier-text"
97
+ >{{info.codes[0].show_type === "qrcode" ? "二维码" : "条形码" }}</view>
95
98
  <view style="position: relative">
96
99
  <image
97
100
  :style="{
@@ -102,12 +105,9 @@
102
105
  ></image>
103
106
  <image v-if="info.codes[0].logo&&info.codes[0].show_type === 'qrcode'" class="logo-icon" :src="info.codes[0].logo"></image>
104
107
  </view>
105
- <view
106
- v-if="info.codes[0].can_read_password"
107
- class="jfb-base-success__body-cashier-password"
108
- @click="showPassword = true"
109
- :style="{borderRadius: jfbListRadius + 'rpx', color:btnTextColor, backgroundColor:btnBgColor, borderColor:btnBorderColor}"
110
- >{{ showPassword ? info.codes[0].can_read_code : "查看密码" }}</view>
108
+ <view v-if="info.codes[0].can_read_password" class="jfb-base-success__body-cashier-password" @click="showPassword = true">
109
+ {{ showPassword ? info.codes[0].can_read_code : "查看密码" }}
110
+ </view>
111
111
  <view v-else class="jfb-base-success__body-cashier-text">{{ info.codes[0].can_read_code }}</view>
112
112
  <view v-if="info.codes[0].refund_tip_text" style="color:red;font-size:24rpx;text-align:center;margin-top:10rpx">{{info.codes[0].refund_tip_text}}</view>
113
113
  <view
@@ -139,7 +139,6 @@
139
139
  <view
140
140
  class="jfb-base-success__body-card jfb-base-success__body-num"
141
141
  v-if="item.show_type === 'text' && !item.password"
142
- :style="{padding:jfbListSpacing + 'rpx'}"
143
142
  >
144
143
  <view class="jfb-base-success__body-num-info">
145
144
  <view>{{ item.can_read_code }}</view>
@@ -147,7 +146,6 @@
147
146
  <view
148
147
  class="jfb-base-success__body-num-info-copy"
149
148
  @click="copy(item.code)"
150
- :style="{borderRadius: jfbListRadius + 'rpx', color:btnTextColor, backgroundColor:btnBgColor, borderColor:btnBorderColor}"
151
149
  >复制</view>
152
150
  <view
153
151
  v-if="item['code_end_time']"
@@ -162,7 +160,6 @@
162
160
  <view
163
161
  class="jfb-base-success__body-card"
164
162
  v-if="item.show_type === 'text' && item.password"
165
- :style="{padding:jfbListSpacing + 'rpx'}"
166
163
  >
167
164
  <view
168
165
  class="jfb-base-success__body-num"
@@ -177,7 +174,6 @@
177
174
  <view
178
175
  class="jfb-base-success__body-num-info-copy"
179
176
  @click="copy(item.code)"
180
- :style="{borderRadius: jfbListRadius + 'rpx', color:btnTextColor, backgroundColor:btnBgColor, borderColor:btnBorderColor}"
181
177
  >复制</view>
182
178
  </view>
183
179
  <view
@@ -190,7 +186,6 @@
190
186
  <view
191
187
  class="jfb-base-success__body-num-info-copy"
192
188
  @click="copy(item.password)"
193
- :style="{borderRadius: jfbListRadius + 'rpx', color:btnTextColor, backgroundColor:btnBgColor, borderColor:btnBorderColor}"
194
189
  >复制</view>
195
190
  <view
196
191
  v-if="item['code_end_time']"
@@ -208,7 +203,6 @@
208
203
  <view
209
204
  class="jfb-base-success__body-card"
210
205
  v-if="item.show_type === 'qrcode'"
211
- :style="{padding:jfbListSpacing + 'rpx'}"
212
206
  >
213
207
  <view class="jfb-base-success__body-num">
214
208
  <!-- <view class="jfb-base-success__body-num-info">
@@ -216,8 +210,8 @@
216
210
  </view> -->
217
211
  <view
218
212
  class="jfb-base-success__body-num-info-copy"
213
+ style="margin-top: 0;"
219
214
  @click="handleShowCode(item)"
220
- :style="{marginTop:0, borderRadius: jfbListRadius + 'rpx', color:btnTextColor, backgroundColor:btnBgColor, borderColor:btnBorderColor}"
221
215
  >查看二维码和密码</view>
222
216
  <view
223
217
  v-if="item['code_end_time']"
@@ -235,7 +229,6 @@
235
229
  <view
236
230
  class="jfb-base-success__body-card"
237
231
  v-if="item.show_type === 'barcode'"
238
- :style="{padding:jfbListSpacing + 'rpx'}"
239
232
  >
240
233
  <view class="jfb-base-success__body-num">
241
234
  <view class="jfb-base-success__body-num-info">
@@ -244,7 +237,6 @@
244
237
  <view
245
238
  class="jfb-base-success__body-num-info-copy"
246
239
  @click="handleShowCode(item)"
247
- :style="{borderRadius: jfbListRadius + 'rpx', color:btnTextColor, backgroundColor:btnBgColor, borderColor:btnBorderColor}"
248
240
  >查看一维码</view>
249
241
  <view
250
242
  v-if="item['code_end_time']"
@@ -262,7 +254,6 @@
262
254
  <view
263
255
  class="jfb-base-success__body-card jfb-base-success__body-num"
264
256
  v-if="item.show_type === 'url'"
265
- :style="{padding:jfbListSpacing + 'rpx'}"
266
257
  >
267
258
  <view class="code-url">
268
259
  <view class="jfb-base-success__body-num-info">
@@ -271,13 +262,11 @@
271
262
  <view
272
263
  class="jfb-base-success__body-num-info-copy"
273
264
  @click="handleToLink(item.code)"
274
- :style="{borderRadius: jfbListRadius + 'rpx', color:btnTextColor, backgroundColor:btnBgColor, borderColor:btnBorderColor}"
275
265
  >访问</view>
276
266
  </view>
277
267
  <view
278
268
  class="jfb-base-success__body-num-info-copy"
279
269
  @click="copy(item.code)"
280
- :style="{borderRadius: jfbListRadius + 'rpx', color:btnTextColor, backgroundColor:btnBgColor, borderColor:btnBorderColor}"
281
270
  >复制</view>
282
271
  <view
283
272
  v-if="item['code_end_time']"
@@ -308,13 +297,13 @@
308
297
  </view>
309
298
  <view
310
299
  class="jfb-base-success__body-detail"
311
- v-if="is_show_product === 'Y'"
300
+ v-if="is_show_product === 'Y' && info.productDetail"
312
301
  >
313
- <view class="jfb-base-success__body-detail-title" v-if="info.productDetail">
302
+ <view class="jfb-base-success__body-detail-title">
314
303
  <view :style="{ background: mainColor }"></view>
315
304
  <view>商品详情</view>
316
305
  </view>
317
- <view class="jfb-base-success__body-detail-html x-content-info" v-if="info.productDetail">
306
+ <view class="jfb-base-success__body-detail-html">
318
307
  <xd-content-xss v-html="info.productDetail"></xd-content-xss>
319
308
  </view>
320
309
  </view>
@@ -373,7 +362,7 @@ let styleForm = new StyleForm(
373
362
  {
374
363
  border: null,
375
364
  shadow: null,
376
- spacing: 20,
365
+ spacing: 24,
377
366
  bgColor: "#FFFFFF",
378
367
  margin: {
379
368
  bottom: 20,
@@ -381,7 +370,7 @@ let styleForm = new StyleForm(
381
370
  right: 20,
382
371
  top: 20,
383
372
  },
384
- radius: 10,
373
+ radius: null,
385
374
  },
386
375
  getContainerPropsValue,
387
376
  "list"
@@ -413,20 +402,14 @@ export default {
413
402
  is_show_product: "",
414
403
  webViewPath: "/pages/webview/webview", //容器路径
415
404
  isPreview: false,
416
- boxBgColor:'',
417
- payBgColor:'',
418
- bgColor:'',
419
-
420
- //按钮
421
- btnTextColor:'',
422
- btnBgColor:'',
423
- btnBorderColor:'',
424
-
425
405
  info: null,
426
406
  timeer: null,
427
407
  noUserLoding:null,
428
408
  showPassword: false,
409
+
410
+ //请求参数
429
411
  params: null,
412
+
430
413
  showCode: false,
431
414
  codeSrc: "",
432
415
  logo: "",
@@ -446,7 +429,7 @@ export default {
446
429
  },
447
430
  created() {
448
431
  this.isPreview = this.$configProject.isPreview;
449
- this.noUserLoding = !this.$root['isLogined']; //判断是否需要已登录
432
+ this.noUserLoding = !this.$root['isLogined']; //判断是否需要已登陆
450
433
  if(this.isPreview) this.noUserLoding = false;
451
434
  this.init(this.container);
452
435
  },
@@ -461,7 +444,7 @@ export default {
461
444
  this.params = options;
462
445
  this.order_id = options.order_id;
463
446
 
464
- //已登录
447
+ //已登陆
465
448
  if(this.noUserLoding === false || this.isPreview ) {
466
449
  setTimeout(()=>{
467
450
  this.getStatus();
@@ -517,11 +500,6 @@ export default {
517
500
  init(value) {
518
501
  this.order_id = this.$xdUniHelper.parseURL()["params"].order_id;
519
502
  this.bgColor = this.$colorChange(this.mainColor).alpha(0.1).toString();
520
- this.boxBgColor = getContainerPropsValue(value, "content.boxBgColor", '#f8f8f8');
521
- this.btnBgColor = getContainerPropsValue(value, "content.btnBgColor", '#e5e5e5');
522
- this.btnTextColor = getContainerPropsValue(value, "content.btnTextColor", '#666');
523
- this.btnBorderColor = getContainerPropsValue(value, "content.btnBorderColor", 'rgba(0,0,0,0)');
524
- this.payBgColor = getContainerPropsValue(value, "content.payBgColor", '#fff');
525
503
  this.custom_btn_path = getContainerPropsValue(
526
504
  value,
527
505
  "content.custom_btn_path",
@@ -600,7 +578,7 @@ export default {
600
578
  }
601
579
 
602
580
  //设置码状态
603
- //info.codes = [info.codes[0]]
581
+ //info.codes = [info.codes[3]]
604
582
  info.codes =
605
583
  info.codes &&
606
584
  info.codes.map((item) => {
@@ -636,8 +614,8 @@ export default {
636
614
  jfbRootExec("getMallProductDetail", {
637
615
  vm: this,
638
616
  data: {
639
- xnamespace: (info.product && info.product.business_code) || 'cake',
640
- product_id: (info.product && info.product.product_id) || 60004641,
617
+ xnamespace: "cake" || info.product.business_code,
618
+ product_id: 60004641 || info.product.product_id,
641
619
  },
642
620
  })
643
621
  .then((res) => {
@@ -892,14 +870,14 @@ export default {
892
870
 
893
871
  &-detail {
894
872
  &-html {
895
- padding: unit(20, rpx) 0;
873
+ padding: unit(20, rpx) unit(30, rpx);
896
874
  color: #999;
897
875
  }
898
876
  &-title {
899
877
  display: flex;
900
878
  align-items: center;
901
879
  border-bottom: unit(2, rpx) solid #f6f6f6;
902
- padding: unit(30, rpx) unit(10, rpx);
880
+ padding: unit(30, rpx) unit(30, rpx);
903
881
 
904
882
  & > view:first-child {
905
883
  width: unit(6, rpx);
@@ -13,8 +13,9 @@
13
13
 
14
14
  //start
15
15
  .jfb-base-success {
16
+ border: 1px dashed rgba(0, 0, 0, 0);
16
17
  box-sizing: border-box;
17
- min-height: unit(100, rpx);
18
+ min-height: unit(50, rpx);
18
19
 
19
20
  &__body{
20
21
  position: relative;
@@ -22,21 +23,21 @@
22
23
  z-index: 2
23
24
  }
24
25
 
25
- &.editx,&:hover {
26
+ &.editx {
26
27
  position: relative;
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
- }
28
+ border: 1px dashed blue;
29
+ box-sizing: border-box;
30
+ z-index: 3
31
+
32
+ }
39
33
 
34
+ &:hover {
35
+ border: 1px dashed blue;
36
+ }
37
+
38
+ &.noBorder {
39
+ border-color: rgba(0,0,0,0);
40
+ border-width: 0;
40
41
  }
41
42
 
42
43
 
@@ -71,9 +72,9 @@
71
72
 
72
73
  /**notPreview**/
73
74
  .jfb-base-success {
74
- //&:before {
75
- //content: " ";
76
- //display: table;
77
- //}
75
+ &:before {
76
+ content: " ";
77
+ display: table;
78
+ }
78
79
  }
79
80
  /**endNotPreview**/
@@ -55,14 +55,6 @@ module.exports = {
55
55
  "password": "",
56
56
  "can_read_password": "",
57
57
  "show_type": "url"
58
- },
59
- {
60
- "code": "https://sandbox-website-05.jufubao.cn/apply/system/card/detail?card_number=101001000007228",
61
- "can_read_code": "https://sandbox-website-05.jufubao.cn/apply/system/card/detail?card_number=101001000007228",
62
- "code_url": "//sandbox-img.jufubao.cn/uploads/20230531/aed3f3d2d6932c6bc31b065c7ede7fb7.png",
63
- "password": "10004",
64
- "can_read_password": "密码:10004",
65
- "show_type": "qrcode-pass"
66
58
  }
67
59
  ],
68
60
  "custom_content":{
@@ -18,13 +18,13 @@
18
18
  <!-- #endif -->
19
19
  <view class="jfb-base-test-api__body">
20
20
  <view>
21
- <xd-button @click="getUserStatus" type="primary">获取用户登录状态</xd-button>
21
+ <xd-button @click="getUserStatus" type="primary">获取用户登陆状态</xd-button>
22
22
  </view>
23
23
  <view>
24
- <xd-button @click="getCardStatus" type="primary">获取用户登录卡状态</xd-button>
24
+ <xd-button @click="getCardStatus" type="primary">获取用户登陆卡状态</xd-button>
25
25
  </view>
26
26
  <view>
27
- <xd-button @click="handleGetByIdCardDetail('101001000005193')" type="primary">获取登录('101001000005193')</xd-button>
27
+ <xd-button @click="handleGetByIdCardDetail('101001000005193')" type="primary">获取登陆('101001000005193')</xd-button>
28
28
  </view>
29
29
  </view>
30
30
  </view>
@@ -74,15 +74,15 @@
74
74
  .catch(error => {
75
75
  console.error(error)
76
76
  })
77
-
77
+
78
78
  // #endif
79
-
79
+
80
80
  },
81
81
  getUserStatus(){
82
82
  jfbRootFnExec(this, 'checkLoginAndCardLogin')(
83
83
  true,
84
84
  'login',
85
- false,//是否自动跳转到用户登录页
85
+ false,//是否自动跳转到用户登陆页
86
86
  )
87
87
  .then(status=>{
88
88
  console.log(status)
@@ -93,9 +93,9 @@
93
93
  },
94
94
  getCardStatus() {
95
95
  jfbRootFnExec(this, 'checkLoginAndCardLogin')(
96
- true || this.pageAttr.permission['can_card'], //是否免登录
96
+ true || this.pageAttr.permission['can_card'], //是否免登陆
97
97
  'card', //检查卡类型
98
- false,//是否自动跳转到卡登录页
98
+ false,//是否自动跳转到卡登陆页
99
99
  )
100
100
  .then(status => {
101
101
  this.$xdHideLoading();
@@ -110,7 +110,7 @@
110
110
  WxMiniProgram.reLaunch({url: '/pages/in/in?a=1&b=3'});
111
111
  console.error('11111');
112
112
  })
113
-
113
+
114
114
  // jfbRootExec('getByIdCardDetail', {
115
115
  // vm: this,
116
116
  // data: {