jufubao-base 1.0.130-beta5 → 1.0.131

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 +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 +34 -76
  20. package/src/components/JfbBaseCard/JfbBaseCardLess.less +19 -18
  21. package/src/components/JfbBaseCardBind/JfbBaseCardBindLess.less +19 -18
  22. package/src/components/JfbBaseCardBindV2/Attr.js +4 -5
  23. package/src/components/JfbBaseCardBindV2/JfbBaseCardBindV2Less.less +19 -18
  24. package/src/components/JfbBaseCardDetail/Attr.js +3 -4
  25. package/src/components/JfbBaseCardDetail/JfbBaseCardDetailLess.less +19 -18
  26. package/src/components/JfbBaseCardDetailEntry/Attr.js +8 -10
  27. package/src/components/JfbBaseCardDetailEntry/JfbBaseCardDetailEntryLess.less +19 -18
  28. package/src/components/JfbBaseCardDisabled/Attr.js +3 -1
  29. package/src/components/JfbBaseCardDisabled/JfbBaseCardDisabledLess.less +19 -18
  30. package/src/components/JfbBaseCardDisabledEntry/JfbBaseCardDisabledEntryLess.less +19 -18
  31. package/src/components/JfbBaseCardEntry/Attr.js +67 -86
  32. package/src/components/JfbBaseCardEntry/JfbBaseCardEntry.vue +2 -3
  33. package/src/components/JfbBaseCardEntry/JfbBaseCardEntryLess.less +19 -18
  34. package/src/components/JfbBaseCardInfo/Attr.js +16 -22
  35. package/src/components/JfbBaseCardInfo/JfbBaseCardInfoLess.less +19 -18
  36. package/src/components/JfbBaseCardInfoEntry/Attr.js +11 -16
  37. package/src/components/JfbBaseCardInfoEntry/JfbBaseCardInfoEntryLess.less +19 -18
  38. package/src/components/JfbBaseCardMerge/Attr.js +8 -21
  39. package/src/components/JfbBaseCardMerge/JfbBaseCardMerge.vue +30 -15
  40. package/src/components/JfbBaseCardMerge/JfbBaseCardMergeLess.less +19 -18
  41. package/src/components/JfbBaseCardMergeEntry/Attr.js +6 -20
  42. package/src/components/JfbBaseCardMergeEntry/JfbBaseCardMergeEntry.vue +25 -28
  43. package/src/components/JfbBaseCardMergeEntry/JfbBaseCardMergeEntryLess.less +19 -18
  44. package/src/components/JfbBaseCardShift/Attr.js +4 -18
  45. package/src/components/JfbBaseCardShift/JfbBaseCardShift.vue +11 -26
  46. package/src/components/JfbBaseCardShift/JfbBaseCardShiftLess.less +19 -18
  47. package/src/components/JfbBaseCardShiftEntry/Attr.js +26 -34
  48. package/src/components/JfbBaseCardShiftEntry/JfbBaseCardShiftEntry.vue +257 -294
  49. package/src/components/JfbBaseCardShiftEntry/JfbBaseCardShiftEntryLess.less +19 -18
  50. package/src/components/JfbBaseCardShiftEntry/Mock.js +1 -2
  51. package/src/components/JfbBaseCardSweepInfo/Attr.js +3 -5
  52. package/src/components/JfbBaseCardSweepInfo/JfbBaseCardSweepInfoLess.less +19 -18
  53. package/src/components/JfbBaseCardV2/Attr.js +15 -19
  54. package/src/components/JfbBaseCardV2/JfbBaseCardV2.vue +5 -3
  55. package/src/components/JfbBaseCardV2/JfbBaseCardV2Less.less +19 -18
  56. package/src/components/JfbBaseCardV3/Attr.js +12 -16
  57. package/src/components/JfbBaseCardV3/JfbBaseCardV3.vue +1 -1
  58. package/src/components/JfbBaseCardV3/JfbBaseCardV3Less.less +19 -18
  59. package/src/components/JfbBaseCity/Attr.js +4 -2
  60. package/src/components/JfbBaseCity/JfbBaseCityLess.less +19 -18
  61. package/src/components/JfbBaseClear/JfbBaseClearLess.less +19 -18
  62. package/src/components/JfbBaseClear/JfbBaseClearMixin.js +0 -12
  63. package/src/components/JfbBaseConDialog/Api.js +1 -1
  64. package/src/components/JfbBaseConDialog/Attr.js +20 -30
  65. package/src/components/JfbBaseConDialog/JfbBaseConDialog.vue +26 -45
  66. package/src/components/JfbBaseConDialog/JfbBaseConDialogLess.less +19 -18
  67. package/src/components/JfbBaseConDialog/Mock.js +1 -20
  68. package/src/components/JfbBaseConDialog/XdCouCardBind.vue +9 -15
  69. package/src/components/JfbBaseConList/Attr.js +224 -149
  70. package/src/components/JfbBaseConList/JfbBaseConList.vue +133 -150
  71. package/src/components/JfbBaseConList/JfbBaseConListLess.less +19 -18
  72. package/src/components/JfbBaseConPhone/JfbBaseConPhoneLess.less +19 -18
  73. package/src/components/JfbBaseEntry/Attr.js +21 -33
  74. package/src/components/JfbBaseEntry/JfbBaseEntry.vue +23 -34
  75. package/src/components/JfbBaseEntry/JfbBaseEntryLess.less +19 -18
  76. package/src/components/JfbBaseExpressDetail/JfbBaseExpressDetailLess.less +19 -18
  77. package/src/components/JfbBaseFastLink/Api.js +54 -1
  78. package/src/components/JfbBaseFastLink/Attr.js +116 -168
  79. package/src/components/JfbBaseFastLink/JfbBaseFastLink.vue +16 -12
  80. package/src/components/JfbBaseFastLink/JfbBaseFastLinkLess.less +19 -18
  81. package/src/components/JfbBaseFooter/Attr.js +22 -28
  82. package/src/components/JfbBaseFooter/JfbBaseFooter.vue +15 -19
  83. package/src/components/JfbBaseFooter/JfbBaseFooterLess.less +19 -18
  84. package/src/components/JfbBaseHeader/Attr.js +91 -89
  85. package/src/components/JfbBaseHeader/JfbBaseHeader.vue +29 -28
  86. package/src/components/JfbBaseHeader/JfbBaseHeaderLess.less +19 -18
  87. package/src/components/JfbBaseLine/Attr.js +59 -0
  88. package/src/components/JfbBaseLine/JfbBaseLine.vue +105 -0
  89. package/src/components/JfbBaseLine/JfbBaseLineLess.less +80 -0
  90. package/src/components/JfbBaseLine/JfbBaseLineMixin.js +30 -0
  91. package/src/components/JfbBaseLogin/Attr.js +88 -111
  92. package/src/components/JfbBaseLogin/JfbBaseLogin.vue +1 -0
  93. package/src/components/JfbBaseLogin/JfbBaseLoginLess.less +19 -18
  94. package/src/components/JfbBaseLoginForgetPwd/Attr.js +45 -52
  95. package/src/components/JfbBaseLoginForgetPwd/JfbBaseLoginForgetPwd.vue +14 -14
  96. package/src/components/JfbBaseLoginForgetPwd/JfbBaseLoginForgetPwdLess.less +19 -18
  97. package/src/components/JfbBaseLoginSetPwd/Attr.js +4 -6
  98. package/src/components/JfbBaseLoginSetPwd/JfbBaseLoginSetPwdLess.less +19 -18
  99. package/src/components/JfbBaseMapOverlay/JfbBaseMapOverlayLess.less +19 -18
  100. package/src/components/JfbBaseMapSearch/Attr.js +15 -0
  101. package/src/components/JfbBaseMapSearch/JfbBaseMapSearch.vue +25 -1
  102. package/src/components/JfbBaseMapSearch/JfbBaseMapSearchLess.less +19 -18
  103. package/src/components/JfbBaseMergeUserCard/Attr.js +3 -4
  104. package/src/components/JfbBaseMergeUserCard/JfbBaseMergeUserCardLess.less +19 -18
  105. package/src/components/JfbBaseMultipleExpress/Attr.js +3 -4
  106. package/src/components/JfbBaseMultipleExpress/JfbBaseMultipleExpressLess.less +19 -18
  107. package/src/components/JfbBaseMy/JfbBaseMyLess.less +19 -18
  108. package/src/components/JfbBaseMySetting/Attr.js +1 -1
  109. package/src/components/JfbBaseMySetting/JfbBaseMySettingLess.less +19 -18
  110. package/src/components/JfbBaseNotice/Attr.js +56 -97
  111. package/src/components/JfbBaseNotice/JfbBaseNotice.vue +52 -70
  112. package/src/components/JfbBaseNotice/JfbBaseNoticeLess.less +19 -18
  113. package/src/components/JfbBaseNoticeBottom/JfbBaseNoticeBottomLess.less +19 -18
  114. package/src/components/JfbBaseNoticeTop/JfbBaseNoticeTopLess.less +19 -18
  115. package/src/components/JfbBaseOrderDetail/Attr.js +193 -210
  116. package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +6 -8
  117. package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetailLess.less +19 -18
  118. package/src/components/JfbBaseOrderList/Attr.js +43 -55
  119. package/src/components/JfbBaseOrderList/JfbBaseOrderList.vue +3 -5
  120. package/src/components/JfbBaseOrderList/JfbBaseOrderListLess.less +19 -18
  121. package/src/components/JfbBasePay/Attr.js +13 -2
  122. package/src/components/JfbBasePay/JfbBasePay.vue +6 -7
  123. package/src/components/JfbBasePay/JfbBasePayLess.less +19 -18
  124. package/src/components/JfbBasePay/Mock.js +1 -2
  125. package/src/components/JfbBasePhoneCollect/Attr.js +2 -27
  126. package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollect.vue +1 -1
  127. package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollectLess.less +19 -18
  128. package/src/components/JfbBasePhoneLogin/Attr.js +2 -27
  129. package/src/components/JfbBasePhoneLogin/JfbBasePhoneLoginLess.less +19 -18
  130. package/src/components/JfbBasePoster/Attr.js +83 -103
  131. package/src/components/JfbBasePoster/JfbBasePoster.vue +141 -134
  132. package/src/components/JfbBasePoster/JfbBasePosterLess.less +19 -18
  133. package/src/components/JfbBasePosterBigSmall/Attr.js +76 -93
  134. package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmall.vue +7 -3
  135. package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmallLess.less +19 -18
  136. package/src/components/JfbBasePosterBigSmall/getWidthHeight.js +2 -2
  137. package/src/components/JfbBasePosterEntry/Attr.js +33 -44
  138. package/src/components/JfbBasePosterEntry/JfbBasePosterEntry.vue +49 -44
  139. package/src/components/JfbBasePosterEntry/JfbBasePosterEntryLess.less +19 -18
  140. package/src/components/JfbBasePosterType/Attr.js +48 -82
  141. package/src/components/JfbBasePosterType/FourScreen.vue +2 -8
  142. package/src/components/JfbBasePosterType/JfbBasePosterType.vue +59 -36
  143. package/src/components/JfbBasePosterType/JfbBasePosterTypeLess.less +19 -18
  144. package/src/components/JfbBasePosterType/Screen.vue +284 -0
  145. package/src/components/JfbBaseRecharge/Attr.js +23 -35
  146. package/src/components/JfbBaseRecharge/JfbBaseRecharge.vue +8 -54
  147. package/src/components/JfbBaseRecharge/JfbBaseRechargeLess.less +19 -18
  148. package/src/components/JfbBaseRechargeOrder/Attr.js +22 -32
  149. package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrder.vue +7 -12
  150. package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrderLess.less +19 -18
  151. package/src/components/JfbBaseRechargeOrderDetail/JfbBaseRechargeOrderDetailLess.less +19 -18
  152. package/src/components/JfbBaseRechargeSuccess/Attr.js +8 -10
  153. package/src/components/JfbBaseRechargeSuccess/JfbBaseRechargeSuccessLess.less +19 -18
  154. package/src/components/JfbBaseSearch/Api.js +60 -0
  155. package/src/components/JfbBaseSearch/Attr.js +148 -6
  156. package/src/components/JfbBaseSearch/JfbBaseSearch.vue +37 -8
  157. package/src/components/JfbBaseSearch/JfbBaseSearchLess.less +19 -18
  158. package/src/components/JfbBaseSearch/Mock.js +5 -0
  159. package/src/components/JfbBaseSetPwd/Attr.js +147 -6
  160. package/src/components/JfbBaseSetPwd/JfbBaseSetPwdLess.less +19 -18
  161. package/src/components/JfbBaseSuccess/Attr.js +17 -78
  162. package/src/components/JfbBaseSuccess/JfbBaseSuccess.vue +3 -2
  163. package/src/components/JfbBaseSuccess/JfbBaseSuccessLess.less +19 -18
  164. package/src/components/JfbBaseTestApi/JfbBaseTestApiLess.less +19 -18
  165. package/src/components/JfbBaseTestBody/JfbBaseTestBodyLess.less +19 -18
  166. package/src/components/JfbBaseTestBottom/JfbBaseTestBottomLess.less +19 -18
  167. package/src/components/JfbBaseTestNotice/JfbBaseTestNoticeLess.less +19 -18
  168. package/src/components/JfbBaseTestTop/JfbBaseTestTopLess.less +19 -18
  169. package/src/components/JfbBaseUserCenter/Attr.js +53 -72
  170. package/src/components/JfbBaseUserCenter/JfbBaseUserCenter.vue +27 -40
  171. package/src/components/JfbBaseUserCenter/JfbBaseUserCenterLess.less +19 -18
  172. package/src/components/JfbBaseUserInfo/Attr.js +45 -54
  173. package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +21 -21
  174. package/src/components/JfbBaseUserInfo/JfbBaseUserInfoLess.less +19 -18
  175. package/src/components/JfbBaseUserOrder/Attr.js +92 -118
  176. package/src/components/JfbBaseUserOrder/JfbBaseUserOrder.vue +7 -21
  177. package/src/components/JfbBaseUserOrder/JfbBaseUserOrderLess.less +19 -18
  178. package/src/components/JfbBaseVideo/Attr.js +19 -72
  179. package/src/components/JfbBaseVideo/JfbBaseVideo.vue +28 -69
  180. package/src/components/JfbBaseVideo/JfbBaseVideoLess.less +19 -18
  181. package/src/components/JfbBaseVideo/XdVideo.vue +44 -6
  182. package/src/components/JfbBaseWallet/JfbBaseWalletLess.less +19 -18
  183. package/src/components/{JfbBaseClear → JfbBaseWalletDetail}/Attr.js +0 -1
  184. package/src/components/JfbBaseWalletDetail/JfbBaseWalletDetailLess.less +19 -18
  185. package/src/components/JfbBaseWalletDetail/JfbBaseWalletDetailMixin.js +12 -0
  186. package/src/components/JfbBaseWalletEffective/JfbBaseWalletEffectiveLess.less +19 -18
  187. package/src/components/JfbBaseWalletIndex/JfbBaseWalletIndexLess.less +19 -18
  188. package/src/components/JfbBaseWalletItem/JfbBaseWalletItemLess.less +19 -18
  189. package/src/components/JfbBaseWebview/JfbBaseWebviewLess.less +19 -18
  190. package/src/components/JfbBaseWxAuthorize/Attr.js +3 -31
  191. package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorize.vue +26 -32
  192. package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorizeLess.less +19 -18
  193. package/src/components/JfbBaseWxAuthorizeError/Attr.js +17 -21
  194. package/src/components/JfbBaseWxAuthorizeError/JfbBaseWxAuthorizeErrorLess.less +19 -18
  195. package/src/components/JfbBaseCardShift/Mock.js +0 -21
@@ -14,27 +14,25 @@
14
14
  </view>
15
15
  <!-- #endif -->
16
16
  <view class="jfb-base-entry__body" :style="bodyStyle">
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>
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;"/>
27
25
  </view>
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>
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"/>
38
36
  </view>
39
37
  </view>
40
38
  </view>
@@ -65,14 +63,13 @@
65
63
  rowNum: 1,
66
64
  paddingInput: 20,
67
65
  loadingList: true,
68
- margin: {},
69
66
  }
70
67
  },
71
68
  computed: {
72
69
  bodyStyle(){
73
70
  return {
74
71
  backgroundColor: this.bgcolor,
75
- minHeight: this.layoutInfo.bodyMinHeight,
72
+ minHeight: this.layoutInfo.bodyMinHeight
76
73
  }
77
74
  },
78
75
  entryStyle(){
@@ -81,13 +78,6 @@
81
78
  gap: this.paddingInput + 'rpx',
82
79
  padding: this.paddingInput + 'rpx'
83
80
  }
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
91
81
  }
92
82
  },
93
83
  watch: {
@@ -110,7 +100,6 @@
110
100
  this.bgcolor = getContainerPropsValue(container, 'content.bgcolor', '#fff');
111
101
  this.rowNum = getContainerPropsValue(container, 'content.rowNum', 1);
112
102
  this.paddingInput = getContainerPropsValue(container, 'content.paddingInput', 20);
113
- this.margin = getContainerPropsValue(container, 'content.margin', {});
114
103
  },
115
104
  getEntrySetting(){
116
105
  this.$xdShowLoading({});
@@ -126,7 +115,7 @@
126
115
  item['image_url2'] = item.image_url2 ? getServiceUrl(item.image_url2) : "";
127
116
  item['image_url3'] = item.image_url3 ? getServiceUrl(item.image_url3) : "";
128
117
  let nsp = Base64.encodeURI(JSON.stringify({business_code: item['business_code']}));
129
-
118
+
130
119
  //外站配置地址
131
120
  if(item.redirect_type === 'URL') {
132
121
  if(item['redirect_data']['path'].indexOf('?') === -1) {
@@ -135,12 +124,12 @@
135
124
  else item['redirect_data']['path'] = `${item['redirect_data']['path']}&x-common=${nsp}&vs=${new Date().getTime()}`;
136
125
  return item;
137
126
  }
138
-
127
+
139
128
  let jumpUrl = item.path;
140
129
  //#ifdef H5
141
130
  jumpUrl = `//${host}/${dir}${path}`;
142
131
  //#endif
143
-
132
+
144
133
  if(item['redirect_data']['fixed_business_code'] === '') {
145
134
  item['redirect_data']['path'] = `${jumpUrl}?x-common=${nsp}&vs=${new Date().getTime()}`
146
135
  }
@@ -166,7 +155,7 @@
166
155
  this.$xdAlert({content: '链接地址配置错误'})
167
156
  }
168
157
  },
169
-
158
+
170
159
  onJfbBack(options) {
171
160
  this.$xdUniHelper.navigateBack()
172
161
  },
@@ -13,8 +13,9 @@
13
13
 
14
14
  //start
15
15
  .jfb-base-entry {
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-entry {
74
- //&:before {
75
- //content: " ";
76
- //display: table;
77
- //}
75
+ &:before {
76
+ content: " ";
77
+ display: table;
78
+ }
78
79
  }
79
80
  /**endNotPreview**/
@@ -13,8 +13,9 @@
13
13
 
14
14
  //start
15
15
  .jfb-base-express-detail {
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-express-detail {
74
- //&:before {
75
- //content: " ";
76
- //display: table;
77
- //}
75
+ &:before {
76
+ content: " ";
77
+ display: table;
78
+ }
78
79
  }
79
80
  /**endNotPreview**/
@@ -2,6 +2,59 @@
2
2
 
3
3
  /**
4
4
  * @description API模型
5
+ * 建议:Ffff=>模块 Xxxx=>自定义名字
6
+ * 获取单记录(getByIdFfffXxxx)
7
+ * 获取列表记录(getByListFfffXxxx)
8
+ * 添加列表记录(addFfffXxxxx)
9
+ * 删除列表记录(removeFfffXxxxx|deleteFfffXxxx)
10
+ * 更新列表记录(updateFfffXxxxx)
5
11
  * @type {*[]}
6
12
  */
7
- module.exports = [];
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
+ ];
@@ -11,54 +11,102 @@ export default {
11
11
  label: '', //label
12
12
  ele: 'slot', //package 名称
13
13
  slot: 'is_reference_title',
14
- groupKey: 'advanced'
15
14
  },
16
15
  {
17
- label: '快速链接布局:',
16
+ ele: 'title',
17
+ label: '基础设置',
18
+ size: 'small', //default/mini/small
19
+ },
20
+ {
21
+ label: '布局:',
18
22
  ele: 'xd-radio',
19
23
  valueKey: 'is_layout',
20
24
  value: data['is_layout'] || 'noraml',
21
- groupKey:'content',
22
25
  placeholder: '请选择是否有边框',
23
26
  multiple: false,
24
27
  className: 'input80',
25
28
  list: [
26
29
  {label: '平铺', value: 'noraml'},
27
30
  {label: '悬浮', value: 'fixed'},
28
- ],
29
- inline: false,
30
- notice: `使用悬浮布局时,快速链接数量不可超过<span style="color:red"> 3 </span>个,并且把该组件移动到最后`
31
+ ]
31
32
  },
32
33
  data['is_layout'] ==='fixed' && {
33
34
  label: '自定义名称:',
34
35
  ele: 'el-input',
35
36
  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: '背景颜色:',
44
- ele: 'xd-color',
45
- groupKey:'style',
46
- valueKey: 'backgroundColor',
47
- value: data['backgroundColor'] || '',
48
- placeholder: '请选择背景颜色',
49
- classNmae: 'input60',
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
+ ],
50
92
  },
51
- {
52
- label: '圆角设置:',
93
+ data['is_layout'] ==='noraml' && {
94
+ ele: 'title',
95
+ label: '样式设置',
96
+ size: 'small', //default/mini/small
97
+ },
98
+ data['is_layout'] ==='noraml' && {
99
+ label: '文字大小:',
53
100
  ele: 'xd-site-select-list',
54
- valueKey: 'radius',
55
- groupKey:'style',
56
- value: data['radius'] || '',
57
- placeholder: '请选择圆角设置',
101
+ valueKey: 'fontSize',
102
+ value: data['fontSize'] || '',
103
+ placeholder: '请选择文字大小',
58
104
  multiple: false,
59
- className: 'input60',
105
+ className: 'input80',
60
106
  handleCustom({action, data}) {
61
- XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_radius'})
107
+ XdBus.getParentApi('getOptionsSettingList')({
108
+ setting_id: 'edtix_style_font_size'
109
+ })
62
110
  .then(res => {
63
111
  data.cb(res.list)
64
112
  })
@@ -67,42 +115,61 @@ export default {
67
115
  });
68
116
  },
69
117
  },
70
- {
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' && {
71
143
  label: '间距:',
72
144
  ele: 'el-input',
73
- groupKey:'style',
74
145
  type: 'number',
75
146
  valueKey: 'padding',
76
147
  value: data.padding===undefined? data.padding: '',
77
148
  placeholder: '请输入间距',
78
- className: 'input60',
79
- inline: false,
80
- notice: '设置间距,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
149
+ className: 'input80',
81
150
  },
82
- {
83
- label: '外边距设置:',
151
+ data['is_layout'] ==='noraml' && {
152
+ label: '内容边距设置:',
84
153
  ele: 'xd-margin-padding',
85
- groupKey:'style',
86
154
  valueKey: 'margin',
87
155
  value: data['margin'] || null,
156
+ disabled: false,
88
157
  setting: {
89
158
  type: 'margin',
90
159
  },
91
- placeholder: '外边距设置',
160
+ placeholder: '请设置内容边距设置',
92
161
  inline: false,
93
- notice: '内容边距设置,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
162
+ notice: '内容边距设置,<span style="color: red">单位:像素</span>。默认值:0像素',
94
163
  },
95
- {
164
+ data['is_layout'] ==='noraml' && {
96
165
  ele: 'title',
97
166
  label: '边框设置',
98
- size: 'small',
99
- groupKey:'style',
167
+ size: 'small', //default/mini/small
100
168
  },
101
- {
169
+ data['is_layout'] ==='noraml' && {
102
170
  label: '是否有边框:',
103
171
  ele: 'xd-radio',
104
172
  valueKey: 'is_border',
105
- groupKey:'style',
106
173
  value: data['is_border'] || 'N',
107
174
  placeholder: '请选择是否有边框',
108
175
  multiple: false,
@@ -112,89 +179,33 @@ export default {
112
179
  {label: '否', value: 'N'},
113
180
  ]
114
181
  },
115
- data['is_border'] === 'Y' && {
182
+ data['is_layout'] ==='noraml' && data['is_border'] === 'Y' && {
116
183
  label: '边框颜色:',
117
184
  ele: 'xd-color',
118
185
  valueKey: 'is_border_c',
119
- groupKey:'style',
120
186
  value: data['is_border_c'] || '',
121
187
  placeholder: '请选择边框颜色',
122
188
  classNmae: 'input80',
123
189
  },
124
- data['is_border'] === 'Y' && {
190
+ data['is_layout'] ==='noraml' && data['is_border'] === 'Y' && {
125
191
  label: '边框大小:',
126
192
  ele: 'el-input',
127
193
  type: 'number',
128
- groupKey:'style',
129
194
  valueKey: 'is_border_w',
130
195
  value: data['is_border_w'] || '',
131
196
  placeholder: '请输入边框颜色',
132
- className: 'input60',
133
- },
134
- {
135
- ele: 'title',
136
- label: '主标题',
137
- size: 'small',
138
- groupKey:'style',
139
- },
140
- {
141
- label: '文字大小:',
142
- ele: 'xd-site-select-list',
143
- valueKey: 'fontSize',
144
- groupKey:'style',
145
- value: data['fontSize'] || '',
146
- placeholder: '请选择文字大小',
147
- multiple: false,
148
- className: 'input60',
149
- handleCustom({action, data}) {
150
- XdBus.getParentApi('getOptionsSettingList')({
151
- setting_id: 'edtix_style_font_size'
152
- })
153
- .then(res => {
154
- data.cb(res.list)
155
- })
156
- .catch(error => {
157
- console.error(error);
158
- });
159
- },
160
- },
161
- {
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',
197
+ className: 'input80',
184
198
  },
185
- {
186
- label: '文字大小:',
199
+ data['is_layout'] ==='noraml' && {
200
+ label: '内容圆角设置:',
187
201
  ele: 'xd-site-select-list',
188
- valueKey: 'fontSubSize',
189
- groupKey:'style',
190
- value: data['fontSubSize'] || '',
191
- placeholder: '请选择文字大小',
202
+ valueKey: 'radius',
203
+ value: data['radius'] || '',
204
+ placeholder: '请选择内容圆角设置',
192
205
  multiple: false,
193
- className: 'input60',
206
+ className: 'input80',
194
207
  handleCustom({action, data}) {
195
- XdBus.getParentApi('getOptionsSettingList')({
196
- setting_id: 'edtix_style_font_size'
197
- })
208
+ XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_radius'})
198
209
  .then(res => {
199
210
  data.cb(res.list)
200
211
  })
@@ -204,72 +215,9 @@ export default {
204
215
  },
205
216
  },
206
217
  {
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',
218
+ label: '', //label
219
+ ele: 'slot', //package 名称
271
220
  slot: 'is_reference',
272
- groupKey: 'advanced'
273
221
  },
274
222
  ].filter(i=>i)
275
223
  },