jufubao-base 1.0.129 → 1.0.130-beta3

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 (196) hide show
  1. package/package.json +4 -3
  2. package/src/components/JfbBaseAddress/Attr.js +11 -5
  3. package/src/components/JfbBaseAddress/JfbBaseAddress.vue +3 -3
  4. package/src/components/JfbBaseAddress/JfbBaseAddressLess.less +18 -19
  5. package/src/components/JfbBaseAfterOrderDetail/Attr.js +19 -7
  6. package/src/components/JfbBaseAfterOrderDetail/JfbBaseAfterOrderDetail.vue +6 -4
  7. package/src/components/JfbBaseAfterOrderDetail/JfbBaseAfterOrderDetailLess.less +18 -19
  8. package/src/components/JfbBaseAfterOrderList/Attr.js +25 -16
  9. package/src/components/JfbBaseAfterOrderList/JfbBaseAfterOrderList.vue +6 -9
  10. package/src/components/JfbBaseAfterOrderList/JfbBaseAfterOrderListLess.less +18 -19
  11. package/src/components/JfbBaseBack/JfbBaseBackLess.less +18 -19
  12. package/src/components/JfbBaseBackground/Attr.js +9 -8
  13. package/src/components/JfbBaseBackground/JfbBaseBackground.vue +0 -3
  14. package/src/components/JfbBaseBackground/JfbBaseBackgroundLess.less +18 -19
  15. package/src/components/JfbBaseBlock/Attr.js +12 -2
  16. package/src/components/JfbBaseBlock/JfbBaseBlock.vue +1 -8
  17. package/src/components/JfbBaseBlock/JfbBaseBlockLess.less +18 -19
  18. package/src/components/JfbBaseBottomNotice/JfbBaseBottomNoticeLess.less +18 -19
  19. package/src/components/JfbBaseCard/Attr.js +76 -34
  20. package/src/components/JfbBaseCard/JfbBaseCardLess.less +18 -19
  21. package/src/components/JfbBaseCardBind/JfbBaseCardBindLess.less +18 -19
  22. package/src/components/JfbBaseCardBindV2/Attr.js +5 -4
  23. package/src/components/JfbBaseCardBindV2/JfbBaseCardBindV2Less.less +18 -19
  24. package/src/components/JfbBaseCardDetail/Attr.js +4 -3
  25. package/src/components/JfbBaseCardDetail/JfbBaseCardDetailLess.less +18 -19
  26. package/src/components/JfbBaseCardDetailEntry/Attr.js +10 -8
  27. package/src/components/JfbBaseCardDetailEntry/JfbBaseCardDetailEntryLess.less +18 -19
  28. package/src/components/JfbBaseCardDisabled/Attr.js +1 -3
  29. package/src/components/JfbBaseCardDisabled/JfbBaseCardDisabledLess.less +18 -19
  30. package/src/components/JfbBaseCardDisabledEntry/JfbBaseCardDisabledEntryLess.less +18 -19
  31. package/src/components/JfbBaseCardEntry/Attr.js +86 -67
  32. package/src/components/JfbBaseCardEntry/JfbBaseCardEntry.vue +3 -2
  33. package/src/components/JfbBaseCardEntry/JfbBaseCardEntryLess.less +18 -19
  34. package/src/components/JfbBaseCardInfo/Attr.js +22 -16
  35. package/src/components/JfbBaseCardInfo/JfbBaseCardInfoLess.less +18 -19
  36. package/src/components/JfbBaseCardInfoEntry/Attr.js +16 -11
  37. package/src/components/JfbBaseCardInfoEntry/JfbBaseCardInfoEntryLess.less +18 -19
  38. package/src/components/JfbBaseCardMerge/Attr.js +21 -8
  39. package/src/components/JfbBaseCardMerge/JfbBaseCardMerge.vue +15 -30
  40. package/src/components/JfbBaseCardMerge/JfbBaseCardMergeLess.less +18 -19
  41. package/src/components/JfbBaseCardMergeEntry/Attr.js +20 -6
  42. package/src/components/JfbBaseCardMergeEntry/JfbBaseCardMergeEntry.vue +28 -25
  43. package/src/components/JfbBaseCardMergeEntry/JfbBaseCardMergeEntryLess.less +18 -19
  44. package/src/components/JfbBaseCardShift/Attr.js +18 -4
  45. package/src/components/JfbBaseCardShift/JfbBaseCardShift.vue +26 -11
  46. package/src/components/JfbBaseCardShift/JfbBaseCardShiftLess.less +18 -19
  47. package/src/components/JfbBaseCardShift/Mock.js +21 -0
  48. package/src/components/JfbBaseCardShiftEntry/Attr.js +34 -26
  49. package/src/components/JfbBaseCardShiftEntry/JfbBaseCardShiftEntry.vue +294 -257
  50. package/src/components/JfbBaseCardShiftEntry/JfbBaseCardShiftEntryLess.less +18 -19
  51. package/src/components/JfbBaseCardShiftEntry/Mock.js +2 -1
  52. package/src/components/JfbBaseCardSweepInfo/Attr.js +5 -3
  53. package/src/components/JfbBaseCardSweepInfo/JfbBaseCardSweepInfoLess.less +18 -19
  54. package/src/components/JfbBaseCardV2/Attr.js +19 -15
  55. package/src/components/JfbBaseCardV2/JfbBaseCardV2.vue +3 -5
  56. package/src/components/JfbBaseCardV2/JfbBaseCardV2Less.less +18 -19
  57. package/src/components/JfbBaseCardV3/Attr.js +16 -12
  58. package/src/components/JfbBaseCardV3/JfbBaseCardV3.vue +1 -1
  59. package/src/components/JfbBaseCardV3/JfbBaseCardV3Less.less +18 -19
  60. package/src/components/JfbBaseCity/Attr.js +2 -4
  61. package/src/components/JfbBaseCity/JfbBaseCityLess.less +18 -19
  62. package/src/components/{JfbBaseWalletDetail → JfbBaseClear}/Attr.js +1 -0
  63. package/src/components/JfbBaseClear/JfbBaseClearLess.less +18 -19
  64. package/src/components/JfbBaseClear/JfbBaseClearMixin.js +12 -0
  65. package/src/components/JfbBaseConDialog/Api.js +1 -1
  66. package/src/components/JfbBaseConDialog/Attr.js +30 -20
  67. package/src/components/JfbBaseConDialog/JfbBaseConDialog.vue +45 -26
  68. package/src/components/JfbBaseConDialog/JfbBaseConDialogLess.less +18 -19
  69. package/src/components/JfbBaseConDialog/Mock.js +20 -1
  70. package/src/components/JfbBaseConDialog/XdCouCardBind.vue +15 -9
  71. package/src/components/JfbBaseConList/Attr.js +149 -224
  72. package/src/components/JfbBaseConList/JfbBaseConList.vue +150 -133
  73. package/src/components/JfbBaseConList/JfbBaseConListLess.less +18 -19
  74. package/src/components/JfbBaseConPhone/JfbBaseConPhoneLess.less +18 -19
  75. package/src/components/JfbBaseEntry/Attr.js +33 -21
  76. package/src/components/JfbBaseEntry/JfbBaseEntry.vue +34 -23
  77. package/src/components/JfbBaseEntry/JfbBaseEntryLess.less +18 -19
  78. package/src/components/JfbBaseExpressDetail/JfbBaseExpressDetailLess.less +18 -19
  79. package/src/components/JfbBaseFastLink/Api.js +1 -54
  80. package/src/components/JfbBaseFastLink/Attr.js +168 -116
  81. package/src/components/JfbBaseFastLink/JfbBaseFastLink.vue +12 -16
  82. package/src/components/JfbBaseFastLink/JfbBaseFastLinkLess.less +18 -19
  83. package/src/components/JfbBaseFooter/Attr.js +28 -22
  84. package/src/components/JfbBaseFooter/JfbBaseFooter.vue +19 -15
  85. package/src/components/JfbBaseFooter/JfbBaseFooterLess.less +18 -19
  86. package/src/components/JfbBaseHeader/Attr.js +89 -91
  87. package/src/components/JfbBaseHeader/JfbBaseHeader.vue +28 -29
  88. package/src/components/JfbBaseHeader/JfbBaseHeaderLess.less +18 -19
  89. package/src/components/JfbBaseLogin/Attr.js +111 -88
  90. package/src/components/JfbBaseLogin/JfbBaseLogin.vue +0 -1
  91. package/src/components/JfbBaseLogin/JfbBaseLoginLess.less +18 -19
  92. package/src/components/JfbBaseLoginForgetPwd/Attr.js +52 -45
  93. package/src/components/JfbBaseLoginForgetPwd/JfbBaseLoginForgetPwd.vue +14 -14
  94. package/src/components/JfbBaseLoginForgetPwd/JfbBaseLoginForgetPwdLess.less +18 -19
  95. package/src/components/JfbBaseLoginSetPwd/Attr.js +6 -4
  96. package/src/components/JfbBaseLoginSetPwd/JfbBaseLoginSetPwdLess.less +18 -19
  97. package/src/components/JfbBaseMapOverlay/JfbBaseMapOverlayLess.less +18 -19
  98. package/src/components/JfbBaseMapSearch/Attr.js +0 -15
  99. package/src/components/JfbBaseMapSearch/JfbBaseMapSearch.vue +1 -25
  100. package/src/components/JfbBaseMapSearch/JfbBaseMapSearchLess.less +18 -19
  101. package/src/components/JfbBaseMergeUserCard/Attr.js +4 -3
  102. package/src/components/JfbBaseMergeUserCard/JfbBaseMergeUserCardLess.less +18 -19
  103. package/src/components/JfbBaseMultipleExpress/Attr.js +4 -3
  104. package/src/components/JfbBaseMultipleExpress/JfbBaseMultipleExpressLess.less +18 -19
  105. package/src/components/JfbBaseMy/JfbBaseMyLess.less +18 -19
  106. package/src/components/JfbBaseMySetting/Attr.js +1 -1
  107. package/src/components/JfbBaseMySetting/JfbBaseMySettingLess.less +18 -19
  108. package/src/components/JfbBaseNotice/Attr.js +97 -56
  109. package/src/components/JfbBaseNotice/JfbBaseNotice.vue +70 -52
  110. package/src/components/JfbBaseNotice/JfbBaseNoticeLess.less +18 -19
  111. package/src/components/JfbBaseNoticeBottom/JfbBaseNoticeBottomLess.less +18 -19
  112. package/src/components/JfbBaseNoticeTop/JfbBaseNoticeTopLess.less +18 -19
  113. package/src/components/JfbBaseOrderDetail/Attr.js +210 -193
  114. package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +25 -7
  115. package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetailLess.less +18 -19
  116. package/src/components/JfbBaseOrderList/Attr.js +55 -43
  117. package/src/components/JfbBaseOrderList/JfbBaseOrderList.vue +5 -3
  118. package/src/components/JfbBaseOrderList/JfbBaseOrderListLess.less +18 -19
  119. package/src/components/JfbBasePay/Attr.js +2 -13
  120. package/src/components/JfbBasePay/JfbBasePay.vue +7 -6
  121. package/src/components/JfbBasePay/JfbBasePayLess.less +18 -19
  122. package/src/components/JfbBasePay/Mock.js +2 -1
  123. package/src/components/JfbBasePhoneCollect/Attr.js +27 -2
  124. package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollect.vue +1 -1
  125. package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollectLess.less +18 -19
  126. package/src/components/JfbBasePhoneLogin/Attr.js +27 -2
  127. package/src/components/JfbBasePhoneLogin/JfbBasePhoneLoginLess.less +18 -19
  128. package/src/components/JfbBasePoster/Attr.js +103 -83
  129. package/src/components/JfbBasePoster/JfbBasePoster.vue +136 -142
  130. package/src/components/JfbBasePoster/JfbBasePosterLess.less +18 -19
  131. package/src/components/JfbBasePoster/MoreScreen.vue +2 -1
  132. package/src/components/JfbBasePosterBigSmall/Attr.js +93 -76
  133. package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmall.vue +5 -8
  134. package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmallLess.less +18 -19
  135. package/src/components/JfbBasePosterBigSmall/getWidthHeight.js +2 -2
  136. package/src/components/JfbBasePosterEntry/Attr.js +44 -33
  137. package/src/components/JfbBasePosterEntry/JfbBasePosterEntry.vue +46 -50
  138. package/src/components/JfbBasePosterEntry/JfbBasePosterEntryLess.less +18 -19
  139. package/src/components/JfbBasePosterType/Attr.js +82 -48
  140. package/src/components/JfbBasePosterType/FourScreen.vue +41 -35
  141. package/src/components/JfbBasePosterType/JfbBasePosterType.vue +51 -73
  142. package/src/components/JfbBasePosterType/JfbBasePosterTypeLess.less +18 -19
  143. package/src/components/JfbBaseRecharge/Attr.js +35 -23
  144. package/src/components/JfbBaseRecharge/JfbBaseRecharge.vue +54 -8
  145. package/src/components/JfbBaseRecharge/JfbBaseRechargeLess.less +18 -19
  146. package/src/components/JfbBaseRechargeOrder/Attr.js +32 -22
  147. package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrder.vue +12 -7
  148. package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrderLess.less +18 -19
  149. package/src/components/JfbBaseRechargeOrderDetail/JfbBaseRechargeOrderDetailLess.less +18 -19
  150. package/src/components/JfbBaseRechargeSuccess/Attr.js +10 -8
  151. package/src/components/JfbBaseRechargeSuccess/JfbBaseRechargeSuccessLess.less +18 -19
  152. package/src/components/JfbBaseSearch/Attr.js +6 -148
  153. package/src/components/JfbBaseSearch/JfbBaseSearch.vue +8 -37
  154. package/src/components/JfbBaseSearch/JfbBaseSearchLess.less +18 -19
  155. package/src/components/JfbBaseSetPwd/Attr.js +6 -147
  156. package/src/components/JfbBaseSetPwd/JfbBaseSetPwdLess.less +18 -19
  157. package/src/components/JfbBaseSuccess/Attr.js +78 -17
  158. package/src/components/JfbBaseSuccess/JfbBaseSuccess.vue +20 -10
  159. package/src/components/JfbBaseSuccess/JfbBaseSuccessLess.less +18 -19
  160. package/src/components/JfbBaseTestApi/JfbBaseTestApiLess.less +18 -19
  161. package/src/components/JfbBaseTestBody/JfbBaseTestBodyLess.less +18 -19
  162. package/src/components/JfbBaseTestBottom/JfbBaseTestBottomLess.less +18 -19
  163. package/src/components/JfbBaseTestNotice/JfbBaseTestNoticeLess.less +18 -19
  164. package/src/components/JfbBaseTestTop/JfbBaseTestTopLess.less +18 -19
  165. package/src/components/JfbBaseUserCenter/Attr.js +72 -53
  166. package/src/components/JfbBaseUserCenter/JfbBaseUserCenter.vue +40 -27
  167. package/src/components/JfbBaseUserCenter/JfbBaseUserCenterLess.less +18 -19
  168. package/src/components/JfbBaseUserInfo/Attr.js +54 -45
  169. package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +21 -21
  170. package/src/components/JfbBaseUserInfo/JfbBaseUserInfoLess.less +18 -19
  171. package/src/components/JfbBaseUserOrder/Attr.js +118 -92
  172. package/src/components/JfbBaseUserOrder/JfbBaseUserOrder.vue +21 -7
  173. package/src/components/JfbBaseUserOrder/JfbBaseUserOrderLess.less +18 -19
  174. package/src/components/JfbBaseVideo/Attr.js +72 -19
  175. package/src/components/JfbBaseVideo/JfbBaseVideo.vue +69 -28
  176. package/src/components/JfbBaseVideo/JfbBaseVideoLess.less +18 -19
  177. package/src/components/JfbBaseVideo/XdVideo.vue +6 -44
  178. package/src/components/JfbBaseWallet/JfbBaseWalletLess.less +18 -19
  179. package/src/components/JfbBaseWalletDetail/JfbBaseWalletDetailLess.less +18 -19
  180. package/src/components/JfbBaseWalletDetail/JfbBaseWalletDetailMixin.js +0 -12
  181. package/src/components/JfbBaseWalletEffective/JfbBaseWalletEffectiveLess.less +18 -19
  182. package/src/components/JfbBaseWalletIndex/JfbBaseWalletIndexLess.less +18 -19
  183. package/src/components/JfbBaseWalletItem/JfbBaseWalletItemLess.less +18 -19
  184. package/src/components/JfbBaseWebview/JfbBaseWebviewLess.less +18 -19
  185. package/src/components/JfbBaseWxAuthorize/Attr.js +31 -3
  186. package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorize.vue +32 -26
  187. package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorizeLess.less +18 -19
  188. package/src/components/JfbBaseWxAuthorizeError/Attr.js +21 -17
  189. package/src/components/JfbBaseWxAuthorizeError/JfbBaseWxAuthorizeErrorLess.less +18 -19
  190. package/src/components/JfbBaseLine/Attr.js +0 -59
  191. package/src/components/JfbBaseLine/JfbBaseLine.vue +0 -105
  192. package/src/components/JfbBaseLine/JfbBaseLineLess.less +0 -80
  193. package/src/components/JfbBaseLine/JfbBaseLineMixin.js +0 -30
  194. package/src/components/JfbBasePosterType/Screen.vue +0 -284
  195. package/src/components/JfbBaseSearch/Api.js +0 -60
  196. package/src/components/JfbBaseSearch/Mock.js +0 -5
@@ -1,6 +1,11 @@
1
1
  'use strict';
2
2
  import StyleForm from "@/utils/StyleForm";
3
- let styleForm = new StyleForm({border: null, shadow: null, spacing: '', bgColor:'', margin: null,radius:null}, null, 'list');
3
+ let styleForm = new StyleForm(
4
+ {border: null, shadow: null, spacing: '', margin: null,radius:null},
5
+ null,
6
+ 'list',
7
+ true
8
+ );
4
9
  export default {
5
10
  style: [],
6
11
  content: (data)=>{
@@ -10,24 +15,16 @@ export default {
10
15
  ele: 'el-input',
11
16
  type: 'text',
12
17
  valueKey: 'custom_btn_name',
18
+ groupKey:'content',
13
19
  value: data['custom_btn_name'] || '',
14
20
  placeholder: '请输入自定义按钮名称',
15
21
  className: 'input80'
16
22
  },
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
- },
27
23
  {
28
24
  label: '是否显示码:',
29
25
  ele: 'xd-radio',
30
26
  valueKey: 'is_show_code',
27
+ groupKey:'content',
31
28
  value:data['is_show_code']|| '',
32
29
  placeholder: '请选择',
33
30
  list: [
@@ -39,6 +36,7 @@ export default {
39
36
  label: '是否显示商品:',
40
37
  ele: 'xd-radio',
41
38
  valueKey: 'is_show_product',
39
+ groupKey:'content',
42
40
  value:data['is_show_product']|| '',
43
41
  placeholder: '请选择',
44
42
  list: [
@@ -47,8 +45,9 @@ export default {
47
45
  ],
48
46
  },
49
47
  {
50
- label: '自定义内容:',
48
+ label: '温馨提示配置:',
51
49
  ele: 'xd-site-news',
50
+ groupKey:'content',
52
51
  valueKey: 'notice',
53
52
  value: data['notice'] || null,
54
53
  className: 'input70',
@@ -70,11 +69,12 @@ export default {
70
69
  }
71
70
 
72
71
  //获取返回参数(场景类型名称为必填)
73
- let loading = XdBus.getParentApi('loading')({});
72
+ //获取返回参数(场景类型名称为必填)
73
+ let loading = { close(){}}
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,6 +114,7 @@ export default {
114
114
 
115
115
  //使用内容分类
116
116
  if (action === 'cmsPublishEditxContent') {
117
+ loading = XdBus.getParentApi('loading')({});
117
118
  XdBus.getParentApi('cmsPublishEditxContent')(data.params)
118
119
  .then(res => {
119
120
  console.log('cmsPublishEditxContent', res)
@@ -128,6 +129,7 @@ export default {
128
129
 
129
130
  //位置列表
130
131
  if (action === 'getListPostion') {
132
+ loading = XdBus.getParentApi('loading')({});
131
133
  XdBus.getParentApi('getListNewsPosition')(data.params)
132
134
  .then(res => {
133
135
  loading.close();
@@ -141,6 +143,7 @@ export default {
141
143
 
142
144
  //位置创建
143
145
  if (action === 'addPostion') {
146
+ loading = XdBus.getParentApi('loading')({});
144
147
  XdBus.getParentApi('addNewsPosition')(data.params)
145
148
  .then(res => {
146
149
  loading.close();
@@ -155,6 +158,7 @@ export default {
155
158
 
156
159
  //位置编辑
157
160
  if (action === 'editPostion') {
161
+ loading = XdBus.getParentApi('loading')({});
158
162
  XdBus.getParentApi('updateNewsPosition')(data.params)
159
163
  .then(res => {
160
164
  loading.close();
@@ -169,6 +173,7 @@ export default {
169
173
 
170
174
  //位置删除
171
175
  if (action === 'deleltePostion') {
176
+ loading = XdBus.getParentApi('loading')({});
172
177
  XdBus.getParentApi('deleteNewsPosition')(data.params)
173
178
  .then(res => {
174
179
  loading.close();
@@ -183,6 +188,7 @@ export default {
183
188
 
184
189
  //获取广告位内容列表
185
190
  if (action === 'getListContent') {
191
+ loading = XdBus.getParentApi('loading')({});
186
192
  XdBus.getParentApi('getListNewsContent')(data.params)
187
193
  .then(res => {
188
194
  loading.close();
@@ -196,6 +202,7 @@ export default {
196
202
 
197
203
  //广告内容创建
198
204
  if (action === 'addContent') {
205
+ loading = XdBus.getParentApi('loading')({});
199
206
  XdBus.getParentApi('addNewsContent')(data.params)
200
207
  .then(res => {
201
208
  loading.close();
@@ -210,6 +217,7 @@ export default {
210
217
 
211
218
  //广告内容编辑
212
219
  if (action === 'editContent') {
220
+ loading = XdBus.getParentApi('loading')({});
213
221
  XdBus.getParentApi('updateNewsContent')(data.params)
214
222
  .then(res => {
215
223
  loading.close();
@@ -224,6 +232,7 @@ export default {
224
232
 
225
233
  //广告内容删除
226
234
  if (action === 'deleteContent') {
235
+ loading = XdBus.getParentApi('loading')({});
227
236
  XdBus.getParentApi('deleteNewsContent')(data.params)
228
237
  .then(res => {
229
238
  loading.close();
@@ -238,6 +247,7 @@ export default {
238
247
 
239
248
  //内容发布
240
249
  if (action === 'publish') {
250
+ loading = XdBus.getParentApi('loading')({});
241
251
  console.log('publish', data.params)
242
252
  XdBus.getParentApi('cmsPublishContent')(data.params)
243
253
  .then(res => {
@@ -252,14 +262,65 @@ export default {
252
262
 
253
263
  //通知页面进行刷新
254
264
  if (action === 'update') {
265
+ loading = XdBus.getParentApi('loading')({});
255
266
  XdBus.getParentApi('getXdBusUpdateView')('onUpdateView', {});
256
267
  loading.close()
257
268
  }
258
269
  },
259
270
  inline: false,
260
- notice: '',
271
+ notice: '温馨提示内容配置选用后(组件预览将不做实时生效处理),将根据不同业务线展示对应提示内容。',
272
+ },
273
+ {
274
+ label: '背景颜色:',
275
+ ele: 'xd-color',
276
+ valueKey: 'listBgColor',
277
+ groupKey:'style',
278
+ value: data.listBgColor || '',
279
+ placeholder: '请选择背景颜色',
280
+ classNmae: 'input80',
281
+ },
282
+ ...styleForm.getForm(data, '二维码样式配置'),
283
+ {
284
+ ele: 'title',
285
+ label: '按钮样式设置',
286
+ size: 'small',
287
+ groupKey:'style',
288
+ },
289
+ {
290
+ label: '边框颜色:',
291
+ ele: 'xd-color',
292
+ valueKey: 'btnBorderColor',
293
+ groupKey:'style',
294
+ value: data['btnBorderColor'] || '',
295
+ classNmae: 'input80',
296
+ },
297
+ {
298
+ label: '背景颜色:',
299
+ ele: 'xd-color',
300
+ valueKey: 'btnBgColor',
301
+ groupKey:'style',
302
+ value: data.btnBgColor || '',
303
+ classNmae: 'input80',
304
+ },
305
+ {
306
+ label: '文字颜色:',
307
+ ele: 'xd-color',
308
+ valueKey: 'btnTextColor',
309
+ groupKey:'style',
310
+ value: data.btnTextColor || '',
311
+ classNmae: 'input80',
312
+ },
313
+ {
314
+ "label": "自定义按钮跳转地址:",
315
+ "ele": "xd-select-pages-path",
316
+ "valueKey": "custom_btn_path",
317
+ "value": data['custom_btn_path'] || null,
318
+ "groupKey":'advanced',
319
+ "setting": {
320
+ router: XdBus.getParentApi('getPagesTree'),
321
+ },
322
+ "inline": false,
261
323
  },
262
- ...styleForm.getForm(data, '内容配置')
263
324
  ].filter(i=>i)
264
325
  },
265
326
  advanced: [],
@@ -49,9 +49,7 @@
49
49
  ></xd-font-icon>
50
50
  </view>
51
51
  <view>{{ info.status.status_name }}</view>
52
- <view class="jfb-base-success__body-icon-item-tip">{{
53
- info.status.comment
54
- }}</view>
52
+ <view class="jfb-base-success__body-icon-item-tip">{{info.status.comment }}</view>
55
53
  </view>
56
54
  <view class="jfb-base-success__body-icon-btn">
57
55
  <view v-for="(item, index) in info['btn']" :key="index">
@@ -107,12 +105,8 @@
107
105
  ></image>
108
106
  <image v-if="info.codes[0].logo&&info.codes[0].show_type === 'qrcode'" class="logo-icon" :src="info.codes[0].logo"></image>
109
107
  </view>
110
- <view class="jfb-base-success__body-cashier-text">
111
- {{ info.codes[0].can_read_code }}
112
- </view>
113
- <view v-if="info.codes[0].refund_tip_text" style="color:red;font-size:24rpx;text-align:center;margin-top:10rpx">
114
- {{info.codes[0].refund_tip_text}}
115
- </view>
108
+ <view class="jfb-base-success__body-cashier-text">{{ info.codes[0].can_read_code }}</view>
109
+ <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>
116
110
  <view
117
111
  v-if="info.codes[0].code_end_time"
118
112
  class="jfb-base-success__body-cashier-code"
@@ -581,10 +575,26 @@ export default {
581
575
  if(item.logo) {
582
576
  item.logo = getServiceUrl(item.logo)
583
577
  }
584
- if (item.show_type === "qrcode" || item.show_type === "barcode") {
578
+ if (item.show_type === "qrcode"
579
+ || item.show_type === "barcode"
580
+ || item.show_type === "qrcode-pass"
581
+ || item.show_type === "barcode-pass"
582
+ ) {
585
583
  let reg = /^(http:\/\/|https:\/\/|\/\/)+.+$/;
586
584
  if (!reg.test(item.code_url)) item.code_url = `${this.brandInfo["api_host"]}${item.code_url}`;
587
585
  }
586
+
587
+ //二维码 + 密码处理
588
+ if(item.show_type === "qrcode-pass") {
589
+ item.show_type = 'qrcode';
590
+ item.can_read_code = item.can_read_password;
591
+ }
592
+ //条形码 + 密码处理
593
+ if(item.show_type === "barcode-pass") {
594
+ item.show_type = 'barcode';
595
+ item.can_read_code = item.can_read_password;
596
+ }
597
+
588
598
  return item;
589
599
  });
590
600
 
@@ -13,9 +13,8 @@
13
13
 
14
14
  //start
15
15
  .jfb-base-success {
16
- border: 1px dashed rgba(0, 0, 0, 0);
17
16
  box-sizing: border-box;
18
- min-height: unit(50, rpx);
17
+ min-height: unit(100, rpx);
19
18
 
20
19
  &__body{
21
20
  position: relative;
@@ -23,21 +22,21 @@
23
22
  z-index: 2
24
23
  }
25
24
 
26
- &.editx {
25
+ &.editx,&:hover {
27
26
  position: relative;
28
- border: 1px dashed blue;
29
- box-sizing: border-box;
30
- z-index: 3
31
-
32
- }
33
-
34
- &:hover {
35
- border: 1px dashed blue;
36
- }
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
+ }
37
39
 
38
- &.noBorder {
39
- border-color: rgba(0,0,0,0);
40
- border-width: 0;
41
40
  }
42
41
 
43
42
 
@@ -72,9 +71,9 @@
72
71
 
73
72
  /**notPreview**/
74
73
  .jfb-base-success {
75
- &:before {
76
- content: " ";
77
- display: table;
78
- }
74
+ //&:before {
75
+ //content: " ";
76
+ //display: table;
77
+ //}
79
78
  }
80
79
  /**endNotPreview**/
@@ -13,9 +13,8 @@
13
13
 
14
14
  //start
15
15
  .jfb-base-test-api {
16
- border: 1px dashed rgba(0, 0, 0, 0);
17
16
  box-sizing: border-box;
18
- min-height: unit(50, rpx);
17
+ min-height: unit(100, rpx);
19
18
 
20
19
  &__body{
21
20
  position: relative;
@@ -23,21 +22,21 @@
23
22
  z-index: 2
24
23
  }
25
24
 
26
- &.editx {
25
+ &.editx,&:hover {
27
26
  position: relative;
28
- border: 1px dashed blue;
29
- box-sizing: border-box;
30
- z-index: 3
31
-
32
- }
33
-
34
- &:hover {
35
- border: 1px dashed blue;
36
- }
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
+ }
37
39
 
38
- &.noBorder {
39
- border-color: rgba(0,0,0,0);
40
- border-width: 0;
41
40
  }
42
41
 
43
42
 
@@ -72,9 +71,9 @@
72
71
 
73
72
  /**notPreview**/
74
73
  .jfb-base-test-api {
75
- &:before {
76
- content: " ";
77
- display: table;
78
- }
74
+ //&:before {
75
+ //content: " ";
76
+ //display: table;
77
+ //}
79
78
  }
80
79
  /**endNotPreview**/
@@ -13,9 +13,8 @@
13
13
 
14
14
  //start
15
15
  .jfb-base-test-body {
16
- border: 1px dashed rgba(0, 0, 0, 0);
17
16
  box-sizing: border-box;
18
- min-height: unit(50, rpx);
17
+ min-height: unit(100, rpx);
19
18
 
20
19
  &__body{
21
20
  position: relative;
@@ -23,21 +22,21 @@
23
22
  z-index: 2
24
23
  }
25
24
 
26
- &.editx {
25
+ &.editx,&:hover {
27
26
  position: relative;
28
- border: 1px dashed blue;
29
- box-sizing: border-box;
30
- z-index: 3
31
-
32
- }
33
-
34
- &:hover {
35
- border: 1px dashed blue;
36
- }
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
+ }
37
39
 
38
- &.noBorder {
39
- border-color: rgba(0,0,0,0);
40
- border-width: 0;
41
40
  }
42
41
 
43
42
 
@@ -72,9 +71,9 @@
72
71
 
73
72
  /**notPreview**/
74
73
  .jfb-base-test-body {
75
- &:before {
76
- content: " ";
77
- display: table;
78
- }
74
+ //&:before {
75
+ //content: " ";
76
+ //display: table;
77
+ //}
79
78
  }
80
79
  /**endNotPreview**/
@@ -13,9 +13,8 @@
13
13
 
14
14
  //start
15
15
  .jfb-base-test-bottom {
16
- border: 1px dashed rgba(0, 0, 0, 0);
17
16
  box-sizing: border-box;
18
- min-height: unit(50, rpx);
17
+ min-height: unit(100, rpx);
19
18
 
20
19
  &__body{
21
20
  position: relative;
@@ -23,21 +22,21 @@
23
22
  z-index: 2
24
23
  }
25
24
 
26
- &.editx {
25
+ &.editx,&:hover {
27
26
  position: relative;
28
- border: 1px dashed blue;
29
- box-sizing: border-box;
30
- z-index: 3
31
-
32
- }
33
-
34
- &:hover {
35
- border: 1px dashed blue;
36
- }
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
+ }
37
39
 
38
- &.noBorder {
39
- border-color: rgba(0,0,0,0);
40
- border-width: 0;
41
40
  }
42
41
 
43
42
 
@@ -72,9 +71,9 @@
72
71
 
73
72
  /**notPreview**/
74
73
  .jfb-base-test-bottom {
75
- &:before {
76
- content: " ";
77
- display: table;
78
- }
74
+ //&:before {
75
+ //content: " ";
76
+ //display: table;
77
+ //}
79
78
  }
80
79
  /**endNotPreview**/
@@ -13,9 +13,8 @@
13
13
 
14
14
  //start
15
15
  .jfb-base-test-notice {
16
- border: 1px dashed rgba(0, 0, 0, 0);
17
16
  box-sizing: border-box;
18
- min-height: unit(50, rpx);
17
+ min-height: unit(100, rpx);
19
18
 
20
19
  &__body{
21
20
  position: relative;
@@ -23,21 +22,21 @@
23
22
  z-index: 2
24
23
  }
25
24
 
26
- &.editx {
25
+ &.editx,&:hover {
27
26
  position: relative;
28
- border: 1px dashed blue;
29
- box-sizing: border-box;
30
- z-index: 3
31
-
32
- }
33
-
34
- &:hover {
35
- border: 1px dashed blue;
36
- }
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
+ }
37
39
 
38
- &.noBorder {
39
- border-color: rgba(0,0,0,0);
40
- border-width: 0;
41
40
  }
42
41
 
43
42
 
@@ -72,9 +71,9 @@
72
71
 
73
72
  /**notPreview**/
74
73
  .jfb-base-test-notice {
75
- &:before {
76
- content: " ";
77
- display: table;
78
- }
74
+ //&:before {
75
+ //content: " ";
76
+ //display: table;
77
+ //}
79
78
  }
80
79
  /**endNotPreview**/
@@ -13,9 +13,8 @@
13
13
 
14
14
  //start
15
15
  .jfb-base-test-top {
16
- border: 1px dashed rgba(0, 0, 0, 0);
17
16
  box-sizing: border-box;
18
- min-height: unit(50, rpx);
17
+ min-height: unit(100, rpx);
19
18
 
20
19
  &__body{
21
20
  position: relative;
@@ -23,21 +22,21 @@
23
22
  z-index: 2
24
23
  }
25
24
 
26
- &.editx {
25
+ &.editx,&:hover {
27
26
  position: relative;
28
- border: 1px dashed blue;
29
- box-sizing: border-box;
30
- z-index: 3
31
-
32
- }
33
-
34
- &:hover {
35
- border: 1px dashed blue;
36
- }
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
+ }
37
39
 
38
- &.noBorder {
39
- border-color: rgba(0,0,0,0);
40
- border-width: 0;
41
40
  }
42
41
 
43
42
 
@@ -72,9 +71,9 @@
72
71
 
73
72
  /**notPreview**/
74
73
  .jfb-base-test-top {
75
- &:before {
76
- content: " ";
77
- display: table;
78
- }
74
+ //&:before {
75
+ //content: " ";
76
+ //display: table;
77
+ //}
79
78
  }
80
79
  /**endNotPreview**/