jufubao-base 1.0.133 → 1.0.134-beta3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +4 -3
- package/src/components/JfbBaseAddress/Attr.js +11 -5
- package/src/components/JfbBaseAddress/JfbBaseAddress.vue +3 -3
- package/src/components/JfbBaseAddress/JfbBaseAddressLess.less +18 -19
- package/src/components/JfbBaseAfterOrderDetail/Attr.js +19 -7
- package/src/components/JfbBaseAfterOrderDetail/JfbBaseAfterOrderDetail.vue +6 -4
- package/src/components/JfbBaseAfterOrderDetail/JfbBaseAfterOrderDetailLess.less +18 -19
- package/src/components/JfbBaseAfterOrderList/Attr.js +25 -16
- package/src/components/JfbBaseAfterOrderList/JfbBaseAfterOrderList.vue +6 -9
- package/src/components/JfbBaseAfterOrderList/JfbBaseAfterOrderListLess.less +18 -19
- package/src/components/JfbBaseBack/JfbBaseBackLess.less +18 -19
- package/src/components/JfbBaseBackground/Attr.js +9 -8
- package/src/components/JfbBaseBackground/JfbBaseBackground.vue +0 -3
- package/src/components/JfbBaseBackground/JfbBaseBackgroundLess.less +18 -19
- package/src/components/JfbBaseBlock/Attr.js +12 -2
- package/src/components/JfbBaseBlock/JfbBaseBlock.vue +1 -8
- package/src/components/JfbBaseBlock/JfbBaseBlockLess.less +18 -19
- package/src/components/JfbBaseBottomNotice/JfbBaseBottomNoticeLess.less +18 -19
- package/src/components/JfbBaseCard/Attr.js +78 -36
- package/src/components/JfbBaseCard/JfbBaseCard.vue +2 -2
- package/src/components/JfbBaseCard/JfbBaseCardLess.less +18 -19
- package/src/components/JfbBaseCardBind/JfbBaseCardBindLess.less +18 -19
- package/src/components/JfbBaseCardBindV2/Attr.js +5 -4
- package/src/components/JfbBaseCardBindV2/JfbBaseCardBindV2.vue +6 -1
- package/src/components/JfbBaseCardBindV2/JfbBaseCardBindV2Less.less +18 -19
- package/src/components/JfbBaseCardDetail/Attr.js +4 -3
- package/src/components/JfbBaseCardDetail/JfbBaseCardDetailLess.less +18 -19
- package/src/components/JfbBaseCardDetailEntry/Attr.js +10 -8
- package/src/components/JfbBaseCardDetailEntry/JfbBaseCardDetailEntry.vue +4 -13
- package/src/components/JfbBaseCardDetailEntry/JfbBaseCardDetailEntryLess.less +18 -19
- package/src/components/JfbBaseCardDisabled/Attr.js +1 -3
- package/src/components/JfbBaseCardDisabled/JfbBaseCardDisabledLess.less +18 -19
- package/src/components/JfbBaseCardDisabledEntry/JfbBaseCardDisabledEntryLess.less +18 -19
- package/src/components/JfbBaseCardEntry/Api.js +1 -1
- package/src/components/JfbBaseCardEntry/Attr.js +86 -67
- package/src/components/JfbBaseCardEntry/JfbBaseCardEntry.vue +6 -5
- package/src/components/JfbBaseCardEntry/JfbBaseCardEntryLess.less +18 -19
- package/src/components/JfbBaseCardInfo/Attr.js +22 -16
- package/src/components/JfbBaseCardInfo/JfbBaseCardInfoLess.less +18 -19
- package/src/components/JfbBaseCardInfoEntry/Attr.js +16 -11
- package/src/components/JfbBaseCardInfoEntry/JfbBaseCardInfoEntryLess.less +18 -19
- package/src/components/JfbBaseCardMerge/Attr.js +21 -8
- package/src/components/JfbBaseCardMerge/JfbBaseCardMerge.vue +15 -30
- package/src/components/JfbBaseCardMerge/JfbBaseCardMergeLess.less +18 -19
- package/src/components/JfbBaseCardMergeEntry/Attr.js +20 -6
- package/src/components/JfbBaseCardMergeEntry/JfbBaseCardMergeEntry.vue +28 -25
- package/src/components/JfbBaseCardMergeEntry/JfbBaseCardMergeEntryLess.less +18 -19
- package/src/components/JfbBaseCardShift/Attr.js +18 -4
- package/src/components/JfbBaseCardShift/JfbBaseCardShift.vue +26 -11
- package/src/components/JfbBaseCardShift/JfbBaseCardShiftLess.less +18 -19
- package/src/components/JfbBaseCardShift/Mock.js +21 -0
- package/src/components/JfbBaseCardShiftEntry/Attr.js +34 -26
- package/src/components/JfbBaseCardShiftEntry/JfbBaseCardShiftEntry.vue +294 -257
- package/src/components/JfbBaseCardShiftEntry/JfbBaseCardShiftEntryLess.less +18 -19
- package/src/components/JfbBaseCardShiftEntry/Mock.js +2 -1
- package/src/components/JfbBaseCardSweepInfo/Attr.js +5 -3
- package/src/components/JfbBaseCardSweepInfo/JfbBaseCardSweepInfoLess.less +18 -19
- package/src/components/JfbBaseCardV2/Attr.js +21 -17
- package/src/components/JfbBaseCardV2/JfbBaseCardV2.vue +3 -5
- package/src/components/JfbBaseCardV2/JfbBaseCardV2Less.less +18 -19
- package/src/components/JfbBaseCardV3/Attr.js +18 -14
- package/src/components/JfbBaseCardV3/JfbBaseCardV3.vue +1 -1
- package/src/components/JfbBaseCardV3/JfbBaseCardV3Less.less +18 -19
- package/src/components/JfbBaseCity/Attr.js +2 -4
- package/src/components/JfbBaseCity/JfbBaseCityLess.less +18 -19
- package/src/components/JfbBaseClear/Attr.js +17 -0
- package/src/components/JfbBaseClear/JfbBaseClear.vue +9 -9
- package/src/components/JfbBaseClear/JfbBaseClearLess.less +18 -19
- package/src/components/JfbBaseClear/JfbBaseClearMixin.js +12 -0
- package/src/components/JfbBaseConDialog/Api.js +2 -2
- package/src/components/JfbBaseConDialog/Attr.js +30 -20
- package/src/components/JfbBaseConDialog/JfbBaseConDialog.vue +45 -26
- package/src/components/JfbBaseConDialog/JfbBaseConDialogLess.less +18 -19
- package/src/components/JfbBaseConDialog/Mock.js +20 -1
- package/src/components/JfbBaseConDialog/XdCouCardBind.vue +15 -9
- package/src/components/JfbBaseConList/Api.js +1 -1
- package/src/components/JfbBaseConList/Attr.js +149 -224
- package/src/components/JfbBaseConList/JfbBaseConList.vue +150 -133
- package/src/components/JfbBaseConList/JfbBaseConListLess.less +18 -19
- package/src/components/JfbBaseConPhone/JfbBaseConPhoneLess.less +18 -19
- package/src/components/JfbBaseEntry/Attr.js +33 -21
- package/src/components/JfbBaseEntry/JfbBaseEntry.vue +34 -23
- package/src/components/JfbBaseEntry/JfbBaseEntryLess.less +18 -19
- package/src/components/JfbBaseExpressDetail/JfbBaseExpressDetailLess.less +18 -19
- package/src/components/JfbBaseFastLink/Api.js +1 -54
- package/src/components/JfbBaseFastLink/Attr.js +168 -116
- package/src/components/JfbBaseFastLink/JfbBaseFastLink.vue +12 -16
- package/src/components/JfbBaseFastLink/JfbBaseFastLinkLess.less +18 -19
- package/src/components/JfbBaseFooter/Attr.js +28 -22
- package/src/components/JfbBaseFooter/JfbBaseFooter.vue +19 -15
- package/src/components/JfbBaseFooter/JfbBaseFooterLess.less +18 -19
- package/src/components/JfbBaseHeader/Attr.js +89 -91
- package/src/components/JfbBaseHeader/JfbBaseHeader.vue +28 -29
- package/src/components/JfbBaseHeader/JfbBaseHeaderLess.less +18 -19
- package/src/components/JfbBaseLogin/Api.js +1 -1
- package/src/components/JfbBaseLogin/Attr.js +111 -88
- package/src/components/JfbBaseLogin/JfbBaseLogin.vue +4 -5
- package/src/components/JfbBaseLogin/JfbBaseLoginLess.less +18 -19
- package/src/components/JfbBaseLoginForgetPwd/Attr.js +52 -45
- package/src/components/JfbBaseLoginForgetPwd/JfbBaseLoginForgetPwd.vue +14 -14
- package/src/components/JfbBaseLoginForgetPwd/JfbBaseLoginForgetPwdLess.less +18 -19
- package/src/components/JfbBaseLoginSetPwd/Attr.js +6 -4
- package/src/components/JfbBaseLoginSetPwd/JfbBaseLoginSetPwdLess.less +18 -19
- package/src/components/JfbBaseMapOverlay/JfbBaseMapOverlayLess.less +18 -19
- package/src/components/JfbBaseMapSearch/Attr.js +0 -15
- package/src/components/JfbBaseMapSearch/JfbBaseMapSearch.vue +1 -25
- package/src/components/JfbBaseMapSearch/JfbBaseMapSearchLess.less +18 -19
- package/src/components/JfbBaseMergeUserCard/Attr.js +4 -3
- package/src/components/JfbBaseMergeUserCard/JfbBaseMergeUserCardLess.less +18 -19
- package/src/components/JfbBaseMultipleExpress/Attr.js +4 -3
- package/src/components/JfbBaseMultipleExpress/JfbBaseMultipleExpressLess.less +18 -19
- package/src/components/JfbBaseMy/JfbBaseMyLess.less +18 -19
- package/src/components/JfbBaseMySetting/Attr.js +1 -1
- package/src/components/JfbBaseMySetting/JfbBaseMySettingLess.less +18 -19
- package/src/components/JfbBaseNotice/Attr.js +97 -56
- package/src/components/JfbBaseNotice/JfbBaseNotice.vue +70 -52
- package/src/components/JfbBaseNotice/JfbBaseNoticeLess.less +18 -19
- package/src/components/JfbBaseNoticeBottom/JfbBaseNoticeBottomLess.less +18 -19
- package/src/components/JfbBaseNoticeTop/JfbBaseNoticeTopLess.less +18 -19
- package/src/components/JfbBaseOrderDetail/Attr.js +210 -193
- package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +5 -3
- package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetailLess.less +18 -19
- package/src/components/JfbBaseOrderList/Attr.js +56 -44
- package/src/components/JfbBaseOrderList/JfbBaseOrderList.vue +5 -3
- package/src/components/JfbBaseOrderList/JfbBaseOrderListLess.less +18 -19
- package/src/components/JfbBasePay/Attr.js +2 -13
- package/src/components/JfbBasePay/JfbBasePay.vue +7 -6
- package/src/components/JfbBasePay/JfbBasePayLess.less +18 -19
- package/src/components/JfbBasePay/Mock.js +2 -1
- package/src/components/JfbBasePhoneCollect/Attr.js +27 -2
- package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollect.vue +1 -1
- package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollectLess.less +18 -19
- package/src/components/JfbBasePhoneLogin/Attr.js +27 -2
- package/src/components/JfbBasePhoneLogin/JfbBasePhoneLoginLess.less +18 -19
- package/src/components/JfbBasePoster/Attr.js +103 -83
- package/src/components/JfbBasePoster/JfbBasePoster.vue +134 -141
- package/src/components/JfbBasePoster/JfbBasePosterLess.less +18 -19
- package/src/components/JfbBasePosterBigSmall/Attr.js +93 -76
- package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmall.vue +3 -7
- package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmallLess.less +18 -19
- package/src/components/JfbBasePosterBigSmall/getWidthHeight.js +2 -2
- package/src/components/JfbBasePosterEntry/Attr.js +47 -34
- package/src/components/JfbBasePosterEntry/JfbBasePosterEntry.vue +44 -49
- package/src/components/JfbBasePosterEntry/JfbBasePosterEntryLess.less +18 -19
- package/src/components/JfbBasePosterType/Attr.js +82 -48
- package/src/components/JfbBasePosterType/FourScreen.vue +8 -2
- package/src/components/JfbBasePosterType/JfbBasePosterType.vue +36 -59
- package/src/components/JfbBasePosterType/JfbBasePosterTypeLess.less +18 -19
- package/src/components/JfbBaseRecharge/Attr.js +35 -23
- package/src/components/JfbBaseRecharge/JfbBaseRecharge.vue +54 -8
- package/src/components/JfbBaseRecharge/JfbBaseRechargeLess.less +18 -19
- package/src/components/JfbBaseRechargeOrder/Attr.js +32 -22
- package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrder.vue +12 -7
- package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrderLess.less +18 -19
- package/src/components/JfbBaseRechargeOrderDetail/JfbBaseRechargeOrderDetailLess.less +18 -19
- package/src/components/JfbBaseRechargeSuccess/Attr.js +10 -8
- package/src/components/JfbBaseRechargeSuccess/JfbBaseRechargeSuccessLess.less +18 -19
- package/src/components/JfbBaseSearch/Attr.js +6 -148
- package/src/components/JfbBaseSearch/JfbBaseSearch.vue +8 -37
- package/src/components/JfbBaseSearch/JfbBaseSearchLess.less +18 -19
- package/src/components/JfbBaseSetPwd/Attr.js +6 -147
- package/src/components/JfbBaseSetPwd/JfbBaseSetPwdLess.less +18 -19
- package/src/components/JfbBaseSuccess/Attr.js +89 -19
- package/src/components/JfbBaseSuccess/JfbBaseSuccess.vue +46 -24
- package/src/components/JfbBaseSuccess/JfbBaseSuccessLess.less +18 -19
- package/src/components/JfbBaseSuccess/Mock.js +8 -0
- package/src/components/JfbBaseTestApi/JfbBaseTestApi.vue +9 -9
- package/src/components/JfbBaseTestApi/JfbBaseTestApiLess.less +18 -19
- package/src/components/JfbBaseTestBody/JfbBaseTestBodyLess.less +18 -19
- package/src/components/JfbBaseTestBottom/JfbBaseTestBottomLess.less +18 -19
- package/src/components/JfbBaseTestNotice/JfbBaseTestNoticeLess.less +18 -19
- package/src/components/JfbBaseTestTop/JfbBaseTestTopLess.less +18 -19
- package/src/components/JfbBaseUserCenter/Attr.js +72 -53
- package/src/components/JfbBaseUserCenter/JfbBaseUserCenter.vue +40 -27
- package/src/components/JfbBaseUserCenter/JfbBaseUserCenterLess.less +18 -19
- package/src/components/JfbBaseUserInfo/Attr.js +54 -45
- package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +21 -21
- package/src/components/JfbBaseUserInfo/JfbBaseUserInfoLess.less +18 -19
- package/src/components/JfbBaseUserOrder/Attr.js +119 -94
- package/src/components/JfbBaseUserOrder/JfbBaseUserOrder.vue +21 -7
- package/src/components/JfbBaseUserOrder/JfbBaseUserOrderLess.less +18 -19
- package/src/components/JfbBaseVideo/Attr.js +72 -19
- package/src/components/JfbBaseVideo/JfbBaseVideo.vue +69 -28
- package/src/components/JfbBaseVideo/JfbBaseVideoLess.less +18 -19
- package/src/components/JfbBaseVideo/XdVideo.vue +6 -44
- package/src/components/JfbBaseWallet/Attr.js +27 -19
- package/src/components/JfbBaseWallet/JfbBaseWalletLess.less +18 -19
- package/src/components/JfbBaseWalletDetail/Attr.js +2 -6
- package/src/components/JfbBaseWalletDetail/JfbBaseWalletDetailLess.less +18 -19
- package/src/components/JfbBaseWalletEffective/JfbBaseWalletEffectiveLess.less +18 -19
- package/src/components/JfbBaseWalletIndex/Attr.js +3 -1
- package/src/components/JfbBaseWalletIndex/JfbBaseWalletIndexLess.less +18 -19
- package/src/components/JfbBaseWalletItem/Attr.js +3 -1
- package/src/components/JfbBaseWalletItem/JfbBaseWalletItemLess.less +18 -19
- package/src/components/JfbBaseWebview/JfbBaseWebviewLess.less +18 -19
- package/src/components/JfbBaseWxAuthorize/Api.js +3 -3
- package/src/components/JfbBaseWxAuthorize/Attr.js +31 -3
- package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorize.vue +34 -28
- package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorizeLess.less +18 -19
- package/src/components/JfbBaseWxAuthorizeError/Attr.js +21 -17
- package/src/components/JfbBaseWxAuthorizeError/JfbBaseWxAuthorizeError.vue +4 -4
- package/src/components/JfbBaseWxAuthorizeError/JfbBaseWxAuthorizeErrorLess.less +18 -19
- package/src/components/JfbBaseLine/Attr.js +0 -59
- package/src/components/JfbBaseLine/JfbBaseLine.vue +0 -105
- package/src/components/JfbBaseLine/JfbBaseLineLess.less +0 -80
- package/src/components/JfbBaseLine/JfbBaseLineMixin.js +0 -30
- package/src/components/JfbBasePosterType/Screen.vue +0 -284
- package/src/components/JfbBaseSearch/Api.js +0 -60
- package/src/components/JfbBaseSearch/Mock.js +0 -5
|
@@ -28,6 +28,7 @@ export default {
|
|
|
28
28
|
ele: 'xd-site-news',
|
|
29
29
|
valueKey: 'notice',
|
|
30
30
|
value: data.notice || null,
|
|
31
|
+
groupKey:'content',
|
|
31
32
|
className: 'input70',
|
|
32
33
|
setting: {
|
|
33
34
|
config: {
|
|
@@ -47,7 +48,7 @@ export default {
|
|
|
47
48
|
}
|
|
48
49
|
|
|
49
50
|
//获取返回参数(场景类型名称为必填)
|
|
50
|
-
let loading =
|
|
51
|
+
let loading = { close(){}}
|
|
51
52
|
|
|
52
53
|
//获取显示内容
|
|
53
54
|
if (action === 'screen') {
|
|
@@ -91,6 +92,7 @@ export default {
|
|
|
91
92
|
|
|
92
93
|
//使用内容分类
|
|
93
94
|
if (action === 'cmsPublishEditxContent') {
|
|
95
|
+
loading = XdBus.getParentApi('loading')({});
|
|
94
96
|
XdBus.getParentApi('cmsPublishEditxContent')(data.params)
|
|
95
97
|
.then(res => {
|
|
96
98
|
console.log('cmsPublishEditxContent', res)
|
|
@@ -105,6 +107,7 @@ export default {
|
|
|
105
107
|
|
|
106
108
|
//位置列表
|
|
107
109
|
if (action === 'getListPostion') {
|
|
110
|
+
loading = XdBus.getParentApi('loading')({});
|
|
108
111
|
XdBus.getParentApi('getListNewsPosition')(data.params)
|
|
109
112
|
.then(res => {
|
|
110
113
|
loading.close();
|
|
@@ -118,6 +121,7 @@ export default {
|
|
|
118
121
|
|
|
119
122
|
//位置创建
|
|
120
123
|
if (action === 'addPostion') {
|
|
124
|
+
loading = XdBus.getParentApi('loading')({});
|
|
121
125
|
XdBus.getParentApi('addNewsPosition')(data.params)
|
|
122
126
|
.then(res => {
|
|
123
127
|
loading.close();
|
|
@@ -132,6 +136,7 @@ export default {
|
|
|
132
136
|
|
|
133
137
|
//位置编辑
|
|
134
138
|
if (action === 'editPostion') {
|
|
139
|
+
loading = XdBus.getParentApi('loading')({});
|
|
135
140
|
XdBus.getParentApi('updateNewsPosition')(data.params)
|
|
136
141
|
.then(res => {
|
|
137
142
|
loading.close();
|
|
@@ -146,6 +151,7 @@ export default {
|
|
|
146
151
|
|
|
147
152
|
//位置删除
|
|
148
153
|
if (action === 'deleltePostion') {
|
|
154
|
+
loading = XdBus.getParentApi('loading')({});
|
|
149
155
|
XdBus.getParentApi('deleteNewsPosition')(data.params)
|
|
150
156
|
.then(res => {
|
|
151
157
|
loading.close();
|
|
@@ -160,6 +166,7 @@ export default {
|
|
|
160
166
|
|
|
161
167
|
//获取广告位内容列表
|
|
162
168
|
if (action === 'getListContent') {
|
|
169
|
+
loading = XdBus.getParentApi('loading')({});
|
|
163
170
|
XdBus.getParentApi('getListNewsContent')(data.params)
|
|
164
171
|
.then(res => {
|
|
165
172
|
loading.close();
|
|
@@ -173,6 +180,7 @@ export default {
|
|
|
173
180
|
|
|
174
181
|
//广告内容创建
|
|
175
182
|
if (action === 'addContent') {
|
|
183
|
+
loading = XdBus.getParentApi('loading')({});
|
|
176
184
|
XdBus.getParentApi('addNewsContent')(data.params)
|
|
177
185
|
.then(res => {
|
|
178
186
|
loading.close();
|
|
@@ -187,6 +195,7 @@ export default {
|
|
|
187
195
|
|
|
188
196
|
//广告内容编辑
|
|
189
197
|
if (action === 'editContent') {
|
|
198
|
+
loading = XdBus.getParentApi('loading')({});
|
|
190
199
|
XdBus.getParentApi('updateNewsContent')(data.params)
|
|
191
200
|
.then(res => {
|
|
192
201
|
loading.close();
|
|
@@ -201,6 +210,7 @@ export default {
|
|
|
201
210
|
|
|
202
211
|
//广告内容删除
|
|
203
212
|
if (action === 'deleteContent') {
|
|
213
|
+
loading = XdBus.getParentApi('loading')({});
|
|
204
214
|
XdBus.getParentApi('deleteNewsContent')(data.params)
|
|
205
215
|
.then(res => {
|
|
206
216
|
loading.close();
|
|
@@ -215,6 +225,7 @@ export default {
|
|
|
215
225
|
|
|
216
226
|
//内容发布
|
|
217
227
|
if (action === 'publish') {
|
|
228
|
+
loading = XdBus.getParentApi('loading')({});
|
|
218
229
|
console.log('publish', data.params)
|
|
219
230
|
XdBus.getParentApi('cmsPublishContent')(data.params)
|
|
220
231
|
.then(res => {
|
|
@@ -229,6 +240,7 @@ export default {
|
|
|
229
240
|
|
|
230
241
|
//通知页面进行刷新
|
|
231
242
|
if (action === 'update') {
|
|
243
|
+
loading = XdBus.getParentApi('loading')({});
|
|
232
244
|
XdBus.getParentApi('getXdBusUpdateView')('onUpdateView', {});
|
|
233
245
|
loading.close()
|
|
234
246
|
}
|
|
@@ -244,25 +256,36 @@ export default {
|
|
|
244
256
|
ele: 'xd-radio',
|
|
245
257
|
valueKey: 'style',
|
|
246
258
|
value: data['style'] || '1',
|
|
259
|
+
groupKey:'content',
|
|
247
260
|
list: [
|
|
248
261
|
{"label": "静态显示", "value": '1'},
|
|
249
262
|
{"label": "滚动显示", "value": '2'},
|
|
250
263
|
{"label": "弹窗显示", "value": '3'},
|
|
251
|
-
]
|
|
264
|
+
],
|
|
265
|
+
inline:false,
|
|
266
|
+
notice:'预览模式点击使用“<span style="color:red">弹窗显示</span>”会重新触发页面刷新,可点击弹出遮罩层进行关闭功能'
|
|
252
267
|
},
|
|
253
268
|
|
|
254
|
-
|
|
269
|
+
{
|
|
270
|
+
ele: 'title',
|
|
271
|
+
label: '静态显示',
|
|
272
|
+
size: 'small',
|
|
273
|
+
groupKey:'style',
|
|
274
|
+
},
|
|
275
|
+
data.style === '1' && {
|
|
255
276
|
label: '是否显示标题:',
|
|
256
277
|
ele: 'xd-switch',
|
|
257
278
|
valueKey: 'isTitle',
|
|
258
279
|
value: data['isTitle'],
|
|
280
|
+
groupKey:'style',
|
|
259
281
|
list: ['否', '是'],
|
|
260
282
|
backValueType: 2,
|
|
261
283
|
},
|
|
262
|
-
|
|
284
|
+
data.style === '1' && data['isTitle'] && {
|
|
263
285
|
label: '标题对其方式:',
|
|
264
286
|
ele: 'xd-select-list',
|
|
265
287
|
valueKey: 'textAlign',
|
|
288
|
+
groupKey:'style',
|
|
266
289
|
className: 'input80',
|
|
267
290
|
value: data['textAlign'] || '',
|
|
268
291
|
list: [
|
|
@@ -271,29 +294,12 @@ export default {
|
|
|
271
294
|
{"label": "右", "value": 'right'},
|
|
272
295
|
]
|
|
273
296
|
},
|
|
274
|
-
|
|
275
|
-
label: '内容背景颜色:',
|
|
276
|
-
ele: 'xd-color',
|
|
277
|
-
valueKey: 'bgc',
|
|
278
|
-
value: data.bgc || '',
|
|
279
|
-
placeholder: '请选择内容背景颜色',
|
|
280
|
-
classNmae: 'input80',
|
|
281
|
-
},
|
|
282
|
-
checkNotice() && checkPop() && checkScroll() && {
|
|
283
|
-
label: '内文字颜色:',
|
|
284
|
-
ele: 'xd-color',
|
|
285
|
-
valueKey: 'textColor',
|
|
286
|
-
value: data.textColor || '',
|
|
287
|
-
placeholder: '请选择内文字颜色',
|
|
288
|
-
classNmae: 'input80',
|
|
289
|
-
},
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
checkNotice() && checkPop() && checkScroll() && data.style === '1' && {
|
|
297
|
+
data.style === '1' && {
|
|
293
298
|
label: '内容圆角设置:',
|
|
294
299
|
ele: 'xd-site-select-list',
|
|
295
300
|
valueKey: 'radius',
|
|
296
301
|
value: data['radius'],
|
|
302
|
+
groupKey:'style',
|
|
297
303
|
placeholder: '请选择内容圆角设置',
|
|
298
304
|
multiple: false,
|
|
299
305
|
className: 'input80',
|
|
@@ -307,11 +313,30 @@ export default {
|
|
|
307
313
|
});
|
|
308
314
|
},
|
|
309
315
|
},
|
|
310
|
-
|
|
316
|
+
{
|
|
317
|
+
label: '内容背景颜色:',
|
|
318
|
+
ele: 'xd-color',
|
|
319
|
+
valueKey: 'bgc',
|
|
320
|
+
groupKey:'style',
|
|
321
|
+
value: data.bgc || '',
|
|
322
|
+
placeholder: '请选择内容背景颜色',
|
|
323
|
+
classNmae: 'input80',
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
label: '内文字颜色:',
|
|
327
|
+
ele: 'xd-color',
|
|
328
|
+
groupKey:'style',
|
|
329
|
+
valueKey: 'textColor',
|
|
330
|
+
value: data.textColor || '',
|
|
331
|
+
placeholder: '请选择内文字颜色',
|
|
332
|
+
classNmae: 'input80',
|
|
333
|
+
},
|
|
334
|
+
{
|
|
311
335
|
label: '内容文字大小:',
|
|
312
336
|
ele: 'xd-site-select-list',
|
|
313
337
|
valueKey: 'fontSize',
|
|
314
338
|
value: data['fontSize'],
|
|
339
|
+
groupKey:'style',
|
|
315
340
|
placeholder: '请选择内容文字大小',
|
|
316
341
|
multiple: false,
|
|
317
342
|
className: 'input80',
|
|
@@ -325,45 +350,42 @@ export default {
|
|
|
325
350
|
});
|
|
326
351
|
},
|
|
327
352
|
},
|
|
328
|
-
|
|
329
|
-
label: '内容边距设置:',
|
|
330
|
-
ele: 'xd-margin-padding',
|
|
331
|
-
valueKey: 'margin',
|
|
332
|
-
value: data.margin || null,
|
|
333
|
-
disabled: false,
|
|
334
|
-
setting: {
|
|
335
|
-
type: 'margin',
|
|
336
|
-
},
|
|
337
|
-
placeholder: '请设置内容边距设置',
|
|
338
|
-
inline: false,
|
|
339
|
-
notice: '内容边距设置,<span style="color: red">单位:像素</span>。默认值:0像素',
|
|
340
|
-
},
|
|
341
|
-
checkNotice() && checkPop() && checkScroll() && {
|
|
353
|
+
{
|
|
342
354
|
label: '内容填充设置:',
|
|
343
355
|
ele: 'xd-margin-padding',
|
|
344
356
|
valueKey: 'padding',
|
|
357
|
+
groupKey:'style',
|
|
345
358
|
value: data.padding || null,
|
|
346
|
-
disabled: false,
|
|
347
359
|
setting: {
|
|
348
360
|
type: 'padding',
|
|
349
361
|
},
|
|
350
362
|
placeholder: '请内容填充设置',
|
|
351
363
|
inline: false,
|
|
352
|
-
notice: '内容填充设置,<span style="color: red">单位:像素</span
|
|
364
|
+
notice: '内容填充设置,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
|
|
353
365
|
},
|
|
354
|
-
|
|
355
|
-
label: '
|
|
356
|
-
ele: '
|
|
357
|
-
|
|
358
|
-
valueKey: '
|
|
359
|
-
value: data.
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
366
|
+
{
|
|
367
|
+
label: '边距设置:',
|
|
368
|
+
ele: 'xd-margin-padding',
|
|
369
|
+
groupKey:'style',
|
|
370
|
+
valueKey: 'margin',
|
|
371
|
+
value: data.margin || null,
|
|
372
|
+
setting: {
|
|
373
|
+
type: 'margin',
|
|
374
|
+
},
|
|
375
|
+
placeholder: '请设置内容边距设置',
|
|
376
|
+
inline: false,
|
|
377
|
+
notice: '内容边距设置,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
ele: 'title',
|
|
381
|
+
label: '滚动显示',
|
|
382
|
+
size: 'small',
|
|
383
|
+
groupKey:'style',
|
|
363
384
|
},
|
|
364
|
-
|
|
385
|
+
{
|
|
365
386
|
label: '滚动显示条数:',
|
|
366
387
|
ele: 'el-input',
|
|
388
|
+
groupKey:'style',
|
|
367
389
|
type: 'number',
|
|
368
390
|
valueKey: 'num',
|
|
369
391
|
value: data.num,
|
|
@@ -371,10 +393,11 @@ export default {
|
|
|
371
393
|
className: 'input80',
|
|
372
394
|
unit: '条'
|
|
373
395
|
},
|
|
374
|
-
|
|
396
|
+
{
|
|
375
397
|
label: '滚动速度值:',
|
|
376
398
|
ele: 'el-input',
|
|
377
399
|
type: 'number',
|
|
400
|
+
groupKey:'style',
|
|
378
401
|
valueKey: 'speed',
|
|
379
402
|
value: data.speed,
|
|
380
403
|
placeholder: '请输入滚动速度值,默认:20',
|
|
@@ -382,12 +405,12 @@ export default {
|
|
|
382
405
|
inline: false,
|
|
383
406
|
notice: '滚动速度值,建议取值:20-60, 值越大越快',
|
|
384
407
|
},
|
|
385
|
-
|
|
386
|
-
label: '
|
|
408
|
+
{
|
|
409
|
+
label: '边距设置:',
|
|
387
410
|
ele: 'xd-margin-padding',
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
411
|
+
groupKey:'style',
|
|
412
|
+
valueKey: 'scrollMargin',
|
|
413
|
+
value: data.scrollMargin || null,
|
|
391
414
|
setting: {
|
|
392
415
|
type: 'margin',
|
|
393
416
|
},
|
|
@@ -395,6 +418,24 @@ export default {
|
|
|
395
418
|
inline: false,
|
|
396
419
|
notice: '内容边距设置,<span style="color: red">单位:像素</span>。默认值:0像素',
|
|
397
420
|
},
|
|
421
|
+
|
|
422
|
+
{
|
|
423
|
+
ele: 'title',
|
|
424
|
+
label: '弹窗显示',
|
|
425
|
+
size: 'small',
|
|
426
|
+
groupKey:'style',
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
label: '弹窗间隔:',
|
|
430
|
+
ele: 'el-input',
|
|
431
|
+
type: 'text',
|
|
432
|
+
groupKey:'style',
|
|
433
|
+
valueKey: 'time',
|
|
434
|
+
value: data.time || '',
|
|
435
|
+
className: 'input80',
|
|
436
|
+
inline: false,
|
|
437
|
+
notice: '弹窗间隔,单位:小时。默认值:<span style="color: red">3</span>小时',
|
|
438
|
+
},
|
|
398
439
|
].filter(i=>i)
|
|
399
440
|
},
|
|
400
441
|
advanced: [
|
|
@@ -15,12 +15,9 @@
|
|
|
15
15
|
<!-- #endif -->
|
|
16
16
|
<view class="jfb-base-notice__body">
|
|
17
17
|
<view class="jfb-base-notice__body-line"></view>
|
|
18
|
-
<view
|
|
18
|
+
<view>
|
|
19
19
|
<template v-if="style === '3' && isPreview">
|
|
20
|
-
<view
|
|
21
|
-
class="jfb-base-notice__body-pop"
|
|
22
|
-
:style="{backgroundColor:backgroundColor, color:warningColor}"
|
|
23
|
-
>弹窗模式方便编辑(占位),在线上此模块不显</view>
|
|
20
|
+
<view class="jfb-base-notice__body-pop" :style="{backgroundColor:backgroundColor, color:warningColor}">弹窗模式方便编辑(占位),在线上此模块不显</view>
|
|
24
21
|
</template>
|
|
25
22
|
<template v-if="style === '2'">
|
|
26
23
|
<template v-if="contentList.length === 0 && isPreview">
|
|
@@ -31,7 +28,8 @@
|
|
|
31
28
|
class="upAndDown"
|
|
32
29
|
:style="{
|
|
33
30
|
backgroundColor:backgroundColor,
|
|
34
|
-
color:warningColor
|
|
31
|
+
color:warningColor,
|
|
32
|
+
margin:scrollMarginUi,
|
|
35
33
|
}"
|
|
36
34
|
>
|
|
37
35
|
<view>
|
|
@@ -77,36 +75,37 @@
|
|
|
77
75
|
>接口无数返回,请检查是否配置成功!</view>
|
|
78
76
|
</template>
|
|
79
77
|
<template v-else>
|
|
80
|
-
<view
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
78
|
+
<view :style="{margin:marginUi}">
|
|
79
|
+
<view
|
|
80
|
+
class="jfb-base-notice__body-title"
|
|
81
|
+
:style="{
|
|
82
|
+
fontSize: titleFontSize + 'rpx',
|
|
83
|
+
background: bgc,
|
|
84
|
+
color:textColor,
|
|
85
|
+
borderRadius: titleRadius,
|
|
86
|
+
padding: titlePadding,
|
|
87
|
+
borderBottomColor: borderTitleColor,
|
|
88
|
+
textAlign: textAlign,
|
|
89
|
+
}"
|
|
90
|
+
v-if="isTitle"
|
|
91
|
+
>{{title}}</view>
|
|
92
|
+
<view
|
|
93
|
+
class="jfb-base-notice__body-content"
|
|
94
|
+
:style="{
|
|
95
|
+
background: bgc,
|
|
96
|
+
color:textColor,
|
|
97
|
+
borderRadius: contRadius,
|
|
98
|
+
padding: paddingUi,
|
|
99
|
+
lineHeight: '50rpx'
|
|
100
|
+
}"
|
|
101
|
+
v-if="content"
|
|
102
|
+
>
|
|
103
|
+
<xd-content-xss
|
|
104
|
+
:key="contentKey"
|
|
105
|
+
:html="content"
|
|
106
|
+
:font-sizes="fontSize"
|
|
107
|
+
></xd-content-xss>
|
|
108
|
+
</view>
|
|
110
109
|
</view>
|
|
111
110
|
</template>
|
|
112
111
|
</template>
|
|
@@ -209,18 +208,19 @@
|
|
|
209
208
|
num: 1, //滚动记录数量
|
|
210
209
|
timer: false,
|
|
211
210
|
contentList: [],
|
|
211
|
+
scrollMargin:{},
|
|
212
212
|
|
|
213
213
|
backgroundColor: '',
|
|
214
214
|
}
|
|
215
215
|
},
|
|
216
216
|
watch: {
|
|
217
|
-
container(value) {
|
|
217
|
+
container(value,oloValue) {
|
|
218
|
+
if(JSON.stringify(value) === JSON.stringify(oloValue)) return;
|
|
218
219
|
this.init(this.container);
|
|
219
220
|
if (this.$configProject['isPreview']) this.onJfbLoad()
|
|
220
221
|
},
|
|
221
222
|
num(){
|
|
222
223
|
if (this.$configProject['isPreview']) this.onJfbLoad()
|
|
223
|
-
|
|
224
224
|
},
|
|
225
225
|
style() {
|
|
226
226
|
if(this.$configProject['isPreview']) this.onJfbLoad()
|
|
@@ -238,13 +238,35 @@
|
|
|
238
238
|
},
|
|
239
239
|
computed:{
|
|
240
240
|
marginUi() {
|
|
241
|
-
|
|
241
|
+
let str = `${this.checkValue(this.margin.top, 20)}rpx`;
|
|
242
|
+
str = `${str} ${this.checkValue(this.margin.right, 20)}rpx`;
|
|
243
|
+
str = `${str} ${this.checkValue(this.margin.bottom, 20)}rpx`;
|
|
244
|
+
str = `${str} ${this.checkValue(this.margin.left, 20)}rpx`;
|
|
245
|
+
return str
|
|
242
246
|
},
|
|
243
247
|
paddingUi() {
|
|
244
|
-
|
|
248
|
+
let str = `${this.checkValue(this.padding.top, 20)}rpx`;
|
|
249
|
+
str = `${str} ${this.checkValue(this.padding.right, 20)}rpx`;
|
|
250
|
+
str = `${str} ${this.checkValue(this.padding.bottom, 20)}rpx`;
|
|
251
|
+
str = `${str} ${this.checkValue(this.padding.left, 20)}rpx`;
|
|
252
|
+
return str
|
|
253
|
+
},
|
|
254
|
+
|
|
255
|
+
scrollMarginUi(){
|
|
256
|
+
let str = `${this.checkValue(this.scrollMargin.top, 0)}rpx`;
|
|
257
|
+
str = `${str} ${this.checkValue(this.scrollMargin.right, 0)}rpx`;
|
|
258
|
+
str = `${str} ${this.checkValue(this.scrollMargin.bottom, 0)}rpx`;
|
|
259
|
+
str = `${str} ${this.checkValue(this.scrollMargin.left, 0)}rpx`;
|
|
260
|
+
return str
|
|
245
261
|
},
|
|
262
|
+
|
|
263
|
+
|
|
246
264
|
titlePadding() {
|
|
247
|
-
|
|
265
|
+
let str = `${this.checkValue(this.padding.top, 20)}rpx`;
|
|
266
|
+
str = `${str} ${this.checkValue(this.padding.right, 20)}rpx`;
|
|
267
|
+
str = `${str} ${this.checkValue(this.padding.bottom, 20)}rpx`;
|
|
268
|
+
str = `${str} ${this.checkValue(this.padding.left, 20)}rpx`;
|
|
269
|
+
return str
|
|
248
270
|
},
|
|
249
271
|
contRadius(){
|
|
250
272
|
if(this.isTitle) return `0rpx 0rpx ${this.radius}rpx ${this.radius}rpx`;
|
|
@@ -270,7 +292,6 @@
|
|
|
270
292
|
this.showUp = type;
|
|
271
293
|
},
|
|
272
294
|
|
|
273
|
-
|
|
274
295
|
/**
|
|
275
296
|
* @description 监听事件变化
|
|
276
297
|
* @param container {object} 业务组件对象自己
|
|
@@ -285,6 +306,7 @@
|
|
|
285
306
|
this.borderTitleColor = color(this.bgc).lighten(.15).hex();
|
|
286
307
|
this.margin = getContainerPropsValue(container, 'content.margin', {top: 0, left: 0, bottom: 0, right: 0});
|
|
287
308
|
this.padding = getContainerPropsValue(container, 'content.padding', {top: 8, left: 10, bottom: 8, right: 10});
|
|
309
|
+
this.scrollMargin = getContainerPropsValue(container, 'content.scrollMargin', {});
|
|
288
310
|
this.radius = getContainerPropsValue(container, 'content.radius', 0);
|
|
289
311
|
this.fontSize = Number(getContainerPropsValue(container, 'content.fontSize', '20'));
|
|
290
312
|
if (this.fontSize === 20) this.titleFontSize = 28;
|
|
@@ -322,8 +344,6 @@
|
|
|
322
344
|
},
|
|
323
345
|
})
|
|
324
346
|
.then(res => {
|
|
325
|
-
//res = {"list":[{"content_id":"YSjVvl2X6f5qYW5G7NNNr","category_id":"KNCYuDPWmmb4jUaBEOvbz","partner_id":0,"site_id":"","title":"东北地区暴雪影响","content":"<p>尊敬的用户您好!因受东北地区暴雪影响,部分订单暂停发货或包裹运输会有延迟,我们将在预警恢复后尽快安排发货,请您耐心等待,给您带来不便敬请谅解!<\/p>","sort":1,"status":"","start_time":1699200000,"end_time":1699804800,"op_user_id":"","created_time":0,"updated_time":0,"code":"","code_name":""},{"content_id":"YSjVvl2X6f5qYW5G7NNNr1","category_id":"KNCYuDPWmmb4jUaBEOvbz","partner_id":0,"site_id":"","title":"东北地区暴雪影响","content":"<p>尊敬的用户您好!因受东北地区暴雪影响,部分订单暂停发货或包裹运输会有延迟,我们将在预警恢复后尽快安排发货,请您耐心等待,给您带来不便敬请谅解!<\/p>","sort":1,"status":"","start_time":1699200000,"end_time":1699804800,"op_user_id":"","created_time":0,"updated_time":0,"code":"","code_name":""}],"request_id":"2d3b6e0f1cb184c5"};
|
|
326
|
-
|
|
327
347
|
//弹窗显示
|
|
328
348
|
if (this.style === '3') {
|
|
329
349
|
if (res.list.length > 0) {
|
|
@@ -358,9 +378,6 @@
|
|
|
358
378
|
},
|
|
359
379
|
|
|
360
380
|
onJfbLoad() {
|
|
361
|
-
let delay = 500;
|
|
362
|
-
if(!this.isPreview) delay = 10;
|
|
363
|
-
|
|
364
381
|
if(this.timer){
|
|
365
382
|
clearTimeout(this.timer);
|
|
366
383
|
this.timer = null
|
|
@@ -380,7 +397,7 @@
|
|
|
380
397
|
else {
|
|
381
398
|
this.getContent()
|
|
382
399
|
}
|
|
383
|
-
},
|
|
400
|
+
}, 500)
|
|
384
401
|
},
|
|
385
402
|
|
|
386
403
|
onJfbUpdate(data) {
|
|
@@ -397,6 +414,7 @@
|
|
|
397
414
|
@import "./JfbBaseNoticeLess.less";
|
|
398
415
|
|
|
399
416
|
.jfb-base-notice {
|
|
417
|
+
min-height: 72rpx!important;
|
|
400
418
|
&__body{
|
|
401
419
|
.content-list {
|
|
402
420
|
display: flex;
|
|
@@ -404,7 +422,7 @@
|
|
|
404
422
|
align-items: center;
|
|
405
423
|
}
|
|
406
424
|
&-line {
|
|
407
|
-
height:
|
|
425
|
+
height: 1px;
|
|
408
426
|
overflow: hidden;
|
|
409
427
|
width: 100%;
|
|
410
428
|
}
|
|
@@ -446,16 +464,16 @@
|
|
|
446
464
|
}
|
|
447
465
|
}
|
|
448
466
|
&-pop {
|
|
449
|
-
min-height:
|
|
467
|
+
min-height: 60rpx;
|
|
450
468
|
text-align: center;
|
|
451
|
-
line-height:
|
|
469
|
+
line-height: 60rpx;
|
|
452
470
|
color: #666;
|
|
453
471
|
font-size: unit(24, rpx);
|
|
454
472
|
padding:unit(20, rpx);
|
|
455
473
|
}
|
|
456
474
|
&-title {
|
|
457
475
|
border-bottom: 1px solid #fff;
|
|
458
|
-
line-height:
|
|
476
|
+
line-height: 1.5rem;
|
|
459
477
|
}
|
|
460
478
|
|
|
461
479
|
&-content {
|
|
@@ -13,9 +13,8 @@
|
|
|
13
13
|
|
|
14
14
|
//start
|
|
15
15
|
.jfb-base-notice {
|
|
16
|
-
border: 1px dashed rgba(0, 0, 0, 0);
|
|
17
16
|
box-sizing: border-box;
|
|
18
|
-
min-height: unit(
|
|
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
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
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-notice {
|
|
75
|
-
|
|
76
|
-
content: " ";
|
|
77
|
-
display: table;
|
|
78
|
-
}
|
|
74
|
+
//&:before {
|
|
75
|
+
//content: " ";
|
|
76
|
+
//display: table;
|
|
77
|
+
//}
|
|
79
78
|
}
|
|
80
79
|
/**endNotPreview**/
|
|
@@ -13,9 +13,8 @@
|
|
|
13
13
|
|
|
14
14
|
//start
|
|
15
15
|
.jfb-base-notice-bottom {
|
|
16
|
-
border: 1px dashed rgba(0, 0, 0, 0);
|
|
17
16
|
box-sizing: border-box;
|
|
18
|
-
min-height: unit(
|
|
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
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
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-notice-bottom {
|
|
75
|
-
|
|
76
|
-
content: " ";
|
|
77
|
-
display: table;
|
|
78
|
-
}
|
|
74
|
+
//&:before {
|
|
75
|
+
//content: " ";
|
|
76
|
+
//display: table;
|
|
77
|
+
//}
|
|
79
78
|
}
|
|
80
79
|
/**endNotPreview**/
|