jufubao-base 1.0.134-beta9 → 1.0.135

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 (210) 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 +36 -78
  20. package/src/components/JfbBaseCard/JfbBaseCard.vue +2 -2
  21. package/src/components/JfbBaseCard/JfbBaseCardLess.less +19 -18
  22. package/src/components/JfbBaseCardBind/JfbBaseCardBindLess.less +19 -18
  23. package/src/components/JfbBaseCardBindV2/Attr.js +4 -5
  24. package/src/components/JfbBaseCardBindV2/JfbBaseCardBindV2.vue +1 -3
  25. package/src/components/JfbBaseCardBindV2/JfbBaseCardBindV2Less.less +19 -18
  26. package/src/components/JfbBaseCardDetail/Attr.js +3 -4
  27. package/src/components/JfbBaseCardDetail/JfbBaseCardDetailLess.less +19 -18
  28. package/src/components/JfbBaseCardDetailEntry/Attr.js +8 -10
  29. package/src/components/JfbBaseCardDetailEntry/JfbBaseCardDetailEntry.vue +13 -4
  30. package/src/components/JfbBaseCardDetailEntry/JfbBaseCardDetailEntryLess.less +19 -18
  31. package/src/components/JfbBaseCardDisabled/Attr.js +3 -1
  32. package/src/components/JfbBaseCardDisabled/JfbBaseCardDisabledLess.less +19 -18
  33. package/src/components/JfbBaseCardDisabledEntry/JfbBaseCardDisabledEntryLess.less +19 -18
  34. package/src/components/JfbBaseCardEntry/Api.js +1 -1
  35. package/src/components/JfbBaseCardEntry/Attr.js +67 -86
  36. package/src/components/JfbBaseCardEntry/JfbBaseCardEntry.vue +5 -6
  37. package/src/components/JfbBaseCardEntry/JfbBaseCardEntryLess.less +19 -18
  38. package/src/components/JfbBaseCardInfo/Attr.js +16 -22
  39. package/src/components/JfbBaseCardInfo/JfbBaseCardInfoLess.less +19 -18
  40. package/src/components/JfbBaseCardInfoEntry/Attr.js +11 -16
  41. package/src/components/JfbBaseCardInfoEntry/JfbBaseCardInfoEntryLess.less +19 -18
  42. package/src/components/JfbBaseCardMerge/Attr.js +8 -21
  43. package/src/components/JfbBaseCardMerge/JfbBaseCardMerge.vue +30 -15
  44. package/src/components/JfbBaseCardMerge/JfbBaseCardMergeLess.less +19 -18
  45. package/src/components/JfbBaseCardMergeEntry/Attr.js +6 -20
  46. package/src/components/JfbBaseCardMergeEntry/JfbBaseCardMergeEntry.vue +25 -28
  47. package/src/components/JfbBaseCardMergeEntry/JfbBaseCardMergeEntryLess.less +19 -18
  48. package/src/components/JfbBaseCardShift/Attr.js +4 -18
  49. package/src/components/JfbBaseCardShift/JfbBaseCardShift.vue +11 -26
  50. package/src/components/JfbBaseCardShift/JfbBaseCardShiftLess.less +19 -18
  51. package/src/components/JfbBaseCardShiftEntry/Attr.js +26 -34
  52. package/src/components/JfbBaseCardShiftEntry/JfbBaseCardShiftEntry.vue +257 -294
  53. package/src/components/JfbBaseCardShiftEntry/JfbBaseCardShiftEntryLess.less +19 -18
  54. package/src/components/JfbBaseCardShiftEntry/Mock.js +1 -2
  55. package/src/components/JfbBaseCardSweepInfo/Attr.js +3 -5
  56. package/src/components/JfbBaseCardSweepInfo/JfbBaseCardSweepInfoLess.less +19 -18
  57. package/src/components/JfbBaseCardV2/Attr.js +17 -21
  58. package/src/components/JfbBaseCardV2/JfbBaseCardV2.vue +5 -3
  59. package/src/components/JfbBaseCardV2/JfbBaseCardV2Less.less +19 -18
  60. package/src/components/JfbBaseCardV3/Attr.js +14 -18
  61. package/src/components/JfbBaseCardV3/JfbBaseCardV3.vue +1 -1
  62. package/src/components/JfbBaseCardV3/JfbBaseCardV3Less.less +19 -18
  63. package/src/components/JfbBaseCity/Attr.js +4 -2
  64. package/src/components/JfbBaseCity/JfbBaseCityLess.less +19 -18
  65. package/src/components/JfbBaseClear/JfbBaseClear.vue +9 -9
  66. package/src/components/JfbBaseClear/JfbBaseClearLess.less +19 -18
  67. package/src/components/JfbBaseClear/JfbBaseClearMixin.js +0 -12
  68. package/src/components/JfbBaseConDialog/Api.js +2 -2
  69. package/src/components/JfbBaseConDialog/Attr.js +14 -23
  70. package/src/components/JfbBaseConDialog/JfbBaseConDialog.vue +35 -63
  71. package/src/components/JfbBaseConDialog/JfbBaseConDialogLess.less +19 -18
  72. package/src/components/JfbBaseConDialog/Mock.js +1 -20
  73. package/src/components/JfbBaseConDialog/XdCouCardBind.vue +9 -15
  74. package/src/components/JfbBaseConList/Api.js +1 -1
  75. package/src/components/JfbBaseConList/Attr.js +224 -149
  76. package/src/components/JfbBaseConList/JfbBaseConList.vue +133 -150
  77. package/src/components/JfbBaseConList/JfbBaseConListLess.less +19 -18
  78. package/src/components/JfbBaseConPhone/JfbBaseConPhoneLess.less +19 -18
  79. package/src/components/JfbBaseEntry/Attr.js +21 -33
  80. package/src/components/JfbBaseEntry/JfbBaseEntry.vue +23 -34
  81. package/src/components/JfbBaseEntry/JfbBaseEntryLess.less +19 -18
  82. package/src/components/JfbBaseExpressDetail/JfbBaseExpressDetailLess.less +19 -18
  83. package/src/components/JfbBaseFastLink/Api.js +54 -1
  84. package/src/components/JfbBaseFastLink/Attr.js +116 -168
  85. package/src/components/JfbBaseFastLink/JfbBaseFastLink.vue +16 -12
  86. package/src/components/JfbBaseFastLink/JfbBaseFastLinkLess.less +19 -18
  87. package/src/components/JfbBaseFooter/Attr.js +22 -28
  88. package/src/components/JfbBaseFooter/JfbBaseFooter.vue +15 -19
  89. package/src/components/JfbBaseFooter/JfbBaseFooterLess.less +19 -18
  90. package/src/components/JfbBaseHeader/Attr.js +91 -89
  91. package/src/components/JfbBaseHeader/JfbBaseHeader.vue +29 -28
  92. package/src/components/JfbBaseHeader/JfbBaseHeaderLess.less +19 -18
  93. package/src/components/JfbBaseLine/Attr.js +59 -0
  94. package/src/components/JfbBaseLine/JfbBaseLine.vue +105 -0
  95. package/src/components/JfbBaseLine/JfbBaseLineLess.less +80 -0
  96. package/src/components/JfbBaseLine/JfbBaseLineMixin.js +30 -0
  97. package/src/components/JfbBaseLogin/Api.js +1 -1
  98. package/src/components/JfbBaseLogin/Attr.js +88 -111
  99. package/src/components/JfbBaseLogin/JfbBaseLogin.vue +5 -4
  100. package/src/components/JfbBaseLogin/JfbBaseLoginLess.less +19 -18
  101. package/src/components/JfbBaseLoginForgetPwd/Attr.js +45 -52
  102. package/src/components/JfbBaseLoginForgetPwd/JfbBaseLoginForgetPwd.vue +14 -14
  103. package/src/components/JfbBaseLoginForgetPwd/JfbBaseLoginForgetPwdLess.less +19 -18
  104. package/src/components/JfbBaseLoginSetPwd/Attr.js +4 -6
  105. package/src/components/JfbBaseLoginSetPwd/JfbBaseLoginSetPwdLess.less +19 -18
  106. package/src/components/JfbBaseMapOverlay/JfbBaseMapOverlayLess.less +19 -18
  107. package/src/components/JfbBaseMapSearch/Attr.js +15 -0
  108. package/src/components/JfbBaseMapSearch/JfbBaseMapSearch.vue +25 -1
  109. package/src/components/JfbBaseMapSearch/JfbBaseMapSearchLess.less +19 -18
  110. package/src/components/JfbBaseMergeUserCard/Attr.js +3 -4
  111. package/src/components/JfbBaseMergeUserCard/JfbBaseMergeUserCardLess.less +19 -18
  112. package/src/components/JfbBaseMultipleExpress/Attr.js +3 -4
  113. package/src/components/JfbBaseMultipleExpress/JfbBaseMultipleExpressLess.less +19 -18
  114. package/src/components/JfbBaseMy/JfbBaseMyLess.less +19 -18
  115. package/src/components/JfbBaseMySetting/Attr.js +1 -1
  116. package/src/components/JfbBaseMySetting/JfbBaseMySettingLess.less +19 -18
  117. package/src/components/JfbBaseNotice/Attr.js +58 -109
  118. package/src/components/JfbBaseNotice/JfbBaseNotice.vue +54 -82
  119. package/src/components/JfbBaseNotice/JfbBaseNoticeLess.less +19 -18
  120. package/src/components/JfbBaseNoticeBottom/JfbBaseNoticeBottomLess.less +19 -18
  121. package/src/components/JfbBaseNoticeTop/JfbBaseNoticeTopLess.less +19 -18
  122. package/src/components/JfbBaseOrderDetail/Attr.js +193 -210
  123. package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +3 -5
  124. package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetailLess.less +19 -18
  125. package/src/components/JfbBaseOrderList/Attr.js +44 -56
  126. package/src/components/JfbBaseOrderList/JfbBaseOrderList.vue +3 -5
  127. package/src/components/JfbBaseOrderList/JfbBaseOrderListLess.less +19 -18
  128. package/src/components/JfbBasePay/Attr.js +13 -2
  129. package/src/components/JfbBasePay/JfbBasePay.vue +6 -7
  130. package/src/components/JfbBasePay/JfbBasePayLess.less +19 -18
  131. package/src/components/JfbBasePay/Mock.js +1 -2
  132. package/src/components/JfbBasePhoneCollect/Attr.js +2 -27
  133. package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollect.vue +1 -1
  134. package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollectLess.less +19 -18
  135. package/src/components/JfbBasePhoneLogin/Attr.js +2 -27
  136. package/src/components/JfbBasePhoneLogin/JfbBasePhoneLoginLess.less +19 -18
  137. package/src/components/JfbBasePoster/Attr.js +83 -103
  138. package/src/components/JfbBasePoster/JfbBasePoster.vue +143 -141
  139. package/src/components/JfbBasePoster/JfbBasePosterLess.less +19 -18
  140. package/src/components/JfbBasePoster/MoreScreen.vue +2 -7
  141. package/src/components/JfbBasePosterBigSmall/Attr.js +76 -93
  142. package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmall.vue +9 -10
  143. package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmallLess.less +19 -18
  144. package/src/components/JfbBasePosterBigSmall/getWidthHeight.js +2 -2
  145. package/src/components/JfbBasePosterEntry/Attr.js +34 -47
  146. package/src/components/JfbBasePosterEntry/JfbBasePosterEntry.vue +51 -52
  147. package/src/components/JfbBasePosterEntry/JfbBasePosterEntryLess.less +19 -18
  148. package/src/components/JfbBasePosterType/Attr.js +48 -82
  149. package/src/components/JfbBasePosterType/FourScreen.vue +4 -14
  150. package/src/components/JfbBasePosterType/JfbBasePosterType.vue +59 -36
  151. package/src/components/JfbBasePosterType/JfbBasePosterTypeLess.less +19 -18
  152. package/src/components/JfbBasePosterType/Screen.vue +284 -0
  153. package/src/components/JfbBaseRecharge/Attr.js +23 -35
  154. package/src/components/JfbBaseRecharge/JfbBaseRecharge.vue +8 -54
  155. package/src/components/JfbBaseRecharge/JfbBaseRechargeLess.less +19 -18
  156. package/src/components/JfbBaseRechargeOrder/Attr.js +22 -32
  157. package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrder.vue +7 -12
  158. package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrderLess.less +19 -18
  159. package/src/components/JfbBaseRechargeOrderDetail/JfbBaseRechargeOrderDetailLess.less +19 -18
  160. package/src/components/JfbBaseRechargeSuccess/Attr.js +8 -10
  161. package/src/components/JfbBaseRechargeSuccess/JfbBaseRechargeSuccessLess.less +19 -18
  162. package/src/components/JfbBaseSearch/Api.js +60 -0
  163. package/src/components/JfbBaseSearch/Attr.js +148 -6
  164. package/src/components/JfbBaseSearch/JfbBaseSearch.vue +37 -8
  165. package/src/components/JfbBaseSearch/JfbBaseSearchLess.less +19 -18
  166. package/src/components/JfbBaseSearch/Mock.js +5 -0
  167. package/src/components/JfbBaseSetPwd/Attr.js +147 -6
  168. package/src/components/JfbBaseSetPwd/JfbBaseSetPwdLess.less +19 -18
  169. package/src/components/JfbBaseSuccess/Attr.js +19 -89
  170. package/src/components/JfbBaseSuccess/JfbBaseSuccess.vue +26 -48
  171. package/src/components/JfbBaseSuccess/JfbBaseSuccessLess.less +19 -18
  172. package/src/components/JfbBaseSuccess/Mock.js +0 -8
  173. package/src/components/JfbBaseTestApi/JfbBaseTestApi.vue +9 -9
  174. package/src/components/JfbBaseTestApi/JfbBaseTestApiLess.less +19 -18
  175. package/src/components/JfbBaseTestBody/JfbBaseTestBodyLess.less +19 -18
  176. package/src/components/JfbBaseTestBottom/JfbBaseTestBottomLess.less +19 -18
  177. package/src/components/JfbBaseTestNotice/JfbBaseTestNoticeLess.less +19 -18
  178. package/src/components/JfbBaseTestTop/JfbBaseTestTopLess.less +19 -18
  179. package/src/components/JfbBaseUserCenter/Attr.js +53 -72
  180. package/src/components/JfbBaseUserCenter/JfbBaseUserCenter.vue +27 -40
  181. package/src/components/JfbBaseUserCenter/JfbBaseUserCenterLess.less +19 -18
  182. package/src/components/JfbBaseUserInfo/Attr.js +45 -54
  183. package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +21 -21
  184. package/src/components/JfbBaseUserInfo/JfbBaseUserInfoLess.less +19 -18
  185. package/src/components/JfbBaseUserOrder/Attr.js +94 -119
  186. package/src/components/JfbBaseUserOrder/JfbBaseUserOrder.vue +7 -21
  187. package/src/components/JfbBaseUserOrder/JfbBaseUserOrderLess.less +19 -18
  188. package/src/components/JfbBaseVideo/Attr.js +19 -72
  189. package/src/components/JfbBaseVideo/JfbBaseVideo.vue +28 -69
  190. package/src/components/JfbBaseVideo/JfbBaseVideoLess.less +19 -18
  191. package/src/components/JfbBaseVideo/XdVideo.vue +44 -6
  192. package/src/components/JfbBaseWallet/Attr.js +19 -27
  193. package/src/components/JfbBaseWallet/JfbBaseWalletLess.less +19 -18
  194. package/src/components/JfbBaseWalletDetail/Attr.js +6 -2
  195. package/src/components/JfbBaseWalletDetail/JfbBaseWalletDetailLess.less +19 -18
  196. package/src/components/JfbBaseWalletEffective/JfbBaseWalletEffectiveLess.less +19 -18
  197. package/src/components/JfbBaseWalletIndex/Attr.js +1 -3
  198. package/src/components/JfbBaseWalletIndex/JfbBaseWalletIndexLess.less +19 -18
  199. package/src/components/JfbBaseWalletItem/Attr.js +1 -3
  200. package/src/components/JfbBaseWalletItem/JfbBaseWalletItemLess.less +19 -18
  201. package/src/components/JfbBaseWebview/JfbBaseWebviewLess.less +19 -18
  202. package/src/components/JfbBaseWxAuthorize/Api.js +3 -3
  203. package/src/components/JfbBaseWxAuthorize/Attr.js +3 -31
  204. package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorize.vue +28 -34
  205. package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorizeLess.less +19 -18
  206. package/src/components/JfbBaseWxAuthorizeError/Attr.js +17 -21
  207. package/src/components/JfbBaseWxAuthorizeError/JfbBaseWxAuthorizeError.vue +4 -4
  208. package/src/components/JfbBaseWxAuthorizeError/JfbBaseWxAuthorizeErrorLess.less +19 -18
  209. package/src/components/JfbBaseCardShift/Mock.js +0 -21
  210. package/src/components/JfbBaseClear/Attr.js +0 -17
@@ -13,8 +13,9 @@
13
13
 
14
14
  //start
15
15
  .jfb-base-multiple-express {
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-multiple-express {
74
- //&:before {
75
- //content: " ";
76
- //display: table;
77
- //}
75
+ &:before {
76
+ content: " ";
77
+ display: table;
78
+ }
78
79
  }
79
80
  /**endNotPreview**/
@@ -13,8 +13,9 @@
13
13
 
14
14
  //start
15
15
  .jfb-base-my {
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-my {
74
- //&:before {
75
- //content: " ";
76
- //display: table;
77
- //}
75
+ &:before {
76
+ content: " ";
77
+ display: table;
78
+ }
78
79
  }
79
80
  /**endNotPreview**/
@@ -12,7 +12,7 @@ export default {
12
12
  ele: 'xd-select-pages-path',
13
13
  valueKey: 'bind_phone_url',
14
14
  value: data['bind_phone_url'] || null,
15
- groupKey:'advanced',
15
+ //groupKey:'advanced',
16
16
  setting: {
17
17
  router: XdBus.getParentApi('getPagesTree')
18
18
  },
@@ -13,8 +13,9 @@
13
13
 
14
14
  //start
15
15
  .jfb-base-my-setting {
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-my-setting {
74
- //&:before {
75
- //content: " ";
76
- //display: table;
77
- //}
75
+ &:before {
76
+ content: " ";
77
+ display: table;
78
+ }
78
79
  }
79
80
  /**endNotPreview**/
@@ -6,7 +6,7 @@
6
6
  */
7
7
  export default {
8
8
  style: [],
9
- content: (data={}) => {
9
+ content: (data) => {
10
10
  if (!data.style) data.style = '1';
11
11
  const checkNotice = ()=>{
12
12
  let temp = false;
@@ -21,13 +21,13 @@ export default {
21
21
  const checkScroll = ()=>{
22
22
  return data.style !== '2'
23
23
  }
24
+
24
25
  return [
25
26
  {
26
27
  label: '内容配置:',
27
28
  ele: 'xd-site-news',
28
29
  valueKey: 'notice',
29
30
  value: data.notice || null,
30
- groupKey:'content',
31
31
  className: 'input70',
32
32
  setting: {
33
33
  config: {
@@ -47,7 +47,7 @@ export default {
47
47
  }
48
48
 
49
49
  //获取返回参数(场景类型名称为必填)
50
- let loading = { close(){}}
50
+ let loading = XdBus.getParentApi('loading')({});
51
51
 
52
52
  //获取显示内容
53
53
  if (action === 'screen') {
@@ -91,7 +91,6 @@ export default {
91
91
 
92
92
  //使用内容分类
93
93
  if (action === 'cmsPublishEditxContent') {
94
- loading = XdBus.getParentApi('loading')({});
95
94
  XdBus.getParentApi('cmsPublishEditxContent')(data.params)
96
95
  .then(res => {
97
96
  console.log('cmsPublishEditxContent', res)
@@ -106,7 +105,6 @@ export default {
106
105
 
107
106
  //位置列表
108
107
  if (action === 'getListPostion') {
109
- loading = XdBus.getParentApi('loading')({});
110
108
  XdBus.getParentApi('getListNewsPosition')(data.params)
111
109
  .then(res => {
112
110
  loading.close();
@@ -120,7 +118,6 @@ export default {
120
118
 
121
119
  //位置创建
122
120
  if (action === 'addPostion') {
123
- loading = XdBus.getParentApi('loading')({});
124
121
  XdBus.getParentApi('addNewsPosition')(data.params)
125
122
  .then(res => {
126
123
  loading.close();
@@ -135,7 +132,6 @@ export default {
135
132
 
136
133
  //位置编辑
137
134
  if (action === 'editPostion') {
138
- loading = XdBus.getParentApi('loading')({});
139
135
  XdBus.getParentApi('updateNewsPosition')(data.params)
140
136
  .then(res => {
141
137
  loading.close();
@@ -150,7 +146,6 @@ export default {
150
146
 
151
147
  //位置删除
152
148
  if (action === 'deleltePostion') {
153
- loading = XdBus.getParentApi('loading')({});
154
149
  XdBus.getParentApi('deleteNewsPosition')(data.params)
155
150
  .then(res => {
156
151
  loading.close();
@@ -165,7 +160,6 @@ export default {
165
160
 
166
161
  //获取广告位内容列表
167
162
  if (action === 'getListContent') {
168
- loading = XdBus.getParentApi('loading')({});
169
163
  XdBus.getParentApi('getListNewsContent')(data.params)
170
164
  .then(res => {
171
165
  loading.close();
@@ -179,7 +173,6 @@ export default {
179
173
 
180
174
  //广告内容创建
181
175
  if (action === 'addContent') {
182
- loading = XdBus.getParentApi('loading')({});
183
176
  XdBus.getParentApi('addNewsContent')(data.params)
184
177
  .then(res => {
185
178
  loading.close();
@@ -194,7 +187,6 @@ export default {
194
187
 
195
188
  //广告内容编辑
196
189
  if (action === 'editContent') {
197
- loading = XdBus.getParentApi('loading')({});
198
190
  XdBus.getParentApi('updateNewsContent')(data.params)
199
191
  .then(res => {
200
192
  loading.close();
@@ -209,7 +201,6 @@ export default {
209
201
 
210
202
  //广告内容删除
211
203
  if (action === 'deleteContent') {
212
- loading = XdBus.getParentApi('loading')({});
213
204
  XdBus.getParentApi('deleteNewsContent')(data.params)
214
205
  .then(res => {
215
206
  loading.close();
@@ -224,7 +215,6 @@ export default {
224
215
 
225
216
  //内容发布
226
217
  if (action === 'publish') {
227
- loading = XdBus.getParentApi('loading')({});
228
218
  console.log('publish', data.params)
229
219
  XdBus.getParentApi('cmsPublishContent')(data.params)
230
220
  .then(res => {
@@ -239,7 +229,6 @@ export default {
239
229
 
240
230
  //通知页面进行刷新
241
231
  if (action === 'update') {
242
- loading = XdBus.getParentApi('loading')({});
243
232
  XdBus.getParentApi('getXdBusUpdateView')('onUpdateView', {});
244
233
  loading.close()
245
234
  }
@@ -255,48 +244,25 @@ export default {
255
244
  ele: 'xd-radio',
256
245
  valueKey: 'style',
257
246
  value: data['style'] || '1',
258
- groupKey:'content',
259
247
  list: [
260
248
  {"label": "静态显示", "value": '1'},
261
249
  {"label": "滚动显示", "value": '2'},
262
250
  {"label": "弹窗显示", "value": '3'},
263
- ],
264
- inline:false,
265
- notice:'预览模式点击使用“<span style="color:red">弹窗显示</span>”会重新触发页面刷新,可点击弹出遮罩层进行关闭功能'
266
- },
267
- {
268
- label: '是否隐藏弹框(仅预览模式生效):',
269
- ele: 'xd-radio',
270
- valueKey: 'is_hide_dailog',
271
- groupKey:'content',
272
- value: data['is_hide_dailog'] || 'N',
273
- placeholder: '请选择是否隐藏弹框',
274
- className: 'input60',
275
- list: [
276
- { label: '是', value: 'Y' },
277
- { label: '否', value: 'N' },
278
251
  ]
279
252
  },
280
- {
281
- ele: 'title',
282
- label: '静态显示',
283
- size: 'small',
284
- groupKey:'style',
285
- },
286
- data.style === '1' && {
253
+
254
+ checkNotice() && checkPop() && checkScroll() && data.style === '1' && {
287
255
  label: '是否显示标题:',
288
256
  ele: 'xd-switch',
289
257
  valueKey: 'isTitle',
290
258
  value: data['isTitle'],
291
- groupKey:'style',
292
259
  list: ['否', '是'],
293
260
  backValueType: 2,
294
261
  },
295
- data.style === '1' && data['isTitle'] && {
262
+ checkNotice() && checkPop() && checkScroll() && data.style === '1' && data['isTitle'] && {
296
263
  label: '标题对其方式:',
297
264
  ele: 'xd-select-list',
298
265
  valueKey: 'textAlign',
299
- groupKey:'style',
300
266
  className: 'input80',
301
267
  value: data['textAlign'] || '',
302
268
  list: [
@@ -305,12 +271,29 @@ export default {
305
271
  {"label": "右", "value": 'right'},
306
272
  ]
307
273
  },
308
- data.style === '1' && {
274
+ checkNotice() && checkPop() && checkScroll() && {
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' && {
309
293
  label: '内容圆角设置:',
310
294
  ele: 'xd-site-select-list',
311
295
  valueKey: 'radius',
312
296
  value: data['radius'],
313
- groupKey:'style',
314
297
  placeholder: '请选择内容圆角设置',
315
298
  multiple: false,
316
299
  className: 'input80',
@@ -324,30 +307,11 @@ export default {
324
307
  });
325
308
  },
326
309
  },
327
- {
328
- label: '内容背景颜色:',
329
- ele: 'xd-color',
330
- valueKey: 'bgc',
331
- groupKey:'style',
332
- value: data.bgc || '',
333
- placeholder: '请选择内容背景颜色',
334
- classNmae: 'input80',
335
- },
336
- {
337
- label: '内文字颜色:',
338
- ele: 'xd-color',
339
- groupKey:'style',
340
- valueKey: 'textColor',
341
- value: data.textColor || '',
342
- placeholder: '请选择内文字颜色',
343
- classNmae: 'input80',
344
- },
345
- {
310
+ checkNotice() && checkPop() && checkScroll() && {
346
311
  label: '内容文字大小:',
347
312
  ele: 'xd-site-select-list',
348
313
  valueKey: 'fontSize',
349
314
  value: data['fontSize'],
350
- groupKey:'style',
351
315
  placeholder: '请选择内容文字大小',
352
316
  multiple: false,
353
317
  className: 'input80',
@@ -361,42 +325,45 @@ export default {
361
325
  });
362
326
  },
363
327
  },
364
- {
365
- label: '内容填充设置:',
328
+ checkNotice() && checkPop() && checkScroll() && {
329
+ label: '内容边距设置:',
366
330
  ele: 'xd-margin-padding',
367
- valueKey: 'padding',
368
- groupKey:'style',
369
- value: data.padding || null,
331
+ valueKey: 'margin',
332
+ value: data.margin || null,
333
+ disabled: false,
370
334
  setting: {
371
- type: 'padding',
335
+ type: 'margin',
372
336
  },
373
- placeholder: '请内容填充设置',
337
+ placeholder: '请设置内容边距设置',
374
338
  inline: false,
375
- notice: '内容填充设置,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
339
+ notice: '内容边距设置,<span style="color: red">单位:像素</span>。默认值:0像素',
376
340
  },
377
- {
378
- label: '边距设置:',
341
+ checkNotice() && checkPop() && checkScroll() && {
342
+ label: '内容填充设置:',
379
343
  ele: 'xd-margin-padding',
380
- groupKey:'style',
381
- valueKey: 'margin',
382
- value: data.margin || null,
344
+ valueKey: 'padding',
345
+ value: data.padding || null,
346
+ disabled: false,
383
347
  setting: {
384
- type: 'margin',
348
+ type: 'padding',
385
349
  },
386
- placeholder: '请设置内容边距设置',
350
+ placeholder: '请内容填充设置',
387
351
  inline: false,
388
- notice: '内容边距设置,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
352
+ notice: '内容填充设置,<span style="color: red">单位:像素</span>。默认值:0像素',
389
353
  },
390
- {
391
- ele: 'title',
392
- label: '滚动显示',
393
- size: 'small',
394
- groupKey:'style',
354
+ checkNotice() && !checkPop() && checkScroll() && {
355
+ label: '弹窗间隔:',
356
+ ele: 'el-input',
357
+ type: 'text',
358
+ valueKey: 'time',
359
+ value: data.time || '',
360
+ placeholder: '请输入弹窗间隔,默认值:3小时',
361
+ className: 'input80',
362
+ unit: '小时'
395
363
  },
396
- {
364
+ checkNotice() && checkPop() && !checkScroll() && {
397
365
  label: '滚动显示条数:',
398
366
  ele: 'el-input',
399
- groupKey:'style',
400
367
  type: 'number',
401
368
  valueKey: 'num',
402
369
  value: data.num,
@@ -404,11 +371,10 @@ export default {
404
371
  className: 'input80',
405
372
  unit: '条'
406
373
  },
407
- {
374
+ checkNotice() && checkPop() && !checkScroll() && {
408
375
  label: '滚动速度值:',
409
376
  ele: 'el-input',
410
377
  type: 'number',
411
- groupKey:'style',
412
378
  valueKey: 'speed',
413
379
  value: data.speed,
414
380
  placeholder: '请输入滚动速度值,默认:20',
@@ -416,12 +382,12 @@ export default {
416
382
  inline: false,
417
383
  notice: '滚动速度值,建议取值:20-60, 值越大越快',
418
384
  },
419
- {
420
- label: '边距设置:',
385
+ checkNotice() && checkPop() && !checkScroll() && {
386
+ label: '内容边距设置:',
421
387
  ele: 'xd-margin-padding',
422
- groupKey:'style',
423
- valueKey: 'scrollMargin',
424
- value: data.scrollMargin || null,
388
+ valueKey: 'margin',
389
+ value: data.margin || null,
390
+ disabled: false,
425
391
  setting: {
426
392
  type: 'margin',
427
393
  },
@@ -429,23 +395,6 @@ export default {
429
395
  inline: false,
430
396
  notice: '内容边距设置,<span style="color: red">单位:像素</span>。默认值:0像素',
431
397
  },
432
- {
433
- ele: 'title',
434
- label: '弹窗显示',
435
- size: 'small',
436
- groupKey:'style',
437
- },
438
- {
439
- label: '弹窗间隔:',
440
- ele: 'el-input',
441
- type: 'text',
442
- groupKey:'style',
443
- valueKey: 'time',
444
- value: data.time || '',
445
- className: 'input80',
446
- inline: false,
447
- notice: '弹窗间隔,单位:小时。默认值:<span style="color: red">3</span>小时',
448
- },
449
398
  ].filter(i=>i)
450
399
  },
451
400
  advanced: [