jufubao-base 1.0.129 → 1.0.130-beta3

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 (196) 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 +25 -7
  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 +136 -142
  130. package/src/components/JfbBasePoster/JfbBasePosterLess.less +18 -19
  131. package/src/components/JfbBasePoster/MoreScreen.vue +2 -1
  132. package/src/components/JfbBasePosterBigSmall/Attr.js +93 -76
  133. package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmall.vue +5 -8
  134. package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmallLess.less +18 -19
  135. package/src/components/JfbBasePosterBigSmall/getWidthHeight.js +2 -2
  136. package/src/components/JfbBasePosterEntry/Attr.js +44 -33
  137. package/src/components/JfbBasePosterEntry/JfbBasePosterEntry.vue +46 -50
  138. package/src/components/JfbBasePosterEntry/JfbBasePosterEntryLess.less +18 -19
  139. package/src/components/JfbBasePosterType/Attr.js +82 -48
  140. package/src/components/JfbBasePosterType/FourScreen.vue +41 -35
  141. package/src/components/JfbBasePosterType/JfbBasePosterType.vue +51 -73
  142. package/src/components/JfbBasePosterType/JfbBasePosterTypeLess.less +18 -19
  143. package/src/components/JfbBaseRecharge/Attr.js +35 -23
  144. package/src/components/JfbBaseRecharge/JfbBaseRecharge.vue +54 -8
  145. package/src/components/JfbBaseRecharge/JfbBaseRechargeLess.less +18 -19
  146. package/src/components/JfbBaseRechargeOrder/Attr.js +32 -22
  147. package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrder.vue +12 -7
  148. package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrderLess.less +18 -19
  149. package/src/components/JfbBaseRechargeOrderDetail/JfbBaseRechargeOrderDetailLess.less +18 -19
  150. package/src/components/JfbBaseRechargeSuccess/Attr.js +10 -8
  151. package/src/components/JfbBaseRechargeSuccess/JfbBaseRechargeSuccessLess.less +18 -19
  152. package/src/components/JfbBaseSearch/Attr.js +6 -148
  153. package/src/components/JfbBaseSearch/JfbBaseSearch.vue +8 -37
  154. package/src/components/JfbBaseSearch/JfbBaseSearchLess.less +18 -19
  155. package/src/components/JfbBaseSetPwd/Attr.js +6 -147
  156. package/src/components/JfbBaseSetPwd/JfbBaseSetPwdLess.less +18 -19
  157. package/src/components/JfbBaseSuccess/Attr.js +78 -17
  158. package/src/components/JfbBaseSuccess/JfbBaseSuccess.vue +20 -10
  159. package/src/components/JfbBaseSuccess/JfbBaseSuccessLess.less +18 -19
  160. package/src/components/JfbBaseTestApi/JfbBaseTestApiLess.less +18 -19
  161. package/src/components/JfbBaseTestBody/JfbBaseTestBodyLess.less +18 -19
  162. package/src/components/JfbBaseTestBottom/JfbBaseTestBottomLess.less +18 -19
  163. package/src/components/JfbBaseTestNotice/JfbBaseTestNoticeLess.less +18 -19
  164. package/src/components/JfbBaseTestTop/JfbBaseTestTopLess.less +18 -19
  165. package/src/components/JfbBaseUserCenter/Attr.js +72 -53
  166. package/src/components/JfbBaseUserCenter/JfbBaseUserCenter.vue +40 -27
  167. package/src/components/JfbBaseUserCenter/JfbBaseUserCenterLess.less +18 -19
  168. package/src/components/JfbBaseUserInfo/Attr.js +54 -45
  169. package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +21 -21
  170. package/src/components/JfbBaseUserInfo/JfbBaseUserInfoLess.less +18 -19
  171. package/src/components/JfbBaseUserOrder/Attr.js +118 -92
  172. package/src/components/JfbBaseUserOrder/JfbBaseUserOrder.vue +21 -7
  173. package/src/components/JfbBaseUserOrder/JfbBaseUserOrderLess.less +18 -19
  174. package/src/components/JfbBaseVideo/Attr.js +72 -19
  175. package/src/components/JfbBaseVideo/JfbBaseVideo.vue +69 -28
  176. package/src/components/JfbBaseVideo/JfbBaseVideoLess.less +18 -19
  177. package/src/components/JfbBaseVideo/XdVideo.vue +6 -44
  178. package/src/components/JfbBaseWallet/JfbBaseWalletLess.less +18 -19
  179. package/src/components/JfbBaseWalletDetail/JfbBaseWalletDetailLess.less +18 -19
  180. package/src/components/JfbBaseWalletDetail/JfbBaseWalletDetailMixin.js +0 -12
  181. package/src/components/JfbBaseWalletEffective/JfbBaseWalletEffectiveLess.less +18 -19
  182. package/src/components/JfbBaseWalletIndex/JfbBaseWalletIndexLess.less +18 -19
  183. package/src/components/JfbBaseWalletItem/JfbBaseWalletItemLess.less +18 -19
  184. package/src/components/JfbBaseWebview/JfbBaseWebviewLess.less +18 -19
  185. package/src/components/JfbBaseWxAuthorize/Attr.js +31 -3
  186. package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorize.vue +32 -26
  187. package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorizeLess.less +18 -19
  188. package/src/components/JfbBaseWxAuthorizeError/Attr.js +21 -17
  189. package/src/components/JfbBaseWxAuthorizeError/JfbBaseWxAuthorizeErrorLess.less +18 -19
  190. package/src/components/JfbBaseLine/Attr.js +0 -59
  191. package/src/components/JfbBaseLine/JfbBaseLine.vue +0 -105
  192. package/src/components/JfbBaseLine/JfbBaseLineLess.less +0 -80
  193. package/src/components/JfbBaseLine/JfbBaseLineMixin.js +0 -30
  194. package/src/components/JfbBasePosterType/Screen.vue +0 -284
  195. package/src/components/JfbBaseSearch/Api.js +0 -60
  196. package/src/components/JfbBaseSearch/Mock.js +0 -5
@@ -14,25 +14,27 @@
14
14
  </view>
15
15
  <!-- #endif -->
16
16
  <view class="jfb-base-entry__body" :style="bodyStyle">
17
- <view v-if="loadingList" class="entry_list skeleton-wrap" :style="entryStyle">
18
- <view v-for="i in 5" :key="i"
19
- :class="'row_num_'+rowNum"
20
- class="entry_item"
21
- >
22
- <image v-if="rowNum == 1" style="height: 260rpx;"/>
23
- <image v-if="rowNum == 2" style="height: 200rpx;"/>
24
- <image v-if="rowNum == 3" style="height: 150rpx;"/>
17
+ <view :style="{ margin:marginUi}">
18
+ <view v-if="loadingList" class="entry_list skeleton-wrap" :style="entryStyle">
19
+ <view v-for="i in 5" :key="i"
20
+ :class="'row_num_'+rowNum"
21
+ class="entry_item"
22
+ >
23
+ <image v-if="rowNum == 1" style="height: 260rpx;"/>
24
+ <image v-if="rowNum == 2" style="height: 200rpx;"/>
25
+ <image v-if="rowNum == 3" style="height: 150rpx;"/>
26
+ </view>
25
27
  </view>
26
- </view>
27
- <view v-else class="entry_list" :style="entryStyle">
28
- <view v-for="(item,i) in entryList" :key="i"
29
- class="entry_item"
30
- :class="'row_num_'+rowNum"
31
- @click="toLink(item)"
32
- >
33
- <image v-if="rowNum == 1" :src="item.image_url" mode="widthFix"/>
34
- <image v-if="rowNum == 2" :src="item.image_url2" mode="widthFix"/>
35
- <image v-if="rowNum == 3" :src="item.image_url3" mode="widthFix"/>
28
+ <view v-else class="entry_list" :style="entryStyle">
29
+ <view v-for="(item,i) in entryList" :key="i"
30
+ class="entry_item"
31
+ :class="'row_num_'+rowNum"
32
+ @click="toLink(item)"
33
+ >
34
+ <image v-if="rowNum == 1" :src="item.image_url" mode="widthFix"/>
35
+ <image v-if="rowNum == 2" :src="item.image_url2" mode="widthFix"/>
36
+ <image v-if="rowNum == 3" :src="item.image_url3" mode="widthFix"/>
37
+ </view>
36
38
  </view>
37
39
  </view>
38
40
  </view>
@@ -63,13 +65,14 @@
63
65
  rowNum: 1,
64
66
  paddingInput: 20,
65
67
  loadingList: true,
68
+ margin: {},
66
69
  }
67
70
  },
68
71
  computed: {
69
72
  bodyStyle(){
70
73
  return {
71
74
  backgroundColor: this.bgcolor,
72
- minHeight: this.layoutInfo.bodyMinHeight
75
+ minHeight: this.layoutInfo.bodyMinHeight,
73
76
  }
74
77
  },
75
78
  entryStyle(){
@@ -78,6 +81,13 @@
78
81
  gap: this.paddingInput + 'rpx',
79
82
  padding: this.paddingInput + 'rpx'
80
83
  }
84
+ },
85
+ marginUi(){
86
+ let str = `${this.checkValue(this.margin.top, 0)}rpx`;
87
+ str = `${str} ${this.checkValue(this.margin.right, 0)}rpx`;
88
+ str = `${str} ${this.checkValue(this.margin.bottom, 0)}rpx`;
89
+ str = `${str} ${this.checkValue(this.margin.left, 0)}rpx`;
90
+ return str
81
91
  }
82
92
  },
83
93
  watch: {
@@ -100,6 +110,7 @@
100
110
  this.bgcolor = getContainerPropsValue(container, 'content.bgcolor', '#fff');
101
111
  this.rowNum = getContainerPropsValue(container, 'content.rowNum', 1);
102
112
  this.paddingInput = getContainerPropsValue(container, 'content.paddingInput', 20);
113
+ this.margin = getContainerPropsValue(container, 'content.margin', {});
103
114
  },
104
115
  getEntrySetting(){
105
116
  this.$xdShowLoading({});
@@ -115,7 +126,7 @@
115
126
  item['image_url2'] = item.image_url2 ? getServiceUrl(item.image_url2) : "";
116
127
  item['image_url3'] = item.image_url3 ? getServiceUrl(item.image_url3) : "";
117
128
  let nsp = Base64.encodeURI(JSON.stringify({business_code: item['business_code']}));
118
-
129
+
119
130
  //外站配置地址
120
131
  if(item.redirect_type === 'URL') {
121
132
  if(item['redirect_data']['path'].indexOf('?') === -1) {
@@ -124,12 +135,12 @@
124
135
  else item['redirect_data']['path'] = `${item['redirect_data']['path']}&x-common=${nsp}&vs=${new Date().getTime()}`;
125
136
  return item;
126
137
  }
127
-
138
+
128
139
  let jumpUrl = item.path;
129
140
  //#ifdef H5
130
141
  jumpUrl = `//${host}/${dir}${path}`;
131
142
  //#endif
132
-
143
+
133
144
  if(item['redirect_data']['fixed_business_code'] === '') {
134
145
  item['redirect_data']['path'] = `${jumpUrl}?x-common=${nsp}&vs=${new Date().getTime()}`
135
146
  }
@@ -155,7 +166,7 @@
155
166
  this.$xdAlert({content: '链接地址配置错误'})
156
167
  }
157
168
  },
158
-
169
+
159
170
  onJfbBack(options) {
160
171
  this.$xdUniHelper.navigateBack()
161
172
  },
@@ -13,9 +13,8 @@
13
13
 
14
14
  //start
15
15
  .jfb-base-entry {
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-entry {
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-express-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-express-detail {
75
- &:before {
76
- content: " ";
77
- display: table;
78
- }
74
+ //&:before {
75
+ //content: " ";
76
+ //display: table;
77
+ //}
79
78
  }
80
79
  /**endNotPreview**/
@@ -2,59 +2,6 @@
2
2
 
3
3
  /**
4
4
  * @description API模型
5
- * 建议:Ffff=>模块 Xxxx=>自定义名字
6
- * 获取单记录(getByIdFfffXxxx)
7
- * 获取列表记录(getByListFfffXxxx)
8
- * 添加列表记录(addFfffXxxxx)
9
- * 删除列表记录(removeFfffXxxxx|deleteFfffXxxx)
10
- * 更新列表记录(updateFfffXxxxx)
11
5
  * @type {*[]}
12
6
  */
13
- module.exports = [
14
- {
15
- mapFnName: 'getByIdFilmSquate', //自定义方法名字(必选)
16
- title: '获取电影广场列表',
17
- path: '/api/account/film/list-film-square',
18
- isRule: false,
19
- params: {
20
- last_key: ['当前页', 'Number', '必选'],
21
- page_size: ['每页数量', 'Number', '必选'],
22
- },
23
- isConsole: true,
24
- disabled: true,
25
- },
26
- {
27
- mapFnName: 'updateFilmPaiqiDate', //自定义方法名字(必选)
28
- title: '更新排期',
29
- path: '/api/account/film/paiqi-date',
30
- isRule: false,
31
- params: {
32
- film_id: ['电影id', 'Number', '必选'],
33
- cinema_id: ['影院id', 'Number', '必选'],
34
- },
35
- isConsole: true,
36
- disabled: true,
37
- },
38
- {
39
- mapFnName: 'removeFilmAddress', //自定义方法名字(必选)
40
- title: '删除我的配送地址',
41
- path: '/api/account/film/paiqi-date',
42
- isRule: false,
43
- params: {
44
- film_id: ['电影id', 'Number', '必选'],
45
- },
46
- isConsole: true,
47
- disabled: true,
48
- },
49
- {
50
- mapFnName: 'addFilmcart', //自定义方法名字(必选)
51
- title: '添加购物车',
52
- path: '/api/account/film/paiqi-date',
53
- isRule: false,
54
- params: {
55
- film_id: ['电影id', 'Number', '必选'],
56
- },
57
- isConsole: true,
58
- disabled: true,
59
- },
60
- ];
7
+ module.exports = [];
@@ -11,102 +11,54 @@ export default {
11
11
  label: '', //label
12
12
  ele: 'slot', //package 名称
13
13
  slot: 'is_reference_title',
14
+ groupKey: 'advanced'
14
15
  },
15
16
  {
16
- ele: 'title',
17
- label: '基础设置',
18
- size: 'small', //default/mini/small
19
- },
20
- {
21
- label: '布局:',
17
+ label: '快速链接布局:',
22
18
  ele: 'xd-radio',
23
19
  valueKey: 'is_layout',
24
20
  value: data['is_layout'] || 'noraml',
21
+ groupKey:'content',
25
22
  placeholder: '请选择是否有边框',
26
23
  multiple: false,
27
24
  className: 'input80',
28
25
  list: [
29
26
  {label: '平铺', value: 'noraml'},
30
27
  {label: '悬浮', value: 'fixed'},
31
- ]
28
+ ],
29
+ inline: false,
30
+ notice: `使用悬浮布局时,快速链接数量不可超过<span style="color:red"> 3 </span>个,并且把该组件移动到最后`
32
31
  },
33
32
  data['is_layout'] ==='fixed' && {
34
33
  label: '自定义名称:',
35
34
  ele: 'el-input',
36
35
  type: 'text',
36
+ groupKey:'content',
37
37
  valueKey: 'fastName',
38
38
  value: data['fastName']? data['fastName']: '快速导航',
39
39
  placeholder: '请输入自定义名称',
40
40
  className: 'input80',
41
41
  },
42
42
  {
43
- label: '快速链接配置:', //label
44
- ele: 'xd-footer-setting', //package 名称
45
- valueKey: 'quick_link_list', //form[valueKey]
46
- value: data.quick_link_list || [],
47
- setting: {
48
- router: XdBus.getParentApi('getPagesTree'),
49
- showField: {
50
- path: true,
51
- icon: true,
52
- notice: false,
53
- subTitle: true,
54
- }
55
- },
56
- handleCustom({action, data}) {
57
- if (action === 'number') {
58
- data.cb([])
59
- }
60
- },
61
- inline: false,
62
- notice: '设置快速链接配置址、标题(最多<sapn style="color: red">五个汉字</sapn>)、ICON图标(<a href="https://www.iconfont.cn/manage/index?spm=a313x.7781069.1998910419.db775f1f3&manage_type=myprojects&projectId=3378319&keyword=&project_type=&page=" style="color: blue" target="_blank">ICONFONT库</a>)、ICON大小(单位:<sapn style="color: red">像素</sapn>)和是否有消息数量显示(无数量显示可以不填写)',
63
- rules: [
64
- {
65
- required: false,
66
- validator: (rule, value, callback) => {
67
- if (!value) {
68
- callback('请设置快速链接配置');
69
- return
70
- }
71
-
72
- if (value.length === 0) {
73
- callback('请设置快速链接配置');
74
- return
75
- }
76
-
77
- let status = value.filter(item => {
78
- return !item.name
79
- });
80
-
81
- if (status.length > 0) {
82
- callback('请设置快速链接配置');
83
- return
84
- }
85
-
86
- callback()
87
- },
88
- trigger: 'change'
89
-
90
- },
91
- ],
92
- },
93
- data['is_layout'] ==='noraml' && {
94
- ele: 'title',
95
- label: '样式设置',
96
- size: 'small', //default/mini/small
43
+ label: '背景颜色:',
44
+ ele: 'xd-color',
45
+ groupKey:'style',
46
+ valueKey: 'backgroundColor',
47
+ value: data['backgroundColor'] || '',
48
+ placeholder: '请选择背景颜色',
49
+ classNmae: 'input60',
97
50
  },
98
- data['is_layout'] ==='noraml' && {
99
- label: '文字大小:',
51
+ {
52
+ label: '圆角设置:',
100
53
  ele: 'xd-site-select-list',
101
- valueKey: 'fontSize',
102
- value: data['fontSize'] || '',
103
- placeholder: '请选择文字大小',
54
+ valueKey: 'radius',
55
+ groupKey:'style',
56
+ value: data['radius'] || '',
57
+ placeholder: '请选择圆角设置',
104
58
  multiple: false,
105
- className: 'input80',
59
+ className: 'input60',
106
60
  handleCustom({action, data}) {
107
- XdBus.getParentApi('getOptionsSettingList')({
108
- setting_id: 'edtix_style_font_size'
109
- })
61
+ XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_radius'})
110
62
  .then(res => {
111
63
  data.cb(res.list)
112
64
  })
@@ -115,61 +67,42 @@ export default {
115
67
  });
116
68
  },
117
69
  },
118
- data['is_layout'] ==='noraml' && {
119
- label: '背景颜色:',
120
- ele: 'xd-color',
121
- valueKey: 'backgroundColor',
122
- value: data['backgroundColor'] || '',
123
- placeholder: '请选择背景颜色',
124
- classNmae: 'input80',
125
- },
126
- data['is_layout'] ==='noraml' && {
127
- label: '文字颜色:',
128
- ele: 'xd-color',
129
- valueKey: 'textColor',
130
- value: data['textColor'] || '',
131
- placeholder: '请选择文字颜色',
132
- classNmae: 'input80',
133
- },
134
- data['is_layout'] ==='noraml' && {
135
- label: 'ICON颜色:',
136
- ele: 'xd-color',
137
- valueKey: 'iconColor',
138
- value: data['iconColor'] || '',
139
- placeholder: '请选择ICON颜色',
140
- classNmae: 'input80',
141
- },
142
- data['is_layout'] ==='noraml' && {
70
+ {
143
71
  label: '间距:',
144
72
  ele: 'el-input',
73
+ groupKey:'style',
145
74
  type: 'number',
146
75
  valueKey: 'padding',
147
76
  value: data.padding===undefined? data.padding: '',
148
77
  placeholder: '请输入间距',
149
- className: 'input80',
78
+ className: 'input60',
79
+ inline: false,
80
+ notice: '设置间距,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
150
81
  },
151
- data['is_layout'] ==='noraml' && {
152
- label: '内容边距设置:',
82
+ {
83
+ label: '外边距设置:',
153
84
  ele: 'xd-margin-padding',
85
+ groupKey:'style',
154
86
  valueKey: 'margin',
155
87
  value: data['margin'] || null,
156
- disabled: false,
157
88
  setting: {
158
89
  type: 'margin',
159
90
  },
160
- placeholder: '请设置内容边距设置',
91
+ placeholder: '外边距设置',
161
92
  inline: false,
162
- notice: '内容边距设置,<span style="color: red">单位:像素</span>。默认值:0像素',
93
+ notice: '内容边距设置,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
163
94
  },
164
- data['is_layout'] ==='noraml' && {
95
+ {
165
96
  ele: 'title',
166
97
  label: '边框设置',
167
- size: 'small', //default/mini/small
98
+ size: 'small',
99
+ groupKey:'style',
168
100
  },
169
- data['is_layout'] ==='noraml' && {
101
+ {
170
102
  label: '是否有边框:',
171
103
  ele: 'xd-radio',
172
104
  valueKey: 'is_border',
105
+ groupKey:'style',
173
106
  value: data['is_border'] || 'N',
174
107
  placeholder: '请选择是否有边框',
175
108
  multiple: false,
@@ -179,33 +112,44 @@ export default {
179
112
  {label: '否', value: 'N'},
180
113
  ]
181
114
  },
182
- data['is_layout'] ==='noraml' && data['is_border'] === 'Y' && {
115
+ data['is_border'] === 'Y' && {
183
116
  label: '边框颜色:',
184
117
  ele: 'xd-color',
185
118
  valueKey: 'is_border_c',
119
+ groupKey:'style',
186
120
  value: data['is_border_c'] || '',
187
121
  placeholder: '请选择边框颜色',
188
122
  classNmae: 'input80',
189
123
  },
190
- data['is_layout'] ==='noraml' && data['is_border'] === 'Y' && {
124
+ data['is_border'] === 'Y' && {
191
125
  label: '边框大小:',
192
126
  ele: 'el-input',
193
127
  type: 'number',
128
+ groupKey:'style',
194
129
  valueKey: 'is_border_w',
195
130
  value: data['is_border_w'] || '',
196
131
  placeholder: '请输入边框颜色',
197
- className: 'input80',
132
+ className: 'input60',
133
+ },
134
+ {
135
+ ele: 'title',
136
+ label: '主标题',
137
+ size: 'small',
138
+ groupKey:'style',
198
139
  },
199
- data['is_layout'] ==='noraml' && {
200
- label: '内容圆角设置:',
140
+ {
141
+ label: '文字大小:',
201
142
  ele: 'xd-site-select-list',
202
- valueKey: 'radius',
203
- value: data['radius'] || '',
204
- placeholder: '请选择内容圆角设置',
143
+ valueKey: 'fontSize',
144
+ groupKey:'style',
145
+ value: data['fontSize'] || '',
146
+ placeholder: '请选择文字大小',
205
147
  multiple: false,
206
- className: 'input80',
148
+ className: 'input60',
207
149
  handleCustom({action, data}) {
208
- XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_radius'})
150
+ XdBus.getParentApi('getOptionsSettingList')({
151
+ setting_id: 'edtix_style_font_size'
152
+ })
209
153
  .then(res => {
210
154
  data.cb(res.list)
211
155
  })
@@ -215,9 +159,117 @@ export default {
215
159
  },
216
160
  },
217
161
  {
218
- label: '', //label
219
- ele: 'slot', //package 名称
162
+ label: '文字颜色:',
163
+ ele: 'xd-color',
164
+ groupKey:'style',
165
+ valueKey: 'textColor',
166
+ value: data['textColor'] || '',
167
+ placeholder: '请选择文字颜色',
168
+ classNmae: 'input80',
169
+ },
170
+ {
171
+ label: 'ICON颜色:',
172
+ ele: 'xd-color',
173
+ groupKey:'style',
174
+ valueKey: 'iconColor',
175
+ value: data['iconColor'] || '',
176
+ placeholder: '请选择ICON颜色',
177
+ classNmae: 'input80',
178
+ },
179
+ {
180
+ ele: 'title',
181
+ label: '副标题',
182
+ size: 'small',
183
+ groupKey:'style',
184
+ },
185
+ {
186
+ label: '文字大小:',
187
+ ele: 'xd-site-select-list',
188
+ valueKey: 'fontSubSize',
189
+ groupKey:'style',
190
+ value: data['fontSubSize'] || '',
191
+ placeholder: '请选择文字大小',
192
+ multiple: false,
193
+ className: 'input60',
194
+ handleCustom({action, data}) {
195
+ XdBus.getParentApi('getOptionsSettingList')({
196
+ setting_id: 'edtix_style_font_size'
197
+ })
198
+ .then(res => {
199
+ data.cb(res.list)
200
+ })
201
+ .catch(error => {
202
+ console.error(error);
203
+ });
204
+ },
205
+ },
206
+ {
207
+ label: '文字颜色:',
208
+ ele: 'xd-color',
209
+ groupKey:'style',
210
+ valueKey: 'textSubColor',
211
+ value: data['textSubColor'] || '',
212
+ placeholder: '请选择文字颜色',
213
+ classNmae: 'input80',
214
+ },
215
+
216
+ {
217
+ label: '快速链接配置:',
218
+ ele: 'xd-footer-setting',
219
+ valueKey: 'quick_link_list',
220
+ groupKey:'advanced',
221
+ value: data.quick_link_list || [],
222
+ setting: {
223
+ router: XdBus.getParentApi('getPagesTree'),
224
+ showField: {
225
+ path: true,
226
+ icon: true,
227
+ notice: false,
228
+ subTitle: true,
229
+ }
230
+ },
231
+ handleCustom({action, data}) {
232
+ if (action === 'number') {
233
+ data.cb([])
234
+ }
235
+ },
236
+ inline: false,
237
+ notice: '设置快速链接配置址、标题(最多<sapn style="color: red">五个汉字</sapn>)、ICON图标(<a href="https://www.iconfont.cn/manage/index?spm=a313x.7781069.1998910419.db775f1f3&manage_type=myprojects&projectId=3378319&keyword=&project_type=&page=" style="color: blue" target="_blank">ICONFONT库</a>)、ICON大小(单位:<sapn style="color: red">像素</sapn>)和是否有消息数量显示(无数量显示可以不填写)',
238
+ rules: [
239
+ {
240
+ required: false,
241
+ validator: (rule, value, callback) => {
242
+ if (!value) {
243
+ callback('请设置快速链接配置');
244
+ return
245
+ }
246
+
247
+ if (value.length === 0) {
248
+ callback('请设置快速链接配置');
249
+ return
250
+ }
251
+
252
+ let status = value.filter(item => {
253
+ return !item.name
254
+ });
255
+
256
+ if (status.length > 0) {
257
+ callback('请设置快速链接配置');
258
+ return
259
+ }
260
+
261
+ callback()
262
+ },
263
+ trigger: 'change'
264
+
265
+ },
266
+ ],
267
+ },
268
+ {
269
+ label: '',
270
+ ele: 'slot',
220
271
  slot: 'is_reference',
272
+ groupKey: 'advanced'
221
273
  },
222
274
  ].filter(i=>i)
223
275
  },