jufubao-base 1.0.130-beta3 → 1.0.130

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