jufubao-base 1.0.132-beta2 → 1.0.132

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 +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/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
@@ -11,14 +11,12 @@ export default {
11
11
  label: '',
12
12
  ele: 'slot',
13
13
  slot: 'is_reference_title',
14
- groupKey:'advanced',
15
14
  },
16
15
  {
17
16
  label: '卡券自定义名称:',
18
17
  ele: 'el-input',
19
18
  type: 'text',
20
19
  valueKey: 'cardName',
21
- groupKey:'content',
22
20
  value: data['cardName'] || '',
23
21
  placeholder: '请输入卡券自定义名称',
24
22
  className: 'input80',
@@ -38,23 +36,45 @@ export default {
38
36
  label: '卡券文字颜色:',
39
37
  ele: 'xd-color',
40
38
  valueKey: 'cardNameColor',
41
- groupKey:'style',
42
39
  value: data['cardNameColor'] || null,
43
40
  placeholder: '请选择卡券文字颜色',
44
41
  classNmae: 'input80',
45
42
  },
46
-
47
43
  {
48
44
  ele: 'title',
49
45
  label: '整体风格',
50
- size: 'small',
51
- groupKey:'style',
46
+ size: 'small', //default/mini/small
47
+ },
48
+ {
49
+ label: '外边距:',
50
+ ele: 'xd-margin-padding',
51
+ valueKey: 'bodyMargin',
52
+ value: data['bodyMargin'] || null,
53
+ disabled: false,
54
+ setting: {
55
+ type: 'margin',
56
+ },
57
+ placeholder: '请设置外边距',
58
+ inline: false,
59
+ notice: '设置外边距,<span style="color: red">单位:像素</span>。默认值:0像素',
60
+ },
61
+ {
62
+ label: '填充:',
63
+ ele: 'xd-margin-padding',
64
+ valueKey: 'bodyPadding',
65
+ value: data['bodyPadding'] || null,
66
+ disabled: false,
67
+ setting: {
68
+ type: 'padding',
69
+ },
70
+ placeholder: '请设置外边距',
71
+ inline: false,
72
+ notice: '设置填充值,<span style="color: red">单位:像素</span>。默认值:0像素',
52
73
  },
53
74
  {
54
75
  label: '背景颜色:',
55
76
  ele: 'xd-color',
56
77
  valueKey: 'bodyBackgroundColor',
57
- groupKey:'style',
58
78
  value: data['bodyBackgroundColor'] || null,
59
79
  placeholder: '请选择背景颜色',
60
80
  classNmae: 'input80',
@@ -63,7 +83,6 @@ export default {
63
83
  label: '圆角设置:',
64
84
  ele: 'xd-site-select-list',
65
85
  valueKey: 'bodyRadius',
66
- groupKey:'style',
67
86
  value: data['bodyRadius'],
68
87
  placeholder: '请选择圆角设置',
69
88
  multiple: false,
@@ -78,55 +97,16 @@ export default {
78
97
  });
79
98
  },
80
99
  },
81
- {
82
- label: '间距:',
83
- ele: 'el-input',
84
- type: 'number',
85
- valueKey: 'padding',
86
- groupKey:'style',
87
- value: data.padding || '',
88
- placeholder: '请输入间距',
89
- className: 'input60',
90
- inline: false,
91
- notice: '设置间距,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
92
- },
93
- {
94
- label: '外边距:',
95
- ele: 'xd-margin-padding',
96
- valueKey: 'bodyMargin',
97
- groupKey:'style',
98
- value: data['bodyMargin'] || null,
99
- setting: {
100
- type: 'margin',
101
- },
102
- placeholder: '请设置外边距',
103
- inline: false,
104
- notice: '设置外边距,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
105
- },
106
- {
107
- label: '填充:',
108
- ele: 'xd-margin-padding',
109
- valueKey: 'bodyPadding',
110
- groupKey:'style',
111
- value: data['bodyPadding'] || null,
112
- setting: {
113
- type: 'padding',
114
- },
115
- placeholder: '请设置外边距',
116
- inline: false,
117
- notice: '设置填充值,<span style="color: red">单位:像素</span>。默认值:0像素',
118
- },
119
100
  {
120
101
  ele: 'title',
121
102
  label: '内容区域风格',
122
- size: 'small',
123
- groupKey:'style',
103
+ size: 'small', //default/mini/small
124
104
  },
105
+
125
106
  {
126
107
  label: '背景颜色:',
127
108
  ele: 'xd-color',
128
109
  valueKey: 'backgroundColor',
129
- groupKey:'style',
130
110
  value: data['backgroundColor'] || null,
131
111
  placeholder: '请选择背景颜色',
132
112
  classNmae: 'input80',
@@ -135,7 +115,6 @@ export default {
135
115
  label: '按钮背景颜色:',
136
116
  ele: 'xd-color',
137
117
  valueKey: 'btnBgColor',
138
- groupKey:'style',
139
118
  value: data['btnBgColor'] || null,
140
119
  placeholder: '请选择按钮背景颜色',
141
120
  classNmae: 'input80',
@@ -144,7 +123,6 @@ export default {
144
123
  label: '按钮文字颜色:',
145
124
  ele: 'xd-color',
146
125
  valueKey: 'btnTextColor',
147
- groupKey:'style',
148
126
  value: data['btnTextColor'] || null,
149
127
  placeholder: '请选择按钮文字颜色',
150
128
  classNmae: 'input80',
@@ -153,7 +131,6 @@ export default {
153
131
  label: '按钮文字大小:',
154
132
  ele: 'xd-site-select-list',
155
133
  valueKey: 'btnFontSize',
156
- groupKey:'style',
157
134
  value: data['btnFontSize'] || '',
158
135
  placeholder: '请选择按钮文字大小',
159
136
  multiple: false,
@@ -170,18 +147,24 @@ export default {
170
147
  });
171
148
  },
172
149
  },
173
-
150
+ {
151
+ label: '间距:',
152
+ ele: 'el-input',
153
+ type: 'number',
154
+ valueKey: 'padding',
155
+ value: data.padding || '',
156
+ placeholder: '请输入间距',
157
+ className: 'input80',
158
+ },
174
159
  {
175
160
  ele: 'title',
176
161
  label: '边框设置',
177
- size: 'small',
178
- groupKey:'style',
162
+ size: 'small', //default/mini/small
179
163
  },
180
164
  {
181
165
  label: '是否有边框:',
182
166
  ele: 'xd-radio',
183
167
  valueKey: 'is_border',
184
- groupKey:'style',
185
168
  value: data['is_border'] || 'N',
186
169
  placeholder: '请选择是否有边框',
187
170
  multiple: false,
@@ -195,7 +178,6 @@ export default {
195
178
  label: '边框颜色:',
196
179
  ele: 'xd-color',
197
180
  valueKey: 'is_border_c',
198
- groupKey:'style',
199
181
  value: data['is_border_c'] || '',
200
182
  placeholder: '请选择边框颜色',
201
183
  classNmae: 'input80',
@@ -205,7 +187,6 @@ export default {
205
187
  ele: 'el-input',
206
188
  type: 'number',
207
189
  valueKey: 'is_border_w',
208
- groupKey:'style',
209
190
  value: data['is_border_w'] || '',
210
191
  placeholder: '请输入边框颜色',
211
192
  className: 'input80',
@@ -214,7 +195,6 @@ export default {
214
195
  label: '内容圆角设置:',
215
196
  ele: 'xd-site-select-list',
216
197
  valueKey: 'radius',
217
- groupKey:'style',
218
198
  value: data['radius'] || '10',
219
199
  placeholder: '请选择内容圆角设置',
220
200
  multiple: false,
@@ -230,10 +210,14 @@ export default {
230
210
  },
231
211
  },
232
212
  {
233
- label: '添加卡券路径:',
234
- ele: 'xd-select-pages-path',
235
- valueKey: 'add_url',
236
- groupKey:'advanced',
213
+ ele: 'title',
214
+ label: '其他设置',
215
+ size: 'small', //default/mini/small
216
+ },
217
+ {
218
+ label: '添加卡券路径:', //label
219
+ ele: 'xd-select-pages-path', //package 名称
220
+ valueKey: 'add_url', //form[valueKey]
237
221
  placeholder: '请选择添加卡券路径',
238
222
  value: data['add_url'] || null,
239
223
  setting: {
@@ -245,10 +229,9 @@ export default {
245
229
  inline: false,
246
230
  },
247
231
  {
248
- label: '设置支付密码路径:',
249
- ele: 'xd-select-pages-path',
250
- valueKey: 'pwd_url',
251
- groupKey:'advanced',
232
+ label: '设置支付密码路径:', //label
233
+ ele: 'xd-select-pages-path', //package 名称
234
+ valueKey: 'pwd_url', //form[valueKey]
252
235
  placeholder: '请选择设置支付密码路径',
253
236
  value: data['pwd_url'] || null,
254
237
  setting: {
@@ -260,10 +243,9 @@ export default {
260
243
  inline: false,
261
244
  },
262
245
  {
263
- label: '进入我的票券路径:',
264
- ele: 'xd-select-pages-path',
265
- valueKey: 'card_url',
266
- groupKey:'advanced',
246
+ label: '进入我的票券路径:', //label
247
+ ele: 'xd-select-pages-path', //package 名称
248
+ valueKey: 'card_url', //form[valueKey]
267
249
  placeholder: '请选择进入我的票券路径',
268
250
  value: data['card_url'] || null,
269
251
  setting: {
@@ -278,7 +260,6 @@ export default {
278
260
  label: '',
279
261
  ele: 'slot',
280
262
  slot: 'is_reference',
281
- groupKey:'advanced',
282
263
  },
283
264
  ].filter(i=>i)
284
265
  },
@@ -13,13 +13,11 @@
13
13
  <view class="jfb-base-user-center__edit-icon" @click="delEdit">删除</view>
14
14
  </view>
15
15
  <!-- #endif -->
16
- <view class="jfb-base-user-center__body">
17
- <view class="x-line"></view>
18
- <view class="user-center-box" :style="{padding: outMargin}">
19
- <view :style="{borderRadius: bodyRadius + 'rpx', backgroundColor:bodyBackgroundColor, padding:outPadding}">
16
+ <view class="jfb-base-user-center__body" :style="{padding: outMargin}">
17
+ <view :style="{borderRadius: bodyRadius + 'rpx', backgroundColor:bodyBackgroundColor, padding:outPadding}">
20
18
  <view class="my-card-add__btn">
21
19
  <view :style="{color: cardNameColor}">我的{{cardName}}</view>
22
- <view :style="{borderColor:btnBoxColor || mainColor,color:btnBoxColor || mainColor}" @click="handleToLink(add_url)">添加{{cardName}}</view>
20
+ <view :style="{borderColor:mainColor,color:mainColor}" @click="handleToLink(add_url)">添加{{cardName}}</view>
23
21
  </view>
24
22
  <view
25
23
  class="my-card-add__link"
@@ -50,7 +48,6 @@
50
48
  </view>
51
49
  </view>
52
50
  </view>
53
- </view>
54
51
  </view>
55
52
  </view>
56
53
  </template>
@@ -63,7 +60,7 @@
63
60
  import extsMixins from "@/mixins/extsMixins"
64
61
  import { getContainerPropsValue } from "@/utils/xd.base";
65
62
  const color = require('color');
66
-
63
+
67
64
  export default {
68
65
  name: "JfbBaseUserCenter",
69
66
  components: {
@@ -72,18 +69,10 @@
72
69
  mixins: [componentsMixins,extsMixins,JfbBaseUserCenterMixin],
73
70
  computed: {
74
71
  outPadding() {
75
- let str = `${this.checkValue(this.bodyPadding.top, 0)}rpx`;
76
- str = `${str} ${this.checkValue(this.bodyPadding.right, 0)}rpx`;
77
- str = `${str} ${this.checkValue(this.bodyPadding.bottom, 0)}rpx`;
78
- str = `${str} ${this.checkValue(this.bodyPadding.left, 0)}rpx`;
79
- return str
72
+ return `${this.bodyPadding.top || 20}rpx ${this.bodyPadding.right || 20}rpx ${this.bodyPadding.bottom || 20}rpx ${this.bodyPadding.left || 20}rpx`
80
73
  },
81
74
  outMargin() {
82
- let str = `${this.checkValue(this.bodyMargin.top, 20)}rpx`;
83
- str = `${str} ${this.checkValue(this.bodyMargin.right, 20)}rpx`;
84
- str = `${str} ${this.checkValue(this.bodyMargin.bottom, 20)}rpx`;
85
- str = `${str} ${this.checkValue(this.bodyMargin.left, 20)}rpx`;
86
- return str
75
+ return `${this.bodyMargin.top || 0}rpx ${this.bodyMargin.right || 0}rpx ${this.bodyMargin.bottom || 0}rpx ${this.bodyMargin.left || 0}rpx`
87
76
  },
88
77
  borderBox() {
89
78
  if (this.is_border === 'Y') return `${this.is_border_w}rpx solid ${this.is_border_c}`;
@@ -96,7 +85,7 @@
96
85
  pwd_url: '',
97
86
  card_url:'',
98
87
  cardName: '',
99
-
88
+
100
89
  //基础
101
90
  color: '#333',
102
91
  backgroundColor: 'rgba(0,0,0,0)',
@@ -105,19 +94,18 @@
105
94
  btnBgColor: '',
106
95
  btnTextColor: '',
107
96
  btnFontSize: 24,
108
-
97
+
109
98
  //边框
110
99
  is_border: 'Y',
111
100
  is_border_w: 0,
112
101
  is_border_c: '',
113
-
102
+
114
103
  //整体
115
- bodyPadding: {},
104
+ bodyPadding: { top: 20, left: 20, right: 20, bottom: 20 },
116
105
  bodyRadius: 0,
117
106
  bodyBackgroundColor: 'rgba(0,0,0,0)',
118
- bodyMargin:{},
107
+ bodyMargin: {top: 0, left: 0, right: 0, bottom: 0},
119
108
  cardNameColor: '#333',
120
- btnBoxColor:'',
121
109
  }
122
110
  },
123
111
  watch: {
@@ -137,39 +125,38 @@
137
125
  url: type ? `${path}?type=${type}` : path
138
126
  })
139
127
  },
140
-
128
+
141
129
  /**
142
130
  * @description 监听事件变化
143
131
  * @param container {object} 业务组件对象自己
144
132
  */
145
133
  init(container) {
146
-
134
+
147
135
  //整体
148
- this.bodyMargin = getContainerPropsValue(container, 'content.bodyMargin', {});
136
+ this.bodyMargin = getContainerPropsValue(container, 'content.bodyMargin', {top: 0, left: 0, right: 0, bottom: 0});
149
137
  this.bodyRadius = getContainerPropsValue(container, 'content.bodyRadius', 0);
150
138
  this.bodyBackgroundColor = getContainerPropsValue(container, 'content.bodyBackgroundColor', 'rgba(0,0,0,0)');
151
- this.bodyPadding = getContainerPropsValue(container, 'content.bodyPadding', {});
152
-
139
+ this.bodyPadding = getContainerPropsValue(container, 'content.bodyPadding', {top: 20, left: 20, right: 20, bottom: 20});
140
+
153
141
  //基础
154
142
  this.radius = getContainerPropsValue(container, 'content.radius', 0);
155
143
  this.color = getContainerPropsValue(container, 'content.textColor', '#333');
156
144
  this.backgroundColor = getContainerPropsValue(container, 'content.backgroundColor', '#f8f8f8');
157
145
  this.padding = getContainerPropsValue(container, 'content.padding', 20);
158
146
  this.btnBgColor = getContainerPropsValue(container, 'content.btnBgColor', this.mainGradient);
159
- this.btnTextColor = getContainerPropsValue(container, 'content.btnTextColor', '#fff');
147
+ this.btnTextColor = getContainerPropsValue(container, 'content.btnTextColor', '#333');
160
148
  this.btnFontSize = getContainerPropsValue(container, 'content.btnFontSize',26);
161
149
  this.cardNameColor = getContainerPropsValue(container, 'content.cardNameColor','#333');
162
- this.btnBoxColor = getContainerPropsValue(container, 'content.cardNameColor','');
163
150
  this.is_border = getContainerPropsValue(container, 'content.is_border', 'N');
164
151
  this.is_border_c = getContainerPropsValue(container, 'content.is_border_c', '#fff');
165
152
  this.is_border_w = getContainerPropsValue(container, 'content.is_border_w', 2);
166
-
153
+
167
154
  //其他
168
155
  this.add_url = getContainerPropsValue(container, 'content.add_url', {value: ''}).value;
169
156
  this.pwd_url = getContainerPropsValue(container, 'content.pwd_url', {value: ''}).value;
170
157
  this.card_url = getContainerPropsValue(container, 'content.card_url', {value: ''}).value;
171
158
  this.cardName = getContainerPropsValue(container, 'content.cardName', '卡券');
172
-
159
+
173
160
  },
174
161
  }
175
162
  }
@@ -184,14 +171,14 @@
184
171
 
185
172
  }
186
173
  }
187
-
174
+
188
175
  .my-card-add {
189
176
  &__btn {
190
177
  display: flex;
191
178
  justify-content: space-between;
192
179
  align-items: center;
193
180
  font-size: unit(28, rpx);
194
-
181
+
195
182
  & > view:nth-child(2) {
196
183
  width: unit(200, rpx);
197
184
  height: unit(60, rpx);
@@ -202,33 +189,33 @@
202
189
  text-align: center;
203
190
  }
204
191
  }
205
-
192
+
206
193
  &__link {
207
194
  border-radius: unit(20, rpx);
208
195
  border: 1px solid #EEEEEE;
209
196
  padding: unit(40, rpx);
210
-
197
+
211
198
  & > view:first-child {
212
199
  margin-top: 0!important;
213
200
  }
214
-
201
+
215
202
  &-num {
216
203
  display: flex;
217
204
  align-items: center;
218
205
  justify-content: space-between;
219
206
  font-size: unit(28, rpx);
220
-
207
+
221
208
  & > view:nth-child(1) {
222
209
  color: #808080;
223
210
  }
224
-
211
+
225
212
  & > view:last-child {
226
213
  color: #808080;
227
214
  display: flex;
228
215
  align-items: center;
229
216
  }
230
217
  }
231
-
218
+
232
219
  &-btn {
233
220
  width: 100%;
234
221
  height: unit(80, rpx);
@@ -13,8 +13,9 @@
13
13
 
14
14
  //start
15
15
  .jfb-base-user-center {
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-center {
74
- //&:before {
75
- //content: " ";
76
- //display: table;
77
- //}
75
+ &:before {
76
+ content: " ";
77
+ display: table;
78
+ }
78
79
  }
79
80
  /**endNotPreview**/