jufubao-base 1.0.130-beta5 → 1.0.131

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 (195) 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 +34 -76
  20. package/src/components/JfbBaseCard/JfbBaseCardLess.less +19 -18
  21. package/src/components/JfbBaseCardBind/JfbBaseCardBindLess.less +19 -18
  22. package/src/components/JfbBaseCardBindV2/Attr.js +4 -5
  23. package/src/components/JfbBaseCardBindV2/JfbBaseCardBindV2Less.less +19 -18
  24. package/src/components/JfbBaseCardDetail/Attr.js +3 -4
  25. package/src/components/JfbBaseCardDetail/JfbBaseCardDetailLess.less +19 -18
  26. package/src/components/JfbBaseCardDetailEntry/Attr.js +8 -10
  27. package/src/components/JfbBaseCardDetailEntry/JfbBaseCardDetailEntryLess.less +19 -18
  28. package/src/components/JfbBaseCardDisabled/Attr.js +3 -1
  29. package/src/components/JfbBaseCardDisabled/JfbBaseCardDisabledLess.less +19 -18
  30. package/src/components/JfbBaseCardDisabledEntry/JfbBaseCardDisabledEntryLess.less +19 -18
  31. package/src/components/JfbBaseCardEntry/Attr.js +67 -86
  32. package/src/components/JfbBaseCardEntry/JfbBaseCardEntry.vue +2 -3
  33. package/src/components/JfbBaseCardEntry/JfbBaseCardEntryLess.less +19 -18
  34. package/src/components/JfbBaseCardInfo/Attr.js +16 -22
  35. package/src/components/JfbBaseCardInfo/JfbBaseCardInfoLess.less +19 -18
  36. package/src/components/JfbBaseCardInfoEntry/Attr.js +11 -16
  37. package/src/components/JfbBaseCardInfoEntry/JfbBaseCardInfoEntryLess.less +19 -18
  38. package/src/components/JfbBaseCardMerge/Attr.js +8 -21
  39. package/src/components/JfbBaseCardMerge/JfbBaseCardMerge.vue +30 -15
  40. package/src/components/JfbBaseCardMerge/JfbBaseCardMergeLess.less +19 -18
  41. package/src/components/JfbBaseCardMergeEntry/Attr.js +6 -20
  42. package/src/components/JfbBaseCardMergeEntry/JfbBaseCardMergeEntry.vue +25 -28
  43. package/src/components/JfbBaseCardMergeEntry/JfbBaseCardMergeEntryLess.less +19 -18
  44. package/src/components/JfbBaseCardShift/Attr.js +4 -18
  45. package/src/components/JfbBaseCardShift/JfbBaseCardShift.vue +11 -26
  46. package/src/components/JfbBaseCardShift/JfbBaseCardShiftLess.less +19 -18
  47. package/src/components/JfbBaseCardShiftEntry/Attr.js +26 -34
  48. package/src/components/JfbBaseCardShiftEntry/JfbBaseCardShiftEntry.vue +257 -294
  49. package/src/components/JfbBaseCardShiftEntry/JfbBaseCardShiftEntryLess.less +19 -18
  50. package/src/components/JfbBaseCardShiftEntry/Mock.js +1 -2
  51. package/src/components/JfbBaseCardSweepInfo/Attr.js +3 -5
  52. package/src/components/JfbBaseCardSweepInfo/JfbBaseCardSweepInfoLess.less +19 -18
  53. package/src/components/JfbBaseCardV2/Attr.js +15 -19
  54. package/src/components/JfbBaseCardV2/JfbBaseCardV2.vue +5 -3
  55. package/src/components/JfbBaseCardV2/JfbBaseCardV2Less.less +19 -18
  56. package/src/components/JfbBaseCardV3/Attr.js +12 -16
  57. package/src/components/JfbBaseCardV3/JfbBaseCardV3.vue +1 -1
  58. package/src/components/JfbBaseCardV3/JfbBaseCardV3Less.less +19 -18
  59. package/src/components/JfbBaseCity/Attr.js +4 -2
  60. package/src/components/JfbBaseCity/JfbBaseCityLess.less +19 -18
  61. package/src/components/JfbBaseClear/JfbBaseClearLess.less +19 -18
  62. package/src/components/JfbBaseClear/JfbBaseClearMixin.js +0 -12
  63. package/src/components/JfbBaseConDialog/Api.js +1 -1
  64. package/src/components/JfbBaseConDialog/Attr.js +20 -30
  65. package/src/components/JfbBaseConDialog/JfbBaseConDialog.vue +26 -45
  66. package/src/components/JfbBaseConDialog/JfbBaseConDialogLess.less +19 -18
  67. package/src/components/JfbBaseConDialog/Mock.js +1 -20
  68. package/src/components/JfbBaseConDialog/XdCouCardBind.vue +9 -15
  69. package/src/components/JfbBaseConList/Attr.js +224 -149
  70. package/src/components/JfbBaseConList/JfbBaseConList.vue +133 -150
  71. package/src/components/JfbBaseConList/JfbBaseConListLess.less +19 -18
  72. package/src/components/JfbBaseConPhone/JfbBaseConPhoneLess.less +19 -18
  73. package/src/components/JfbBaseEntry/Attr.js +21 -33
  74. package/src/components/JfbBaseEntry/JfbBaseEntry.vue +23 -34
  75. package/src/components/JfbBaseEntry/JfbBaseEntryLess.less +19 -18
  76. package/src/components/JfbBaseExpressDetail/JfbBaseExpressDetailLess.less +19 -18
  77. package/src/components/JfbBaseFastLink/Api.js +54 -1
  78. package/src/components/JfbBaseFastLink/Attr.js +116 -168
  79. package/src/components/JfbBaseFastLink/JfbBaseFastLink.vue +16 -12
  80. package/src/components/JfbBaseFastLink/JfbBaseFastLinkLess.less +19 -18
  81. package/src/components/JfbBaseFooter/Attr.js +22 -28
  82. package/src/components/JfbBaseFooter/JfbBaseFooter.vue +15 -19
  83. package/src/components/JfbBaseFooter/JfbBaseFooterLess.less +19 -18
  84. package/src/components/JfbBaseHeader/Attr.js +91 -89
  85. package/src/components/JfbBaseHeader/JfbBaseHeader.vue +29 -28
  86. package/src/components/JfbBaseHeader/JfbBaseHeaderLess.less +19 -18
  87. package/src/components/JfbBaseLine/Attr.js +59 -0
  88. package/src/components/JfbBaseLine/JfbBaseLine.vue +105 -0
  89. package/src/components/JfbBaseLine/JfbBaseLineLess.less +80 -0
  90. package/src/components/JfbBaseLine/JfbBaseLineMixin.js +30 -0
  91. package/src/components/JfbBaseLogin/Attr.js +88 -111
  92. package/src/components/JfbBaseLogin/JfbBaseLogin.vue +1 -0
  93. package/src/components/JfbBaseLogin/JfbBaseLoginLess.less +19 -18
  94. package/src/components/JfbBaseLoginForgetPwd/Attr.js +45 -52
  95. package/src/components/JfbBaseLoginForgetPwd/JfbBaseLoginForgetPwd.vue +14 -14
  96. package/src/components/JfbBaseLoginForgetPwd/JfbBaseLoginForgetPwdLess.less +19 -18
  97. package/src/components/JfbBaseLoginSetPwd/Attr.js +4 -6
  98. package/src/components/JfbBaseLoginSetPwd/JfbBaseLoginSetPwdLess.less +19 -18
  99. package/src/components/JfbBaseMapOverlay/JfbBaseMapOverlayLess.less +19 -18
  100. package/src/components/JfbBaseMapSearch/Attr.js +15 -0
  101. package/src/components/JfbBaseMapSearch/JfbBaseMapSearch.vue +25 -1
  102. package/src/components/JfbBaseMapSearch/JfbBaseMapSearchLess.less +19 -18
  103. package/src/components/JfbBaseMergeUserCard/Attr.js +3 -4
  104. package/src/components/JfbBaseMergeUserCard/JfbBaseMergeUserCardLess.less +19 -18
  105. package/src/components/JfbBaseMultipleExpress/Attr.js +3 -4
  106. package/src/components/JfbBaseMultipleExpress/JfbBaseMultipleExpressLess.less +19 -18
  107. package/src/components/JfbBaseMy/JfbBaseMyLess.less +19 -18
  108. package/src/components/JfbBaseMySetting/Attr.js +1 -1
  109. package/src/components/JfbBaseMySetting/JfbBaseMySettingLess.less +19 -18
  110. package/src/components/JfbBaseNotice/Attr.js +56 -97
  111. package/src/components/JfbBaseNotice/JfbBaseNotice.vue +52 -70
  112. package/src/components/JfbBaseNotice/JfbBaseNoticeLess.less +19 -18
  113. package/src/components/JfbBaseNoticeBottom/JfbBaseNoticeBottomLess.less +19 -18
  114. package/src/components/JfbBaseNoticeTop/JfbBaseNoticeTopLess.less +19 -18
  115. package/src/components/JfbBaseOrderDetail/Attr.js +193 -210
  116. package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +6 -8
  117. package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetailLess.less +19 -18
  118. package/src/components/JfbBaseOrderList/Attr.js +43 -55
  119. package/src/components/JfbBaseOrderList/JfbBaseOrderList.vue +3 -5
  120. package/src/components/JfbBaseOrderList/JfbBaseOrderListLess.less +19 -18
  121. package/src/components/JfbBasePay/Attr.js +13 -2
  122. package/src/components/JfbBasePay/JfbBasePay.vue +6 -7
  123. package/src/components/JfbBasePay/JfbBasePayLess.less +19 -18
  124. package/src/components/JfbBasePay/Mock.js +1 -2
  125. package/src/components/JfbBasePhoneCollect/Attr.js +2 -27
  126. package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollect.vue +1 -1
  127. package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollectLess.less +19 -18
  128. package/src/components/JfbBasePhoneLogin/Attr.js +2 -27
  129. package/src/components/JfbBasePhoneLogin/JfbBasePhoneLoginLess.less +19 -18
  130. package/src/components/JfbBasePoster/Attr.js +83 -103
  131. package/src/components/JfbBasePoster/JfbBasePoster.vue +141 -134
  132. package/src/components/JfbBasePoster/JfbBasePosterLess.less +19 -18
  133. package/src/components/JfbBasePosterBigSmall/Attr.js +76 -93
  134. package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmall.vue +7 -3
  135. package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmallLess.less +19 -18
  136. package/src/components/JfbBasePosterBigSmall/getWidthHeight.js +2 -2
  137. package/src/components/JfbBasePosterEntry/Attr.js +33 -44
  138. package/src/components/JfbBasePosterEntry/JfbBasePosterEntry.vue +49 -44
  139. package/src/components/JfbBasePosterEntry/JfbBasePosterEntryLess.less +19 -18
  140. package/src/components/JfbBasePosterType/Attr.js +48 -82
  141. package/src/components/JfbBasePosterType/FourScreen.vue +2 -8
  142. package/src/components/JfbBasePosterType/JfbBasePosterType.vue +59 -36
  143. package/src/components/JfbBasePosterType/JfbBasePosterTypeLess.less +19 -18
  144. package/src/components/JfbBasePosterType/Screen.vue +284 -0
  145. package/src/components/JfbBaseRecharge/Attr.js +23 -35
  146. package/src/components/JfbBaseRecharge/JfbBaseRecharge.vue +8 -54
  147. package/src/components/JfbBaseRecharge/JfbBaseRechargeLess.less +19 -18
  148. package/src/components/JfbBaseRechargeOrder/Attr.js +22 -32
  149. package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrder.vue +7 -12
  150. package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrderLess.less +19 -18
  151. package/src/components/JfbBaseRechargeOrderDetail/JfbBaseRechargeOrderDetailLess.less +19 -18
  152. package/src/components/JfbBaseRechargeSuccess/Attr.js +8 -10
  153. package/src/components/JfbBaseRechargeSuccess/JfbBaseRechargeSuccessLess.less +19 -18
  154. package/src/components/JfbBaseSearch/Api.js +60 -0
  155. package/src/components/JfbBaseSearch/Attr.js +148 -6
  156. package/src/components/JfbBaseSearch/JfbBaseSearch.vue +37 -8
  157. package/src/components/JfbBaseSearch/JfbBaseSearchLess.less +19 -18
  158. package/src/components/JfbBaseSearch/Mock.js +5 -0
  159. package/src/components/JfbBaseSetPwd/Attr.js +147 -6
  160. package/src/components/JfbBaseSetPwd/JfbBaseSetPwdLess.less +19 -18
  161. package/src/components/JfbBaseSuccess/Attr.js +17 -78
  162. package/src/components/JfbBaseSuccess/JfbBaseSuccess.vue +3 -2
  163. package/src/components/JfbBaseSuccess/JfbBaseSuccessLess.less +19 -18
  164. package/src/components/JfbBaseTestApi/JfbBaseTestApiLess.less +19 -18
  165. package/src/components/JfbBaseTestBody/JfbBaseTestBodyLess.less +19 -18
  166. package/src/components/JfbBaseTestBottom/JfbBaseTestBottomLess.less +19 -18
  167. package/src/components/JfbBaseTestNotice/JfbBaseTestNoticeLess.less +19 -18
  168. package/src/components/JfbBaseTestTop/JfbBaseTestTopLess.less +19 -18
  169. package/src/components/JfbBaseUserCenter/Attr.js +53 -72
  170. package/src/components/JfbBaseUserCenter/JfbBaseUserCenter.vue +27 -40
  171. package/src/components/JfbBaseUserCenter/JfbBaseUserCenterLess.less +19 -18
  172. package/src/components/JfbBaseUserInfo/Attr.js +45 -54
  173. package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +21 -21
  174. package/src/components/JfbBaseUserInfo/JfbBaseUserInfoLess.less +19 -18
  175. package/src/components/JfbBaseUserOrder/Attr.js +92 -118
  176. package/src/components/JfbBaseUserOrder/JfbBaseUserOrder.vue +7 -21
  177. package/src/components/JfbBaseUserOrder/JfbBaseUserOrderLess.less +19 -18
  178. package/src/components/JfbBaseVideo/Attr.js +19 -72
  179. package/src/components/JfbBaseVideo/JfbBaseVideo.vue +28 -69
  180. package/src/components/JfbBaseVideo/JfbBaseVideoLess.less +19 -18
  181. package/src/components/JfbBaseVideo/XdVideo.vue +44 -6
  182. package/src/components/JfbBaseWallet/JfbBaseWalletLess.less +19 -18
  183. package/src/components/{JfbBaseClear → JfbBaseWalletDetail}/Attr.js +0 -1
  184. package/src/components/JfbBaseWalletDetail/JfbBaseWalletDetailLess.less +19 -18
  185. package/src/components/JfbBaseWalletDetail/JfbBaseWalletDetailMixin.js +12 -0
  186. package/src/components/JfbBaseWalletEffective/JfbBaseWalletEffectiveLess.less +19 -18
  187. package/src/components/JfbBaseWalletIndex/JfbBaseWalletIndexLess.less +19 -18
  188. package/src/components/JfbBaseWalletItem/JfbBaseWalletItemLess.less +19 -18
  189. package/src/components/JfbBaseWebview/JfbBaseWebviewLess.less +19 -18
  190. package/src/components/JfbBaseWxAuthorize/Attr.js +3 -31
  191. package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorize.vue +26 -32
  192. package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorizeLess.less +19 -18
  193. package/src/components/JfbBaseWxAuthorizeError/Attr.js +17 -21
  194. package/src/components/JfbBaseWxAuthorizeError/JfbBaseWxAuthorizeErrorLess.less +19 -18
  195. package/src/components/JfbBaseCardShift/Mock.js +0 -21
@@ -5,49 +5,22 @@ export default {
5
5
  content: (data)=>{
6
6
  return [
7
7
  {
8
- label: '设置订单状态:',
9
- ele: 'xd-order-setting',
10
- valueKey: 'orderTypeList',
11
- value: data['orderTypeList'] || null,
12
- groupKey:'content',
13
- setting: {
14
- router: XdBus.getParentApi('getPagesTree'),
15
- },
16
- handleCustom({action, data}) {
17
- if (action === 'number') {
18
- data.cb([
19
- {"label": "全部", "value": 'all'},
20
- {"label": "待付款", "value": 'unpaid'},
21
- {"label": "待收货", "value": 'unreceived'},
22
- {"label": "已取消", "value": 'cancel'},
23
- {"label": "已完成", "value": 'com'},
24
- ])
25
- }
26
- },
27
- inline: false,
28
- notice: '设置订单状态, ICON图标(<a href="https://www.iconfont.cn/manage/index?spm=a313x.7781069.1998910419.db775f1f3&manage_type=myprojects&projectId=3378319&keyword=&project_type=&page=" style="color: blue" target="_blank">ICONFONT库</a>)、ICON大小(单位:<sapn style="color: red">像素</sapn>)同一个订单状态不可<sapn style="color: red">重复配置</sapn>',
29
- rules: [
30
- {required: true, message: '设置订单配置错误!请检查配置', trigger: 'change'},
31
- ],
32
- },
33
- {
34
- label: '外填充:',
8
+ label: '外边距:',
35
9
  ele: 'xd-margin-padding',
36
10
  valueKey: 'margin',
37
11
  value: data['margin'] || null,
38
- groupKey:'style',
12
+ disabled: false,
39
13
  setting: {
40
- type: 'padding',
14
+ type: 'margin',
41
15
  },
42
- placeholder: '请设置外填充',
16
+ placeholder: '请设置外边距',
43
17
  inline: false,
44
- notice: '设置外填充,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
18
+ notice: '设置外边距,<span style="color: red">单位:像素</span>。默认值:0像素',
45
19
  },
46
20
  {
47
21
  label: '背景颜色:',
48
22
  ele: 'xd-color',
49
23
  valueKey: 'backgroundColor',
50
- groupKey:'style',
51
24
  value: data['backgroundColor'] || null,
52
25
  placeholder: '请选择背景颜色',
53
26
  classNmae: 'input80',
@@ -57,24 +30,19 @@ export default {
57
30
  ele: 'el-input',
58
31
  type: 'number',
59
32
  valueKey: 'padding',
60
- groupKey:'style',
61
33
  value: data.padding || '',
62
34
  placeholder: '请输入间距',
63
35
  className: 'input80',
64
- inline: false,
65
- notice: '间距设置,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
66
36
  },
67
37
  {
68
38
  ele: 'title',
69
39
  label: '投影设置',
70
- size: 'small',
71
- groupKey:'style',
40
+ size: 'small', //default/mini/small
72
41
  },
73
42
  {
74
43
  label: '是否有投影:',
75
44
  ele: 'xd-radio',
76
45
  valueKey: 'is_shadow',
77
- groupKey:'style',
78
46
  value: data['is_shadow'] || 'N',
79
47
  placeholder: '请选择是否投影',
80
48
  multiple: false,
@@ -87,7 +55,6 @@ export default {
87
55
  data['is_shadow'] === 'Y' && {
88
56
  label: '投影颜色:',
89
57
  ele: 'xd-color',
90
- groupKey:'style',
91
58
  valueKey: 'is_shadow_bg',
92
59
  value: data['is_shadow_bg'] || '',
93
60
  placeholder: '请选择投影颜色',
@@ -95,7 +62,6 @@ export default {
95
62
  },
96
63
  data['is_shadow'] === 'Y' && {
97
64
  label: '投影范围:',
98
- groupKey:'style',
99
65
  ele: 'xd-site-select-list',
100
66
  valueKey: 'is_shadow_w',
101
67
  value: data['is_shadow_w'] || '10',
@@ -118,12 +84,10 @@ export default {
118
84
  {
119
85
  ele: 'title',
120
86
  label: '边框设置',
121
- size: 'small',
122
- groupKey:'style',
87
+ size: 'small', //default/mini/small
123
88
  },
124
89
  {
125
90
  label: '是否有边框:',
126
- groupKey:'style',
127
91
  ele: 'xd-radio',
128
92
  valueKey: 'is_border',
129
93
  value: data['is_border'] || 'N',
@@ -138,7 +102,6 @@ export default {
138
102
  data['is_border'] === 'Y' && {
139
103
  label: '边框颜色:',
140
104
  ele: 'xd-color',
141
- groupKey:'style',
142
105
  valueKey: 'is_border_c',
143
106
  value: data['is_border_c'] || '',
144
107
  placeholder: '请选择边框颜色',
@@ -148,7 +111,6 @@ export default {
148
111
  label: '边框大小:',
149
112
  ele: 'el-input',
150
113
  type: 'number',
151
- groupKey:'style',
152
114
  valueKey: 'is_border_w',
153
115
  value: data['is_border_w'] || '',
154
116
  placeholder: '请输入边框颜色',
@@ -158,7 +120,6 @@ export default {
158
120
  label: '内容圆角设置:',
159
121
  ele: 'xd-site-select-list',
160
122
  valueKey: 'radius',
161
- groupKey:'style',
162
123
  value: data['radius'] || '',
163
124
  placeholder: '请选择内容圆角设置',
164
125
  multiple: false,
@@ -173,12 +134,40 @@ export default {
173
134
  });
174
135
  },
175
136
  },
176
-
177
137
  {
178
- label: '订单详情路径:',
179
- ele: 'xd-select-pages-path',
180
- valueKey: 'detailPath',
181
- groupKey:'advanced',
138
+ ele: 'title',
139
+ label: '其他',
140
+ size: 'small', //default/mini/small
141
+ },
142
+ {
143
+ label: '设置订单状态:', //label
144
+ ele: 'xd-order-setting', //package 名称
145
+ valueKey: 'orderTypeList', //form[valueKey]
146
+ value: data['orderTypeList'] || null,
147
+ setting: {
148
+ router: XdBus.getParentApi('getPagesTree'),
149
+ },
150
+ handleCustom({action, data}) {
151
+ if (action === 'number') {
152
+ data.cb([
153
+ {"label": "全部", "value": 'all'},
154
+ {"label": "待付款", "value": 'unpaid'},
155
+ {"label": "待收货", "value": 'unreceived'},
156
+ {"label": "已取消", "value": 'cancel'},
157
+ {"label": "已完成", "value": 'com'},
158
+ ])
159
+ }
160
+ },
161
+ inline: false,
162
+ notice: '设置订单状态, ICON图标(<a href="https://www.iconfont.cn/manage/index?spm=a313x.7781069.1998910419.db775f1f3&manage_type=myprojects&projectId=3378319&keyword=&project_type=&page=" style="color: blue" target="_blank">ICONFONT库</a>)、ICON大小(单位:<sapn style="color: red">像素</sapn>)同一个订单状态不可<sapn style="color: red">重复配置</sapn>',
163
+ rules: [
164
+ {required: true, message: '设置订单配置错误!请检查配置', trigger: 'change'},
165
+ ],
166
+ },
167
+ {
168
+ label: '订单详情路径:', //label
169
+ ele: 'xd-select-pages-path', //package 名称
170
+ valueKey: 'detailPath', //form[valueKey]
182
171
  placeholder: '请选择订单详情路径',
183
172
  value: data['detailPath'] || null,
184
173
  setting: {
@@ -187,10 +176,9 @@ export default {
187
176
  inline: false,
188
177
  },
189
178
  {
190
- label: '去支付路径:',
191
- ele: 'xd-select-pages-path',
192
- valueKey: 'payPath',
193
- groupKey:'advanced',
179
+ label: '去支付路径:', //label
180
+ ele: 'xd-select-pages-path', //package 名称
181
+ valueKey: 'payPath', //form[valueKey]
194
182
  placeholder: '请选择去支付路径',
195
183
  value: data['payPath'] || null,
196
184
  setting: {
@@ -252,11 +252,9 @@ export default {
252
252
 
253
253
  computed: {
254
254
  outMargin() {
255
- let str = `${this.checkValue(this.margin.top, 20)}rpx`;
256
- str = `${str} ${this.checkValue(this.margin.right, 20)}rpx`;
257
- str = `${str} ${this.checkValue(this.margin.bottom, 20)}rpx`;
258
- str = `${str} ${this.checkValue(this.margin.left, 20)}rpx`;
259
- return str
255
+ return `${this.margin.top || 20}rpx ${this.margin.right || 20}rpx ${
256
+ this.margin.bottom || 20
257
+ }rpx ${this.margin.left || 20}rpx`;
260
258
  },
261
259
  shadowBox() {
262
260
  if (this.is_shadow === "Y")
@@ -13,8 +13,9 @@
13
13
 
14
14
  //start
15
15
  .jfb-base-order-list {
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-order-list {
74
- //&:before {
75
- //content: " ";
76
- //display: table;
77
- //}
75
+ &:before {
76
+ content: " ";
77
+ display: table;
78
+ }
78
79
  }
79
80
  /**endNotPreview**/
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  import StyleForm from "@/utils/StyleForm";
4
- let styleForm = new StyleForm({bgColor: ''}, null, 'pay', true);
4
+ let styleForm = new StyleForm({bgColor: ''}, null, 'pay');
5
5
 
6
6
  export default {
7
7
  style: [],
@@ -15,12 +15,23 @@ export default {
15
15
  valueKey: 'pay_success_path', //form[valueKey]
16
16
  placeholder: '请选择支付成功路径',
17
17
  value: data.pay_success_path || null,
18
- groupKey:'advanced',
19
18
  setting: {
20
19
  router: XdBus.getParentApi('getPagesTree'),
21
20
  },
22
21
  inline: false,
23
22
  },
23
+ // {
24
+ // label: '充值成功跳转路径:', //label
25
+ // ele: 'xd-select-pages-path', //package 名称
26
+ // valueKey: 'rechargeSuccessPath', //form[valueKey]
27
+ // placeholder: '请选择充值成功路径',
28
+ // value: data.rechargeSuccessPath || null,
29
+ // setting: {
30
+ // router: XdBus.getParentApi('getPagesTree'),
31
+ //
32
+ // },
33
+ // inline: false,
34
+ // },
24
35
  ].filter(i=>i)
25
36
  },
26
37
  }
@@ -72,7 +72,7 @@
72
72
  <view>ID:{{ ticket.card_number }}</view>
73
73
  <view>有效期至:{{ ticket.end_time }}</view>
74
74
  </view>
75
- <view class="_footer" :style="{borderTop:'1px solid ' + borderColor }">
75
+ <view class="_footer">
76
76
  <view class="_item">
77
77
  <text>剩余:</text>
78
78
  <xd-unit
@@ -180,9 +180,8 @@ import XdRadio from "@/components/XdRadio/XdRadio";
180
180
  import XdUnit from "@/components/XdUnit/XdUnit";
181
181
  import StyleForm from "@/utils/StyleForm";
182
182
  import {isWechat,isWechatTools} from "@/utils/xd.base";
183
- import color from "color";
184
- const Color = require('color');
185
- let styleForm = new StyleForm({bgColor: '#fafafa'}, getContainerPropsValue, 'pay', true);
183
+
184
+ let styleForm = new StyleForm({bgColor: '#fafafa'}, getContainerPropsValue, 'pay');
186
185
 
187
186
  export default {
188
187
  name: "JfbBasePay",
@@ -220,7 +219,6 @@ export default {
220
219
  paySuccessPath: "", //支付成功
221
220
  rechargeSuccessPath: "", //充值成功
222
221
  ...styleForm.getDataItem(),
223
- borderColor:'rgba(0,0,0,0)',
224
222
  options:{}
225
223
  };
226
224
  },
@@ -280,8 +278,8 @@ export default {
280
278
  "content.rechargeSuccessPath",
281
279
  { value: "" }
282
280
  ).value;
283
- styleForm.getInitItem(this, container);
284
- this.borderColor = color(this.jfbPayBgColor).lighten(0.5).hex();
281
+
282
+ styleForm.getInitItem(this, container)
285
283
  },
286
284
  getTimeFormat(time) {
287
285
  let date = null;
@@ -577,6 +575,7 @@ export default {
577
575
  justify-content: space-between;
578
576
  font-size: 24rpx;
579
577
  padding: 20rpx 30rpx;
578
+ border-top: unit(2, rpx) solid #eee;
580
579
  ._item {
581
580
  display: flex;
582
581
  align-items: center;
@@ -13,8 +13,9 @@
13
13
 
14
14
  //start
15
15
  .jfb-base-pay {
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-pay {
74
- //&:before {
75
- //content: " ";
76
- //display: table;
77
- //}
75
+ &:before {
76
+ content: " ";
77
+ display: table;
78
+ }
78
79
  }
79
80
  /**endNotPreview**/
@@ -34,6 +34,5 @@ module.exports = {
34
34
  "use_card_point": "5000"
35
35
  },
36
36
  ],
37
- },
38
- getBaseOrderStatus:{},
37
+ }
39
38
  }
@@ -8,7 +8,6 @@ export default {
8
8
  label: '隐私政策:',
9
9
  ele: 'xd-site-news',
10
10
  valueKey: 'notice',
11
- groupKey:'content',
12
11
  value: {type: 'privacy'},
13
12
  className: 'input70',
14
13
  setting: {
@@ -30,8 +29,7 @@ export default {
30
29
  }
31
30
 
32
31
  //获取返回参数(场景类型名称为必填)
33
- //获取返回参数(场景类型名称为必填)
34
- let loading = { close(){}}
32
+ let loading = XdBus.getParentApi('loading')({});
35
33
 
36
34
  //获取显示内容
37
35
  if (action === 'screen') {
@@ -75,7 +73,6 @@ export default {
75
73
 
76
74
  //使用内容分类
77
75
  if (action === 'cmsPublishEditxContent') {
78
- loading = XdBus.getParentApi('loading')({});
79
76
  XdBus.getParentApi('cmsPublishEditxContent')(data.params)
80
77
  .then(res => {
81
78
  console.log('cmsPublishEditxContent', res)
@@ -90,7 +87,6 @@ export default {
90
87
 
91
88
  //位置列表
92
89
  if (action === 'getListPostion') {
93
- loading = XdBus.getParentApi('loading')({});
94
90
  XdBus.getParentApi('getListNewsPosition')(data.params)
95
91
  .then(res => {
96
92
  loading.close();
@@ -104,7 +100,6 @@ export default {
104
100
 
105
101
  //位置创建
106
102
  if (action === 'addPostion') {
107
- loading = XdBus.getParentApi('loading')({});
108
103
  XdBus.getParentApi('addNewsPosition')(data.params)
109
104
  .then(res => {
110
105
  loading.close();
@@ -119,7 +114,6 @@ export default {
119
114
 
120
115
  //位置编辑
121
116
  if (action === 'editPostion') {
122
- loading = XdBus.getParentApi('loading')({});
123
117
  XdBus.getParentApi('updateNewsPosition')(data.params)
124
118
  .then(res => {
125
119
  loading.close();
@@ -134,7 +128,6 @@ export default {
134
128
 
135
129
  //位置删除
136
130
  if (action === 'deleltePostion') {
137
- loading = XdBus.getParentApi('loading')({});
138
131
  XdBus.getParentApi('deleteNewsPosition')(data.params)
139
132
  .then(res => {
140
133
  loading.close();
@@ -149,7 +142,6 @@ export default {
149
142
 
150
143
  //获取广告位内容列表
151
144
  if (action === 'getListContent') {
152
- loading = XdBus.getParentApi('loading')({});
153
145
  XdBus.getParentApi('getListNewsContent')(data.params)
154
146
  .then(res => {
155
147
  loading.close();
@@ -163,7 +155,6 @@ export default {
163
155
 
164
156
  //广告内容创建
165
157
  if (action === 'addContent') {
166
- loading = XdBus.getParentApi('loading')({});
167
158
  XdBus.getParentApi('addNewsContent')(data.params)
168
159
  .then(res => {
169
160
  loading.close();
@@ -178,7 +169,6 @@ export default {
178
169
 
179
170
  //广告内容编辑
180
171
  if (action === 'editContent') {
181
- loading = XdBus.getParentApi('loading')({});
182
172
  XdBus.getParentApi('updateNewsContent')(data.params)
183
173
  .then(res => {
184
174
  loading.close();
@@ -193,7 +183,6 @@ export default {
193
183
 
194
184
  //广告内容删除
195
185
  if (action === 'deleteContent') {
196
- loading = XdBus.getParentApi('loading')({});
197
186
  XdBus.getParentApi('deleteNewsContent')(data.params)
198
187
  .then(res => {
199
188
  loading.close();
@@ -208,7 +197,6 @@ export default {
208
197
 
209
198
  //内容发布
210
199
  if (action === 'publish') {
211
- loading = XdBus.getParentApi('loading')({});
212
200
  console.log('publish', data.params)
213
201
  XdBus.getParentApi('cmsPublishContent')(data.params)
214
202
  .then(res => {
@@ -223,7 +211,6 @@ export default {
223
211
 
224
212
  //通知页面进行刷新
225
213
  if (action === 'update') {
226
- loading = XdBus.getParentApi('loading')({});
227
214
  XdBus.getParentApi('getXdBusUpdateView')('onUpdateView', {});
228
215
  loading.close()
229
216
  }
@@ -235,7 +222,6 @@ export default {
235
222
  label: '用户服务协议:',
236
223
  ele: 'xd-site-news',
237
224
  valueKey: 'notices',
238
- groupKey:'content',
239
225
  value: {type: 'privacy'},
240
226
  className: 'input70',
241
227
  setting: {
@@ -256,7 +242,7 @@ export default {
256
242
  }
257
243
 
258
244
  //获取返回参数(场景类型名称为必填)
259
- let loading = { close(){}}
245
+ let loading = XdBus.getParentApi('loading')({});
260
246
 
261
247
  //获取显示内容
262
248
  if (action === 'screen') {
@@ -300,7 +286,6 @@ export default {
300
286
 
301
287
  //使用内容分类
302
288
  if (action === 'cmsPublishEditxContent') {
303
- loading = XdBus.getParentApi('loading')({});
304
289
  XdBus.getParentApi('cmsPublishEditxContent')(data.params)
305
290
  .then(res => {
306
291
  console.log('cmsPublishEditxContent', res)
@@ -315,7 +300,6 @@ export default {
315
300
 
316
301
  //位置列表
317
302
  if (action === 'getListPostion') {
318
- loading = XdBus.getParentApi('loading')({});
319
303
  XdBus.getParentApi('getListNewsPosition')(data.params)
320
304
  .then(res => {
321
305
  loading.close();
@@ -329,7 +313,6 @@ export default {
329
313
 
330
314
  //位置创建
331
315
  if (action === 'addPostion') {
332
- loading = XdBus.getParentApi('loading')({});
333
316
  XdBus.getParentApi('addNewsPosition')(data.params)
334
317
  .then(res => {
335
318
  loading.close();
@@ -344,7 +327,6 @@ export default {
344
327
 
345
328
  //位置编辑
346
329
  if (action === 'editPostion') {
347
- loading = XdBus.getParentApi('loading')({});
348
330
  XdBus.getParentApi('updateNewsPosition')(data.params)
349
331
  .then(res => {
350
332
  loading.close();
@@ -359,7 +341,6 @@ export default {
359
341
 
360
342
  //位置删除
361
343
  if (action === 'deleltePostion') {
362
- loading = XdBus.getParentApi('loading')({});
363
344
  XdBus.getParentApi('deleteNewsPosition')(data.params)
364
345
  .then(res => {
365
346
  loading.close();
@@ -374,7 +355,6 @@ export default {
374
355
 
375
356
  //获取广告位内容列表
376
357
  if (action === 'getListContent') {
377
- loading = XdBus.getParentApi('loading')({});
378
358
  XdBus.getParentApi('getListNewsContent')(data.params)
379
359
  .then(res => {
380
360
  loading.close();
@@ -388,7 +368,6 @@ export default {
388
368
 
389
369
  //广告内容创建
390
370
  if (action === 'addContent') {
391
- loading = XdBus.getParentApi('loading')({});
392
371
  XdBus.getParentApi('addNewsContent')(data.params)
393
372
  .then(res => {
394
373
  loading.close();
@@ -403,7 +382,6 @@ export default {
403
382
 
404
383
  //广告内容编辑
405
384
  if (action === 'editContent') {
406
- loading = XdBus.getParentApi('loading')({});
407
385
  XdBus.getParentApi('updateNewsContent')(data.params)
408
386
  .then(res => {
409
387
  loading.close();
@@ -418,7 +396,6 @@ export default {
418
396
 
419
397
  //广告内容删除
420
398
  if (action === 'deleteContent') {
421
- loading = XdBus.getParentApi('loading')({});
422
399
  XdBus.getParentApi('deleteNewsContent')(data.params)
423
400
  .then(res => {
424
401
  loading.close();
@@ -433,7 +410,6 @@ export default {
433
410
 
434
411
  //内容发布
435
412
  if (action === 'publish') {
436
- loading = XdBus.getParentApi('loading')({});
437
413
  console.log('publish', data.params)
438
414
  XdBus.getParentApi('cmsPublishContent')(data.params)
439
415
  .then(res => {
@@ -448,7 +424,6 @@ export default {
448
424
 
449
425
  //通知页面进行刷新
450
426
  if (action === 'update') {
451
- loading = XdBus.getParentApi('loading')({});
452
427
  XdBus.getParentApi('getXdBusUpdateView')('onUpdateView', {});
453
428
  loading.close()
454
429
  }
@@ -93,6 +93,7 @@
93
93
  <script>
94
94
  import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
95
95
  import { jfbRootExec } from "@/utils/xd.event";
96
+ import JfbBasePhoneCollectMixin from "./JfbBasePhoneCollectMixin";
96
97
  import componentsMixins from "@/mixins/componentsMixins";
97
98
  import extsMixins from "@/mixins/extsMixins";
98
99
  import { getContainerPropsValue } from "@/utils/xd.base";
@@ -101,7 +102,6 @@ import XdForm from "@/components/XdForm/XdForm";
101
102
  import XdFormInput from "@/components/XdFormInput/XdFormInput";
102
103
  import XdButton from "@/components/XdButton/XdButton";
103
104
  import XdFormCheckbox from "@/components/XdFormCheckbox/XdFormCheckbox";
104
- import JfbBasePhoneCollectMixin from "./JfbBasePhoneCollectMixin";
105
105
 
106
106
  export default {
107
107
  name: "JfbBasePhoneCollect",