jufubao-base 1.0.133 → 1.0.134-beta1

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 (205) hide show
  1. package/package.json +4 -3
  2. package/src/components/JfbBaseAddress/Attr.js +11 -5
  3. package/src/components/JfbBaseAddress/JfbBaseAddress.vue +3 -3
  4. package/src/components/JfbBaseAddress/JfbBaseAddressLess.less +18 -19
  5. package/src/components/JfbBaseAfterOrderDetail/Attr.js +19 -7
  6. package/src/components/JfbBaseAfterOrderDetail/JfbBaseAfterOrderDetail.vue +6 -4
  7. package/src/components/JfbBaseAfterOrderDetail/JfbBaseAfterOrderDetailLess.less +18 -19
  8. package/src/components/JfbBaseAfterOrderList/Attr.js +25 -16
  9. package/src/components/JfbBaseAfterOrderList/JfbBaseAfterOrderList.vue +6 -9
  10. package/src/components/JfbBaseAfterOrderList/JfbBaseAfterOrderListLess.less +18 -19
  11. package/src/components/JfbBaseBack/JfbBaseBackLess.less +18 -19
  12. package/src/components/JfbBaseBackground/Attr.js +9 -8
  13. package/src/components/JfbBaseBackground/JfbBaseBackground.vue +0 -3
  14. package/src/components/JfbBaseBackground/JfbBaseBackgroundLess.less +18 -19
  15. package/src/components/JfbBaseBlock/Attr.js +12 -2
  16. package/src/components/JfbBaseBlock/JfbBaseBlock.vue +1 -8
  17. package/src/components/JfbBaseBlock/JfbBaseBlockLess.less +18 -19
  18. package/src/components/JfbBaseBottomNotice/JfbBaseBottomNoticeLess.less +18 -19
  19. package/src/components/JfbBaseCard/Attr.js +78 -36
  20. package/src/components/JfbBaseCard/JfbBaseCard.vue +2 -2
  21. package/src/components/JfbBaseCard/JfbBaseCardLess.less +18 -19
  22. package/src/components/JfbBaseCardBind/JfbBaseCardBindLess.less +18 -19
  23. package/src/components/JfbBaseCardBindV2/Attr.js +5 -4
  24. package/src/components/JfbBaseCardBindV2/JfbBaseCardBindV2.vue +7 -1
  25. package/src/components/JfbBaseCardBindV2/JfbBaseCardBindV2Less.less +18 -19
  26. package/src/components/JfbBaseCardDetail/Attr.js +4 -3
  27. package/src/components/JfbBaseCardDetail/JfbBaseCardDetailLess.less +18 -19
  28. package/src/components/JfbBaseCardDetailEntry/Attr.js +10 -8
  29. package/src/components/JfbBaseCardDetailEntry/JfbBaseCardDetailEntry.vue +4 -13
  30. package/src/components/JfbBaseCardDetailEntry/JfbBaseCardDetailEntryLess.less +18 -19
  31. package/src/components/JfbBaseCardDisabled/Attr.js +1 -3
  32. package/src/components/JfbBaseCardDisabled/JfbBaseCardDisabledLess.less +18 -19
  33. package/src/components/JfbBaseCardDisabledEntry/JfbBaseCardDisabledEntryLess.less +18 -19
  34. package/src/components/JfbBaseCardEntry/Api.js +1 -1
  35. package/src/components/JfbBaseCardEntry/Attr.js +86 -67
  36. package/src/components/JfbBaseCardEntry/JfbBaseCardEntry.vue +6 -5
  37. package/src/components/JfbBaseCardEntry/JfbBaseCardEntryLess.less +18 -19
  38. package/src/components/JfbBaseCardInfo/Attr.js +22 -16
  39. package/src/components/JfbBaseCardInfo/JfbBaseCardInfoLess.less +18 -19
  40. package/src/components/JfbBaseCardInfoEntry/Attr.js +16 -11
  41. package/src/components/JfbBaseCardInfoEntry/JfbBaseCardInfoEntryLess.less +18 -19
  42. package/src/components/JfbBaseCardMerge/Attr.js +21 -8
  43. package/src/components/JfbBaseCardMerge/JfbBaseCardMerge.vue +15 -30
  44. package/src/components/JfbBaseCardMerge/JfbBaseCardMergeLess.less +18 -19
  45. package/src/components/JfbBaseCardMergeEntry/Attr.js +20 -6
  46. package/src/components/JfbBaseCardMergeEntry/JfbBaseCardMergeEntry.vue +28 -25
  47. package/src/components/JfbBaseCardMergeEntry/JfbBaseCardMergeEntryLess.less +18 -19
  48. package/src/components/JfbBaseCardShift/Attr.js +18 -4
  49. package/src/components/JfbBaseCardShift/JfbBaseCardShift.vue +26 -11
  50. package/src/components/JfbBaseCardShift/JfbBaseCardShiftLess.less +18 -19
  51. package/src/components/JfbBaseCardShift/Mock.js +21 -0
  52. package/src/components/JfbBaseCardShiftEntry/Attr.js +34 -26
  53. package/src/components/JfbBaseCardShiftEntry/JfbBaseCardShiftEntry.vue +294 -257
  54. package/src/components/JfbBaseCardShiftEntry/JfbBaseCardShiftEntryLess.less +18 -19
  55. package/src/components/JfbBaseCardShiftEntry/Mock.js +2 -1
  56. package/src/components/JfbBaseCardSweepInfo/Attr.js +5 -3
  57. package/src/components/JfbBaseCardSweepInfo/JfbBaseCardSweepInfoLess.less +18 -19
  58. package/src/components/JfbBaseCardV2/Attr.js +21 -17
  59. package/src/components/JfbBaseCardV2/JfbBaseCardV2.vue +3 -5
  60. package/src/components/JfbBaseCardV2/JfbBaseCardV2Less.less +18 -19
  61. package/src/components/JfbBaseCardV3/Attr.js +18 -14
  62. package/src/components/JfbBaseCardV3/JfbBaseCardV3.vue +1 -1
  63. package/src/components/JfbBaseCardV3/JfbBaseCardV3Less.less +18 -19
  64. package/src/components/JfbBaseCity/Attr.js +2 -4
  65. package/src/components/JfbBaseCity/JfbBaseCityLess.less +18 -19
  66. package/src/components/{JfbBaseWalletDetail → JfbBaseClear}/Attr.js +1 -0
  67. package/src/components/JfbBaseClear/JfbBaseClear.vue +9 -9
  68. package/src/components/JfbBaseClear/JfbBaseClearLess.less +18 -19
  69. package/src/components/JfbBaseClear/JfbBaseClearMixin.js +12 -0
  70. package/src/components/JfbBaseConDialog/Api.js +2 -2
  71. package/src/components/JfbBaseConDialog/Attr.js +30 -20
  72. package/src/components/JfbBaseConDialog/JfbBaseConDialog.vue +45 -26
  73. package/src/components/JfbBaseConDialog/JfbBaseConDialogLess.less +18 -19
  74. package/src/components/JfbBaseConDialog/Mock.js +20 -1
  75. package/src/components/JfbBaseConDialog/XdCouCardBind.vue +15 -9
  76. package/src/components/JfbBaseConList/Api.js +1 -1
  77. package/src/components/JfbBaseConList/Attr.js +149 -224
  78. package/src/components/JfbBaseConList/JfbBaseConList.vue +150 -133
  79. package/src/components/JfbBaseConList/JfbBaseConListLess.less +18 -19
  80. package/src/components/JfbBaseConPhone/JfbBaseConPhoneLess.less +18 -19
  81. package/src/components/JfbBaseEntry/Attr.js +33 -21
  82. package/src/components/JfbBaseEntry/JfbBaseEntry.vue +34 -23
  83. package/src/components/JfbBaseEntry/JfbBaseEntryLess.less +18 -19
  84. package/src/components/JfbBaseExpressDetail/JfbBaseExpressDetailLess.less +18 -19
  85. package/src/components/JfbBaseFastLink/Api.js +1 -54
  86. package/src/components/JfbBaseFastLink/Attr.js +168 -116
  87. package/src/components/JfbBaseFastLink/JfbBaseFastLink.vue +12 -16
  88. package/src/components/JfbBaseFastLink/JfbBaseFastLinkLess.less +18 -19
  89. package/src/components/JfbBaseFooter/Attr.js +28 -22
  90. package/src/components/JfbBaseFooter/JfbBaseFooter.vue +19 -15
  91. package/src/components/JfbBaseFooter/JfbBaseFooterLess.less +18 -19
  92. package/src/components/JfbBaseHeader/Attr.js +89 -91
  93. package/src/components/JfbBaseHeader/JfbBaseHeader.vue +28 -29
  94. package/src/components/JfbBaseHeader/JfbBaseHeaderLess.less +18 -19
  95. package/src/components/JfbBaseLogin/Api.js +1 -1
  96. package/src/components/JfbBaseLogin/Attr.js +111 -88
  97. package/src/components/JfbBaseLogin/JfbBaseLogin.vue +4 -5
  98. package/src/components/JfbBaseLogin/JfbBaseLoginLess.less +18 -19
  99. package/src/components/JfbBaseLoginForgetPwd/Attr.js +52 -45
  100. package/src/components/JfbBaseLoginForgetPwd/JfbBaseLoginForgetPwd.vue +14 -14
  101. package/src/components/JfbBaseLoginForgetPwd/JfbBaseLoginForgetPwdLess.less +18 -19
  102. package/src/components/JfbBaseLoginSetPwd/Attr.js +6 -4
  103. package/src/components/JfbBaseLoginSetPwd/JfbBaseLoginSetPwdLess.less +18 -19
  104. package/src/components/JfbBaseMapOverlay/JfbBaseMapOverlayLess.less +18 -19
  105. package/src/components/JfbBaseMapSearch/Attr.js +0 -15
  106. package/src/components/JfbBaseMapSearch/JfbBaseMapSearch.vue +1 -25
  107. package/src/components/JfbBaseMapSearch/JfbBaseMapSearchLess.less +18 -19
  108. package/src/components/JfbBaseMergeUserCard/Attr.js +4 -3
  109. package/src/components/JfbBaseMergeUserCard/JfbBaseMergeUserCardLess.less +18 -19
  110. package/src/components/JfbBaseMultipleExpress/Attr.js +4 -3
  111. package/src/components/JfbBaseMultipleExpress/JfbBaseMultipleExpressLess.less +18 -19
  112. package/src/components/JfbBaseMy/JfbBaseMyLess.less +18 -19
  113. package/src/components/JfbBaseMySetting/Attr.js +1 -1
  114. package/src/components/JfbBaseMySetting/JfbBaseMySettingLess.less +18 -19
  115. package/src/components/JfbBaseNotice/Attr.js +97 -56
  116. package/src/components/JfbBaseNotice/JfbBaseNotice.vue +70 -52
  117. package/src/components/JfbBaseNotice/JfbBaseNoticeLess.less +18 -19
  118. package/src/components/JfbBaseNoticeBottom/JfbBaseNoticeBottomLess.less +18 -19
  119. package/src/components/JfbBaseNoticeTop/JfbBaseNoticeTopLess.less +18 -19
  120. package/src/components/JfbBaseOrderDetail/Attr.js +210 -193
  121. package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +5 -3
  122. package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetailLess.less +18 -19
  123. package/src/components/JfbBaseOrderList/Attr.js +56 -44
  124. package/src/components/JfbBaseOrderList/JfbBaseOrderList.vue +5 -3
  125. package/src/components/JfbBaseOrderList/JfbBaseOrderListLess.less +18 -19
  126. package/src/components/JfbBasePay/Attr.js +2 -13
  127. package/src/components/JfbBasePay/JfbBasePay.vue +7 -6
  128. package/src/components/JfbBasePay/JfbBasePayLess.less +18 -19
  129. package/src/components/JfbBasePay/Mock.js +2 -1
  130. package/src/components/JfbBasePhoneCollect/Attr.js +27 -2
  131. package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollect.vue +1 -1
  132. package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollectLess.less +18 -19
  133. package/src/components/JfbBasePhoneLogin/Attr.js +27 -2
  134. package/src/components/JfbBasePhoneLogin/JfbBasePhoneLoginLess.less +18 -19
  135. package/src/components/JfbBasePoster/Attr.js +103 -83
  136. package/src/components/JfbBasePoster/JfbBasePoster.vue +134 -141
  137. package/src/components/JfbBasePoster/JfbBasePosterLess.less +18 -19
  138. package/src/components/JfbBasePosterBigSmall/Attr.js +93 -76
  139. package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmall.vue +3 -7
  140. package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmallLess.less +18 -19
  141. package/src/components/JfbBasePosterBigSmall/getWidthHeight.js +2 -2
  142. package/src/components/JfbBasePosterEntry/Attr.js +47 -34
  143. package/src/components/JfbBasePosterEntry/JfbBasePosterEntry.vue +44 -49
  144. package/src/components/JfbBasePosterEntry/JfbBasePosterEntryLess.less +18 -19
  145. package/src/components/JfbBasePosterType/Attr.js +82 -48
  146. package/src/components/JfbBasePosterType/FourScreen.vue +8 -2
  147. package/src/components/JfbBasePosterType/JfbBasePosterType.vue +36 -59
  148. package/src/components/JfbBasePosterType/JfbBasePosterTypeLess.less +18 -19
  149. package/src/components/JfbBaseRecharge/Attr.js +35 -23
  150. package/src/components/JfbBaseRecharge/JfbBaseRecharge.vue +54 -8
  151. package/src/components/JfbBaseRecharge/JfbBaseRechargeLess.less +18 -19
  152. package/src/components/JfbBaseRechargeOrder/Attr.js +32 -22
  153. package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrder.vue +12 -7
  154. package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrderLess.less +18 -19
  155. package/src/components/JfbBaseRechargeOrderDetail/JfbBaseRechargeOrderDetailLess.less +18 -19
  156. package/src/components/JfbBaseRechargeSuccess/Attr.js +10 -8
  157. package/src/components/JfbBaseRechargeSuccess/JfbBaseRechargeSuccessLess.less +18 -19
  158. package/src/components/JfbBaseSearch/Attr.js +6 -148
  159. package/src/components/JfbBaseSearch/JfbBaseSearch.vue +8 -37
  160. package/src/components/JfbBaseSearch/JfbBaseSearchLess.less +18 -19
  161. package/src/components/JfbBaseSetPwd/Attr.js +6 -147
  162. package/src/components/JfbBaseSetPwd/JfbBaseSetPwdLess.less +18 -19
  163. package/src/components/JfbBaseSuccess/Attr.js +89 -19
  164. package/src/components/JfbBaseSuccess/JfbBaseSuccess.vue +38 -18
  165. package/src/components/JfbBaseSuccess/JfbBaseSuccessLess.less +18 -19
  166. package/src/components/JfbBaseTestApi/JfbBaseTestApi.vue +9 -9
  167. package/src/components/JfbBaseTestApi/JfbBaseTestApiLess.less +18 -19
  168. package/src/components/JfbBaseTestBody/JfbBaseTestBodyLess.less +18 -19
  169. package/src/components/JfbBaseTestBottom/JfbBaseTestBottomLess.less +18 -19
  170. package/src/components/JfbBaseTestNotice/JfbBaseTestNoticeLess.less +18 -19
  171. package/src/components/JfbBaseTestTop/JfbBaseTestTopLess.less +18 -19
  172. package/src/components/JfbBaseUserCenter/Attr.js +72 -53
  173. package/src/components/JfbBaseUserCenter/JfbBaseUserCenter.vue +40 -27
  174. package/src/components/JfbBaseUserCenter/JfbBaseUserCenterLess.less +18 -19
  175. package/src/components/JfbBaseUserInfo/Attr.js +54 -45
  176. package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +21 -21
  177. package/src/components/JfbBaseUserInfo/JfbBaseUserInfoLess.less +18 -19
  178. package/src/components/JfbBaseUserOrder/Attr.js +119 -94
  179. package/src/components/JfbBaseUserOrder/JfbBaseUserOrder.vue +21 -7
  180. package/src/components/JfbBaseUserOrder/JfbBaseUserOrderLess.less +18 -19
  181. package/src/components/JfbBaseVideo/Attr.js +72 -19
  182. package/src/components/JfbBaseVideo/JfbBaseVideo.vue +69 -28
  183. package/src/components/JfbBaseVideo/JfbBaseVideoLess.less +18 -19
  184. package/src/components/JfbBaseVideo/XdVideo.vue +6 -44
  185. package/src/components/JfbBaseWallet/JfbBaseWalletLess.less +18 -19
  186. package/src/components/JfbBaseWalletDetail/JfbBaseWalletDetailLess.less +18 -19
  187. package/src/components/JfbBaseWalletDetail/JfbBaseWalletDetailMixin.js +0 -12
  188. package/src/components/JfbBaseWalletEffective/JfbBaseWalletEffectiveLess.less +18 -19
  189. package/src/components/JfbBaseWalletIndex/JfbBaseWalletIndexLess.less +18 -19
  190. package/src/components/JfbBaseWalletItem/JfbBaseWalletItemLess.less +18 -19
  191. package/src/components/JfbBaseWebview/JfbBaseWebviewLess.less +18 -19
  192. package/src/components/JfbBaseWxAuthorize/Api.js +3 -3
  193. package/src/components/JfbBaseWxAuthorize/Attr.js +31 -3
  194. package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorize.vue +34 -28
  195. package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorizeLess.less +18 -19
  196. package/src/components/JfbBaseWxAuthorizeError/Attr.js +21 -17
  197. package/src/components/JfbBaseWxAuthorizeError/JfbBaseWxAuthorizeError.vue +4 -4
  198. package/src/components/JfbBaseWxAuthorizeError/JfbBaseWxAuthorizeErrorLess.less +18 -19
  199. package/src/components/JfbBaseLine/Attr.js +0 -59
  200. package/src/components/JfbBaseLine/JfbBaseLine.vue +0 -105
  201. package/src/components/JfbBaseLine/JfbBaseLineLess.less +0 -80
  202. package/src/components/JfbBaseLine/JfbBaseLineMixin.js +0 -30
  203. package/src/components/JfbBasePosterType/Screen.vue +0 -284
  204. package/src/components/JfbBaseSearch/Api.js +0 -60
  205. package/src/components/JfbBaseSearch/Mock.js +0 -5
@@ -13,9 +13,8 @@
13
13
 
14
14
  //start
15
15
  .jfb-base-background {
16
- border: 1px dashed rgba(0, 0, 0, 0);
17
16
  box-sizing: border-box;
18
- min-height: unit(50, rpx);
17
+ min-height: unit(100, rpx);
19
18
 
20
19
  &__body{
21
20
  position: relative;
@@ -23,21 +22,21 @@
23
22
  z-index: 2
24
23
  }
25
24
 
26
- &.editx {
25
+ &.editx,&:hover {
27
26
  position: relative;
28
- border: 1px dashed blue;
29
- box-sizing: border-box;
30
- z-index: 3
31
-
32
- }
33
-
34
- &:hover {
35
- border: 1px dashed blue;
36
- }
27
+ z-index: 3;
28
+ &::after {
29
+ border: 2rpx dashed blue;
30
+ content: " ";
31
+ position: absolute;
32
+ top:0;
33
+ left:0;
34
+ bottom:0;
35
+ right:0;
36
+ z-index: 4;
37
+ cursor: pointer;
38
+ }
37
39
 
38
- &.noBorder {
39
- border-color: rgba(0,0,0,0);
40
- border-width: 0;
41
40
  }
42
41
 
43
42
 
@@ -72,9 +71,9 @@
72
71
 
73
72
  /**notPreview**/
74
73
  .jfb-base-background {
75
- &:before {
76
- content: " ";
77
- display: table;
78
- }
74
+ //&:before {
75
+ //content: " ";
76
+ //display: table;
77
+ //}
79
78
  }
80
79
  /**endNotPreview**/
@@ -6,11 +6,18 @@
6
6
  export default {
7
7
  style: [],
8
8
  content: [
9
+ {
10
+ label: '',
11
+ ele: 'slot',
12
+ slot: 'is_reference_title',
13
+ groupKey:'advanced',
14
+ },
9
15
  {
10
16
  label: '背景颜色:',
11
17
  ele: 'xd-color',
12
18
  valueKey: 'bgcolor',
13
19
  value: '',
20
+ groupKey:'style',
14
21
  placeholder: '请输入占位框背景颜色',
15
22
  classNmae: 'input80',
16
23
  },
@@ -19,14 +26,17 @@ export default {
19
26
  ele: 'el-input',
20
27
  type: 'number',
21
28
  valueKey: 'height',
29
+ groupKey:'style',
22
30
  value: null,
23
- placeholder: '请输入占位框高度,单位像素,默认:20px',
24
- classNmae: 'input80',
31
+ classNmae: 'input60',
32
+ inline: false,
33
+ notice:'占位框高度,单位像素,默认:<span style="color:red">20</span>像素'
25
34
  },
26
35
  {
27
36
  label: '',
28
37
  ele: 'slot',
29
38
  slot: 'is_reference',
39
+ groupKey:'advanced',
30
40
  },
31
41
  ],
32
42
  advanced: [],
@@ -29,7 +29,7 @@
29
29
  import componentsMixins from "@/mixins/componentsMixins";
30
30
  import extsMixins from "@/mixins/extsMixins"
31
31
  import {getContainerPropsValue} from "@/utils/xd.base";
32
-
32
+
33
33
  export default {
34
34
  name: "JfbBaseBlock",
35
35
  components: {
@@ -57,13 +57,6 @@
57
57
  if (bgcolor) this.bgcolor = bgcolor;
58
58
  if (height) this.height = height;
59
59
  },
60
- onJfbLoad(options) {
61
-
62
- },
63
-
64
- onJfbCustomEvent(data){
65
- console.log('onJfbCustomEvent',data);
66
- }
67
60
  }
68
61
  }
69
62
 
@@ -13,9 +13,8 @@
13
13
 
14
14
  //start
15
15
  .jfb-base-block {
16
- border: 1px dashed rgba(0, 0, 0, 0);
17
16
  box-sizing: border-box;
18
- min-height: unit(50, rpx);
17
+ min-height: unit(100, rpx);
19
18
 
20
19
  &__body{
21
20
  position: relative;
@@ -23,21 +22,21 @@
23
22
  z-index: 2
24
23
  }
25
24
 
26
- &.editx {
25
+ &.editx,&:hover {
27
26
  position: relative;
28
- border: 1px dashed blue;
29
- box-sizing: border-box;
30
- z-index: 3
31
-
32
- }
33
-
34
- &:hover {
35
- border: 1px dashed blue;
36
- }
27
+ z-index: 3;
28
+ &::after {
29
+ border: 2rpx dashed blue;
30
+ content: " ";
31
+ position: absolute;
32
+ top:0;
33
+ left:0;
34
+ bottom:0;
35
+ right:0;
36
+ z-index: 4;
37
+ cursor: pointer;
38
+ }
37
39
 
38
- &.noBorder {
39
- border-color: rgba(0,0,0,0);
40
- border-width: 0;
41
40
  }
42
41
 
43
42
 
@@ -72,9 +71,9 @@
72
71
 
73
72
  /**notPreview**/
74
73
  .jfb-base-block {
75
- &:before {
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-bottom-notice {
16
- border: 1px dashed rgba(0, 0, 0, 0);
17
16
  box-sizing: border-box;
18
- min-height: unit(50, rpx);
17
+ min-height: unit(100, rpx);
19
18
 
20
19
  &__body{
21
20
  position: relative;
@@ -23,21 +22,21 @@
23
22
  z-index: 2
24
23
  }
25
24
 
26
- &.editx {
25
+ &.editx,&:hover {
27
26
  position: relative;
28
- border: 1px dashed blue;
29
- box-sizing: border-box;
30
- z-index: 3
31
-
32
- }
33
-
34
- &:hover {
35
- border: 1px dashed blue;
36
- }
27
+ z-index: 3;
28
+ &::after {
29
+ border: 2rpx dashed blue;
30
+ content: " ";
31
+ position: absolute;
32
+ top:0;
33
+ left:0;
34
+ bottom:0;
35
+ right:0;
36
+ z-index: 4;
37
+ cursor: pointer;
38
+ }
37
39
 
38
- &.noBorder {
39
- border-color: rgba(0,0,0,0);
40
- border-width: 0;
41
40
  }
42
41
 
43
42
 
@@ -72,9 +71,9 @@
72
71
 
73
72
  /**notPreview**/
74
73
  .jfb-base-bottom-notice {
75
- &:before {
76
- content: " ";
77
- display: table;
78
- }
74
+ //&:before {
75
+ //content: " ";
76
+ //display: table;
77
+ //}
79
78
  }
80
79
  /**endNotPreview**/
@@ -9,6 +9,7 @@ export default {
9
9
  label: "票券布局",
10
10
  ele: "xd-radio",
11
11
  valueKey: "cardLayout",
12
+ groupKey:'content',
12
13
  value: data.cardLayout || "1",
13
14
  list: [
14
15
  {label: "布局1", value: "1"},
@@ -16,21 +17,30 @@ export default {
16
17
  ]
17
18
  },
18
19
  {
19
- label: '票券登陆文案:',
20
+ label: '票券登录文案:',
20
21
  ele: 'el-input',
21
22
  type: 'text',
22
23
  valueKey: 'login_name',
24
+ groupKey:'content',
23
25
  value: data.login_name || '',
24
- placeholder: '请输入票券登陆文案',
26
+ placeholder: '请输入票券登录文案',
25
27
  className: 'input80',
26
28
  inline: false,
27
29
  notice: '当未设置文案时候,前台页面显示为"<span style="color:red">登录</span>"'
28
30
  },
31
+
32
+ {
33
+ ele: 'title',
34
+ label: '登录样式设置',
35
+ size: 'small',
36
+ groupKey: 'style',
37
+ },
29
38
  {
30
39
  label: "登录文字大小",
31
40
  ele: "el-input",
32
41
  type: "number",
33
42
  valueKey: "login_text_size",
43
+ groupKey: 'style',
34
44
  value: data.login_text_size || 24,
35
45
  placeholder: "请输入登录文字大小",
36
46
  className: "input80",
@@ -40,6 +50,7 @@ export default {
40
50
  label: "登录字体颜色配置",
41
51
  ele: 'xd-color',
42
52
  valueKey: "login_text_color",
53
+ groupKey: 'style',
43
54
  value: data.login_text_color || '',
44
55
  className: "input80",
45
56
  inline: false,
@@ -48,6 +59,7 @@ export default {
48
59
  label: "登录背景颜色配置",
49
60
  ele: 'xd-color',
50
61
  valueKey: "login_text_bg_color",
62
+ groupKey: 'style',
51
63
  value: data.login_text_bg_color || '',
52
64
  className: "input80",
53
65
  inline: false,
@@ -56,6 +68,7 @@ export default {
56
68
  label: "登录按钮圆角配置",
57
69
  ele: 'xd-site-select-list',
58
70
  valueKey: "login_text_radius",
71
+ groupKey: 'style',
59
72
  value: data.login_text_radius || '',
60
73
  placeholder: '请选择内容圆角设置',
61
74
  multiple: false,
@@ -71,11 +84,18 @@ export default {
71
84
  },
72
85
  },
73
86
 
87
+ {
88
+ ele: 'title',
89
+ label: '查看样式设置',
90
+ size: 'small',
91
+ groupKey: 'style',
92
+ },
74
93
  {
75
94
  label: "查看文字大小",
76
95
  ele: "el-input",
77
96
  type: "number",
78
97
  valueKey: "look_text_size",
98
+ groupKey: 'style',
79
99
  value: data.look_text_size || 24,
80
100
  placeholder: "请输入登录文字大小",
81
101
  className: "input80",
@@ -85,6 +105,7 @@ export default {
85
105
  label: "查看字体颜色配置",
86
106
  ele: 'xd-color',
87
107
  valueKey: "look_text_color",
108
+ groupKey: 'style',
88
109
  value: data.look_text_color || '',
89
110
  className: "input80",
90
111
  inline: false,
@@ -93,6 +114,7 @@ export default {
93
114
  label: "查看背景颜色配置",
94
115
  ele: 'xd-color',
95
116
  valueKey: "look_text_bg_color",
117
+ groupKey: 'style',
96
118
  value: data.look_text_bg_color || '',
97
119
  className: "input80",
98
120
  inline: false,
@@ -101,6 +123,7 @@ export default {
101
123
  label: "查看按钮圆角配置",
102
124
  ele: 'xd-site-select-list',
103
125
  valueKey: "look_text_radius",
126
+ groupKey: 'style',
104
127
  value: data.look_text_radius || '',
105
128
  placeholder: '请选择内容圆角设置',
106
129
  multiple: false,
@@ -116,11 +139,12 @@ export default {
116
139
  },
117
140
  },
118
141
 
119
-
142
+
120
143
  {
121
- label: '失效卡列表地址:', //label
122
- ele: 'xd-select-pages-path', //package 名称
123
- valueKey: 'disabled_url', //form[valueKey]
144
+ label: '失效卡列表地址:',
145
+ ele: 'xd-select-pages-path',
146
+ valueKey: 'disabled_url',
147
+ groupKey:'advanced',
124
148
  placeholder: '请选择失效卡列表地址',
125
149
  value: data.disabled_url || null,
126
150
  setting: {
@@ -129,9 +153,10 @@ export default {
129
153
  inline: false,
130
154
  },
131
155
  {
132
- label: '卡券详情地址:', //label
133
- ele: 'xd-select-pages-path', //package 名称
134
- valueKey: 'detail_url', //form[valueKey]
156
+ label: '卡券详情地址:',
157
+ ele: 'xd-select-pages-path',
158
+ valueKey: 'detail_url',
159
+ groupKey:'advanced',
135
160
  placeholder: '请选择卡券详情地址',
136
161
  value: data.detail_url || null,
137
162
  setting: {
@@ -140,9 +165,10 @@ export default {
140
165
  inline: false,
141
166
  },
142
167
  {
143
- label: '卡券转换地址:', //label
144
- ele: 'xd-select-pages-path', //package 名称
145
- valueKey: 'change_url', //form[valueKey]
168
+ label: '卡券转换地址:',
169
+ ele: 'xd-select-pages-path',
170
+ valueKey: 'change_url',
171
+ groupKey:'advanced',
146
172
  placeholder: '请选择卡券转换地址',
147
173
  value: data.change_url || null,
148
174
  setting: {
@@ -151,9 +177,10 @@ export default {
151
177
  inline: false,
152
178
  },
153
179
  {
154
- label: '卡券密码绑定地址:', //label
155
- ele: 'xd-select-pages-path', //package 名称
156
- valueKey: 'bind_url', //form[valueKey]
180
+ label: '卡券密码绑定地址:',
181
+ ele: 'xd-select-pages-path',
182
+ valueKey: 'bind_url',
183
+ groupKey:'advanced',
157
184
  placeholder: '请选择卡券密码绑定地址',
158
185
  value: data.bind_url || null,
159
186
  setting: {
@@ -162,9 +189,10 @@ export default {
162
189
  inline: false,
163
190
  },
164
191
  {
165
- label: '扫码绑定卡券确认地址:', //label
166
- ele: 'xd-select-pages-path', //package 名称
167
- valueKey: 'confirm_url', //form[valueKey]
192
+ label: '扫码绑定卡券确认地址:',
193
+ ele: 'xd-select-pages-path',
194
+ valueKey: 'confirm_url',
195
+ groupKey:'advanced',
168
196
  placeholder: '请选择扫码绑定卡券确认地址',
169
197
  value: data.confirm_url || null,
170
198
  setting: {
@@ -176,8 +204,9 @@ export default {
176
204
  label: '综合福利入口页:',
177
205
  ele: 'xd-select-pages-path',
178
206
  valueKey: 'allEntryPath',
207
+ groupKey:'advanced',
179
208
  placeholder: '请选择综合福利入口页',
180
- value: null,
209
+ value: data.allEntryPath || null,
181
210
  setting: {
182
211
  router: XdBus.getParentApi('getPagesTree'),
183
212
  },
@@ -187,6 +216,7 @@ export default {
187
216
  label: '提示内容:',
188
217
  ele: 'xd-site-news',
189
218
  valueKey: 'notice',
219
+ groupKey:'content',
190
220
  value: data.notice || null,
191
221
  className: 'input70',
192
222
  setting: {
@@ -205,10 +235,11 @@ export default {
205
235
  //当一个插件中出现使用内容分类时候需要设置code值,在页面引用时候容器id + code进行拼接
206
236
  //data.params = Object.assign({}, data.params, {code: 'g_test_id'});
207
237
  }
208
-
238
+
239
+ //获取返回参数(场景类型名称为必填)
209
240
  //获取返回参数(场景类型名称为必填)
210
- let loading = XdBus.getParentApi('loading')({});
211
-
241
+ let loading = { close(){}}
242
+
212
243
  //获取显示内容
213
244
  if (action === 'screen') {
214
245
  XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_bucket_content_tip'})
@@ -220,9 +251,9 @@ export default {
220
251
  console.error(error);
221
252
  loading.close();
222
253
  });
223
-
254
+
224
255
  }
225
-
256
+
226
257
  //获取返回参数(广告位高度必选项)
227
258
  if (action === 'getNewsInfo') {
228
259
  XdBus.getParentApi('cmsGetPublishEditxContent')(data.params)
@@ -235,7 +266,7 @@ export default {
235
266
  console.error(error);
236
267
  });
237
268
  }
238
-
269
+
239
270
  //获取产品业务线列表
240
271
  if (action === 'namespace') {
241
272
  XdBus.getParentApi('getOptionsNamespaces')({})
@@ -248,9 +279,10 @@ export default {
248
279
  console.error(error);
249
280
  });
250
281
  }
251
-
282
+
252
283
  //使用内容分类
253
284
  if (action === 'cmsPublishEditxContent') {
285
+ loading = XdBus.getParentApi('loading')({});
254
286
  XdBus.getParentApi('cmsPublishEditxContent')(data.params)
255
287
  .then(res => {
256
288
  console.log('cmsPublishEditxContent', res)
@@ -262,9 +294,10 @@ export default {
262
294
  console.error(error);
263
295
  });
264
296
  }
265
-
297
+
266
298
  //位置列表
267
299
  if (action === 'getListPostion') {
300
+ loading = XdBus.getParentApi('loading')({});
268
301
  XdBus.getParentApi('getListNewsPosition')(data.params)
269
302
  .then(res => {
270
303
  loading.close();
@@ -275,9 +308,10 @@ export default {
275
308
  console.error(error);
276
309
  });
277
310
  }
278
-
311
+
279
312
  //位置创建
280
313
  if (action === 'addPostion') {
314
+ loading = XdBus.getParentApi('loading')({});
281
315
  XdBus.getParentApi('addNewsPosition')(data.params)
282
316
  .then(res => {
283
317
  loading.close();
@@ -289,9 +323,10 @@ export default {
289
323
  data.cb(false)
290
324
  });
291
325
  }
292
-
326
+
293
327
  //位置编辑
294
328
  if (action === 'editPostion') {
329
+ loading = XdBus.getParentApi('loading')({});
295
330
  XdBus.getParentApi('updateNewsPosition')(data.params)
296
331
  .then(res => {
297
332
  loading.close();
@@ -303,9 +338,10 @@ export default {
303
338
  data.cb(false)
304
339
  });
305
340
  }
306
-
341
+
307
342
  //位置删除
308
343
  if (action === 'deleltePostion') {
344
+ loading = XdBus.getParentApi('loading')({});
309
345
  XdBus.getParentApi('deleteNewsPosition')(data.params)
310
346
  .then(res => {
311
347
  loading.close();
@@ -317,9 +353,10 @@ export default {
317
353
  data.cb(false)
318
354
  });
319
355
  }
320
-
356
+
321
357
  //获取广告位内容列表
322
358
  if (action === 'getListContent') {
359
+ loading = XdBus.getParentApi('loading')({});
323
360
  XdBus.getParentApi('getListNewsContent')(data.params)
324
361
  .then(res => {
325
362
  loading.close();
@@ -330,9 +367,10 @@ export default {
330
367
  console.error(error);
331
368
  });
332
369
  }
333
-
370
+
334
371
  //广告内容创建
335
372
  if (action === 'addContent') {
373
+ loading = XdBus.getParentApi('loading')({});
336
374
  XdBus.getParentApi('addNewsContent')(data.params)
337
375
  .then(res => {
338
376
  loading.close();
@@ -344,9 +382,10 @@ export default {
344
382
  data.cb(false)
345
383
  });
346
384
  }
347
-
385
+
348
386
  //广告内容编辑
349
387
  if (action === 'editContent') {
388
+ loading = XdBus.getParentApi('loading')({});
350
389
  XdBus.getParentApi('updateNewsContent')(data.params)
351
390
  .then(res => {
352
391
  loading.close();
@@ -358,9 +397,10 @@ export default {
358
397
  data.cb(false)
359
398
  });
360
399
  }
361
-
400
+
362
401
  //广告内容删除
363
402
  if (action === 'deleteContent') {
403
+ loading = XdBus.getParentApi('loading')({});
364
404
  XdBus.getParentApi('deleteNewsContent')(data.params)
365
405
  .then(res => {
366
406
  loading.close();
@@ -372,9 +412,10 @@ export default {
372
412
  data.cb(false)
373
413
  });
374
414
  }
375
-
415
+
376
416
  //内容发布
377
417
  if (action === 'publish') {
418
+ loading = XdBus.getParentApi('loading')({});
378
419
  console.log('publish', data.params)
379
420
  XdBus.getParentApi('cmsPublishContent')(data.params)
380
421
  .then(res => {
@@ -386,9 +427,10 @@ export default {
386
427
  console.error(error);
387
428
  });
388
429
  }
389
-
430
+
390
431
  //通知页面进行刷新
391
432
  if (action === 'update') {
433
+ loading = XdBus.getParentApi('loading')({});
392
434
  XdBus.getParentApi('getXdBusUpdateView')('onUpdateView', {});
393
435
  loading.close()
394
436
  }
@@ -314,7 +314,7 @@ export default {
314
314
  loadingCardList: true,
315
315
 
316
316
  //页面跳转地址
317
- login_name:'',//登陆文案
317
+ login_name:'',//登录文案
318
318
  changeUrl: "",
319
319
  bindUrl: "",
320
320
  detailUrl: "",
@@ -542,7 +542,7 @@ export default {
542
542
  }
543
543
  }
544
544
 
545
- //登陆成功调整地址优先级
545
+ //登录成功调整地址优先级
546
546
  this.inCallback = inCallback || this.allEntryPath || this.settings.index;
547
547
  this.getContent();
548
548
 
@@ -13,9 +13,8 @@
13
13
 
14
14
  //start
15
15
  .jfb-base-card {
16
- border: 1px dashed rgba(0, 0, 0, 0);
17
16
  box-sizing: border-box;
18
- min-height: unit(50, rpx);
17
+ min-height: unit(100, rpx);
19
18
 
20
19
  &__body{
21
20
  position: relative;
@@ -23,21 +22,21 @@
23
22
  z-index: 2
24
23
  }
25
24
 
26
- &.editx {
25
+ &.editx,&:hover {
27
26
  position: relative;
28
- border: 1px dashed blue;
29
- box-sizing: border-box;
30
- z-index: 3
31
-
32
- }
33
-
34
- &:hover {
35
- border: 1px dashed blue;
36
- }
27
+ z-index: 3;
28
+ &::after {
29
+ border: 2rpx dashed blue;
30
+ content: " ";
31
+ position: absolute;
32
+ top:0;
33
+ left:0;
34
+ bottom:0;
35
+ right:0;
36
+ z-index: 4;
37
+ cursor: pointer;
38
+ }
37
39
 
38
- &.noBorder {
39
- border-color: rgba(0,0,0,0);
40
- border-width: 0;
41
40
  }
42
41
 
43
42
 
@@ -72,9 +71,9 @@
72
71
 
73
72
  /**notPreview**/
74
73
  .jfb-base-card {
75
- &:before {
76
- content: " ";
77
- display: table;
78
- }
74
+ //&:before {
75
+ //content: " ";
76
+ //display: table;
77
+ //}
79
78
  }
80
79
  /**endNotPreview**/