jufubao-base 1.0.134-beta9 → 1.0.135

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
@@ -8,31 +8,38 @@ export default {
8
8
  content: (data) => {
9
9
  return [
10
10
  {
11
- label: '票券框自定义文案:',
11
+ label: '券号框自定义文案:',
12
12
  ele: 'el-input',
13
13
  type: 'text',
14
14
  valueKey: 'card_num_placeholder',
15
- groupKey:'content',
16
15
  value: data.card_num_placeholder||'',
17
- placeholder: '请输入票券框自定义文案',
16
+ placeholder: '请输入券号框自定义文案',
18
17
  className: 'input80'
19
18
  },
20
19
  {
21
- label: '票券充值点数自定义文案:',
20
+ label: '充值点数自定义文案:',
22
21
  ele: 'el-input',
23
22
  type: 'text',
24
23
  valueKey: 'point_placeholder',
25
- groupKey:'content',
26
24
  value: data.point_placeholder || '',
27
- placeholder: '请输入票券充值点数自定义文案',
25
+ placeholder: '请输入充值点数自定义文案',
28
26
  className: 'input80'
29
27
  },
30
-
28
+ {
29
+ label: '支付路径:', //label
30
+ ele: 'xd-select-pages-path', //package 名称
31
+ valueKey: 'payPath', //form[valueKey]
32
+ placeholder: '请选择支付路径',
33
+ value: data['payPath'] || {},
34
+ setting: {
35
+ router: XdBus.getParentApi('getPagesTree'),
36
+ },
37
+ inline: false,
38
+ },
31
39
  {
32
40
  label: '注意事项:',
33
41
  ele: 'xd-site-news',
34
42
  valueKey: 'notice',
35
- groupKey:'content',
36
43
  value: data.notice || null,
37
44
  className: 'input70',
38
45
  setting: {
@@ -53,10 +60,7 @@ export default {
53
60
  }
54
61
 
55
62
  //获取返回参数(场景类型名称为必填)
56
- //let loading = XdBus.getParentApi('loading')({});
57
-
58
- //获取返回参数(场景类型名称为必填)
59
- let loading = { close(){}}
63
+ let loading = XdBus.getParentApi('loading')({});
60
64
 
61
65
  //获取显示内容
62
66
  if (action === 'screen') {
@@ -100,7 +104,6 @@ export default {
100
104
 
101
105
  //使用内容分类
102
106
  if (action === 'cmsPublishEditxContent') {
103
- loading = XdBus.getParentApi('loading')({});
104
107
  XdBus.getParentApi('cmsPublishEditxContent')(data.params)
105
108
  .then(res => {
106
109
  console.log('cmsPublishEditxContent', res)
@@ -115,7 +118,6 @@ export default {
115
118
 
116
119
  //位置列表
117
120
  if (action === 'getListPostion') {
118
- loading = XdBus.getParentApi('loading')({});
119
121
  XdBus.getParentApi('getListNewsPosition')(data.params)
120
122
  .then(res => {
121
123
  loading.close();
@@ -129,7 +131,6 @@ export default {
129
131
 
130
132
  //位置创建
131
133
  if (action === 'addPostion') {
132
- loading = XdBus.getParentApi('loading')({});
133
134
  XdBus.getParentApi('addNewsPosition')(data.params)
134
135
  .then(res => {
135
136
  loading.close();
@@ -144,7 +145,6 @@ export default {
144
145
 
145
146
  //位置编辑
146
147
  if (action === 'editPostion') {
147
- loading = XdBus.getParentApi('loading')({});
148
148
  XdBus.getParentApi('updateNewsPosition')(data.params)
149
149
  .then(res => {
150
150
  loading.close();
@@ -159,7 +159,6 @@ export default {
159
159
 
160
160
  //位置删除
161
161
  if (action === 'deleltePostion') {
162
- loading = XdBus.getParentApi('loading')({});
163
162
  XdBus.getParentApi('deleteNewsPosition')(data.params)
164
163
  .then(res => {
165
164
  loading.close();
@@ -174,7 +173,6 @@ export default {
174
173
 
175
174
  //获取广告位内容列表
176
175
  if (action === 'getListContent') {
177
- loading = XdBus.getParentApi('loading')({});
178
176
  XdBus.getParentApi('getListNewsContent')(data.params)
179
177
  .then(res => {
180
178
  loading.close();
@@ -188,7 +186,6 @@ export default {
188
186
 
189
187
  //广告内容创建
190
188
  if (action === 'addContent') {
191
- loading = XdBus.getParentApi('loading')({});
192
189
  XdBus.getParentApi('addNewsContent')(data.params)
193
190
  .then(res => {
194
191
  loading.close();
@@ -203,7 +200,6 @@ export default {
203
200
 
204
201
  //广告内容编辑
205
202
  if (action === 'editContent') {
206
- loading = XdBus.getParentApi('loading')({});
207
203
  XdBus.getParentApi('updateNewsContent')(data.params)
208
204
  .then(res => {
209
205
  loading.close();
@@ -218,7 +214,6 @@ export default {
218
214
 
219
215
  //广告内容删除
220
216
  if (action === 'deleteContent') {
221
- loading = XdBus.getParentApi('loading')({});
222
217
  XdBus.getParentApi('deleteNewsContent')(data.params)
223
218
  .then(res => {
224
219
  loading.close();
@@ -233,7 +228,6 @@ export default {
233
228
 
234
229
  //内容发布
235
230
  if (action === 'publish') {
236
- loading = XdBus.getParentApi('loading')({});
237
231
  console.log('publish', data.params)
238
232
  XdBus.getParentApi('cmsPublishContent')(data.params)
239
233
  .then(res => {
@@ -248,25 +242,19 @@ export default {
248
242
 
249
243
  //通知页面进行刷新
250
244
  if (action === 'update') {
251
- loading = XdBus.getParentApi('loading')({});
252
245
  XdBus.getParentApi('getXdBusUpdateView')('onUpdateView', {});
253
246
  loading.close()
254
247
  }
255
248
  },
256
- },
257
- {
258
- label: '票券支付路径:',
259
- ele: 'xd-select-pages-path',
260
- valueKey: 'payPath',
261
- groupKey:'advanced',
262
- placeholder: '请选择票券支付路径',
263
- value: data['payPath'] || {},
264
- setting: {
265
- router: XdBus.getParentApi('getPagesTree'),
266
- },
267
249
  inline: false,
250
+ notice: '',
251
+ rules: [
252
+ {required: true, message: '请配置温馨提示内容', trigger: 'change'},
253
+ ],
268
254
  },
269
255
  ].filter(i=>i)
270
256
  },
271
- advanced: [ ],
257
+ advanced: [
258
+
259
+ ],
272
260
  };
@@ -42,16 +42,10 @@
42
42
  >
43
43
  </view>
44
44
  </view>
45
- <view class="xd-notice-content" v-if="content">
46
- <view>注意事项:</view>
47
- <view v-html="content" class="prod_info"></view>
45
+ <view style="font-size: 30rpx; padding: 0rpx 40rpx 40rpx 40rpx">
46
+ <view style="color: #666666">注意事项:</view>
47
+ <view v-html="content"></view>
48
48
  </view>
49
- <view
50
- v-if="isPreview && statusContent === true && content === '' "
51
- class="xd-notice"
52
- :style="{ color: dangerColor,fontSize: 24 + 'rpx',backgroundColor:noticeBgc }"
53
- >注意事项未配置数据,因此改模块在正式环境将不显示</view>
54
- <view class="bottom_btn-mask"></view>
55
49
  </view>
56
50
  </view>
57
51
  </template>
@@ -64,7 +58,6 @@ import JfbBaseRechargeMixin from "./JfbBaseRechargeMixin";
64
58
  import { getContainerPropsValue } from "@/utils/xd.base";
65
59
  import componentsMixins from "@/mixins/componentsMixins";
66
60
  import extsMixins from "@/mixins/extsMixins";
67
- import Color from "color";
68
61
  export default {
69
62
  name: "JfbBaseRecharge",
70
63
  components: {
@@ -75,19 +68,13 @@ export default {
75
68
  data() {
76
69
  return {
77
70
  card_num_placeholder: "",
78
- point_placeholder: "",
79
-
71
+ card_pwd_placeholder: "",
72
+ content: "",
80
73
  cardNumber: "",
81
74
  card_point: "",
82
75
  payPath: "",
83
76
  amount: "",
84
- timer:null,
85
-
86
- //提示文案
87
- isPreview: false,
88
- content: "",
89
- statusContent: false,
90
- noticeBgc:'',
77
+ timer:null
91
78
  };
92
79
  },
93
80
  watch: {
@@ -104,8 +91,6 @@ export default {
104
91
  },
105
92
  },
106
93
  created() {
107
- this.isPreview = this.$configProject.isPreview;
108
- this.noticeBgc = Color(this.dangerColor).alpha(0.1).toString();
109
94
  this.init(this.container);
110
95
  },
111
96
  methods: {
@@ -140,10 +125,8 @@ export default {
140
125
  },
141
126
  })
142
127
  .then((res) => {
143
- if(res && res.list && res.list.length > 0) {
144
- this.content = res.list[0].content;
145
- }
146
- this.statusContent = true;
128
+ this.content = res.list[0].content;
129
+ console.log(this.content, "this.content");
147
130
  })
148
131
  .catch((error) => {
149
132
  console.error(error);
@@ -233,35 +216,6 @@ export default {
233
216
  margin-bottom: unit(30, rpx);
234
217
  }
235
218
  }
236
-
237
- .xd-notice-content {
238
- padding: 0 40rpx 40rpx 40rpx;
239
- & > view:first-child {
240
- font-size: 32rpx;
241
- font-weight: 500;
242
- color: #333;
243
- margin-bottom: 20rpx;
244
- }
245
- & > view:last-child {
246
- line-height: 44rpx;
247
- font-size: 26rpx;
248
- color: #666;
249
- /deep/ img, /deep/ image{
250
- max-width: 100% !important;
251
- height: auto !important;
252
- margin: 22rpx 0;
253
- }
254
-
255
- /deep/ *{
256
- max-width: 100% !important;
257
- }
258
- }
259
- }
260
- .xd-notice {
261
- margin-top: unit(20, rpx);
262
- padding: unit(40, rpx);
263
- border-radius: unit(15, rpx)
264
- }
265
219
  }
266
220
  }
267
221
  </style>
@@ -13,8 +13,9 @@
13
13
 
14
14
  //start
15
15
  .jfb-base-recharge {
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-recharge {
74
- //&:before {
75
- //content: " ";
76
- //display: table;
77
- //}
75
+ &:before {
76
+ content: " ";
77
+ display: table;
78
+ }
78
79
  }
79
80
  /**endNotPreview**/
@@ -9,24 +9,23 @@ export default {
9
9
  content: (data) => {
10
10
  return [
11
11
  {
12
- label: '外填充:',
12
+ label: '外边距:',
13
13
  ele: 'xd-margin-padding',
14
14
  valueKey: 'margin',
15
- groupKey:'style',
16
15
  value: data['margin'] || null,
16
+ disabled: false,
17
17
  setting: {
18
- type: 'padding',
18
+ type: 'margin',
19
19
  },
20
- placeholder: '请设置外填充',
20
+ placeholder: '请设置外边距',
21
21
  inline: false,
22
- notice: '设置填充距,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
22
+ notice: '设置外边距,<span style="color: red">单位:像素</span>。默认值:0像素',
23
23
  },
24
24
  {
25
25
  label: '背景颜色:',
26
26
  ele: 'xd-color',
27
27
  valueKey: 'backgroundColor',
28
28
  value: data['backgroundColor'] || null,
29
- groupKey:'style',
30
29
  placeholder: '请选择背景颜色',
31
30
  classNmae: 'input80',
32
31
  },
@@ -36,23 +35,18 @@ export default {
36
35
  type: 'number',
37
36
  valueKey: 'padding',
38
37
  value: data.padding || '',
39
- groupKey:'style',
40
38
  placeholder: '请输入间距',
41
39
  className: 'input80',
42
- inline: false,
43
- notice: '间距设置,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
44
40
  },
45
41
  {
46
42
  ele: 'title',
47
43
  label: '投影设置',
48
- size: 'small',
49
- groupKey:'style',
44
+ size: 'small', //default/mini/small
50
45
  },
51
46
  {
52
47
  label: '是否有投影:',
53
48
  ele: 'xd-radio',
54
49
  valueKey: 'is_shadow',
55
- groupKey:'style',
56
50
  value: data['is_shadow'] || 'N',
57
51
  placeholder: '请选择是否投影',
58
52
  multiple: false,
@@ -66,7 +60,6 @@ export default {
66
60
  label: '投影颜色:',
67
61
  ele: 'xd-color',
68
62
  valueKey: 'is_shadow_bg',
69
- groupKey:'style',
70
63
  value: data['is_shadow_bg'] || '',
71
64
  placeholder: '请选择投影颜色',
72
65
  classNmae: 'input80',
@@ -75,7 +68,6 @@ export default {
75
68
  label: '投影范围:',
76
69
  ele: 'xd-site-select-list',
77
70
  valueKey: 'is_shadow_w',
78
- groupKey:'style',
79
71
  value: data['is_shadow_w'] || '10',
80
72
  placeholder: '请选择投影范围',
81
73
  multiple: false,
@@ -96,15 +88,13 @@ export default {
96
88
  {
97
89
  ele: 'title',
98
90
  label: '边框设置',
99
- size: 'small',
100
- groupKey:'style',
91
+ size: 'small', //default/mini/small
101
92
  },
102
93
  {
103
94
  label: '是否有边框:',
104
95
  ele: 'xd-radio',
105
96
  valueKey: 'is_border',
106
97
  value: data['is_border'] || 'N',
107
- groupKey:'style',
108
98
  placeholder: '请选择是否有边框',
109
99
  multiple: false,
110
100
  className: 'input80',
@@ -117,7 +107,6 @@ export default {
117
107
  label: '边框颜色:',
118
108
  ele: 'xd-color',
119
109
  valueKey: 'is_border_c',
120
- groupKey:'style',
121
110
  value: data['is_border_c'] || '',
122
111
  placeholder: '请选择边框颜色',
123
112
  classNmae: 'input80',
@@ -126,7 +115,6 @@ export default {
126
115
  label: '边框大小:',
127
116
  ele: 'el-input',
128
117
  type: 'number',
129
- groupKey:'style',
130
118
  valueKey: 'is_border_w',
131
119
  value: data['is_border_w'] || '',
132
120
  placeholder: '请输入边框颜色',
@@ -136,7 +124,6 @@ export default {
136
124
  label: '内容圆角设置:',
137
125
  ele: 'xd-site-select-list',
138
126
  valueKey: 'radius',
139
- groupKey:'style',
140
127
  value: data['radius'] || '',
141
128
  placeholder: '请选择内容圆角设置',
142
129
  multiple: false,
@@ -152,24 +139,27 @@ export default {
152
139
  },
153
140
  },
154
141
  {
155
- label: '订单详情地址:',
156
- ele: 'xd-select-pages-path',
157
- valueKey: 'detailPath',
158
- groupKey:'advanced',
159
- placeholder: '请选择订单详情地址',
160
- value: data.detailPath || null,
142
+ ele: 'title',
143
+ label: '其他',
144
+ size: 'small', //default/mini/small
145
+ },
146
+ {
147
+ label: '订单详情路径:', //label
148
+ ele: 'xd-select-pages-path', //package 名称
149
+ valueKey: 'detailPath', //form[valueKey]
150
+ placeholder: '请选择订单详情路径',
151
+ value: data.detailPath || {},
161
152
  setting: {
162
153
  router: XdBus.getParentApi('getPagesTree'),
163
154
  },
164
155
  inline: false,
165
156
  },
166
157
  {
167
- label: '去支付地址:',
168
- ele: 'xd-select-pages-path',
169
- valueKey: 'payPath',
170
- groupKey:'advanced',
171
- placeholder: '请选择去支付地址',
172
- value: data.payPath || null,
158
+ label: '支付路径:', //label
159
+ ele: 'xd-select-pages-path', //package 名称
160
+ valueKey: 'payPath', //form[valueKey]
161
+ placeholder: '请选择支付路径',
162
+ value: data.payPath || {},
173
163
  setting: {
174
164
  router: XdBus.getParentApi('getPagesTree'),
175
165
  },
@@ -92,7 +92,7 @@
92
92
  </view>
93
93
  </view>
94
94
  </template>
95
-
95
+
96
96
  </view>
97
97
  </view>
98
98
  </template>
@@ -156,11 +156,9 @@ export default {
156
156
  },
157
157
  computed: {
158
158
  outMargin() {
159
- let str = `${this.checkValue(this.margin.top, 20)}rpx`;
160
- str = `${str} ${this.checkValue(this.margin.right, 20)}rpx`;
161
- str = `${str} ${this.checkValue(this.margin.bottom, 20)}rpx`;
162
- str = `${str} ${this.checkValue(this.margin.left, 20)}rpx`;
163
- return str
159
+ return `${this.margin.top || 20}rpx ${this.margin.right || 20}rpx ${
160
+ this.margin.bottom || 20
161
+ }rpx ${this.margin.left || 20}rpx`;
164
162
  },
165
163
  shadowBox() {
166
164
  if (this.is_shadow === "Y")
@@ -282,18 +280,18 @@ export default {
282
280
  url: `${this.detailPath}?id=${item.order_id}`,
283
281
  });
284
282
  },
285
-
283
+
286
284
  onJfbReachBottom(options) {
287
285
  if (this.hasNext) {
288
286
  this.page_token = this.next_page_token;
289
287
  this.getList();
290
288
  }
291
289
  },
292
-
290
+
293
291
  onJfbBack(options) {
294
292
  this.$xdUniHelper.navigateBack()
295
293
  },
296
-
294
+
297
295
  },
298
296
  };
299
297
  </script>
@@ -306,9 +304,6 @@ export default {
306
304
  color: #333;
307
305
  &-order {
308
306
  padding: unit(32, rpx);
309
- &:last-child {
310
- margin-bottom: 0!important;
311
- }
312
307
 
313
308
  &-header {
314
309
  font-size: unit(28, rpx);
@@ -13,8 +13,9 @@
13
13
 
14
14
  //start
15
15
  .jfb-base-recharge-order {
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-recharge-order {
74
- //&:before {
75
- //content: " ";
76
- //display: table;
77
- //}
75
+ &:before {
76
+ content: " ";
77
+ display: table;
78
+ }
78
79
  }
79
80
  /**endNotPreview**/
@@ -13,8 +13,9 @@
13
13
 
14
14
  //start
15
15
  .jfb-base-recharge-order-detail {
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-recharge-order-detail {
74
- //&:before {
75
- //content: " ";
76
- //display: table;
77
- //}
75
+ &:before {
76
+ content: " ";
77
+ display: table;
78
+ }
78
79
  }
79
80
  /**endNotPreview**/
@@ -8,23 +8,21 @@ export default {
8
8
  content: (data) => {
9
9
  return [
10
10
  {
11
- label: '充值成功去订单详情地址:',
12
- ele: 'xd-select-pages-path',
13
- valueKey: 'detailPath',
14
- groupKey:'advanced',
11
+ label: '订单详情路径:', //label
12
+ ele: 'xd-select-pages-path', //package 名称
13
+ valueKey: 'detailPath', //form[valueKey]
15
14
  placeholder: '请选择订单详情路径',
16
- value: data.detailPath || null,
15
+ value: data.detailPath || {},
17
16
  setting: {
18
17
  router: XdBus.getParentApi('getPagesTree'),
19
18
  },
20
19
  inline: false,
21
20
  },
22
21
  {
23
- label: '重新支付地址:',
24
- ele: 'xd-select-pages-path',
25
- valueKey: 'payPath',
26
- groupKey:'advanced',
27
- placeholder: '请选择重新支付地址',
22
+ label: '支付路径:', //label
23
+ ele: 'xd-select-pages-path', //package 名称
24
+ valueKey: 'payPath', //form[valueKey]
25
+ placeholder: '请选择支付路径',
28
26
  value: data.payPath || {},
29
27
  setting: {
30
28
  router: XdBus.getParentApi('getPagesTree'),