jufubao-base 1.0.132-beta3 → 1.0.133

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