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
@@ -11,18 +11,16 @@ export default {
11
11
  label: '账单详情跳转路径:',
12
12
  ele: 'xd-select-pages-path',
13
13
  valueKey: 'billDetailPath',
14
- groupKey:'advanced',
15
14
  value: data['billDetailPath'] || {},
16
15
  setting: {
17
16
  router: XdBus.getParentApi('getPagesTree')
18
17
  },
19
18
  inline: false,
20
- },
19
+ },
21
20
  {
22
21
  label: '有效期列表跳转路径:',
23
22
  ele: 'xd-select-pages-path',
24
23
  valueKey: 'effectivePath',
25
- groupKey:'advanced',
26
24
  value: data['effectivePath'] || {},
27
25
  setting: {
28
26
  router: XdBus.getParentApi('getPagesTree')
@@ -13,8 +13,9 @@
13
13
 
14
14
  //start
15
15
  .jfb-base-wallet-item {
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-wallet-item {
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-webview {
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-webview {
74
- //&:before {
75
- //content: " ";
76
- //display: table;
77
- //}
75
+ &:before {
76
+ content: " ";
77
+ display: table;
78
+ }
78
79
  }
79
80
  /**endNotPreview**/
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
3
  /**
4
- * @description 微信用户授权登录
4
+ * @description 微信用户授权登陆
5
5
  * @type {*[]}
6
6
  */
7
7
  module.exports = [
8
8
  {
9
9
  mapFnName: 'userPhoneWxLogin',
10
- title: "用户授权登录",
10
+ title: "用户授权登陆",
11
11
  path: "/passport/v1/user/login-phone-number",
12
12
  isRule: false,
13
13
  params: {
@@ -24,7 +24,7 @@ module.exports = [
24
24
  path: "/cms/v1/news-content",
25
25
  isRule: false,
26
26
  params: {
27
-
27
+
28
28
  },
29
29
  isConsole: true,
30
30
  disable: true,
@@ -14,7 +14,6 @@ export default {
14
14
  label: '文字颜色:',
15
15
  ele: 'xd-color',
16
16
  valueKey: 'textColor',
17
- groupKey:'style',
18
17
  value: data.textColor,
19
18
  placeholder: '请选择文字颜色',
20
19
  classNmae: 'input80',
@@ -24,7 +23,6 @@ export default {
24
23
  ele: 'el-input',
25
24
  type: 'text',
26
25
  valueKey: 'notice',
27
- groupKey:'content',
28
26
  value: data.notice,
29
27
  placeholder: '请输入授权按钮下面文案',
30
28
  className: 'input80',
@@ -33,11 +31,10 @@ export default {
33
31
  label: '背景图:',
34
32
  ele: 'xd-upload',
35
33
  valueKey: 'bgImage',
36
- groupKey:'content',
37
34
  value: data.bgImage,
38
35
  defaultValue: data.bgImage,
39
36
  slot: true,
40
- tipsformet: '上传文件格式:@imageType@,不超过@size@MB.,建议尺寸:800*1334像素',
37
+ tipsformet: '上传文件格式:@imageType@,不超过@size@MB.,建议尺寸:800*1120像素',
41
38
  type: ['jpg', 'png', 'jpeg'],
42
39
  styleType: 'one',
43
40
  uploadType: 'aliyun',
@@ -50,7 +47,6 @@ export default {
50
47
  label: '隐私政策:',
51
48
  ele: 'xd-site-news',
52
49
  valueKey: 'privacy',
53
- groupKey:'content',
54
50
  value: data['privacy'] || {type: 'privacy'},
55
51
  className: 'input70',
56
52
  setting: {
@@ -72,7 +68,7 @@ export default {
72
68
  }
73
69
 
74
70
  //获取返回参数(场景类型名称为必填)
75
- let loading = { close(){}}
71
+ let loading = XdBus.getParentApi('loading')({});
76
72
 
77
73
  //获取显示内容
78
74
  if (action === 'screen') {
@@ -116,7 +112,6 @@ export default {
116
112
 
117
113
  //使用内容分类
118
114
  if (action === 'cmsPublishEditxContent') {
119
- loading = XdBus.getParentApi('loading')({});
120
115
  XdBus.getParentApi('cmsPublishEditxContent')(data.params)
121
116
  .then(res => {
122
117
  console.log('cmsPublishEditxContent', res)
@@ -131,7 +126,6 @@ export default {
131
126
 
132
127
  //位置列表
133
128
  if (action === 'getListPostion') {
134
- loading = XdBus.getParentApi('loading')({});
135
129
  XdBus.getParentApi('getListNewsPosition')(data.params)
136
130
  .then(res => {
137
131
  loading.close();
@@ -145,7 +139,6 @@ export default {
145
139
 
146
140
  //位置创建
147
141
  if (action === 'addPostion') {
148
- loading = XdBus.getParentApi('loading')({});
149
142
  XdBus.getParentApi('addNewsPosition')(data.params)
150
143
  .then(res => {
151
144
  loading.close();
@@ -160,7 +153,6 @@ export default {
160
153
 
161
154
  //位置编辑
162
155
  if (action === 'editPostion') {
163
- loading = XdBus.getParentApi('loading')({});
164
156
  XdBus.getParentApi('updateNewsPosition')(data.params)
165
157
  .then(res => {
166
158
  loading.close();
@@ -175,7 +167,6 @@ export default {
175
167
 
176
168
  //位置删除
177
169
  if (action === 'deleltePostion') {
178
- loading = XdBus.getParentApi('loading')({});
179
170
  XdBus.getParentApi('deleteNewsPosition')(data.params)
180
171
  .then(res => {
181
172
  loading.close();
@@ -190,7 +181,6 @@ export default {
190
181
 
191
182
  //获取广告位内容列表
192
183
  if (action === 'getListContent') {
193
- loading = XdBus.getParentApi('loading')({});
194
184
  XdBus.getParentApi('getListNewsContent')(data.params)
195
185
  .then(res => {
196
186
  loading.close();
@@ -204,7 +194,6 @@ export default {
204
194
 
205
195
  //广告内容创建
206
196
  if (action === 'addContent') {
207
- loading = XdBus.getParentApi('loading')({});
208
197
  XdBus.getParentApi('addNewsContent')(data.params)
209
198
  .then(res => {
210
199
  loading.close();
@@ -219,7 +208,6 @@ export default {
219
208
 
220
209
  //广告内容编辑
221
210
  if (action === 'editContent') {
222
- loading = XdBus.getParentApi('loading')({});
223
211
  XdBus.getParentApi('updateNewsContent')(data.params)
224
212
  .then(res => {
225
213
  loading.close();
@@ -234,7 +222,6 @@ export default {
234
222
 
235
223
  //广告内容删除
236
224
  if (action === 'deleteContent') {
237
- loading = XdBus.getParentApi('loading')({});
238
225
  XdBus.getParentApi('deleteNewsContent')(data.params)
239
226
  .then(res => {
240
227
  loading.close();
@@ -249,7 +236,6 @@ export default {
249
236
 
250
237
  //内容发布
251
238
  if (action === 'publish') {
252
- loading = XdBus.getParentApi('loading')({});
253
239
  console.log('publish', data.params)
254
240
  XdBus.getParentApi('cmsPublishContent')(data.params)
255
241
  .then(res => {
@@ -264,7 +250,6 @@ export default {
264
250
 
265
251
  //通知页面进行刷新
266
252
  if (action === 'update') {
267
- loading = XdBus.getParentApi('loading')({});
268
253
  XdBus.getParentApi('getXdBusUpdateView')('onUpdateView', {});
269
254
  loading.close()
270
255
  }
@@ -276,7 +261,6 @@ export default {
276
261
  label: '用户服务协议:',
277
262
  ele: 'xd-site-news',
278
263
  valueKey: 'service',
279
- groupKey:'content',
280
264
  value: data['service'] || {type: 'privacy'},
281
265
  className: 'input70',
282
266
  setting: {
@@ -297,8 +281,7 @@ export default {
297
281
  }
298
282
 
299
283
  //获取返回参数(场景类型名称为必填)
300
- //获取返回参数(场景类型名称为必填)
301
- let loading = { close(){}}
284
+ let loading = XdBus.getParentApi('loading')({});
302
285
 
303
286
  //获取显示内容
304
287
  if (action === 'screen') {
@@ -342,7 +325,6 @@ export default {
342
325
 
343
326
  //使用内容分类
344
327
  if (action === 'cmsPublishEditxContent') {
345
- loading = XdBus.getParentApi('loading')({});
346
328
  XdBus.getParentApi('cmsPublishEditxContent')(data.params)
347
329
  .then(res => {
348
330
  console.log('cmsPublishEditxContent', res)
@@ -357,7 +339,6 @@ export default {
357
339
 
358
340
  //位置列表
359
341
  if (action === 'getListPostion') {
360
- loading = XdBus.getParentApi('loading')({});
361
342
  XdBus.getParentApi('getListNewsPosition')(data.params)
362
343
  .then(res => {
363
344
  loading.close();
@@ -371,7 +352,6 @@ export default {
371
352
 
372
353
  //位置创建
373
354
  if (action === 'addPostion') {
374
- loading = XdBus.getParentApi('loading')({});
375
355
  XdBus.getParentApi('addNewsPosition')(data.params)
376
356
  .then(res => {
377
357
  loading.close();
@@ -386,7 +366,6 @@ export default {
386
366
 
387
367
  //位置编辑
388
368
  if (action === 'editPostion') {
389
- loading = XdBus.getParentApi('loading')({});
390
369
  XdBus.getParentApi('updateNewsPosition')(data.params)
391
370
  .then(res => {
392
371
  loading.close();
@@ -401,7 +380,6 @@ export default {
401
380
 
402
381
  //位置删除
403
382
  if (action === 'deleltePostion') {
404
- loading = XdBus.getParentApi('loading')({});
405
383
  XdBus.getParentApi('deleteNewsPosition')(data.params)
406
384
  .then(res => {
407
385
  loading.close();
@@ -416,7 +394,6 @@ export default {
416
394
 
417
395
  //获取广告位内容列表
418
396
  if (action === 'getListContent') {
419
- loading = XdBus.getParentApi('loading')({});
420
397
  XdBus.getParentApi('getListNewsContent')(data.params)
421
398
  .then(res => {
422
399
  loading.close();
@@ -430,7 +407,6 @@ export default {
430
407
 
431
408
  //广告内容创建
432
409
  if (action === 'addContent') {
433
- loading = XdBus.getParentApi('loading')({});
434
410
  XdBus.getParentApi('addNewsContent')(data.params)
435
411
  .then(res => {
436
412
  loading.close();
@@ -445,7 +421,6 @@ export default {
445
421
 
446
422
  //广告内容编辑
447
423
  if (action === 'editContent') {
448
- loading = XdBus.getParentApi('loading')({});
449
424
  XdBus.getParentApi('updateNewsContent')(data.params)
450
425
  .then(res => {
451
426
  loading.close();
@@ -460,7 +435,6 @@ export default {
460
435
 
461
436
  //广告内容删除
462
437
  if (action === 'deleteContent') {
463
- loading = XdBus.getParentApi('loading')({});
464
438
  XdBus.getParentApi('deleteNewsContent')(data.params)
465
439
  .then(res => {
466
440
  loading.close();
@@ -475,7 +449,6 @@ export default {
475
449
 
476
450
  //内容发布
477
451
  if (action === 'publish') {
478
- loading = XdBus.getParentApi('loading')({});
479
452
  console.log('publish', data.params)
480
453
  XdBus.getParentApi('cmsPublishContent')(data.params)
481
454
  .then(res => {
@@ -490,7 +463,6 @@ export default {
490
463
 
491
464
  //通知页面进行刷新
492
465
  if (action === 'update') {
493
- loading = XdBus.getParentApi('loading')({});
494
466
  XdBus.getParentApi('getXdBusUpdateView')('onUpdateView', {});
495
467
  loading.close()
496
468
  }
@@ -15,14 +15,8 @@
15
15
  <!-- #endif -->
16
16
  <view class="jfb-base-wx-authorize__body">
17
17
  <view class="app-body">
18
- <view
19
- class="app-body__bg"
20
- :style="{
21
- height: layoutInfo.bodyMinHeightRpx + 'rpx',
22
- backgroundImage:'url('+ (bgImage ? bgImage:'none') + ')',
23
- color:'#ff0'
24
- }"
25
- >
18
+ <view class="app-body__bg" :style="{ height: layoutInfo.bodyMinHeightRpx + 'rpx'}">
19
+ <image :src="bgImage" mode="widthFix"></image>
26
20
  </view>
27
21
  <view class="app-body__bottom">
28
22
  <view class="app-body__bottom-btn">
@@ -74,7 +68,7 @@
74
68
  import getServiceUrl from "@/common/getServiceUrl";
75
69
  import {Base64} from 'js-base64';
76
70
  import {mapState} from 'vuex';
77
-
71
+
78
72
  export default {
79
73
  name: "JfbBaseWxAuthorize",
80
74
  components: {
@@ -113,7 +107,7 @@
113
107
  this.isPreview = this.$configProject.isPreview;
114
108
  this.init(this.container);
115
109
  },
116
-
110
+
117
111
  methods: {
118
112
  handlePrivacy(code) {
119
113
  let params = `page_id=${this.pageAttr["page_id"]}`;
@@ -122,11 +116,11 @@
122
116
  url: `/pages/content/content?${params}`
123
117
  })
124
118
  },
125
-
119
+
126
120
  handleRadioClick(e) {
127
121
  this.selectPolicy = !this.selectPolicy;
128
122
  },
129
-
123
+
130
124
  decryptPhoneNumber(e) {
131
125
  if (e === undefined) {
132
126
  this.$xdConfirm({
@@ -142,10 +136,10 @@
142
136
  if (e.detail.errMsg.indexOf('fail') !== -1) {
143
137
  return;
144
138
  }
145
-
139
+
146
140
  let {iv, encryptedData} = e.detail;
147
141
  let raw_data = JSON.stringify({iv, encryptedData});
148
-
142
+
149
143
  jfbRootExec("userPhoneWxLogin", {
150
144
  vm: this,
151
145
  data: {
@@ -166,7 +160,7 @@
166
160
  $vm: this,
167
161
  isTitle: false,
168
162
  showClose: false,
169
- content: '用户登录失败',
163
+ content: '用户登陆失败',
170
164
  cancel: false,
171
165
  confirmText: '我知道了',
172
166
  zIndex: this.isPreview ? 2000 : 1400
@@ -177,16 +171,16 @@
177
171
  $vm: this,
178
172
  isTitle: false,
179
173
  showClose: false,
180
- content: '用户登录失败',
174
+ content: '用户登陆失败',
181
175
  cancel: false,
182
176
  confirmText: '我知道了',
183
177
  zIndex: this.isPreview ? 2000 : 1400
184
178
  });
185
179
  })
186
-
180
+
187
181
  },
188
-
189
-
182
+
183
+
190
184
  /**
191
185
  * @description 监听事件变化
192
186
  * @param container {object} 业务组件对象自己
@@ -197,7 +191,7 @@
197
191
  this.notice = getContainerPropsValue(container, 'content.notice', '');
198
192
  this.textColor = getContainerPropsValue(container, 'content.textColor', '#fff');
199
193
  },
200
-
194
+
201
195
  onJfbLoad(options = {}) {
202
196
  if(this.$xdUniHelper.checkVarType(options) === 'object') {
203
197
  this.auth_code = options.auth_code;
@@ -230,30 +224,30 @@
230
224
  height: 100%;
231
225
  position: relative;
232
226
  box-sizing: border-box;
233
-
227
+
234
228
  &__bg {
235
229
  width: 100%;
236
230
  display: flex;
237
231
  justify-content: center;
238
232
  align-items: center;
239
- background-repeat: no-repeat;
240
- background-size: 100% 100%;
241
- background-position: top left;
242
-
233
+
234
+ & > image {
235
+ width: 100%;
236
+ }
243
237
  }
244
-
238
+
245
239
  &__bottom {
246
240
  position: absolute;
247
241
  bottom: unit(80, rpx);
248
242
  right: unit(30, rpx);
249
243
  left: unit(30, rpx);
250
-
244
+
251
245
  &-btn {
252
246
  display: flex;
253
247
  justify-content: center;
254
248
  align-items: center;
255
249
  padding-bottom: unit(26, rpx);
256
-
250
+
257
251
  & > button {
258
252
  width: unit(400, rpx);
259
253
  height: unit(90, rpx);
@@ -268,13 +262,13 @@
268
262
  color: #fff;
269
263
  }
270
264
  }
271
-
265
+
272
266
  &-tips {
273
267
  font-size: @xd-font-size-base;
274
268
  color: #fffbf9;
275
269
  text-align: center;
276
270
  }
277
-
271
+
278
272
  &-policy {
279
273
  padding-top: unit(50, rpx);
280
274
  display: flex;
@@ -282,21 +276,21 @@
282
276
  align-items: center;
283
277
  font-size: @xd-font-size-base;
284
278
  color: #fffbf9;
285
-
279
+
286
280
  & > view:first-child {
287
281
  transform: scale(0.7);
288
282
  }
289
-
283
+
290
284
  & > view:last-child {
291
285
  display: flex;
292
286
  justify-content: flex-start;
293
287
  align-items: center;
294
288
  flex-wrap: wrap;
295
-
289
+
296
290
  & > view:first-child {
297
291
  color: #fff;
298
292
  }
299
-
293
+
300
294
  .privacy_book {
301
295
  color: #e5e5e5;
302
296
  text-decoration: underline;
@@ -13,8 +13,9 @@
13
13
 
14
14
  //start
15
15
  .jfb-base-wx-authorize {
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-wx-authorize {
74
- //&:before {
75
- //content: " ";
76
- //display: table;
77
- //}
75
+ &:before {
76
+ content: " ";
77
+ display: table;
78
+ }
78
79
  }
79
80
  /**endNotPreview**/
@@ -7,37 +7,33 @@ export default {
7
7
  style: [],
8
8
  content: (data) => {
9
9
  return [
10
+ {
11
+ label: '提示图片:', //label
12
+ ele: 'xd-upload', //package 名称
13
+ valueKey: 'noticeBg', //form[valueKey]
14
+ value: data.noticeBg || null, //v-model
15
+ defaultValue: data.noticeBg || null, //默认图片对象
16
+ slot: true, //按钮是否使用slot
17
+ tipsformet: '上传文件格式:@imageType@,不超过@size@MB.,建议尺寸:800*800像素',
18
+ type: ['jpg', 'png', 'jpeg'],
19
+ styleType: 'one', //其值:one=>单文件上传 auth=>证件正反面上传 list=>多文件上传
20
+ uploadType: 'aliyun', //''=>API服务上传 qiniu=>七牛云OSS上传 aliyun=> 阿里云OSS上传
21
+ size: 5, //5M
22
+ action: 'aliyun',
23
+ },
10
24
  {
11
25
  label: '按钮自定义文案:',
12
26
  ele: 'el-input',
13
27
  type: 'text',
14
28
  valueKey: 'btn_placeholder',
15
- groupKey: 'content',
16
29
  value: data.btn_placeholder || '',
17
30
  placeholder: '按钮自定义文案',
18
31
  className: 'input80'
19
32
  },
20
33
  {
21
- label: '提示图片:',
22
- ele: 'xd-upload',
23
- valueKey: 'noticeBg',
24
- groupKey: 'content',
25
- value: data.noticeBg || null,
26
- defaultValue: data.noticeBg || null,
27
- slot: true,
28
- tipsformet: '上传文件格式:@imageType@,不超过@size@MB.,建议尺寸:200*200像素',
29
- type: ['jpg', 'png', 'jpeg'],
30
- styleType: 'one',
31
- uploadType: 'aliyun',
32
- size: 5, //5M
33
- action: 'aliyun',
34
- },
35
-
36
- {
37
- label: '返回地址路径:',
38
- ele: 'xd-select-pages-path',
39
- valueKey: 'backPath',
40
- groupKey: 'advanced',
34
+ label: '返回地址路径:', //label
35
+ ele: 'xd-select-pages-path', //package 名称
36
+ valueKey: 'backPath', //form[valueKey]
41
37
  value: data['backPath'] || {},
42
38
  setting: {
43
39
  router: XdBus.getParentApi('getPagesTree')