jufubao-base 1.0.134-beta9 → 1.0.134

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