jufubao-base 1.0.128 → 1.0.130-beta2

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 +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 +76 -34
  20. package/src/components/JfbBaseCard/JfbBaseCardLess.less +18 -19
  21. package/src/components/JfbBaseCardBind/JfbBaseCardBindLess.less +18 -19
  22. package/src/components/JfbBaseCardBindV2/Attr.js +5 -4
  23. package/src/components/JfbBaseCardBindV2/JfbBaseCardBindV2Less.less +18 -19
  24. package/src/components/JfbBaseCardDetail/Attr.js +4 -3
  25. package/src/components/JfbBaseCardDetail/JfbBaseCardDetailLess.less +18 -19
  26. package/src/components/JfbBaseCardDetailEntry/Attr.js +10 -8
  27. package/src/components/JfbBaseCardDetailEntry/JfbBaseCardDetailEntryLess.less +18 -19
  28. package/src/components/JfbBaseCardDisabled/Attr.js +1 -3
  29. package/src/components/JfbBaseCardDisabled/JfbBaseCardDisabledLess.less +18 -19
  30. package/src/components/JfbBaseCardDisabledEntry/JfbBaseCardDisabledEntryLess.less +18 -19
  31. package/src/components/JfbBaseCardEntry/Attr.js +86 -67
  32. package/src/components/JfbBaseCardEntry/JfbBaseCardEntry.vue +3 -2
  33. package/src/components/JfbBaseCardEntry/JfbBaseCardEntryLess.less +18 -19
  34. package/src/components/JfbBaseCardInfo/Attr.js +22 -16
  35. package/src/components/JfbBaseCardInfo/JfbBaseCardInfoLess.less +18 -19
  36. package/src/components/JfbBaseCardInfoEntry/Attr.js +16 -11
  37. package/src/components/JfbBaseCardInfoEntry/JfbBaseCardInfoEntryLess.less +18 -19
  38. package/src/components/JfbBaseCardMerge/Attr.js +21 -8
  39. package/src/components/JfbBaseCardMerge/JfbBaseCardMerge.vue +15 -30
  40. package/src/components/JfbBaseCardMerge/JfbBaseCardMergeLess.less +18 -19
  41. package/src/components/JfbBaseCardMergeEntry/Attr.js +20 -6
  42. package/src/components/JfbBaseCardMergeEntry/JfbBaseCardMergeEntry.vue +28 -25
  43. package/src/components/JfbBaseCardMergeEntry/JfbBaseCardMergeEntryLess.less +18 -19
  44. package/src/components/JfbBaseCardShift/Attr.js +18 -4
  45. package/src/components/JfbBaseCardShift/JfbBaseCardShift.vue +26 -11
  46. package/src/components/JfbBaseCardShift/JfbBaseCardShiftLess.less +18 -19
  47. package/src/components/JfbBaseCardShift/Mock.js +21 -0
  48. package/src/components/JfbBaseCardShiftEntry/Attr.js +34 -26
  49. package/src/components/JfbBaseCardShiftEntry/JfbBaseCardShiftEntry.vue +294 -257
  50. package/src/components/JfbBaseCardShiftEntry/JfbBaseCardShiftEntryLess.less +18 -19
  51. package/src/components/JfbBaseCardShiftEntry/Mock.js +2 -1
  52. package/src/components/JfbBaseCardSweepInfo/Attr.js +5 -3
  53. package/src/components/JfbBaseCardSweepInfo/JfbBaseCardSweepInfoLess.less +18 -19
  54. package/src/components/JfbBaseCardV2/Attr.js +19 -15
  55. package/src/components/JfbBaseCardV2/JfbBaseCardV2.vue +3 -5
  56. package/src/components/JfbBaseCardV2/JfbBaseCardV2Less.less +18 -19
  57. package/src/components/JfbBaseCardV3/Attr.js +16 -12
  58. package/src/components/JfbBaseCardV3/JfbBaseCardV3.vue +1 -1
  59. package/src/components/JfbBaseCardV3/JfbBaseCardV3Less.less +18 -19
  60. package/src/components/JfbBaseCity/Attr.js +2 -4
  61. package/src/components/JfbBaseCity/JfbBaseCityLess.less +18 -19
  62. package/src/components/{JfbBaseWalletDetail → JfbBaseClear}/Attr.js +1 -0
  63. package/src/components/JfbBaseClear/JfbBaseClearLess.less +18 -19
  64. package/src/components/JfbBaseClear/JfbBaseClearMixin.js +12 -0
  65. package/src/components/JfbBaseConDialog/Api.js +1 -1
  66. package/src/components/JfbBaseConDialog/Attr.js +30 -20
  67. package/src/components/JfbBaseConDialog/JfbBaseConDialog.vue +45 -26
  68. package/src/components/JfbBaseConDialog/JfbBaseConDialogLess.less +18 -19
  69. package/src/components/JfbBaseConDialog/Mock.js +20 -1
  70. package/src/components/JfbBaseConDialog/XdCouCardBind.vue +15 -9
  71. package/src/components/JfbBaseConList/Attr.js +149 -224
  72. package/src/components/JfbBaseConList/JfbBaseConList.vue +150 -133
  73. package/src/components/JfbBaseConList/JfbBaseConListLess.less +18 -19
  74. package/src/components/JfbBaseConPhone/JfbBaseConPhoneLess.less +18 -19
  75. package/src/components/JfbBaseEntry/Attr.js +33 -21
  76. package/src/components/JfbBaseEntry/JfbBaseEntry.vue +34 -23
  77. package/src/components/JfbBaseEntry/JfbBaseEntryLess.less +18 -19
  78. package/src/components/JfbBaseExpressDetail/JfbBaseExpressDetailLess.less +18 -19
  79. package/src/components/JfbBaseFastLink/Api.js +1 -54
  80. package/src/components/JfbBaseFastLink/Attr.js +168 -116
  81. package/src/components/JfbBaseFastLink/JfbBaseFastLink.vue +12 -16
  82. package/src/components/JfbBaseFastLink/JfbBaseFastLinkLess.less +18 -19
  83. package/src/components/JfbBaseFooter/Attr.js +28 -22
  84. package/src/components/JfbBaseFooter/JfbBaseFooter.vue +19 -15
  85. package/src/components/JfbBaseFooter/JfbBaseFooterLess.less +18 -19
  86. package/src/components/JfbBaseHeader/Attr.js +89 -91
  87. package/src/components/JfbBaseHeader/JfbBaseHeader.vue +28 -29
  88. package/src/components/JfbBaseHeader/JfbBaseHeaderLess.less +18 -19
  89. package/src/components/JfbBaseLogin/Attr.js +111 -88
  90. package/src/components/JfbBaseLogin/JfbBaseLogin.vue +0 -1
  91. package/src/components/JfbBaseLogin/JfbBaseLoginLess.less +18 -19
  92. package/src/components/JfbBaseLoginForgetPwd/Attr.js +52 -45
  93. package/src/components/JfbBaseLoginForgetPwd/JfbBaseLoginForgetPwd.vue +14 -14
  94. package/src/components/JfbBaseLoginForgetPwd/JfbBaseLoginForgetPwdLess.less +18 -19
  95. package/src/components/JfbBaseLoginSetPwd/Attr.js +6 -4
  96. package/src/components/JfbBaseLoginSetPwd/JfbBaseLoginSetPwdLess.less +18 -19
  97. package/src/components/JfbBaseMapOverlay/JfbBaseMapOverlayLess.less +18 -19
  98. package/src/components/JfbBaseMapSearch/Attr.js +0 -15
  99. package/src/components/JfbBaseMapSearch/JfbBaseMapSearch.vue +1 -25
  100. package/src/components/JfbBaseMapSearch/JfbBaseMapSearchLess.less +18 -19
  101. package/src/components/JfbBaseMergeUserCard/Attr.js +4 -3
  102. package/src/components/JfbBaseMergeUserCard/JfbBaseMergeUserCardLess.less +18 -19
  103. package/src/components/JfbBaseMultipleExpress/Attr.js +4 -3
  104. package/src/components/JfbBaseMultipleExpress/JfbBaseMultipleExpressLess.less +18 -19
  105. package/src/components/JfbBaseMy/JfbBaseMyLess.less +18 -19
  106. package/src/components/JfbBaseMySetting/Attr.js +1 -1
  107. package/src/components/JfbBaseMySetting/JfbBaseMySettingLess.less +18 -19
  108. package/src/components/JfbBaseNotice/Attr.js +97 -56
  109. package/src/components/JfbBaseNotice/JfbBaseNotice.vue +70 -52
  110. package/src/components/JfbBaseNotice/JfbBaseNoticeLess.less +18 -19
  111. package/src/components/JfbBaseNoticeBottom/JfbBaseNoticeBottomLess.less +18 -19
  112. package/src/components/JfbBaseNoticeTop/JfbBaseNoticeTopLess.less +18 -19
  113. package/src/components/JfbBaseOrderDetail/Attr.js +210 -193
  114. package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +5 -3
  115. package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetailLess.less +18 -19
  116. package/src/components/JfbBaseOrderList/Attr.js +55 -43
  117. package/src/components/JfbBaseOrderList/JfbBaseOrderList.vue +10 -5
  118. package/src/components/JfbBaseOrderList/JfbBaseOrderListLess.less +18 -19
  119. package/src/components/JfbBasePay/Attr.js +2 -13
  120. package/src/components/JfbBasePay/JfbBasePay.vue +7 -6
  121. package/src/components/JfbBasePay/JfbBasePayLess.less +18 -19
  122. package/src/components/JfbBasePay/Mock.js +2 -1
  123. package/src/components/JfbBasePhoneCollect/Attr.js +27 -2
  124. package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollect.vue +1 -1
  125. package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollectLess.less +18 -19
  126. package/src/components/JfbBasePhoneLogin/Attr.js +27 -2
  127. package/src/components/JfbBasePhoneLogin/JfbBasePhoneLoginLess.less +18 -19
  128. package/src/components/JfbBasePoster/Attr.js +103 -83
  129. package/src/components/JfbBasePoster/JfbBasePoster.vue +134 -141
  130. package/src/components/JfbBasePoster/JfbBasePosterLess.less +18 -19
  131. package/src/components/JfbBasePosterBigSmall/Attr.js +93 -76
  132. package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmall.vue +3 -7
  133. package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmallLess.less +18 -19
  134. package/src/components/JfbBasePosterBigSmall/getWidthHeight.js +2 -2
  135. package/src/components/JfbBasePosterEntry/Attr.js +44 -33
  136. package/src/components/JfbBasePosterEntry/JfbBasePosterEntry.vue +44 -49
  137. package/src/components/JfbBasePosterEntry/JfbBasePosterEntryLess.less +18 -19
  138. package/src/components/JfbBasePosterType/Attr.js +82 -48
  139. package/src/components/JfbBasePosterType/FourScreen.vue +39 -34
  140. package/src/components/JfbBasePosterType/JfbBasePosterType.vue +51 -73
  141. package/src/components/JfbBasePosterType/JfbBasePosterTypeLess.less +18 -19
  142. package/src/components/JfbBaseRecharge/Attr.js +35 -23
  143. package/src/components/JfbBaseRecharge/JfbBaseRecharge.vue +54 -8
  144. package/src/components/JfbBaseRecharge/JfbBaseRechargeLess.less +18 -19
  145. package/src/components/JfbBaseRechargeOrder/Attr.js +32 -22
  146. package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrder.vue +12 -7
  147. package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrderLess.less +18 -19
  148. package/src/components/JfbBaseRechargeOrderDetail/JfbBaseRechargeOrderDetailLess.less +18 -19
  149. package/src/components/JfbBaseRechargeSuccess/Attr.js +10 -8
  150. package/src/components/JfbBaseRechargeSuccess/JfbBaseRechargeSuccessLess.less +18 -19
  151. package/src/components/JfbBaseSearch/Attr.js +6 -148
  152. package/src/components/JfbBaseSearch/JfbBaseSearch.vue +8 -37
  153. package/src/components/JfbBaseSearch/JfbBaseSearchLess.less +18 -19
  154. package/src/components/JfbBaseSetPwd/Attr.js +6 -147
  155. package/src/components/JfbBaseSetPwd/JfbBaseSetPwdLess.less +18 -19
  156. package/src/components/JfbBaseSuccess/Attr.js +78 -17
  157. package/src/components/JfbBaseSuccess/JfbBaseSuccessLess.less +18 -19
  158. package/src/components/JfbBaseTestApi/JfbBaseTestApiLess.less +18 -19
  159. package/src/components/JfbBaseTestBody/JfbBaseTestBodyLess.less +18 -19
  160. package/src/components/JfbBaseTestBottom/JfbBaseTestBottomLess.less +18 -19
  161. package/src/components/JfbBaseTestNotice/JfbBaseTestNoticeLess.less +18 -19
  162. package/src/components/JfbBaseTestTop/JfbBaseTestTopLess.less +18 -19
  163. package/src/components/JfbBaseUserCenter/Attr.js +72 -53
  164. package/src/components/JfbBaseUserCenter/JfbBaseUserCenter.vue +40 -27
  165. package/src/components/JfbBaseUserCenter/JfbBaseUserCenterLess.less +18 -19
  166. package/src/components/JfbBaseUserInfo/Attr.js +54 -45
  167. package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +21 -21
  168. package/src/components/JfbBaseUserInfo/JfbBaseUserInfoLess.less +18 -19
  169. package/src/components/JfbBaseUserOrder/Attr.js +118 -92
  170. package/src/components/JfbBaseUserOrder/JfbBaseUserOrder.vue +21 -7
  171. package/src/components/JfbBaseUserOrder/JfbBaseUserOrderLess.less +18 -19
  172. package/src/components/JfbBaseVideo/Attr.js +72 -19
  173. package/src/components/JfbBaseVideo/JfbBaseVideo.vue +69 -28
  174. package/src/components/JfbBaseVideo/JfbBaseVideoLess.less +18 -19
  175. package/src/components/JfbBaseVideo/XdVideo.vue +6 -44
  176. package/src/components/JfbBaseWallet/JfbBaseWalletLess.less +18 -19
  177. package/src/components/JfbBaseWalletDetail/JfbBaseWalletDetailLess.less +18 -19
  178. package/src/components/JfbBaseWalletDetail/JfbBaseWalletDetailMixin.js +0 -12
  179. package/src/components/JfbBaseWalletEffective/JfbBaseWalletEffectiveLess.less +18 -19
  180. package/src/components/JfbBaseWalletIndex/JfbBaseWalletIndexLess.less +18 -19
  181. package/src/components/JfbBaseWalletItem/JfbBaseWalletItemLess.less +18 -19
  182. package/src/components/JfbBaseWebview/JfbBaseWebviewLess.less +18 -19
  183. package/src/components/JfbBaseWxAuthorize/Attr.js +31 -3
  184. package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorize.vue +32 -26
  185. package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorizeLess.less +18 -19
  186. package/src/components/JfbBaseWxAuthorizeError/Attr.js +21 -17
  187. package/src/components/JfbBaseWxAuthorizeError/JfbBaseWxAuthorizeErrorLess.less +18 -19
  188. package/src/components/JfbBaseLine/Attr.js +0 -59
  189. package/src/components/JfbBaseLine/JfbBaseLine.vue +0 -105
  190. package/src/components/JfbBaseLine/JfbBaseLineLess.less +0 -80
  191. package/src/components/JfbBaseLine/JfbBaseLineMixin.js +0 -30
  192. package/src/components/JfbBasePosterType/Screen.vue +0 -284
  193. package/src/components/JfbBaseSearch/Api.js +0 -60
  194. package/src/components/JfbBaseSearch/Mock.js +0 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-base",
3
- "version": "1.0.128",
3
+ "version": "1.0.130-beta2",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -48,6 +48,7 @@
48
48
  "@vue/shared": "^3.0.0",
49
49
  "color": "^3.1.3",
50
50
  "core-js": "^2.6.5",
51
+ "dingtalk-jsapi": "^3.0.31",
51
52
  "flyio": "^0.6.2",
52
53
  "gxd-commands-bussiness": "^1.0.12",
53
54
  "gxd-uni-library-editx": "1.0.17-beta2",
@@ -56,10 +57,10 @@
56
57
  "path-to-regexp": "^6.2.1",
57
58
  "qs": "^6.9.6",
58
59
  "regenerator-runtime": "^0.12.1",
60
+ "vconsole": "^3.15.0",
59
61
  "vue": "^2.6.10",
60
62
  "vue-clipboard2": "^0.3.1",
61
- "vuex": "^3.2.0",
62
- "vconsole": "^3.15.0"
63
+ "vuex": "^3.2.0"
63
64
  },
64
65
  "repository": {
65
66
  "type": "git",
@@ -1,23 +1,29 @@
1
1
  'use strict';
2
2
  import StyleForm from "@/utils/StyleForm";
3
- let styleForm = new StyleForm({border: null, shadow: null, spacing: '', bgColor:'', margin: null,}, null, 'list');
3
+ let styleForm = new StyleForm(
4
+ {border: null, shadow: null, spacing: '', bgColor:'', margin: null},
5
+ null,
6
+ 'list',
7
+ true
8
+ );
4
9
  export default {
5
10
  style: [],
6
11
  advanced: [],
7
12
  content: (data)=>{
8
13
  return [
9
14
  {
10
- label: '选取地区路径:', //label
11
- ele: 'xd-select-pages-path', //package 名称
12
- valueKey: 'location_url', //form[valueKey]
15
+ label: '选取地区路径:',
16
+ ele: 'xd-select-pages-path',
17
+ valueKey: 'location_url',
13
18
  placeholder: '请选择选取地区路径',
19
+ groupKey:'advanced',
14
20
  value: data.location_url || '',
15
21
  setting: {
16
22
  router: XdBus.getParentApi('getPagesTree'),
17
23
  },
18
24
  inline: false,
19
25
  },
20
- ...styleForm.getForm(data, '内容配置')
26
+ ...styleForm.getForm(data, '内容列表样式配置')
21
27
  ].filter(i=>i)
22
28
  },
23
29
  }
@@ -22,7 +22,7 @@
22
22
  :style="{ minHeight: layoutInfo.bodyMinHeightRpx + 'rpx' }"
23
23
  >
24
24
  <view
25
- :style="{ margin: jfbListMarginComputed }"
25
+ :style="{ padding: jfbListMarginComputed }"
26
26
  class="jfb-base-address__body-address"
27
27
  v-if="addressList && addressList.length > 0"
28
28
  >
@@ -106,7 +106,7 @@
106
106
  <xd-font-icon icon="iconbianzu-01" size="120"></xd-font-icon>
107
107
  <view>您还没有收货地址哦!</view>
108
108
  </view>
109
- <view style="height: 100rpx"></view>
109
+ <view style="height: 110rpx"></view>
110
110
  <view class="jfb-base-address__body-footer" :style="prod_bottom">
111
111
  <xd-button
112
112
  width="80%"
@@ -154,7 +154,7 @@ let styleForm = new StyleForm(
154
154
  {
155
155
  border: null,
156
156
  shadow: null,
157
- spacing: 24,
157
+ spacing: 20,
158
158
  bgColor: "#FFFFFF",
159
159
  margin: {
160
160
  bottom: 20,
@@ -13,9 +13,8 @@
13
13
 
14
14
  //start
15
15
  .jfb-base-address {
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-address {
75
- &:before {
76
- content: " ";
77
- display: table;
78
- }
74
+ //&:before {
75
+ //content: " ";
76
+ //display: table;
77
+ //}
79
78
  }
80
79
  /**endNotPreview**/
@@ -8,36 +8,41 @@ export default {
8
8
  content: (data) => {
9
9
  return [
10
10
  {
11
- label: '外边距:',
11
+ label: '外填充:',
12
12
  ele: 'xd-margin-padding',
13
13
  valueKey: 'margin',
14
14
  value: data['margin'] || null,
15
- disabled: false,
15
+ groupKey:'style',
16
16
  setting: {
17
- type: 'margin',
17
+ type: 'padding',
18
18
  },
19
- placeholder: '请设置外边距',
19
+ placeholder: '请设置外填充',
20
20
  inline: false,
21
- notice: '设置外边距,<span style="color: red">单位:像素</span>。默认值:0像素',
21
+ notice: '设置外填充,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
22
22
  },
23
23
  {
24
24
  label: '间距:',
25
25
  ele: 'el-input',
26
26
  type: 'number',
27
+ groupKey:'style',
27
28
  valueKey: 'padding',
28
29
  value: data.padding || '',
29
30
  placeholder: '请输入间距',
30
31
  className: 'input80',
32
+ inline: false,
33
+ notice: '间距设置,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
31
34
  },
32
35
  {
33
36
  ele: 'title',
34
37
  label: '投影设置',
35
- size: 'small', //default/mini/small
38
+ size: 'small',
39
+ groupKey:'style',
36
40
  },
37
41
  {
38
42
  label: '是否有投影:',
39
43
  ele: 'xd-radio',
40
44
  valueKey: 'is_shadow',
45
+ groupKey:'style',
41
46
  value: data['is_shadow'] || 'N',
42
47
  placeholder: '请选择是否投影',
43
48
  multiple: false,
@@ -51,6 +56,7 @@ export default {
51
56
  label: '投影颜色:',
52
57
  ele: 'xd-color',
53
58
  valueKey: 'is_shadow_bg',
59
+ groupKey:'style',
54
60
  value: data['is_shadow_bg'] || '',
55
61
  placeholder: '请选择投影颜色',
56
62
  classNmae: 'input80',
@@ -59,6 +65,7 @@ export default {
59
65
  label: '投影范围:',
60
66
  ele: 'xd-site-select-list',
61
67
  valueKey: 'is_shadow_w',
68
+ groupKey:'style',
62
69
  value: data['is_shadow_w'] || '10',
63
70
  placeholder: '请选择投影范围',
64
71
  multiple: false,
@@ -79,12 +86,14 @@ export default {
79
86
  {
80
87
  ele: 'title',
81
88
  label: '边框设置',
82
- size: 'small', //default/mini/small
89
+ size: 'small',
90
+ groupKey:'style',
83
91
  },
84
92
  {
85
93
  label: '是否有边框:',
86
94
  ele: 'xd-radio',
87
95
  valueKey: 'is_border',
96
+ groupKey:'style',
88
97
  value: data['is_border'] || 'N',
89
98
  placeholder: '请选择是否有边框',
90
99
  multiple: false,
@@ -97,6 +106,7 @@ export default {
97
106
  data['is_border'] === 'Y' && {
98
107
  label: '边框颜色:',
99
108
  ele: 'xd-color',
109
+ groupKey:'style',
100
110
  valueKey: 'is_border_c',
101
111
  value: data['is_border_c'] || '',
102
112
  placeholder: '请选择边框颜色',
@@ -107,6 +117,7 @@ export default {
107
117
  ele: 'el-input',
108
118
  type: 'number',
109
119
  valueKey: 'is_border_w',
120
+ groupKey:'style',
110
121
  value: data['is_border_w'] || '',
111
122
  placeholder: '请输入边框颜色',
112
123
  className: 'input80',
@@ -116,6 +127,7 @@ export default {
116
127
  ele: 'xd-site-select-list',
117
128
  valueKey: 'radius',
118
129
  value: data['radius'] || '',
130
+ groupKey:'style',
119
131
  placeholder: '请选择内容圆角设置',
120
132
  multiple: false,
121
133
  className: 'input80',
@@ -184,9 +184,11 @@ export default {
184
184
  },
185
185
  computed: {
186
186
  outMargin() {
187
- return `${this.margin.top || 20}rpx ${this.margin.right || 20}rpx ${
188
- this.margin.bottom || 20
189
- }rpx ${this.margin.left || 20}rpx`;
187
+ let str = `${this.checkValue(this.margin.top, 20)}rpx`;
188
+ str = `${str} ${this.checkValue(this.margin.right, 20)}rpx`;
189
+ str = `${str} ${this.checkValue(this.margin.bottom, 20)}rpx`;
190
+ str = `${str} ${this.checkValue(this.margin.left, 20)}rpx`;
191
+ return str
190
192
  },
191
193
  shadowBox() {
192
194
  if (this.is_shadow === "Y")
@@ -345,7 +347,7 @@ export default {
345
347
  display: flex;
346
348
  justify-content: flex-start;
347
349
  align-items: center;
348
-
350
+
349
351
  &-icon {
350
352
  margin-right: unit(10, rpx);
351
353
  }
@@ -13,9 +13,8 @@
13
13
 
14
14
  //start
15
15
  .jfb-base-after-order-detail {
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-after-order-detail {
75
- &:before {
76
- content: " ";
77
- display: table;
78
- }
74
+ //&:before {
75
+ //content: " ";
76
+ //display: table;
77
+ //}
79
78
  }
80
79
  /**endNotPreview**/
@@ -6,22 +6,23 @@ export default {
6
6
  content: (data)=>{
7
7
  return [
8
8
  {
9
- label: '外边距:',
9
+ label: '外填充:',
10
10
  ele: 'xd-margin-padding',
11
11
  valueKey: 'margin',
12
+ groupKey:'style',
12
13
  value: data['margin'] || null,
13
- disabled: false,
14
14
  setting: {
15
- type: 'margin',
15
+ type: 'padding',
16
16
  },
17
- placeholder: '请设置外边距',
17
+ placeholder: '请设置外填充',
18
18
  inline: false,
19
- notice: '设置外边距,<span style="color: red">单位:像素</span>。默认值:0像素',
19
+ notice: '设置外填充,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
20
20
  },
21
21
  {
22
22
  label: '背景颜色:',
23
23
  ele: 'xd-color',
24
24
  valueKey: 'backgroundColor',
25
+ groupKey:'style',
25
26
  value: data['backgroundColor'] || null,
26
27
  placeholder: '请选择背景颜色',
27
28
  classNmae: 'input80',
@@ -31,19 +32,24 @@ export default {
31
32
  ele: 'el-input',
32
33
  type: 'number',
33
34
  valueKey: 'padding',
35
+ groupKey:'style',
34
36
  value: data.padding || '',
35
37
  placeholder: '请输入间距',
36
38
  className: 'input80',
39
+ inline: false,
40
+ notice: '间距设置,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
37
41
  },
38
42
  {
39
43
  ele: 'title',
40
44
  label: '投影设置',
41
- size: 'small', //default/mini/small
45
+ size: 'small',
46
+ groupKey:'style',
42
47
  },
43
48
  {
44
49
  label: '是否有投影:',
45
50
  ele: 'xd-radio',
46
51
  valueKey: 'is_shadow',
52
+ groupKey:'style',
47
53
  value: data['is_shadow'] || 'N',
48
54
  placeholder: '请选择是否投影',
49
55
  multiple: false,
@@ -57,6 +63,7 @@ export default {
57
63
  label: '投影颜色:',
58
64
  ele: 'xd-color',
59
65
  valueKey: 'is_shadow_bg',
66
+ groupKey:'style',
60
67
  value: data['is_shadow_bg'] || '',
61
68
  placeholder: '请选择投影颜色',
62
69
  classNmae: 'input80',
@@ -65,6 +72,7 @@ export default {
65
72
  label: '投影范围:',
66
73
  ele: 'xd-site-select-list',
67
74
  valueKey: 'is_shadow_w',
75
+ groupKey:'style',
68
76
  value: data['is_shadow_w'] || '10',
69
77
  placeholder: '请选择投影范围',
70
78
  multiple: false,
@@ -85,13 +93,15 @@ export default {
85
93
  {
86
94
  ele: 'title',
87
95
  label: '边框设置',
88
- size: 'small', //default/mini/small
96
+ size: 'small',
97
+ groupKey:'style',
89
98
  },
90
99
  {
91
100
  label: '是否有边框:',
92
101
  ele: 'xd-radio',
93
102
  valueKey: 'is_border',
94
103
  value: data['is_border'] || 'N',
104
+ groupKey:'style',
95
105
  placeholder: '请选择是否有边框',
96
106
  multiple: false,
97
107
  className: 'input80',
@@ -104,6 +114,7 @@ export default {
104
114
  label: '边框颜色:',
105
115
  ele: 'xd-color',
106
116
  valueKey: 'is_border_c',
117
+ groupKey:'style',
107
118
  value: data['is_border_c'] || '',
108
119
  placeholder: '请选择边框颜色',
109
120
  classNmae: 'input80',
@@ -112,6 +123,7 @@ export default {
112
123
  label: '边框大小:',
113
124
  ele: 'el-input',
114
125
  type: 'number',
126
+ groupKey:'style',
115
127
  valueKey: 'is_border_w',
116
128
  value: data['is_border_w'] || '',
117
129
  placeholder: '请输入边框颜色',
@@ -121,6 +133,7 @@ export default {
121
133
  label: '内容圆角设置:',
122
134
  ele: 'xd-site-select-list',
123
135
  valueKey: 'radius',
136
+ groupKey:'style',
124
137
  value: data['radius'] || '',
125
138
  placeholder: '请选择内容圆角设置',
126
139
  multiple: false,
@@ -136,15 +149,11 @@ export default {
136
149
  },
137
150
  },
138
151
  {
139
- ele: 'title',
140
- label: '其他',
141
- size: 'small', //default/mini/small
142
- },
143
- {
144
- label: '订单详情路径:', //label
145
- ele: 'xd-select-pages-path', //package 名称
146
- valueKey: 'detailPath', //form[valueKey]
147
- placeholder: '请选择订单详情路径',
152
+ label: '售后订单详情路径:',
153
+ ele: 'xd-select-pages-path',
154
+ valueKey: 'detailPath',
155
+ groupKey:'advanced',
156
+ placeholder: '请选择售后订单详情路径',
148
157
  value: data['detailPath'] ||null,
149
158
  setting: {
150
159
  router: XdBus.getParentApi('getPagesTree'),
@@ -168,9 +168,11 @@ export default {
168
168
  },
169
169
  computed: {
170
170
  outMargin() {
171
- return `${this.margin.top || 20}rpx ${this.margin.right || 20}rpx ${
172
- this.margin.bottom || 20
173
- }rpx ${this.margin.left || 20}rpx`;
171
+ let str = `${this.checkValue(this.margin.top, 20)}rpx`;
172
+ str = `${str} ${this.checkValue(this.margin.right, 20)}rpx`;
173
+ str = `${str} ${this.checkValue(this.margin.bottom, 20)}rpx`;
174
+ str = `${str} ${this.checkValue(this.margin.left, 20)}rpx`;
175
+ return str
174
176
  },
175
177
  shadowBox() {
176
178
  if (this.is_shadow === "Y")
@@ -195,12 +197,7 @@ export default {
195
197
  * @param container {object} 业务组件对象自己
196
198
  */
197
199
  init(container) {
198
- this.margin = getContainerPropsValue(container, "content.margin", {
199
- top: 0,
200
- left: 0,
201
- right: 0,
202
- bottom: 0,
203
- });
200
+ this.margin = getContainerPropsValue(container, "content.margin", {top: 0, left: 0, right: 0, bottom: 0,});
204
201
  this.radius = getContainerPropsValue(container, "content.radius", 0);
205
202
  this.backgroundColor = getContainerPropsValue(
206
203
  container,
@@ -13,9 +13,8 @@
13
13
 
14
14
  //start
15
15
  .jfb-base-after-order-list {
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-after-order-list {
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-back {
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-back {
75
- &:before {
76
- content: " ";
77
- display: table;
78
- }
74
+ //&:before {
75
+ //content: " ";
76
+ //display: table;
77
+ //}
79
78
  }
80
79
  /**endNotPreview**/
@@ -8,19 +8,20 @@ export default {
8
8
  content:(params)=>{
9
9
  return [
10
10
  {
11
- label: '背景图配置:', //label
12
- ele: 'xd-site-poster', //package 名称
13
- valueKey: 'background', //form[valueKey]
11
+ label: '背景图配置:',
12
+ ele: 'xd-site-poster',
13
+ valueKey: 'background',
14
+ groupKey:'content',
14
15
  className: 'input80',
15
- value: params.background || {size:{"width":"750","height":"1280"}},
16
+ value: params.background || {size:{"width":"750", "height":"1500"}},
16
17
  setting: {
17
18
  count: 1,
18
- scene: {label: '背景', value: 'normal'},
19
+ scene: { label: '背景', value: 'normal'},
19
20
  width: 750,
20
- height: 1280
21
+ height: 1500,
22
+ disabled: true,
21
23
  },
22
24
  handleCustom({action, data}) {
23
- console.log(data,'datadata');
24
25
  //设置场景参数
25
26
  if(data) {
26
27
  data.params = Object.assign({}, {scene: 'normal'}, data.params || {})
@@ -214,7 +215,7 @@ export default {
214
215
  }
215
216
  },
216
217
  inline: false,
217
- notice: '',
218
+ notice: '设置背景图片时候,建议上传图片尺寸大小为:<span style="color:red">750 * 1500</span>像素',
218
219
  }
219
220
  ].filter(i=>i)
220
221
  },
@@ -82,9 +82,6 @@ export default {
82
82
  this.$xdLog.catch(error)
83
83
  }
84
84
  },
85
- onJfbScroll(options) {
86
- console.log("event.onJfbScroll", options);
87
- },
88
85
  onJfbUpdate() {
89
86
  this.init();
90
87
  }