jufubao-base 1.0.131 → 1.0.132-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 (195) 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 +37 -8
  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 +5 -3
  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 +8 -2
  140. package/src/components/JfbBasePosterType/JfbBasePosterType.vue +36 -59
  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/JfbBaseSuccess.vue +29 -4
  158. package/src/components/JfbBaseSuccess/JfbBaseSuccessLess.less +18 -19
  159. package/src/components/JfbBaseTestApi/JfbBaseTestApiLess.less +18 -19
  160. package/src/components/JfbBaseTestBody/JfbBaseTestBodyLess.less +18 -19
  161. package/src/components/JfbBaseTestBottom/JfbBaseTestBottomLess.less +18 -19
  162. package/src/components/JfbBaseTestNotice/JfbBaseTestNoticeLess.less +18 -19
  163. package/src/components/JfbBaseTestTop/JfbBaseTestTopLess.less +18 -19
  164. package/src/components/JfbBaseUserCenter/Attr.js +72 -53
  165. package/src/components/JfbBaseUserCenter/JfbBaseUserCenter.vue +40 -27
  166. package/src/components/JfbBaseUserCenter/JfbBaseUserCenterLess.less +18 -19
  167. package/src/components/JfbBaseUserInfo/Attr.js +54 -45
  168. package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +21 -21
  169. package/src/components/JfbBaseUserInfo/JfbBaseUserInfoLess.less +18 -19
  170. package/src/components/JfbBaseUserOrder/Attr.js +118 -92
  171. package/src/components/JfbBaseUserOrder/JfbBaseUserOrder.vue +21 -7
  172. package/src/components/JfbBaseUserOrder/JfbBaseUserOrderLess.less +18 -19
  173. package/src/components/JfbBaseVideo/Attr.js +72 -19
  174. package/src/components/JfbBaseVideo/JfbBaseVideo.vue +69 -28
  175. package/src/components/JfbBaseVideo/JfbBaseVideoLess.less +18 -19
  176. package/src/components/JfbBaseVideo/XdVideo.vue +6 -44
  177. package/src/components/JfbBaseWallet/JfbBaseWalletLess.less +18 -19
  178. package/src/components/JfbBaseWalletDetail/JfbBaseWalletDetailLess.less +18 -19
  179. package/src/components/JfbBaseWalletDetail/JfbBaseWalletDetailMixin.js +0 -12
  180. package/src/components/JfbBaseWalletEffective/JfbBaseWalletEffectiveLess.less +18 -19
  181. package/src/components/JfbBaseWalletIndex/JfbBaseWalletIndexLess.less +18 -19
  182. package/src/components/JfbBaseWalletItem/JfbBaseWalletItemLess.less +18 -19
  183. package/src/components/JfbBaseWebview/JfbBaseWebviewLess.less +18 -19
  184. package/src/components/JfbBaseWxAuthorize/Attr.js +31 -3
  185. package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorize.vue +32 -26
  186. package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorizeLess.less +18 -19
  187. package/src/components/JfbBaseWxAuthorizeError/Attr.js +21 -17
  188. package/src/components/JfbBaseWxAuthorizeError/JfbBaseWxAuthorizeErrorLess.less +18 -19
  189. package/src/components/JfbBaseLine/Attr.js +0 -59
  190. package/src/components/JfbBaseLine/JfbBaseLine.vue +0 -105
  191. package/src/components/JfbBaseLine/JfbBaseLineLess.less +0 -80
  192. package/src/components/JfbBaseLine/JfbBaseLineMixin.js +0 -30
  193. package/src/components/JfbBasePosterType/Screen.vue +0 -284
  194. package/src/components/JfbBaseSearch/Api.js +0 -60
  195. package/src/components/JfbBaseSearch/Mock.js +0 -5
@@ -13,11 +13,13 @@
13
13
  <view class="jfb-base-user-center__edit-icon" @click="delEdit">删除</view>
14
14
  </view>
15
15
  <!-- #endif -->
16
- <view class="jfb-base-user-center__body" :style="{padding: outMargin}">
17
- <view :style="{borderRadius: bodyRadius + 'rpx', backgroundColor:bodyBackgroundColor, padding:outPadding}">
16
+ <view class="jfb-base-user-center__body">
17
+ <view class="x-line"></view>
18
+ <view class="user-center-box" :style="{padding: outMargin}">
19
+ <view :style="{borderRadius: bodyRadius + 'rpx', backgroundColor:bodyBackgroundColor, padding:outPadding}">
18
20
  <view class="my-card-add__btn">
19
21
  <view :style="{color: cardNameColor}">我的{{cardName}}</view>
20
- <view :style="{borderColor:mainColor,color:mainColor}" @click="handleToLink(add_url)">添加{{cardName}}</view>
22
+ <view :style="{borderColor:btnBoxColor || mainColor,color:btnBoxColor || mainColor}" @click="handleToLink(add_url)">添加{{cardName}}</view>
21
23
  </view>
22
24
  <view
23
25
  class="my-card-add__link"
@@ -48,6 +50,7 @@
48
50
  </view>
49
51
  </view>
50
52
  </view>
53
+ </view>
51
54
  </view>
52
55
  </view>
53
56
  </template>
@@ -60,7 +63,7 @@
60
63
  import extsMixins from "@/mixins/extsMixins"
61
64
  import { getContainerPropsValue } from "@/utils/xd.base";
62
65
  const color = require('color');
63
-
66
+
64
67
  export default {
65
68
  name: "JfbBaseUserCenter",
66
69
  components: {
@@ -69,10 +72,18 @@
69
72
  mixins: [componentsMixins,extsMixins,JfbBaseUserCenterMixin],
70
73
  computed: {
71
74
  outPadding() {
72
- return `${this.bodyPadding.top || 20}rpx ${this.bodyPadding.right || 20}rpx ${this.bodyPadding.bottom || 20}rpx ${this.bodyPadding.left || 20}rpx`
75
+ let str = `${this.checkValue(this.bodyPadding.top, 0)}rpx`;
76
+ str = `${str} ${this.checkValue(this.bodyPadding.right, 0)}rpx`;
77
+ str = `${str} ${this.checkValue(this.bodyPadding.bottom, 0)}rpx`;
78
+ str = `${str} ${this.checkValue(this.bodyPadding.left, 0)}rpx`;
79
+ return str
73
80
  },
74
81
  outMargin() {
75
- return `${this.bodyMargin.top || 0}rpx ${this.bodyMargin.right || 0}rpx ${this.bodyMargin.bottom || 0}rpx ${this.bodyMargin.left || 0}rpx`
82
+ let str = `${this.checkValue(this.bodyMargin.top, 20)}rpx`;
83
+ str = `${str} ${this.checkValue(this.bodyMargin.right, 20)}rpx`;
84
+ str = `${str} ${this.checkValue(this.bodyMargin.bottom, 20)}rpx`;
85
+ str = `${str} ${this.checkValue(this.bodyMargin.left, 20)}rpx`;
86
+ return str
76
87
  },
77
88
  borderBox() {
78
89
  if (this.is_border === 'Y') return `${this.is_border_w}rpx solid ${this.is_border_c}`;
@@ -85,7 +96,7 @@
85
96
  pwd_url: '',
86
97
  card_url:'',
87
98
  cardName: '',
88
-
99
+
89
100
  //基础
90
101
  color: '#333',
91
102
  backgroundColor: 'rgba(0,0,0,0)',
@@ -94,18 +105,19 @@
94
105
  btnBgColor: '',
95
106
  btnTextColor: '',
96
107
  btnFontSize: 24,
97
-
108
+
98
109
  //边框
99
110
  is_border: 'Y',
100
111
  is_border_w: 0,
101
112
  is_border_c: '',
102
-
113
+
103
114
  //整体
104
- bodyPadding: { top: 20, left: 20, right: 20, bottom: 20 },
115
+ bodyPadding: {},
105
116
  bodyRadius: 0,
106
117
  bodyBackgroundColor: 'rgba(0,0,0,0)',
107
- bodyMargin: {top: 0, left: 0, right: 0, bottom: 0},
118
+ bodyMargin:{},
108
119
  cardNameColor: '#333',
120
+ btnBoxColor:'',
109
121
  }
110
122
  },
111
123
  watch: {
@@ -125,38 +137,39 @@
125
137
  url: type ? `${path}?type=${type}` : path
126
138
  })
127
139
  },
128
-
140
+
129
141
  /**
130
142
  * @description 监听事件变化
131
143
  * @param container {object} 业务组件对象自己
132
144
  */
133
145
  init(container) {
134
-
146
+
135
147
  //整体
136
- this.bodyMargin = getContainerPropsValue(container, 'content.bodyMargin', {top: 0, left: 0, right: 0, bottom: 0});
148
+ this.bodyMargin = getContainerPropsValue(container, 'content.bodyMargin', {});
137
149
  this.bodyRadius = getContainerPropsValue(container, 'content.bodyRadius', 0);
138
150
  this.bodyBackgroundColor = getContainerPropsValue(container, 'content.bodyBackgroundColor', 'rgba(0,0,0,0)');
139
- this.bodyPadding = getContainerPropsValue(container, 'content.bodyPadding', {top: 20, left: 20, right: 20, bottom: 20});
140
-
151
+ this.bodyPadding = getContainerPropsValue(container, 'content.bodyPadding', {});
152
+
141
153
  //基础
142
154
  this.radius = getContainerPropsValue(container, 'content.radius', 0);
143
155
  this.color = getContainerPropsValue(container, 'content.textColor', '#333');
144
156
  this.backgroundColor = getContainerPropsValue(container, 'content.backgroundColor', '#f8f8f8');
145
157
  this.padding = getContainerPropsValue(container, 'content.padding', 20);
146
158
  this.btnBgColor = getContainerPropsValue(container, 'content.btnBgColor', this.mainGradient);
147
- this.btnTextColor = getContainerPropsValue(container, 'content.btnTextColor', '#333');
159
+ this.btnTextColor = getContainerPropsValue(container, 'content.btnTextColor', '#fff');
148
160
  this.btnFontSize = getContainerPropsValue(container, 'content.btnFontSize',26);
149
161
  this.cardNameColor = getContainerPropsValue(container, 'content.cardNameColor','#333');
162
+ this.btnBoxColor = getContainerPropsValue(container, 'content.cardNameColor','');
150
163
  this.is_border = getContainerPropsValue(container, 'content.is_border', 'N');
151
164
  this.is_border_c = getContainerPropsValue(container, 'content.is_border_c', '#fff');
152
165
  this.is_border_w = getContainerPropsValue(container, 'content.is_border_w', 2);
153
-
166
+
154
167
  //其他
155
168
  this.add_url = getContainerPropsValue(container, 'content.add_url', {value: ''}).value;
156
169
  this.pwd_url = getContainerPropsValue(container, 'content.pwd_url', {value: ''}).value;
157
170
  this.card_url = getContainerPropsValue(container, 'content.card_url', {value: ''}).value;
158
171
  this.cardName = getContainerPropsValue(container, 'content.cardName', '卡券');
159
-
172
+
160
173
  },
161
174
  }
162
175
  }
@@ -171,14 +184,14 @@
171
184
 
172
185
  }
173
186
  }
174
-
187
+
175
188
  .my-card-add {
176
189
  &__btn {
177
190
  display: flex;
178
191
  justify-content: space-between;
179
192
  align-items: center;
180
193
  font-size: unit(28, rpx);
181
-
194
+
182
195
  & > view:nth-child(2) {
183
196
  width: unit(200, rpx);
184
197
  height: unit(60, rpx);
@@ -189,33 +202,33 @@
189
202
  text-align: center;
190
203
  }
191
204
  }
192
-
205
+
193
206
  &__link {
194
207
  border-radius: unit(20, rpx);
195
208
  border: 1px solid #EEEEEE;
196
209
  padding: unit(40, rpx);
197
-
210
+
198
211
  & > view:first-child {
199
212
  margin-top: 0!important;
200
213
  }
201
-
214
+
202
215
  &-num {
203
216
  display: flex;
204
217
  align-items: center;
205
218
  justify-content: space-between;
206
219
  font-size: unit(28, rpx);
207
-
220
+
208
221
  & > view:nth-child(1) {
209
222
  color: #808080;
210
223
  }
211
-
224
+
212
225
  & > view:last-child {
213
226
  color: #808080;
214
227
  display: flex;
215
228
  align-items: center;
216
229
  }
217
230
  }
218
-
231
+
219
232
  &-btn {
220
233
  width: 100%;
221
234
  height: unit(80, rpx);
@@ -13,9 +13,8 @@
13
13
 
14
14
  //start
15
15
  .jfb-base-user-center {
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-user-center {
75
- &:before {
76
- content: " ";
77
- display: table;
78
- }
74
+ //&:before {
75
+ //content: " ";
76
+ //display: table;
77
+ //}
79
78
  }
80
79
  /**endNotPreview**/
@@ -7,15 +7,17 @@ export default {
7
7
  content: (data)=>{
8
8
  return [
9
9
  {
10
- label: '', //label
11
- ele: 'slot', //package 名称
10
+ label: '',
11
+ ele: 'slot',
12
12
  slot: 'is_reference_title',
13
+ groupKey:'advanced',
13
14
  },
14
15
  {
15
16
  label: '内容排版:',
16
17
  ele: 'xd-radio',
17
18
  valueKey: 'text_type',
18
19
  value: data['text_type'] || 'N',
20
+ groupKey:'content',
19
21
  placeholder: '请选择内容排版',
20
22
  multiple: false,
21
23
  className: 'input80',
@@ -28,18 +30,29 @@ export default {
28
30
  label: '内容文字颜色:',
29
31
  ele: 'xd-color',
30
32
  valueKey: 'textColor',
33
+ groupKey:'style',
31
34
  value: data.textColor || '',
32
35
  placeholder: '请选择内容文字颜色',
33
36
  classNmae: 'input80',
34
37
  },
38
+ {
39
+ label: '内容背景颜色:',
40
+ ele: 'xd-color',
41
+ valueKey: 'backgroundColor',
42
+ groupKey:'style',
43
+ value: data.backgroundColor || '',
44
+ placeholder: '请选择内容背景颜色',
45
+ classNmae: 'input80',
46
+ },
35
47
  {
36
48
  label: '内容圆角设置:',
37
49
  ele: 'xd-site-select-list',
38
50
  valueKey: 'radius',
39
- value: data['radius'] || '0',
51
+ value: data['radius'] || '',
52
+ groupKey:'style',
40
53
  placeholder: '请选择内容圆角设置',
41
54
  multiple: false,
42
- className: 'input80',
55
+ className: 'input60',
43
56
  handleCustom({action, data}) {
44
57
  XdBus.getParentApi('getOptionsSettingList')({
45
58
  setting_id: 'edtix_style_radius',
@@ -54,22 +67,42 @@ export default {
54
67
  },
55
68
  },
56
69
  {
57
- label: '内容背景颜色:',
58
- ele: 'xd-color',
59
- valueKey: 'backgroundColor',
60
- value: data.backgroundColor || '',
61
- placeholder: '请选择内容背景颜色',
62
- classNmae: 'input80',
70
+ label: '内容设置外边距:',
71
+ ele: 'xd-margin-padding',
72
+ valueKey: 'margin',
73
+ groupKey:'style',
74
+ value: data['margin'] || null,
75
+ setting: {
76
+ type: 'margin',
77
+ },
78
+ placeholder: '请设置外边距',
79
+ inline: false,
80
+ notice: '设置外边距,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">0</span>像素',
81
+ },
82
+ {
83
+ label: '内容设置内边距:',
84
+ groupKey:'style',
85
+ ele: 'xd-margin-padding',
86
+ valueKey: 'padding',
87
+ value: data['padding'] || null,
88
+ setting: {
89
+ type: 'padding',
90
+ },
91
+ placeholder: '请设置边距',
92
+ inline: false,
93
+ notice: '设置内边距,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
63
94
  },
64
95
  {
65
96
  ele: 'title',
66
97
  label: '投影设置',
67
- size: 'small', //default/mini/small
98
+ size: 'small',
99
+ groupKey:'style',
68
100
  },
69
101
  {
70
102
  label: '是否有投影:',
71
103
  ele: 'xd-radio',
72
104
  valueKey: 'is_shadow',
105
+ groupKey:'style',
73
106
  value: data['is_shadow'] || 'N',
74
107
  placeholder: '请选择是否投影',
75
108
  multiple: false,
@@ -83,12 +116,14 @@ export default {
83
116
  label: '投影颜色:',
84
117
  ele: 'xd-color',
85
118
  valueKey: 'is_shadow_bg',
119
+ groupKey:'style',
86
120
  value: data['is_shadow_bg'] || '',
87
121
  placeholder: '请选择投影颜色',
88
122
  classNmae: 'input80',
89
123
  },
90
124
  data['is_shadow'] === 'Y' && {
91
125
  label: '投影范围:',
126
+ groupKey:'style',
92
127
  ele: 'xd-site-select-list',
93
128
  valueKey: 'is_shadow_w',
94
129
  value: data['is_shadow_w'] || '10',
@@ -111,12 +146,14 @@ export default {
111
146
  {
112
147
  ele: 'title',
113
148
  label: '边框设置',
114
- size: 'small', //default/mini/small
149
+ size: 'small',
150
+ groupKey:'style',
115
151
  },
116
152
  {
117
153
  label: '是否有边框:',
118
154
  ele: 'xd-radio',
119
155
  valueKey: 'is_border',
156
+ groupKey:'style',
120
157
  value: data['is_border'] || 'N',
121
158
  placeholder: '请选择是否有边框',
122
159
  multiple: false,
@@ -129,6 +166,7 @@ export default {
129
166
  data['is_border'] === 'Y' && {
130
167
  label: '边框颜色:',
131
168
  ele: 'xd-color',
169
+ groupKey:'style',
132
170
  valueKey: 'is_border_c',
133
171
  value: data['is_border_c'] || '',
134
172
  placeholder: '请选择边框颜色',
@@ -138,46 +176,17 @@ export default {
138
176
  label: '边框大小:',
139
177
  ele: 'el-input',
140
178
  type: 'number',
179
+ groupKey:'style',
141
180
  valueKey: 'is_border_w',
142
181
  value: data['is_border_w'] || '',
143
182
  placeholder: '请输入边框颜色',
144
183
  className: 'input80',
145
184
  },
146
185
  {
147
- ele: 'title',
148
- label: '其他设置',
149
- size: 'small', //default/mini/small
150
- },
151
- {
152
- label: '内容设置外边距:',
153
- ele: 'xd-margin-padding',
154
- valueKey: 'margin',
155
- value: data['margin'] || null,
156
- disabled: false,
157
- setting: {
158
- type: 'margin',
159
- },
160
- placeholder: '请设置外边距',
161
- inline: false,
162
- notice: '设置外边距,<span style="color: red">单位:像素</span>。默认值:0像素',
163
- },
164
- {
165
- label: '内容设置内边距:',
166
- ele: 'xd-margin-padding',
167
- valueKey: 'padding',
168
- value: data['padding'] || null,
169
- disabled: false,
170
- setting: {
171
- type: 'padding',
172
- },
173
- placeholder: '请设置边距',
174
- inline: false,
175
- notice: '设置内边距,<span style="color: red">单位:像素</span>。默认值:0像素',
176
- },
177
- {
178
- label: '', //label
179
- ele: 'slot', //package 名称
186
+ label: '',
187
+ ele: 'slot',
180
188
  slot: 'is_reference',
189
+ groupKey:'advanced',
181
190
  },
182
191
  ].filter(i=>i)
183
192
  },
@@ -14,6 +14,7 @@
14
14
  </view>
15
15
  <!-- #endif -->
16
16
  <view class="jfb-base-user-info__body">
17
+ <view class="x-line"></view>
17
18
  <view
18
19
  class="jfb-base-user-info__body-header"
19
20
  :style="{
@@ -40,18 +41,19 @@
40
41
  <view v-else class="no-image" :style="{borderColor: color}">
41
42
  <xd-font-icon :color="color" icon="iconwode_mian" size="90"></xd-font-icon>
42
43
  </view>
43
-
44
44
  <view v-if="logined && textType ==='N'" :style="{color:color}">{{userInfo|getName}}</view>
45
45
  <view class="vertical-user" v-if="logined && textType ==='Y'" :style="{color:color}">
46
46
  <view>{{userInfo|getName}}</view>
47
+ <view class="logout" @click="handleLogout()">
48
+ <view :style="{color:color}">[退出登录]</view>
49
+ </view>
47
50
  <view @click="handleToLink()" v-if="0">
48
51
  <xd-font-icon :color="color" size="40" icon="iconshezhi_mian"></xd-font-icon>
49
52
  </view>
50
53
  </view>
51
54
  </view>
52
-
53
- <view @click="handleLogout()" v-if="logined" class="logout">
54
- <view v-if="textType ==='N'">[退出登录]</view>
55
+ <view @click="handleLogout()" v-if="logined && textType ==='N'" class="logout">
56
+ <view :style="{color:color}">[退出登录]</view>
55
57
  </view>
56
58
  </view>
57
59
  </view>
@@ -78,18 +80,18 @@
78
80
  ...mapState(['jfbAuthorize']),
79
81
 
80
82
  outMargin() {
81
- let margin = `${this.margin.top !== null ? this.margin.top : 20}rpx`;
82
- margin = `${margin} ${this.margin.right !== null ? this.margin.right : 20}rpx`;
83
- margin = `${margin} ${this.margin.bottom !== null ? this.margin.bottom : 20}rpx`;
84
- margin = `${margin} ${this.margin.left !== null ? this.margin.left : 20}rpx`;
85
- return margin;
83
+ let str = `${this.checkValue(this.margin.top, 20)}rpx`;
84
+ str = `${str} ${this.checkValue(this.margin.right, 20)}rpx`;
85
+ str = `${str} ${this.checkValue(this.margin.bottom, 20)}rpx`;
86
+ str = `${str} ${this.checkValue(this.margin.left, 20)}rpx`;
87
+ return str
86
88
  },
87
89
  outPadding() {
88
- let padding = `${this.padding.top !== null ? this.padding.top : 20}rpx`;
89
- padding = `${padding} ${this.padding.right !== null ? this.padding.right : 20}rpx`;
90
- padding = `${padding} ${this.padding.bottom !== null ? this.padding.bottom : 20}rpx`;
91
- padding = `${padding} ${this.padding.left !== null ? this.padding.left : 20}rpx`;
92
- return padding;
90
+ let str = `${this.checkValue(this.padding.top, 20)}rpx`;
91
+ str = `${str} ${this.checkValue(this.padding.right, 20)}rpx`;
92
+ str = `${str} ${this.checkValue(this.padding.bottom, 20)}rpx`;
93
+ str = `${str} ${this.checkValue(this.padding.left, 20)}rpx`;
94
+ return str
93
95
  },
94
96
  shadow(){
95
97
  if(this.is_shadow === 'Y') return `0 0 ${this.is_shadow_w}rpx ${this.is_shadow_bg}`;
@@ -160,7 +162,6 @@
160
162
  },
161
163
 
162
164
  async handleLogout(){
163
- debugger
164
165
  // #ifdef H5
165
166
  if (this.$configProject.isPreview) return;
166
167
  // #endif
@@ -216,7 +217,7 @@
216
217
  this.padding = getContainerPropsValue(container, 'content.padding', {top: 20, left: 20, right: 20, bottom: 20});
217
218
  this.address_url = getContainerPropsValue(container, 'content.address_url', {value: ''});
218
219
  this.color = getContainerPropsValue(container, 'content.textColor', '#333');
219
- this.backgroundColor = getContainerPropsValue(container, 'content.backgroundColor', 'rgba(0,0,0,0)');
220
+ this.backgroundColor = getContainerPropsValue(container, 'content.backgroundColor', '#f8f8f8');
220
221
  this.textType = getContainerPropsValue(container, 'content.text_type', 'N');
221
222
 
222
223
  this.is_shadow = getContainerPropsValue(container, 'content.is_shadow', 'N');
@@ -225,9 +226,8 @@
225
226
 
226
227
  this.is_border = getContainerPropsValue(container, 'content.is_border', 'N');
227
228
  this.is_border_c = getContainerPropsValue(container, 'content.is_border_c', '#fff');
228
- this.is_border_w = getContainerPropsValue(container, 'content.is_border_w', '10');
229
-
230
- this.radius = getContainerPropsValue(container, 'content.radius', '0');
229
+ this.is_border_w = getContainerPropsValue(container, 'content.is_border_w', 0);
230
+ this.radius = getContainerPropsValue(container, 'content.radius', '10');
231
231
  },
232
232
  }
233
233
  }
@@ -304,9 +304,9 @@
304
304
  }
305
305
 
306
306
  .logout {
307
- font-size: unit(26, rpx);
307
+ font-size: unit(24, rpx);
308
308
  & > view {
309
- color: #333;
309
+ cursor: pointer;
310
310
  }
311
311
  }
312
312
  }
@@ -13,9 +13,8 @@
13
13
 
14
14
  //start
15
15
  .jfb-base-user-info {
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-user-info {
75
- &:before {
76
- content: " ";
77
- display: table;
78
- }
74
+ //&:before {
75
+ //content: " ";
76
+ //display: table;
77
+ //}
79
78
  }
80
79
  /**endNotPreview**/