jufubao-base 1.0.128 → 1.0.130-beta2

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 (194) 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 +5 -3
  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 +10 -5
  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 +134 -141
  130. package/src/components/JfbBasePoster/JfbBasePosterLess.less +18 -19
  131. package/src/components/JfbBasePosterBigSmall/Attr.js +93 -76
  132. package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmall.vue +3 -7
  133. package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmallLess.less +18 -19
  134. package/src/components/JfbBasePosterBigSmall/getWidthHeight.js +2 -2
  135. package/src/components/JfbBasePosterEntry/Attr.js +44 -33
  136. package/src/components/JfbBasePosterEntry/JfbBasePosterEntry.vue +44 -49
  137. package/src/components/JfbBasePosterEntry/JfbBasePosterEntryLess.less +18 -19
  138. package/src/components/JfbBasePosterType/Attr.js +82 -48
  139. package/src/components/JfbBasePosterType/FourScreen.vue +39 -34
  140. package/src/components/JfbBasePosterType/JfbBasePosterType.vue +51 -73
  141. package/src/components/JfbBasePosterType/JfbBasePosterTypeLess.less +18 -19
  142. package/src/components/JfbBaseRecharge/Attr.js +35 -23
  143. package/src/components/JfbBaseRecharge/JfbBaseRecharge.vue +54 -8
  144. package/src/components/JfbBaseRecharge/JfbBaseRechargeLess.less +18 -19
  145. package/src/components/JfbBaseRechargeOrder/Attr.js +32 -22
  146. package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrder.vue +12 -7
  147. package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrderLess.less +18 -19
  148. package/src/components/JfbBaseRechargeOrderDetail/JfbBaseRechargeOrderDetailLess.less +18 -19
  149. package/src/components/JfbBaseRechargeSuccess/Attr.js +10 -8
  150. package/src/components/JfbBaseRechargeSuccess/JfbBaseRechargeSuccessLess.less +18 -19
  151. package/src/components/JfbBaseSearch/Attr.js +6 -148
  152. package/src/components/JfbBaseSearch/JfbBaseSearch.vue +8 -37
  153. package/src/components/JfbBaseSearch/JfbBaseSearchLess.less +18 -19
  154. package/src/components/JfbBaseSetPwd/Attr.js +6 -147
  155. package/src/components/JfbBaseSetPwd/JfbBaseSetPwdLess.less +18 -19
  156. package/src/components/JfbBaseSuccess/Attr.js +78 -17
  157. package/src/components/JfbBaseSuccess/JfbBaseSuccessLess.less +18 -19
  158. package/src/components/JfbBaseTestApi/JfbBaseTestApiLess.less +18 -19
  159. package/src/components/JfbBaseTestBody/JfbBaseTestBodyLess.less +18 -19
  160. package/src/components/JfbBaseTestBottom/JfbBaseTestBottomLess.less +18 -19
  161. package/src/components/JfbBaseTestNotice/JfbBaseTestNoticeLess.less +18 -19
  162. package/src/components/JfbBaseTestTop/JfbBaseTestTopLess.less +18 -19
  163. package/src/components/JfbBaseUserCenter/Attr.js +72 -53
  164. package/src/components/JfbBaseUserCenter/JfbBaseUserCenter.vue +40 -27
  165. package/src/components/JfbBaseUserCenter/JfbBaseUserCenterLess.less +18 -19
  166. package/src/components/JfbBaseUserInfo/Attr.js +54 -45
  167. package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +21 -21
  168. package/src/components/JfbBaseUserInfo/JfbBaseUserInfoLess.less +18 -19
  169. package/src/components/JfbBaseUserOrder/Attr.js +118 -92
  170. package/src/components/JfbBaseUserOrder/JfbBaseUserOrder.vue +21 -7
  171. package/src/components/JfbBaseUserOrder/JfbBaseUserOrderLess.less +18 -19
  172. package/src/components/JfbBaseVideo/Attr.js +72 -19
  173. package/src/components/JfbBaseVideo/JfbBaseVideo.vue +69 -28
  174. package/src/components/JfbBaseVideo/JfbBaseVideoLess.less +18 -19
  175. package/src/components/JfbBaseVideo/XdVideo.vue +6 -44
  176. package/src/components/JfbBaseWallet/JfbBaseWalletLess.less +18 -19
  177. package/src/components/JfbBaseWalletDetail/JfbBaseWalletDetailLess.less +18 -19
  178. package/src/components/JfbBaseWalletDetail/JfbBaseWalletDetailMixin.js +0 -12
  179. package/src/components/JfbBaseWalletEffective/JfbBaseWalletEffectiveLess.less +18 -19
  180. package/src/components/JfbBaseWalletIndex/JfbBaseWalletIndexLess.less +18 -19
  181. package/src/components/JfbBaseWalletItem/JfbBaseWalletItemLess.less +18 -19
  182. package/src/components/JfbBaseWebview/JfbBaseWebviewLess.less +18 -19
  183. package/src/components/JfbBaseWxAuthorize/Attr.js +31 -3
  184. package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorize.vue +32 -26
  185. package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorizeLess.less +18 -19
  186. package/src/components/JfbBaseWxAuthorizeError/Attr.js +21 -17
  187. package/src/components/JfbBaseWxAuthorizeError/JfbBaseWxAuthorizeErrorLess.less +18 -19
  188. package/src/components/JfbBaseLine/Attr.js +0 -59
  189. package/src/components/JfbBaseLine/JfbBaseLine.vue +0 -105
  190. package/src/components/JfbBaseLine/JfbBaseLineLess.less +0 -80
  191. package/src/components/JfbBaseLine/JfbBaseLineMixin.js +0 -30
  192. package/src/components/JfbBasePosterType/Screen.vue +0 -284
  193. package/src/components/JfbBaseSearch/Api.js +0 -60
  194. package/src/components/JfbBaseSearch/Mock.js +0 -5
@@ -7,15 +7,17 @@ export default {
7
7
  content: (data)=>{
8
8
  return [
9
9
  {
10
- label: '', //label
11
- ele: 'slot', //package 名称
10
+ label: '',
11
+ ele: 'slot',
12
12
  slot: 'is_reference_title',
13
+ groupKey:'advanced',
13
14
  },
14
15
  {
15
16
  label: '内容排版:',
16
17
  ele: 'xd-radio',
17
18
  valueKey: 'text_type',
18
19
  value: data['text_type'] || 'N',
20
+ groupKey:'content',
19
21
  placeholder: '请选择内容排版',
20
22
  multiple: false,
21
23
  className: 'input80',
@@ -28,18 +30,29 @@ export default {
28
30
  label: '内容文字颜色:',
29
31
  ele: 'xd-color',
30
32
  valueKey: 'textColor',
33
+ groupKey:'style',
31
34
  value: data.textColor || '',
32
35
  placeholder: '请选择内容文字颜色',
33
36
  classNmae: 'input80',
34
37
  },
38
+ {
39
+ label: '内容背景颜色:',
40
+ ele: 'xd-color',
41
+ valueKey: 'backgroundColor',
42
+ groupKey:'style',
43
+ value: data.backgroundColor || '',
44
+ placeholder: '请选择内容背景颜色',
45
+ classNmae: 'input80',
46
+ },
35
47
  {
36
48
  label: '内容圆角设置:',
37
49
  ele: 'xd-site-select-list',
38
50
  valueKey: 'radius',
39
- value: data['radius'] || '0',
51
+ value: data['radius'] || '',
52
+ groupKey:'style',
40
53
  placeholder: '请选择内容圆角设置',
41
54
  multiple: false,
42
- className: 'input80',
55
+ className: 'input60',
43
56
  handleCustom({action, data}) {
44
57
  XdBus.getParentApi('getOptionsSettingList')({
45
58
  setting_id: 'edtix_style_radius',
@@ -54,22 +67,42 @@ export default {
54
67
  },
55
68
  },
56
69
  {
57
- label: '内容背景颜色:',
58
- ele: 'xd-color',
59
- valueKey: 'backgroundColor',
60
- value: data.backgroundColor || '',
61
- placeholder: '请选择内容背景颜色',
62
- classNmae: 'input80',
70
+ label: '内容设置外边距:',
71
+ ele: 'xd-margin-padding',
72
+ valueKey: 'margin',
73
+ groupKey:'style',
74
+ value: data['margin'] || null,
75
+ setting: {
76
+ type: 'margin',
77
+ },
78
+ placeholder: '请设置外边距',
79
+ inline: false,
80
+ notice: '设置外边距,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">0</span>像素',
81
+ },
82
+ {
83
+ label: '内容设置内边距:',
84
+ groupKey:'style',
85
+ ele: 'xd-margin-padding',
86
+ valueKey: 'padding',
87
+ value: data['padding'] || null,
88
+ setting: {
89
+ type: 'padding',
90
+ },
91
+ placeholder: '请设置边距',
92
+ inline: false,
93
+ notice: '设置内边距,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
63
94
  },
64
95
  {
65
96
  ele: 'title',
66
97
  label: '投影设置',
67
- size: 'small', //default/mini/small
98
+ size: 'small',
99
+ groupKey:'style',
68
100
  },
69
101
  {
70
102
  label: '是否有投影:',
71
103
  ele: 'xd-radio',
72
104
  valueKey: 'is_shadow',
105
+ groupKey:'style',
73
106
  value: data['is_shadow'] || 'N',
74
107
  placeholder: '请选择是否投影',
75
108
  multiple: false,
@@ -83,12 +116,14 @@ export default {
83
116
  label: '投影颜色:',
84
117
  ele: 'xd-color',
85
118
  valueKey: 'is_shadow_bg',
119
+ groupKey:'style',
86
120
  value: data['is_shadow_bg'] || '',
87
121
  placeholder: '请选择投影颜色',
88
122
  classNmae: 'input80',
89
123
  },
90
124
  data['is_shadow'] === 'Y' && {
91
125
  label: '投影范围:',
126
+ groupKey:'style',
92
127
  ele: 'xd-site-select-list',
93
128
  valueKey: 'is_shadow_w',
94
129
  value: data['is_shadow_w'] || '10',
@@ -111,12 +146,14 @@ export default {
111
146
  {
112
147
  ele: 'title',
113
148
  label: '边框设置',
114
- size: 'small', //default/mini/small
149
+ size: 'small',
150
+ groupKey:'style',
115
151
  },
116
152
  {
117
153
  label: '是否有边框:',
118
154
  ele: 'xd-radio',
119
155
  valueKey: 'is_border',
156
+ groupKey:'style',
120
157
  value: data['is_border'] || 'N',
121
158
  placeholder: '请选择是否有边框',
122
159
  multiple: false,
@@ -129,6 +166,7 @@ export default {
129
166
  data['is_border'] === 'Y' && {
130
167
  label: '边框颜色:',
131
168
  ele: 'xd-color',
169
+ groupKey:'style',
132
170
  valueKey: 'is_border_c',
133
171
  value: data['is_border_c'] || '',
134
172
  placeholder: '请选择边框颜色',
@@ -138,46 +176,17 @@ export default {
138
176
  label: '边框大小:',
139
177
  ele: 'el-input',
140
178
  type: 'number',
179
+ groupKey:'style',
141
180
  valueKey: 'is_border_w',
142
181
  value: data['is_border_w'] || '',
143
182
  placeholder: '请输入边框颜色',
144
183
  className: 'input80',
145
184
  },
146
185
  {
147
- ele: 'title',
148
- label: '其他设置',
149
- size: 'small', //default/mini/small
150
- },
151
- {
152
- label: '内容设置外边距:',
153
- ele: 'xd-margin-padding',
154
- valueKey: 'margin',
155
- value: data['margin'] || null,
156
- disabled: false,
157
- setting: {
158
- type: 'margin',
159
- },
160
- placeholder: '请设置外边距',
161
- inline: false,
162
- notice: '设置外边距,<span style="color: red">单位:像素</span>。默认值:0像素',
163
- },
164
- {
165
- label: '内容设置内边距:',
166
- ele: 'xd-margin-padding',
167
- valueKey: 'padding',
168
- value: data['padding'] || null,
169
- disabled: false,
170
- setting: {
171
- type: 'padding',
172
- },
173
- placeholder: '请设置边距',
174
- inline: false,
175
- notice: '设置内边距,<span style="color: red">单位:像素</span>。默认值:0像素',
176
- },
177
- {
178
- label: '', //label
179
- ele: 'slot', //package 名称
186
+ label: '',
187
+ ele: 'slot',
180
188
  slot: 'is_reference',
189
+ groupKey:'advanced',
181
190
  },
182
191
  ].filter(i=>i)
183
192
  },
@@ -14,6 +14,7 @@
14
14
  </view>
15
15
  <!-- #endif -->
16
16
  <view class="jfb-base-user-info__body">
17
+ <view class="x-line"></view>
17
18
  <view
18
19
  class="jfb-base-user-info__body-header"
19
20
  :style="{
@@ -40,18 +41,19 @@
40
41
  <view v-else class="no-image" :style="{borderColor: color}">
41
42
  <xd-font-icon :color="color" icon="iconwode_mian" size="90"></xd-font-icon>
42
43
  </view>
43
-
44
44
  <view v-if="logined && textType ==='N'" :style="{color:color}">{{userInfo|getName}}</view>
45
45
  <view class="vertical-user" v-if="logined && textType ==='Y'" :style="{color:color}">
46
46
  <view>{{userInfo|getName}}</view>
47
+ <view class="logout" @click="handleLogout()">
48
+ <view :style="{color:color}">[退出登录]</view>
49
+ </view>
47
50
  <view @click="handleToLink()" v-if="0">
48
51
  <xd-font-icon :color="color" size="40" icon="iconshezhi_mian"></xd-font-icon>
49
52
  </view>
50
53
  </view>
51
54
  </view>
52
-
53
- <view @click="handleLogout()" v-if="logined" class="logout">
54
- <view v-if="textType ==='N'">[退出登录]</view>
55
+ <view @click="handleLogout()" v-if="logined && textType ==='N'" class="logout">
56
+ <view :style="{color:color}">[退出登录]</view>
55
57
  </view>
56
58
  </view>
57
59
  </view>
@@ -78,18 +80,18 @@
78
80
  ...mapState(['jfbAuthorize']),
79
81
 
80
82
  outMargin() {
81
- let margin = `${this.margin.top !== null ? this.margin.top : 20}rpx`;
82
- margin = `${margin} ${this.margin.right !== null ? this.margin.right : 20}rpx`;
83
- margin = `${margin} ${this.margin.bottom !== null ? this.margin.bottom : 20}rpx`;
84
- margin = `${margin} ${this.margin.left !== null ? this.margin.left : 20}rpx`;
85
- return margin;
83
+ let str = `${this.checkValue(this.margin.top, 20)}rpx`;
84
+ str = `${str} ${this.checkValue(this.margin.right, 20)}rpx`;
85
+ str = `${str} ${this.checkValue(this.margin.bottom, 20)}rpx`;
86
+ str = `${str} ${this.checkValue(this.margin.left, 20)}rpx`;
87
+ return str
86
88
  },
87
89
  outPadding() {
88
- let padding = `${this.padding.top !== null ? this.padding.top : 20}rpx`;
89
- padding = `${padding} ${this.padding.right !== null ? this.padding.right : 20}rpx`;
90
- padding = `${padding} ${this.padding.bottom !== null ? this.padding.bottom : 20}rpx`;
91
- padding = `${padding} ${this.padding.left !== null ? this.padding.left : 20}rpx`;
92
- return padding;
90
+ let str = `${this.checkValue(this.padding.top, 20)}rpx`;
91
+ str = `${str} ${this.checkValue(this.padding.right, 20)}rpx`;
92
+ str = `${str} ${this.checkValue(this.padding.bottom, 20)}rpx`;
93
+ str = `${str} ${this.checkValue(this.padding.left, 20)}rpx`;
94
+ return str
93
95
  },
94
96
  shadow(){
95
97
  if(this.is_shadow === 'Y') return `0 0 ${this.is_shadow_w}rpx ${this.is_shadow_bg}`;
@@ -160,7 +162,6 @@
160
162
  },
161
163
 
162
164
  async handleLogout(){
163
- debugger
164
165
  // #ifdef H5
165
166
  if (this.$configProject.isPreview) return;
166
167
  // #endif
@@ -216,7 +217,7 @@
216
217
  this.padding = getContainerPropsValue(container, 'content.padding', {top: 20, left: 20, right: 20, bottom: 20});
217
218
  this.address_url = getContainerPropsValue(container, 'content.address_url', {value: ''});
218
219
  this.color = getContainerPropsValue(container, 'content.textColor', '#333');
219
- this.backgroundColor = getContainerPropsValue(container, 'content.backgroundColor', 'rgba(0,0,0,0)');
220
+ this.backgroundColor = getContainerPropsValue(container, 'content.backgroundColor', '#f8f8f8');
220
221
  this.textType = getContainerPropsValue(container, 'content.text_type', 'N');
221
222
 
222
223
  this.is_shadow = getContainerPropsValue(container, 'content.is_shadow', 'N');
@@ -225,9 +226,8 @@
225
226
 
226
227
  this.is_border = getContainerPropsValue(container, 'content.is_border', 'N');
227
228
  this.is_border_c = getContainerPropsValue(container, 'content.is_border_c', '#fff');
228
- this.is_border_w = getContainerPropsValue(container, 'content.is_border_w', '10');
229
-
230
- this.radius = getContainerPropsValue(container, 'content.radius', '0');
229
+ this.is_border_w = getContainerPropsValue(container, 'content.is_border_w', 0);
230
+ this.radius = getContainerPropsValue(container, 'content.radius', '10');
231
231
  },
232
232
  }
233
233
  }
@@ -304,9 +304,9 @@
304
304
  }
305
305
 
306
306
  .logout {
307
- font-size: unit(26, rpx);
307
+ font-size: unit(24, rpx);
308
308
  & > view {
309
- color: #333;
309
+ cursor: pointer;
310
310
  }
311
311
  }
312
312
  }
@@ -13,9 +13,8 @@
13
13
 
14
14
  //start
15
15
  .jfb-base-user-info {
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-user-info {
75
- &:before {
76
- content: " ";
77
- display: table;
78
- }
74
+ //&:before {
75
+ //content: " ";
76
+ //display: table;
77
+ //}
79
78
  }
80
79
  /**endNotPreview**/
@@ -11,86 +11,153 @@ export default {
11
11
  label: '',
12
12
  ele: 'slot',
13
13
  slot: 'is_reference_title',
14
+ groupKey:'advanced',
14
15
  },
15
16
  {
16
- label: '文字颜色:',
17
- ele: 'xd-color',
18
- valueKey: 'textColor',
19
- value: data['textColor'] || '',
20
- placeholder: '请选择文字颜色',
21
- classNmae: 'input80',
22
- },
23
- {
24
- label: 'ICON颜色:',
25
- ele: 'xd-color',
26
- valueKey: 'iconColor',
27
- value: data['iconColor'] || '',
28
- placeholder: '请选择ICON颜色',
29
- classNmae: 'input80',
17
+ label: '设置订单状态:',
18
+ ele: 'xd-order-setting',
19
+ valueKey: 'orderTypeList',
20
+ groupKey:'content',
21
+ value: data['orderTypeList'] || null,
22
+ setting: {
23
+ router: XdBus.getParentApi('getPagesTree'),
24
+ },
25
+ handleCustom({action, data}) {
26
+ if (action === 'number') {
27
+ data.cb([
28
+ {"label": "全部", "value": 'all'},
29
+ {"label": "待付款", "value": 'unpaid'},
30
+ {"label": "待收货", "value": 'unreceived'},
31
+ {"label": "已取消", "value": 'cancel'},
32
+ {"label": "已完成", "value": 'com'},
33
+ ])
34
+ }
35
+ },
36
+ inline: false,
37
+ 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>',
38
+ rules: [
39
+ {required: true, message: '设置订单配置错误!请检查配置', trigger: 'change'},
40
+ ],
30
41
  },
31
42
  {
32
43
  label: '背景颜色:',
33
44
  ele: 'xd-color',
34
- valueKey: 'backgroundColor',
35
- value: data['backgroundColor'] || '',
45
+ groupKey:'style',
46
+ valueKey: 'bodyBackgroundColor',
47
+ value: data['bodyBackgroundColor'] || null,
36
48
  placeholder: '请选择背景颜色',
37
49
  classNmae: 'input80',
38
50
  },
39
51
  {
40
- label: '文字颜色:',
41
- ele: 'xd-color',
42
- valueKey: 'cardNameColor',
43
- value: data['cardNameColor'] || null,
44
- placeholder: '请选择卡券文字颜色',
45
- classNmae: 'input80',
52
+ label: '圆角设置:',
53
+ groupKey:'style',
54
+ ele: 'xd-site-select-list',
55
+ valueKey: 'bodyRadius',
56
+ value: data['bodyRadius'],
57
+ placeholder: '请选择圆角设置',
58
+ multiple: false,
59
+ className: 'input60',
60
+ handleCustom({action, data}) {
61
+ XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_radius'})
62
+ .then(res => {
63
+ data.cb(res.list)
64
+ })
65
+ .catch(error => {
66
+ console.error(error);
67
+ });
68
+ },
46
69
  },
47
70
  {
48
- ele: 'title',
49
- label: '整体风格',
50
- size: 'small', //default/mini/small
71
+ label: '间距:',
72
+ ele: 'el-input',
73
+ type: 'number',
74
+ valueKey: 'spacing',
75
+ groupKey:'style',
76
+ value: data.spacing || '',
77
+ placeholder: '请输入间距',
78
+ className: 'input60',
79
+ inline: false,
80
+ notice: '设置间距,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
51
81
  },
52
82
  {
53
83
  label: '外边距:',
54
84
  ele: 'xd-margin-padding',
55
85
  valueKey: 'bodyMargin',
86
+ groupKey:'style',
56
87
  value: data['bodyMargin'] || null,
57
- disabled: false,
58
88
  setting: {
59
89
  type: 'margin',
60
90
  },
61
91
  placeholder: '请设置外边距',
62
92
  inline: false,
63
- notice: '设置外边距,<span style="color: red">单位:像素</span>。默认值:0像素',
93
+ notice: '设置外边距,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
64
94
  },
65
95
  {
66
96
  label: '填充:',
67
97
  ele: 'xd-margin-padding',
68
98
  valueKey: 'bodyPadding',
99
+ groupKey:'style',
69
100
  value: data['bodyPadding'] || null,
70
- disabled: false,
71
101
  setting: {
72
102
  type: 'padding',
73
103
  },
74
104
  placeholder: '请设置外边距',
75
105
  inline: false,
76
- notice: '设置填充值,<span style="color: red">单位:像素</span>。默认值:0像素',
106
+ notice: '设置填充值,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">0</span>像素',
107
+ },
108
+ {
109
+ label: '标题样式颜色:',
110
+ ele: 'xd-color',
111
+ groupKey:'style',
112
+ valueKey: 'cardNameColor',
113
+ value: data['cardNameColor'] || null,
114
+ placeholder: '请选择卡券文字颜色',
115
+ classNmae: 'input60',
116
+ },
117
+
118
+
119
+ {
120
+ ele: 'title',
121
+ label: '内容样式设置',
122
+ size: 'small',
123
+ groupKey:'style',
124
+ },
125
+ {
126
+ label: '文字颜色:',
127
+ ele: 'xd-color',
128
+ groupKey:'style',
129
+ valueKey: 'textColor',
130
+ value: data['textColor'] || '',
131
+ placeholder: '请选择文字颜色',
132
+ classNmae: 'input80',
133
+ },
134
+ {
135
+ label: 'ICON颜色:',
136
+ ele: 'xd-color',
137
+ valueKey: 'iconColor',
138
+ groupKey:'style',
139
+ value: data['iconColor'] || '',
140
+ placeholder: '请选择ICON颜色',
141
+ classNmae: 'input80',
77
142
  },
78
143
  {
79
144
  label: '背景颜色:',
80
145
  ele: 'xd-color',
81
- valueKey: 'bodyBackgroundColor',
82
- value: data['bodyBackgroundColor'] || null,
146
+ groupKey:'style',
147
+ valueKey: 'backgroundColor',
148
+ value: data['backgroundColor'] || '',
83
149
  placeholder: '请选择背景颜色',
84
150
  classNmae: 'input80',
85
151
  },
86
152
  {
87
153
  label: '圆角设置:',
88
154
  ele: 'xd-site-select-list',
89
- valueKey: 'bodyRadius',
90
- value: data['bodyRadius'],
91
- placeholder: '请选择圆角设置',
155
+ valueKey: 'radius',
156
+ value: data['radius'] || '10',
157
+ groupKey:'style',
158
+ placeholder: '请选择内容圆角设置',
92
159
  multiple: false,
93
- className: 'input80',
160
+ className: 'input60',
94
161
  handleCustom({action, data}) {
95
162
  XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_radius'})
96
163
  .then(res => {
@@ -103,8 +170,9 @@ export default {
103
170
  },
104
171
  {
105
172
  ele: 'title',
106
- label: '边框设置',
107
- size: 'small', //default/mini/small
173
+ label: '内容边框设置',
174
+ size: 'small',
175
+ groupKey:'style',
108
176
  },
109
177
  {
110
178
  label: '是否有边框:',
@@ -112,6 +180,7 @@ export default {
112
180
  valueKey: 'is_border',
113
181
  value: data['is_border'] || 'N',
114
182
  placeholder: '请选择是否有边框',
183
+ groupKey:'style',
115
184
  multiple: false,
116
185
  className: 'input80',
117
186
  list: [
@@ -122,6 +191,7 @@ export default {
122
191
  data['is_border'] === 'Y' && {
123
192
  label: '边框颜色:',
124
193
  ele: 'xd-color',
194
+ groupKey:'style',
125
195
  valueKey: 'is_border_c',
126
196
  value: data['is_border_c'] || '',
127
197
  placeholder: '请选择边框颜色',
@@ -131,38 +201,18 @@ export default {
131
201
  label: '边框大小:',
132
202
  ele: 'el-input',
133
203
  type: 'number',
204
+ groupKey:'style',
134
205
  valueKey: 'is_border_w',
135
206
  value: data['is_border_w'] || '',
136
207
  placeholder: '请输入边框颜色',
137
208
  className: 'input80',
138
209
  },
210
+
139
211
  {
140
- label: '内容圆角设置:',
141
- ele: 'xd-site-select-list',
142
- valueKey: 'radius',
143
- value: data['radius'] || '10',
144
- placeholder: '请选择内容圆角设置',
145
- multiple: false,
146
- className: 'input80',
147
- handleCustom({action, data}) {
148
- XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_radius'})
149
- .then(res => {
150
- data.cb(res.list)
151
- })
152
- .catch(error => {
153
- console.error(error);
154
- });
155
- },
156
- },
157
- {
158
- ele: 'title',
159
- label: '其他设置',
160
- size: 'small', //default/mini/small
161
- },
162
- {
163
- label: '设置售后订单列表地址:', //label
164
- ele: 'xd-select-pages-path', //package 名称
165
- valueKey: 'after_url', //form[valueKey]
212
+ label: '设置售后订单列表地址:',
213
+ ele: 'xd-select-pages-path',
214
+ valueKey: 'after_url',
215
+ groupKey:'advanced',
166
216
  placeholder: '请选择设置售后订单列表地址',
167
217
  value: data['after_url'] || null,
168
218
  setting: {
@@ -174,9 +224,10 @@ export default {
174
224
  inline: false,
175
225
  },
176
226
  {
177
- label: '设置订单列表路径:', //label
178
- ele: 'xd-select-pages-path', //package 名称
179
- valueKey: 'order_url', //form[valueKey]
227
+ label: '设置订单列表路径:',
228
+ ele: 'xd-select-pages-path',
229
+ valueKey: 'order_url',
230
+ groupKey:'advanced',
180
231
  placeholder: '请选择设置订单列表路径',
181
232
  value: data['order_url'] || null,
182
233
  setting: {
@@ -187,36 +238,11 @@ export default {
187
238
  ],
188
239
  inline: false,
189
240
  },
190
- {
191
- label: '设置订单状态:', //label
192
- ele: 'xd-order-setting', //package 名称
193
- valueKey: 'orderTypeList', //form[valueKey]
194
- value: data['orderTypeList'] || null,
195
- setting: {
196
- router: XdBus.getParentApi('getPagesTree'),
197
- },
198
- handleCustom({action, data}) {
199
- if (action === 'number') {
200
- data.cb([
201
- {"label": "全部", "value": 'all'},
202
- {"label": "待付款", "value": 'unpaid'},
203
- {"label": "待收货", "value": 'unreceived'},
204
- {"label": "已取消", "value": 'cancel'},
205
- {"label": "已完成", "value": 'com'},
206
- ])
207
- }
208
- },
209
- inline: false,
210
- 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>',
211
- rules: [
212
- {required: true, message: '设置订单配置错误!请检查配置', trigger: 'change'},
213
- ],
214
- },
215
-
216
241
  {
217
242
  label: '',
218
243
  ele: 'slot',
219
244
  slot: 'is_reference',
245
+ groupKey:'advanced',
220
246
  },
221
247
  ].filter(i=>i)
222
248
  },