jufubao-base 1.0.21 → 1.0.23-beta2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (589) hide show
  1. package/commands.all.js +78 -0
  2. package/commands.js +60 -23
  3. package/commands.update.change.js +103 -0
  4. package/get.package.path.js +2 -2
  5. package/get.package.path.js.tpl +2 -2
  6. package/package.json +12 -8
  7. package/src/ICONS.js +1128 -0
  8. package/src/common/ICB.SDK.js +78 -0
  9. package/src/common/authorize.js +418 -27
  10. package/src/common/getBusinessImageUrl.js +4 -1
  11. package/src/common/getServiceUrl.js +38 -0
  12. package/src/common/paysdk/jweixin.js +98 -0
  13. package/src/components/JfbBaseAddress/Api.js +129 -0
  14. package/src/components/JfbBaseAddress/Attr.js +137 -0
  15. package/src/components/JfbBaseAddress/JfbBaseAddress.vue +802 -0
  16. package/src/components/JfbBaseAddress/JfbBaseAddressLess.less +79 -0
  17. package/src/components/JfbBaseAddress/JfbBaseAddressMixin.js +30 -0
  18. package/src/components/JfbBaseAddress/Mock.js +127 -0
  19. package/src/components/JfbBaseAddress/XdAddress.vue +703 -0
  20. package/src/components/JfbBaseAddress/XdTfkItem.vue +117 -0
  21. package/src/components/JfbBaseAfterOrderDetail/Api.js +25 -0
  22. package/src/components/JfbBaseAfterOrderDetail/Attr.js +156 -0
  23. package/src/components/JfbBaseAfterOrderDetail/JfbBaseAfterOrderDetail.vue +433 -0
  24. package/src/components/JfbBaseAfterOrderDetail/JfbBaseAfterOrderDetailLess.less +79 -0
  25. package/src/components/JfbBaseAfterOrderDetail/JfbBaseAfterOrderDetailMixin.js +30 -0
  26. package/src/components/JfbBaseAfterOrderDetail/Mock.js +51 -0
  27. package/src/components/JfbBaseAfterOrderList/Api.js +3 -39
  28. package/src/components/JfbBaseAfterOrderList/Attr.js +166 -146
  29. package/src/components/JfbBaseAfterOrderList/JfbBaseAfterOrderList.vue +359 -146
  30. package/src/components/JfbBaseAfterOrderList/JfbBaseAfterOrderListLess.less +30 -8
  31. package/src/components/JfbBaseAfterOrderList/JfbBaseAfterOrderListMixin.js +3 -195
  32. package/src/components/JfbBaseAfterOrderList/Mock.js +448 -0
  33. package/src/components/JfbBaseBack/Attr.js +14 -0
  34. package/src/components/JfbBaseBack/JfbBaseBack.vue +150 -0
  35. package/src/components/{JfbBaseCardMy/JfbBaseCardMyLess.less → JfbBaseBack/JfbBaseBackLess.less} +31 -9
  36. package/src/components/JfbBaseBack/JfbBaseBackMixin.js +30 -0
  37. package/src/components/JfbBaseBackground/Api.js +19 -0
  38. package/src/components/JfbBaseBackground/Attr.js +224 -0
  39. package/src/components/JfbBaseBackground/JfbBaseBackground.vue +113 -0
  40. package/src/components/JfbBaseBackground/JfbBaseBackgroundLess.less +79 -0
  41. package/src/components/JfbBaseBackground/JfbBaseBackgroundMixin.js +30 -0
  42. package/src/components/JfbBaseBlock/Attr.js +26 -37
  43. package/src/components/JfbBaseBlock/JfbBaseBlock.vue +17 -33
  44. package/src/components/JfbBaseBlock/JfbBaseBlockLess.less +30 -8
  45. package/src/components/JfbBaseBlock/JfbBaseBlockMixin.js +3 -195
  46. package/src/components/JfbBaseBottomNotice/Attr.js +106 -0
  47. package/src/components/JfbBaseBottomNotice/JfbBaseBottomNotice.vue +105 -0
  48. package/src/components/JfbBaseBottomNotice/JfbBaseBottomNoticeLess.less +79 -0
  49. package/src/components/JfbBaseBottomNotice/JfbBaseBottomNoticeMixin.js +30 -0
  50. package/src/components/JfbBaseBottomNotice/Mock.js +5 -0
  51. package/src/components/JfbBaseCard/Api.js +17 -2
  52. package/src/components/JfbBaseCard/Attr.js +465 -139
  53. package/src/components/JfbBaseCard/JfbBaseCard.vue +814 -318
  54. package/src/components/JfbBaseCard/JfbBaseCardLess.less +30 -8
  55. package/src/components/JfbBaseCard/JfbBaseCardMixin.js +3 -195
  56. package/src/components/JfbBaseCard/Mock.js +114 -0
  57. package/src/components/JfbBaseCardBind/Attr.js +34 -147
  58. package/src/components/JfbBaseCardBind/JfbBaseCardBind.vue +139 -106
  59. package/src/components/JfbBaseCardBind/JfbBaseCardBindLess.less +30 -8
  60. package/src/components/JfbBaseCardBind/JfbBaseCardBindMixin.js +3 -195
  61. package/src/components/JfbBaseCardBindV2/Api.js +37 -0
  62. package/src/components/JfbBaseCardBindV2/Attr.js +25 -0
  63. package/src/components/JfbBaseCardBindV2/JfbBaseCardBindV2.vue +298 -0
  64. package/src/components/JfbBaseCardBindV2/JfbBaseCardBindV2Less.less +79 -0
  65. package/src/components/JfbBaseCardBindV2/JfbBaseCardBindV2Mixin.js +30 -0
  66. package/src/components/JfbBaseCardBindV2/Mock.js +5 -0
  67. package/src/components/JfbBaseCardDelay/Api.js +47 -0
  68. package/src/components/JfbBaseCardDelay/Attr.js +260 -0
  69. package/src/components/JfbBaseCardDelay/JfbBaseCardDelay.vue +312 -0
  70. package/src/components/JfbBaseCardDelay/JfbBaseCardDelayLess.less +79 -0
  71. package/src/components/JfbBaseCardDelay/JfbBaseCardDelayMixin.js +30 -0
  72. package/src/components/JfbBaseCardDelay/Mock.js +13 -0
  73. package/src/components/JfbBaseCardDetail/Api.js +3 -3
  74. package/src/components/JfbBaseCardDetail/Attr.js +17 -147
  75. package/src/components/JfbBaseCardDetail/JfbBaseCardDetail.vue +517 -467
  76. package/src/components/JfbBaseCardDetail/JfbBaseCardDetailLess.less +30 -8
  77. package/src/components/JfbBaseCardDetail/JfbBaseCardDetailMixin.js +3 -195
  78. package/src/components/JfbBaseCardDetail/Mock.js +6 -0
  79. package/src/components/JfbBaseCardDetail/XdEditPwd.vue +299 -0
  80. package/src/components/JfbBaseCardDetail/XdPwPay.vue +214 -0
  81. package/src/components/JfbBaseCardDetailEntry/Api.js +58 -0
  82. package/src/components/JfbBaseCardDetailEntry/Attr.js +66 -0
  83. package/src/components/JfbBaseCardDetailEntry/JfbBaseCardDetailEntry.vue +979 -0
  84. package/src/components/JfbBaseCardDetailEntry/JfbBaseCardDetailEntryLess.less +79 -0
  85. package/src/components/JfbBaseCardDetailEntry/JfbBaseCardDetailEntryMixin.js +30 -0
  86. package/src/components/JfbBaseCardDetailEntry/Mock.js +6 -0
  87. package/src/components/JfbBaseCardDetailEntry/XdEditPwd.vue +299 -0
  88. package/src/components/JfbBaseCardDetailEntry/XdPwPay.vue +214 -0
  89. package/src/components/JfbBaseCardDisabled/Api.js +34 -0
  90. package/src/components/JfbBaseCardDisabled/Attr.js +12 -0
  91. package/src/components/JfbBaseCardDisabled/JfbBaseCardDisabled.vue +324 -0
  92. package/src/components/JfbBaseCardDisabled/JfbBaseCardDisabledLess.less +79 -0
  93. package/src/components/JfbBaseCardDisabled/JfbBaseCardDisabledMixin.js +30 -0
  94. package/src/components/JfbBaseCardDisabled/Mock.js +370 -0
  95. package/src/components/JfbBaseCardDisabledEntry/Api.js +39 -0
  96. package/src/components/JfbBaseCardDisabledEntry/Attr.js +14 -0
  97. package/src/components/JfbBaseCardDisabledEntry/JfbBaseCardDisabledEntry.vue +668 -0
  98. package/src/components/JfbBaseCardDisabledEntry/JfbBaseCardDisabledEntryLess.less +79 -0
  99. package/src/components/JfbBaseCardDisabledEntry/JfbBaseCardDisabledEntryMixin.js +30 -0
  100. package/src/components/JfbBaseCardDisabledEntry/Mock.js +226 -0
  101. package/src/components/JfbBaseCardDisabledEntry/cardListMixins.js +157 -0
  102. package/src/components/JfbBaseCardEntry/Api.js +43 -0
  103. package/src/components/JfbBaseCardEntry/Attr.js +500 -0
  104. package/src/components/JfbBaseCardEntry/JfbBaseCardEntry.vue +1471 -0
  105. package/src/components/JfbBaseCardEntry/JfbBaseCardEntryLess.less +79 -0
  106. package/src/components/JfbBaseCardEntry/JfbBaseCardEntryMixin.js +30 -0
  107. package/src/components/JfbBaseCardEntry/Mock.js +244 -0
  108. package/src/components/JfbBaseCardEntry/XdCardNew.vue +135 -0
  109. package/src/components/JfbBaseCardGive/Api.js +42 -0
  110. package/src/components/JfbBaseCardGive/Attr.js +66 -0
  111. package/src/components/JfbBaseCardGive/JfbBaseCardGive.vue +534 -0
  112. package/src/components/JfbBaseCardGive/JfbBaseCardGiveLess.less +79 -0
  113. package/src/components/JfbBaseCardGive/JfbBaseCardGiveMixin.js +30 -0
  114. package/src/components/JfbBaseCardGive/Mock.js +6 -0
  115. package/src/components/JfbBaseCardInfo/Api.js +5 -5
  116. package/src/components/JfbBaseCardInfo/Attr.js +60 -146
  117. package/src/components/JfbBaseCardInfo/JfbBaseCardInfo.vue +477 -215
  118. package/src/components/JfbBaseCardInfo/JfbBaseCardInfoLess.less +30 -8
  119. package/src/components/JfbBaseCardInfo/JfbBaseCardInfoMixin.js +3 -195
  120. package/src/components/JfbBaseCardInfo/Mock.js +23 -0
  121. package/src/components/JfbBaseCardInfoEntry/Api.js +71 -0
  122. package/src/components/JfbBaseCardInfoEntry/Attr.js +85 -0
  123. package/src/components/JfbBaseCardInfoEntry/JfbBaseCardInfoEntry.vue +864 -0
  124. package/src/components/JfbBaseCardInfoEntry/JfbBaseCardInfoEntryLess.less +79 -0
  125. package/src/components/JfbBaseCardInfoEntry/JfbBaseCardInfoEntryMixin.js +30 -0
  126. package/src/components/JfbBaseCardInfoEntry/Mock.js +122 -0
  127. package/src/components/JfbBaseCardMerge/Api.js +61 -0
  128. package/src/components/JfbBaseCardMerge/Attr.js +250 -0
  129. package/src/components/JfbBaseCardMerge/JfbBaseCardMerge.vue +317 -0
  130. package/src/components/JfbBaseCardMerge/JfbBaseCardMergeLess.less +79 -0
  131. package/src/components/JfbBaseCardMerge/JfbBaseCardMergeMixin.js +30 -0
  132. package/src/components/JfbBaseCardMerge/Mock.js +5 -0
  133. package/src/components/JfbBaseCardMergeEntry/Api.js +61 -0
  134. package/src/components/JfbBaseCardMergeEntry/Attr.js +251 -0
  135. package/src/components/JfbBaseCardMergeEntry/JfbBaseCardMergeEntry.vue +451 -0
  136. package/src/components/JfbBaseCardMergeEntry/JfbBaseCardMergeEntryLess.less +79 -0
  137. package/src/components/JfbBaseCardMergeEntry/JfbBaseCardMergeEntryMixin.js +30 -0
  138. package/src/components/JfbBaseCardMergeEntry/Mock.js +32 -0
  139. package/src/components/JfbBaseCardReceive/Api.js +32 -0
  140. package/src/components/JfbBaseCardReceive/Attr.js +28 -0
  141. package/src/components/JfbBaseCardReceive/JfbBaseCardReceive.vue +434 -0
  142. package/src/components/JfbBaseCardReceive/JfbBaseCardReceiveLess.less +79 -0
  143. package/src/components/JfbBaseCardReceive/JfbBaseCardReceiveMixin.js +30 -0
  144. package/src/components/JfbBaseCardReceive/Mock.js +7 -0
  145. package/src/components/JfbBaseCardReceiveCover/Api.js +20 -0
  146. package/src/components/JfbBaseCardReceiveCover/Attr.js +147 -0
  147. package/src/components/JfbBaseCardReceiveCover/JfbBaseCardReceiveCover.vue +218 -0
  148. package/src/components/JfbBaseCardReceiveCover/JfbBaseCardReceiveCoverLess.less +79 -0
  149. package/src/components/JfbBaseCardReceiveCover/JfbBaseCardReceiveCoverMixin.js +30 -0
  150. package/src/components/JfbBaseCardReceiveCover/Mock.js +5 -0
  151. package/src/components/JfbBaseCardShift/Api.js +17 -2
  152. package/src/components/JfbBaseCardShift/Attr.js +245 -146
  153. package/src/components/JfbBaseCardShift/JfbBaseCardShift.vue +266 -182
  154. package/src/components/JfbBaseCardShift/JfbBaseCardShiftLess.less +30 -8
  155. package/src/components/JfbBaseCardShift/JfbBaseCardShiftMixin.js +3 -195
  156. package/src/components/JfbBaseCardShift/Mock.js +21 -0
  157. package/src/components/JfbBaseCardShiftEntry/Api.js +51 -0
  158. package/src/components/JfbBaseCardShiftEntry/Attr.js +245 -0
  159. package/src/components/JfbBaseCardShiftEntry/JfbBaseCardShiftEntry.vue +627 -0
  160. package/src/components/JfbBaseCardShiftEntry/JfbBaseCardShiftEntryLess.less +79 -0
  161. package/src/components/JfbBaseCardShiftEntry/JfbBaseCardShiftEntryMixin.js +30 -0
  162. package/src/components/JfbBaseCardShiftEntry/Mock.js +6 -0
  163. package/src/components/JfbBaseCardSweepInfo/Api.js +47 -0
  164. package/src/components/JfbBaseCardSweepInfo/Attr.js +31 -0
  165. package/src/components/JfbBaseCardSweepInfo/JfbBaseCardSweepInfo.vue +392 -0
  166. package/src/components/JfbBaseCardSweepInfo/JfbBaseCardSweepInfoLess.less +79 -0
  167. package/src/components/JfbBaseCardSweepInfo/JfbBaseCardSweepInfoMixin.js +30 -0
  168. package/src/components/JfbBaseCardSweepInfo/Mock.js +19 -0
  169. package/src/components/JfbBaseCardV2/Api.js +35 -0
  170. package/src/components/JfbBaseCardV2/Attr.js +112 -0
  171. package/src/components/JfbBaseCardV2/JfbBaseCardV2.vue +432 -0
  172. package/src/components/JfbBaseCardV2/JfbBaseCardV2Less.less +79 -0
  173. package/src/components/JfbBaseCardV2/JfbBaseCardV2Mixin.js +30 -0
  174. package/src/components/JfbBaseCardV2/Mock.js +114 -0
  175. package/src/components/JfbBaseCardV3/Api.js +34 -0
  176. package/src/components/JfbBaseCardV3/Attr.js +75 -0
  177. package/src/components/JfbBaseCardV3/JfbBaseCardV3.vue +252 -0
  178. package/src/components/JfbBaseCardV3/JfbBaseCardV3Less.less +79 -0
  179. package/src/components/JfbBaseCardV3/JfbBaseCardV3Mixin.js +30 -0
  180. package/src/components/JfbBaseCardV3/Mock.js +5 -0
  181. package/src/components/JfbBaseCity/Api.js +49 -0
  182. package/src/components/JfbBaseCity/Attr.js +14 -0
  183. package/src/components/JfbBaseCity/JfbBaseCity.vue +146 -0
  184. package/src/components/JfbBaseCity/JfbBaseCityLess.less +79 -0
  185. package/src/components/JfbBaseCity/JfbBaseCityMixin.js +30 -0
  186. package/src/components/JfbBaseCity/Mock.js +5 -0
  187. package/src/components/JfbBaseCity/cityData.js +7 -0
  188. package/src/components/JfbBaseClear/Attr.js +17 -0
  189. package/src/components/JfbBaseClear/JfbBaseClear.vue +141 -0
  190. package/src/components/JfbBaseClear/JfbBaseClearLess.less +79 -0
  191. package/src/components/JfbBaseClear/JfbBaseClearMixin.js +30 -0
  192. package/src/components/JfbBaseConDialog/Api.js +66 -0
  193. package/src/components/JfbBaseConDialog/Attr.js +82 -0
  194. package/src/components/JfbBaseConDialog/JfbBaseConDialog.vue +580 -0
  195. package/src/components/JfbBaseConDialog/JfbBaseConDialogLess.less +79 -0
  196. package/src/components/JfbBaseConDialog/JfbBaseConDialogMixin.js +30 -0
  197. package/src/components/JfbBaseConDialog/Mock.js +49 -0
  198. package/src/components/JfbBaseConDialog/XdCouCardBind.vue +307 -0
  199. package/src/components/JfbBaseConList/Api.js +70 -0
  200. package/src/components/JfbBaseConList/Attr.js +171 -0
  201. package/src/components/JfbBaseConList/JfbBaseConList.vue +818 -0
  202. package/src/components/JfbBaseConList/JfbBaseConListLess.less +79 -0
  203. package/src/components/JfbBaseConList/JfbBaseConListMixin.js +30 -0
  204. package/src/components/JfbBaseConList/Mock.js +26 -0
  205. package/src/components/JfbBaseConPhone/Api.js +80 -0
  206. package/src/components/JfbBaseConPhone/Attr.js +10 -0
  207. package/src/components/JfbBaseConPhone/JfbBaseConPhone.vue +707 -0
  208. package/src/components/JfbBaseConPhone/JfbBaseConPhoneLess.less +79 -0
  209. package/src/components/JfbBaseConPhone/JfbBaseConPhoneMixin.js +30 -0
  210. package/src/components/JfbBaseConPhone/Mock.js +26 -0
  211. package/src/components/JfbBaseEntry/Api.js +14 -0
  212. package/src/components/JfbBaseEntry/Attr.js +85 -0
  213. package/src/components/JfbBaseEntry/JfbBaseEntry.vue +286 -0
  214. package/src/components/JfbBaseEntry/JfbBaseEntryLess.less +79 -0
  215. package/src/components/JfbBaseEntry/JfbBaseEntryMixin.js +30 -0
  216. package/src/components/JfbBaseEntry/Mock.js +177 -0
  217. package/src/components/JfbBaseExpressDetail/Api.js +25 -0
  218. package/src/components/JfbBaseExpressDetail/Attr.js +12 -0
  219. package/src/components/JfbBaseExpressDetail/JfbBaseExpressDetail.vue +125 -0
  220. package/src/components/JfbBaseExpressDetail/JfbBaseExpressDetailLess.less +79 -0
  221. package/src/components/JfbBaseExpressDetail/JfbBaseExpressDetailMixin.js +30 -0
  222. package/src/components/JfbBaseExpressDetail/Mock.js +5 -0
  223. package/src/components/JfbBaseExpressDetail/XdExpressTimeLine/XdExpressTimeLine.vue +310 -0
  224. package/src/components/JfbBaseFastLink/Api.js +7 -0
  225. package/src/components/JfbBaseFastLink/Attr.js +306 -0
  226. package/src/components/JfbBaseFastLink/JfbBaseFastLink.vue +292 -0
  227. package/src/components/JfbBaseFastLink/JfbBaseFastLinkLess.less +79 -0
  228. package/src/components/JfbBaseFastLink/JfbBaseFastLinkMixin.js +30 -0
  229. package/src/components/JfbBaseFastLink/Mock.js +5 -0
  230. package/src/components/JfbBaseFastLink/XdFastNav.vue +201 -0
  231. package/src/components/JfbBaseFooter/Attr.js +139 -70
  232. package/src/components/JfbBaseFooter/JfbBaseFooter.vue +93 -34
  233. package/src/components/JfbBaseFooter/JfbBaseFooterLess.less +30 -8
  234. package/src/components/JfbBaseFooter/JfbBaseFooterMixin.js +3 -195
  235. package/src/components/JfbBaseHeader/Api.js +38 -0
  236. package/src/components/JfbBaseHeader/Attr.js +372 -0
  237. package/src/components/JfbBaseHeader/JfbBaseHeader.vue +425 -0
  238. package/src/components/JfbBaseHeader/JfbBaseHeaderLess.less +79 -0
  239. package/src/components/JfbBaseHeader/JfbBaseHeaderMixin.js +30 -0
  240. package/src/components/JfbBaseHeader/Mock.js +15 -0
  241. package/src/components/JfbBaseHeaderElephant/Api.js +22 -0
  242. package/src/components/JfbBaseHeaderElephant/Attr.js +510 -0
  243. package/src/components/JfbBaseHeaderElephant/JfbBaseHeaderElephant.vue +464 -0
  244. package/src/components/JfbBaseHeaderElephant/JfbBaseHeaderElephantLess.less +79 -0
  245. package/src/components/JfbBaseHeaderElephant/JfbBaseHeaderElephantMixin.js +30 -0
  246. package/src/components/JfbBaseHeaderElephant/Mock.js +5 -0
  247. package/src/components/JfbBaseImageBlock/Attr.js +85 -0
  248. package/src/components/JfbBaseImageBlock/JfbBaseImageBlock.vue +126 -0
  249. package/src/components/JfbBaseImageBlock/JfbBaseImageBlockLess.less +79 -0
  250. package/src/components/JfbBaseImageBlock/JfbBaseImageBlockMixin.js +30 -0
  251. package/src/components/JfbBaseLogin/Api.js +30 -10
  252. package/src/components/JfbBaseLogin/Attr.js +1239 -16
  253. package/src/components/JfbBaseLogin/JfbBaseLogin.vue +1294 -554
  254. package/src/components/JfbBaseLogin/JfbBaseLoginLess.less +30 -8
  255. package/src/components/JfbBaseLogin/JfbBaseLoginMixin.js +3 -195
  256. package/src/components/JfbBaseLogin/Mock.js +17 -0
  257. package/src/components/JfbBaseLogin/privacyMixins.js +0 -0
  258. package/src/components/JfbBaseLoginForgetPwd/Api.js +36 -0
  259. package/src/components/JfbBaseLoginForgetPwd/Attr.js +61 -0
  260. package/src/components/JfbBaseLoginForgetPwd/JfbBaseLoginForgetPwd.vue +267 -0
  261. package/src/components/JfbBaseLoginForgetPwd/JfbBaseLoginForgetPwdLess.less +79 -0
  262. package/src/components/JfbBaseLoginForgetPwd/JfbBaseLoginForgetPwdMixin.js +30 -0
  263. package/src/components/JfbBaseLoginSetPwd/Api.js +40 -0
  264. package/src/components/JfbBaseLoginSetPwd/Attr.js +32 -0
  265. package/src/components/JfbBaseLoginSetPwd/JfbBaseLoginSetPwd.vue +205 -0
  266. package/src/components/JfbBaseLoginSetPwd/JfbBaseLoginSetPwdLess.less +79 -0
  267. package/src/components/JfbBaseLoginSetPwd/JfbBaseLoginSetPwdMixin.js +30 -0
  268. package/src/components/JfbBaseMapOverlay/Api.js +17 -0
  269. package/src/components/JfbBaseMapOverlay/Attr.js +14 -0
  270. package/src/components/JfbBaseMapOverlay/JfbBaseMapOverlay.vue +239 -0
  271. package/src/components/JfbBaseMapOverlay/JfbBaseMapOverlayLess.less +79 -0
  272. package/src/components/JfbBaseMapOverlay/JfbBaseMapOverlayMixin.js +30 -0
  273. package/src/components/JfbBaseMapOverlay/Mock.js +65 -0
  274. package/src/components/JfbBaseMapOverlay/XdBaiduOverlay.vue +345 -0
  275. package/src/components/JfbBaseMapOverlay/XdMapOverlay.vue +156 -0
  276. package/src/components/JfbBaseMapSearch/Api.js +15 -0
  277. package/src/components/JfbBaseMapSearch/Attr.js +14 -0
  278. package/src/components/JfbBaseMapSearch/JfbBaseMapSearch.vue +104 -0
  279. package/src/components/JfbBaseMapSearch/JfbBaseMapSearchLess.less +79 -0
  280. package/src/components/JfbBaseMapSearch/JfbBaseMapSearchMixin.js +30 -0
  281. package/src/components/JfbBaseMapSearch/MapSearchH5.vue +362 -0
  282. package/src/components/JfbBaseMapSearch/MapSearchMp.vue +164 -0
  283. package/src/components/JfbBaseMapSearch/Mock.js +5 -0
  284. package/src/components/JfbBaseMapSearch/bmap-wx.js +195 -0
  285. package/src/components/JfbBaseMergeUserCard/Api.js +32 -0
  286. package/src/components/JfbBaseMergeUserCard/Attr.js +26 -0
  287. package/src/components/JfbBaseMergeUserCard/JfbBaseMergeUserCard.vue +311 -0
  288. package/src/components/JfbBaseMergeUserCard/JfbBaseMergeUserCardLess.less +79 -0
  289. package/src/components/JfbBaseMergeUserCard/JfbBaseMergeUserCardMixin.js +30 -0
  290. package/src/components/JfbBaseMergeUserCard/Mock.js +5 -0
  291. package/src/components/JfbBaseMultipleExpress/Api.js +25 -0
  292. package/src/components/JfbBaseMultipleExpress/Attr.js +34 -0
  293. package/src/components/JfbBaseMultipleExpress/JfbBaseMultipleExpress.vue +355 -0
  294. package/src/components/JfbBaseMultipleExpress/JfbBaseMultipleExpressLess.less +79 -0
  295. package/src/components/JfbBaseMultipleExpress/JfbBaseMultipleExpressMixin.js +30 -0
  296. package/src/components/JfbBaseMultipleExpress/Mock.js +93 -0
  297. package/src/components/JfbBaseMy/Api.js +1 -46
  298. package/src/components/JfbBaseMy/Attr.js +81 -16
  299. package/src/components/JfbBaseMy/JfbBaseMy.vue +86 -39
  300. package/src/components/JfbBaseMy/JfbBaseMyLess.less +30 -8
  301. package/src/components/JfbBaseMy/JfbBaseMyMixin.js +3 -195
  302. package/src/components/JfbBaseMySetting/Api.js +43 -0
  303. package/src/components/JfbBaseMySetting/Attr.js +24 -0
  304. package/src/components/JfbBaseMySetting/JfbBaseMySetting.vue +216 -0
  305. package/src/components/JfbBaseMySetting/JfbBaseMySettingLess.less +79 -0
  306. package/src/components/JfbBaseMySetting/JfbBaseMySettingMixin.js +30 -0
  307. package/src/components/JfbBaseMySetting/Mock.js +6 -0
  308. package/src/components/JfbBaseMySetting/XdListItem.vue +135 -0
  309. package/src/components/JfbBaseNotice/Api.js +18 -0
  310. package/src/components/JfbBaseNotice/Attr.js +476 -0
  311. package/src/components/JfbBaseNotice/JfbBaseNotice.vue +560 -0
  312. package/src/components/JfbBaseNotice/JfbBaseNoticeLess.less +79 -0
  313. package/src/components/JfbBaseNotice/JfbBaseNoticeMixin.js +30 -0
  314. package/src/components/JfbBaseNotice/Mock.js +5 -0
  315. package/src/components/JfbBaseNotice/XdNoticeBar.vue +535 -0
  316. package/src/components/JfbBaseNoticeBottom/Api.js +60 -0
  317. package/src/components/JfbBaseNoticeBottom/Attr.js +106 -0
  318. package/src/components/JfbBaseNoticeBottom/JfbBaseNoticeBottom.vue +73 -0
  319. package/src/components/JfbBaseNoticeBottom/JfbBaseNoticeBottomLess.less +79 -0
  320. package/src/components/JfbBaseNoticeBottom/JfbBaseNoticeBottomMixin.js +30 -0
  321. package/src/components/JfbBaseNoticeBottom/Mock.js +5 -0
  322. package/src/components/JfbBaseNoticeTop/Api.js +60 -0
  323. package/src/components/JfbBaseNoticeTop/Attr.js +106 -0
  324. package/src/components/JfbBaseNoticeTop/JfbBaseNoticeTop.vue +106 -0
  325. package/src/components/JfbBaseNoticeTop/JfbBaseNoticeTopLess.less +79 -0
  326. package/src/components/JfbBaseNoticeTop/JfbBaseNoticeTopMixin.js +30 -0
  327. package/src/components/JfbBaseNoticeTop/Mock.js +5 -0
  328. package/src/components/JfbBaseOrderDetail/Api.js +54 -0
  329. package/src/components/JfbBaseOrderDetail/Attr.js +630 -0
  330. package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +1921 -0
  331. package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetailLess.less +79 -0
  332. package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetailMixin.js +30 -0
  333. package/src/components/JfbBaseOrderDetail/Mock.js +106 -0
  334. package/src/components/JfbBaseOrderDetail/bizMock.js +382 -0
  335. package/src/components/JfbBaseOrderList/Api.js +11 -33
  336. package/src/components/JfbBaseOrderList/Attr.js +262 -146
  337. package/src/components/JfbBaseOrderList/JfbBaseOrderList.vue +694 -212
  338. package/src/components/JfbBaseOrderList/JfbBaseOrderListLess.less +30 -8
  339. package/src/components/JfbBaseOrderList/JfbBaseOrderListMixin.js +3 -195
  340. package/src/components/JfbBaseOrderList/Mock.js +195 -0
  341. package/src/components/JfbBaseOrderList/XdTfkOrderItem.vue +267 -0
  342. package/src/components/JfbBasePay/Api.js +71 -0
  343. package/src/components/JfbBasePay/Attr.js +38 -0
  344. package/src/components/JfbBasePay/JfbBasePay.vue +642 -0
  345. package/src/components/{JfbBaseLine/JfbBaseLineLess.less → JfbBasePay/JfbBasePayLess.less} +31 -9
  346. package/src/components/JfbBasePay/JfbBasePayMixin.js +30 -0
  347. package/src/components/JfbBasePay/Mock.js +39 -0
  348. package/src/components/JfbBasePhoneCollect/Api.js +39 -0
  349. package/src/components/JfbBasePhoneCollect/Attr.js +988 -0
  350. package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollect.vue +644 -0
  351. package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollectLess.less +79 -0
  352. package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollectMixin.js +30 -0
  353. package/src/components/JfbBasePhoneLogin/Api.js +41 -0
  354. package/src/components/JfbBasePhoneLogin/Attr.js +932 -0
  355. package/src/components/JfbBasePhoneLogin/JfbBasePhoneLogin.vue +762 -0
  356. package/src/components/JfbBasePhoneLogin/JfbBasePhoneLoginLess.less +79 -0
  357. package/src/components/JfbBasePhoneLogin/JfbBasePhoneLoginMixin.js +30 -0
  358. package/src/components/JfbBasePoster/Api.js +19 -0
  359. package/src/components/JfbBasePoster/Attr.js +460 -0
  360. package/src/components/JfbBasePoster/JfbBasePoster.vue +733 -0
  361. package/src/components/JfbBasePoster/JfbBasePosterLess.less +79 -0
  362. package/src/components/JfbBasePoster/JfbBasePosterMixin.js +30 -0
  363. package/src/components/JfbBasePoster/Mock.js +5 -0
  364. package/src/components/JfbBasePoster/MoreScreen.vue +404 -0
  365. package/src/components/JfbBasePoster/XdSwiperDot.vue +234 -0
  366. package/src/components/JfbBasePosterBigSmall/Api.js +28 -0
  367. package/src/components/JfbBasePosterBigSmall/Attr.js +1046 -0
  368. package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmall.vue +886 -0
  369. package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmallLess.less +79 -0
  370. package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmallMixin.js +30 -0
  371. package/src/components/JfbBasePosterBigSmall/Mock.js +5 -0
  372. package/src/components/JfbBasePosterBigSmall/XdSwiperDot.vue +234 -0
  373. package/src/components/JfbBasePosterBigSmall/getWidthHeight.js +16 -0
  374. package/src/components/JfbBasePosterEntry/Api.js +18 -0
  375. package/src/components/JfbBasePosterEntry/Attr.js +310 -0
  376. package/src/components/JfbBasePosterEntry/JfbBasePosterEntry.vue +363 -0
  377. package/src/components/JfbBasePosterEntry/JfbBasePosterEntryLess.less +79 -0
  378. package/src/components/JfbBasePosterEntry/JfbBasePosterEntryMixin.js +30 -0
  379. package/src/components/JfbBasePosterEntry/Mock.js +5 -0
  380. package/src/components/JfbBasePosterType/Api.js +18 -0
  381. package/src/components/JfbBasePosterType/Attr.js +453 -0
  382. package/src/components/JfbBasePosterType/FourScreen.vue +575 -0
  383. package/src/components/JfbBasePosterType/JfbBasePosterType.vue +291 -0
  384. package/src/components/JfbBasePosterType/JfbBasePosterTypeLess.less +79 -0
  385. package/src/components/JfbBasePosterType/JfbBasePosterTypeMixin.js +30 -0
  386. package/src/components/JfbBasePosterType/Mock.js +5 -0
  387. package/src/components/JfbBasePosterType/XdSwiperDot.vue +234 -0
  388. package/src/components/JfbBaseRecharge/Api.js +74 -0
  389. package/src/components/JfbBaseRecharge/Attr.js +271 -0
  390. package/src/components/JfbBaseRecharge/JfbBaseRecharge.vue +369 -0
  391. package/src/components/JfbBaseRecharge/JfbBaseRechargeLess.less +79 -0
  392. package/src/components/JfbBaseRecharge/JfbBaseRechargeMixin.js +30 -0
  393. package/src/components/JfbBaseRecharge/Mock.js +5 -0
  394. package/src/components/JfbBaseRechargeNew/Api.js +35 -0
  395. package/src/components/JfbBaseRechargeNew/Attr.js +35 -0
  396. package/src/components/JfbBaseRechargeNew/JfbBaseRechargeNew.vue +283 -0
  397. package/src/components/JfbBaseRechargeNew/JfbBaseRechargeNewLess.less +79 -0
  398. package/src/components/JfbBaseRechargeNew/JfbBaseRechargeNewMixin.js +30 -0
  399. package/src/components/JfbBaseRechargeNew/Mock.js +14 -0
  400. package/src/components/JfbBaseRechargeOrder/Api.js +37 -0
  401. package/src/components/JfbBaseRechargeOrder/Attr.js +180 -0
  402. package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrder.vue +388 -0
  403. package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrderLess.less +79 -0
  404. package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrderMixin.js +30 -0
  405. package/src/components/JfbBaseRechargeOrder/Mock.js +5 -0
  406. package/src/components/JfbBaseRechargeOrderDetail/Api.js +36 -0
  407. package/src/components/JfbBaseRechargeOrderDetail/Attr.js +14 -0
  408. package/src/components/JfbBaseRechargeOrderDetail/JfbBaseRechargeOrderDetail.vue +319 -0
  409. package/src/components/JfbBaseRechargeOrderDetail/JfbBaseRechargeOrderDetailLess.less +79 -0
  410. package/src/components/JfbBaseRechargeOrderDetail/JfbBaseRechargeOrderDetailMixin.js +30 -0
  411. package/src/components/JfbBaseRechargeOrderDetail/Mock.js +5 -0
  412. package/src/components/JfbBaseRechargeSuccess/Api.js +36 -0
  413. package/src/components/JfbBaseRechargeSuccess/Attr.js +38 -0
  414. package/src/components/JfbBaseRechargeSuccess/JfbBaseRechargeSuccess.vue +207 -0
  415. package/src/components/JfbBaseRechargeSuccess/JfbBaseRechargeSuccessLess.less +79 -0
  416. package/src/components/JfbBaseRechargeSuccess/JfbBaseRechargeSuccessMixin.js +30 -0
  417. package/src/components/JfbBaseRechargeSuccess/Mock.js +5 -0
  418. package/src/components/JfbBaseSearch/Attr.js +12 -0
  419. package/src/components/JfbBaseSearch/JfbBaseSearch.vue +98 -0
  420. package/src/components/JfbBaseSearch/JfbBaseSearchLess.less +79 -0
  421. package/src/components/JfbBaseSearch/JfbBaseSearchMixin.js +30 -0
  422. package/src/components/JfbBaseSearch/XdBaiduSearch.vue +354 -0
  423. package/src/components/JfbBaseSetPwd/Attr.js +6 -147
  424. package/src/components/JfbBaseSetPwd/JfbBaseSetPwd.vue +63 -49
  425. package/src/components/JfbBaseSetPwd/JfbBaseSetPwdLess.less +30 -8
  426. package/src/components/JfbBaseSetPwd/JfbBaseSetPwdMixin.js +3 -195
  427. package/src/components/JfbBaseSuccess/Api.js +35 -0
  428. package/src/components/JfbBaseSuccess/Attr.js +328 -60
  429. package/src/components/JfbBaseSuccess/JfbBaseSuccess.vue +911 -284
  430. package/src/components/JfbBaseSuccess/JfbBaseSuccessLess.less +30 -8
  431. package/src/components/JfbBaseSuccess/JfbBaseSuccessMixin.js +3 -195
  432. package/src/components/JfbBaseSuccess/Mock.js +80 -0
  433. package/src/components/JfbBaseSweep/Attr.js +34 -0
  434. package/src/components/JfbBaseSweep/JfbBaseSweep.vue +375 -0
  435. package/src/components/JfbBaseSweep/JfbBaseSweepLess.less +79 -0
  436. package/src/components/JfbBaseSweep/JfbBaseSweepMixin.js +30 -0
  437. package/src/components/JfbBaseSweep/Mock.js +3 -0
  438. package/src/components/JfbBaseTestApi/Api.js +11 -0
  439. package/src/components/JfbBaseTestApi/JfbBaseTestApi.vue +85 -17
  440. package/src/components/JfbBaseTestApi/JfbBaseTestApiLess.less +30 -8
  441. package/src/components/JfbBaseTestApi/JfbBaseTestApiMixin.js +3 -195
  442. package/src/components/JfbBaseTestApi/Mock.js +25 -0
  443. package/src/components/JfbBaseTestBody/JfbBaseTestBody.vue +9 -6
  444. package/src/components/JfbBaseTestBody/JfbBaseTestBodyLess.less +30 -8
  445. package/src/components/JfbBaseTestBody/JfbBaseTestBodyMixin.js +3 -195
  446. package/src/components/JfbBaseTestBottom/JfbBaseTestBottom.vue +9 -6
  447. package/src/components/JfbBaseTestBottom/JfbBaseTestBottomLess.less +30 -8
  448. package/src/components/JfbBaseTestBottom/JfbBaseTestBottomMixin.js +3 -195
  449. package/src/components/JfbBaseTestNotice/Api.js +60 -0
  450. package/src/components/JfbBaseTestNotice/Attr.js +277 -0
  451. package/src/components/JfbBaseTestNotice/JfbBaseTestNotice.vue +105 -0
  452. package/src/components/JfbBaseTestNotice/JfbBaseTestNoticeLess.less +79 -0
  453. package/src/components/JfbBaseTestNotice/JfbBaseTestNoticeMixin.js +30 -0
  454. package/src/components/JfbBaseTestNotice/Mock.js +5 -0
  455. package/src/components/JfbBaseTestTop/JfbBaseTestTop.vue +18 -9
  456. package/src/components/JfbBaseTestTop/JfbBaseTestTopLess.less +30 -8
  457. package/src/components/JfbBaseTestTop/JfbBaseTestTopMixin.js +3 -195
  458. package/src/components/JfbBaseTfkCardBind/Api.js +77 -0
  459. package/src/components/JfbBaseTfkCardBind/Attr.js +728 -0
  460. package/src/components/JfbBaseTfkCardBind/JfbBaseTfkCardBind.vue +858 -0
  461. package/src/components/JfbBaseTfkCardBind/JfbBaseTfkCardBindLess.less +79 -0
  462. package/src/components/JfbBaseTfkCardBind/JfbBaseTfkCardBindMixin.js +30 -0
  463. package/src/components/JfbBaseTfkCardBind/Mock.js +23 -0
  464. package/src/components/JfbBaseTfkCardDetail/Api.js +45 -0
  465. package/src/components/JfbBaseTfkCardDetail/Attr.js +541 -0
  466. package/src/components/JfbBaseTfkCardDetail/JfbBaseTfkCardDetail.vue +734 -0
  467. package/src/components/JfbBaseTfkCardDetail/JfbBaseTfkCardDetailLess.less +79 -0
  468. package/src/components/JfbBaseTfkCardDetail/JfbBaseTfkCardDetailMixin.js +30 -0
  469. package/src/components/JfbBaseTfkCardDetail/Mock.js +155 -0
  470. package/src/components/JfbBaseTfkCardLogin/Api.js +43 -0
  471. package/src/components/JfbBaseTfkCardLogin/Attr.js +1120 -0
  472. package/src/components/JfbBaseTfkCardLogin/JfbBaseTfkCardLogin.vue +897 -0
  473. package/src/components/JfbBaseTfkCardLogin/JfbBaseTfkCardLoginLess.less +79 -0
  474. package/src/components/JfbBaseTfkCardLogin/JfbBaseTfkCardLoginMixin.js +30 -0
  475. package/src/components/JfbBaseTfkCardLogin/Mock.js +193 -0
  476. package/src/components/JfbBaseTfkCardLogin/XdCouponItem.vue +275 -0
  477. package/src/components/JfbBaseTfkCardLogin/XdNotice.vue +550 -0
  478. package/src/components/JfbBaseTfkSearch/AllList.vue +347 -0
  479. package/src/components/JfbBaseTfkSearch/Api.js +27 -0
  480. package/src/components/JfbBaseTfkSearch/Attr.js +370 -0
  481. package/src/components/JfbBaseTfkSearch/ContentCinema.vue +159 -0
  482. package/src/components/JfbBaseTfkSearch/ContentFilm.vue +230 -0
  483. package/src/components/JfbBaseTfkSearch/ContentProduct.vue +340 -0
  484. package/src/components/JfbBaseTfkSearch/ContentShop.vue +199 -0
  485. package/src/components/JfbBaseTfkSearch/CusAttr.js +213 -0
  486. package/src/components/JfbBaseTfkSearch/CustomList.vue +475 -0
  487. package/src/components/JfbBaseTfkSearch/JfbBaseTfkSearch.vue +374 -0
  488. package/src/components/JfbBaseTfkSearch/JfbBaseTfkSearchLess.less +79 -0
  489. package/src/components/JfbBaseTfkSearch/JfbBaseTfkSearchMixin.js +30 -0
  490. package/src/components/JfbBaseTfkSearch/Mock.js +225 -0
  491. package/src/components/JfbBaseTfkSearch/SkeletonCinema.vue +45 -0
  492. package/src/components/JfbBaseTfkSearch/SkeletonFilm.vue +109 -0
  493. package/src/components/JfbBaseTfkSearch/SkeletonProduct.vue +246 -0
  494. package/src/components/JfbBaseTfkSearch/SkeletonShop.vue +81 -0
  495. package/src/components/JfbBaseTfkSearch/handleKeyword.js +24 -0
  496. package/src/components/JfbBaseTfkSearch/listMixins.js +188 -0
  497. package/src/components/JfbBaseUserCenter/Api.js +60 -0
  498. package/src/components/JfbBaseUserCenter/Attr.js +531 -0
  499. package/src/components/JfbBaseUserCenter/JfbBaseUserCenter.vue +335 -0
  500. package/src/components/JfbBaseUserCenter/JfbBaseUserCenterLess.less +79 -0
  501. package/src/components/JfbBaseUserCenter/JfbBaseUserCenterMixin.js +30 -0
  502. package/src/components/JfbBaseUserCenter/Mock.js +5 -0
  503. package/src/components/JfbBaseUserInfo/Api.js +18 -0
  504. package/src/components/JfbBaseUserInfo/Attr.js +470 -0
  505. package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +426 -0
  506. package/src/components/JfbBaseUserInfo/JfbBaseUserInfoLess.less +79 -0
  507. package/src/components/JfbBaseUserInfo/JfbBaseUserInfoMixin.js +30 -0
  508. package/src/components/JfbBaseUserInfo/Mock.js +20 -0
  509. package/src/components/JfbBaseUserOrder/Api.js +19 -0
  510. package/src/components/JfbBaseUserOrder/Attr.js +551 -0
  511. package/src/components/JfbBaseUserOrder/JfbBaseUserOrder.vue +434 -0
  512. package/src/components/JfbBaseUserOrder/JfbBaseUserOrderLess.less +79 -0
  513. package/src/components/JfbBaseUserOrder/JfbBaseUserOrderMixin.js +30 -0
  514. package/src/components/JfbBaseVideo/Api.js +19 -0
  515. package/src/components/JfbBaseVideo/Attr.js +312 -0
  516. package/src/components/JfbBaseVideo/JfbBaseVideo.vue +206 -0
  517. package/src/components/JfbBaseVideo/JfbBaseVideoLess.less +79 -0
  518. package/src/components/JfbBaseVideo/JfbBaseVideoMixin.js +30 -0
  519. package/src/components/JfbBaseVideo/Mock.js +3 -0
  520. package/src/components/JfbBaseVideo/XdVideo.vue +170 -0
  521. package/src/components/JfbBaseWallet/Api.js +60 -0
  522. package/src/components/JfbBaseWallet/Attr.js +479 -0
  523. package/src/components/JfbBaseWallet/JfbBaseWallet.vue +430 -0
  524. package/src/components/JfbBaseWallet/JfbBaseWalletLess.less +79 -0
  525. package/src/components/JfbBaseWallet/JfbBaseWalletMixin.js +30 -0
  526. package/src/components/JfbBaseWallet/Mock.js +6 -0
  527. package/src/components/JfbBaseWalletDetail/Api.js +26 -0
  528. package/src/components/JfbBaseWalletDetail/Attr.js +12 -0
  529. package/src/components/JfbBaseWalletDetail/JfbBaseWalletDetail.vue +172 -0
  530. package/src/components/JfbBaseWalletDetail/JfbBaseWalletDetailLess.less +79 -0
  531. package/src/components/JfbBaseWalletDetail/JfbBaseWalletDetailMixin.js +30 -0
  532. package/src/components/JfbBaseWalletDetail/Mock.js +6 -0
  533. package/src/components/JfbBaseWalletEffective/Api.js +27 -0
  534. package/src/components/JfbBaseWalletEffective/Attr.js +15 -0
  535. package/src/components/JfbBaseWalletEffective/JfbBaseWalletEffective.vue +173 -0
  536. package/src/components/JfbBaseWalletEffective/JfbBaseWalletEffectiveLess.less +79 -0
  537. package/src/components/JfbBaseWalletEffective/JfbBaseWalletEffectiveMixin.js +30 -0
  538. package/src/components/JfbBaseWalletEffective/Mock.js +21 -0
  539. package/src/components/JfbBaseWalletIndex/Api.js +48 -0
  540. package/src/components/JfbBaseWalletIndex/Attr.js +35 -0
  541. package/src/components/JfbBaseWalletIndex/JfbBaseWalletIndex.vue +814 -0
  542. package/src/components/JfbBaseWalletIndex/JfbBaseWalletIndexLess.less +79 -0
  543. package/src/components/JfbBaseWalletIndex/JfbBaseWalletIndexMixin.js +30 -0
  544. package/src/components/JfbBaseWalletIndex/Mock.js +7 -0
  545. package/src/components/JfbBaseWalletItem/Api.js +37 -0
  546. package/src/components/JfbBaseWalletItem/Attr.js +35 -0
  547. package/src/components/JfbBaseWalletItem/JfbBaseWalletItem.vue +493 -0
  548. package/src/components/JfbBaseWalletItem/JfbBaseWalletItemLess.less +79 -0
  549. package/src/components/JfbBaseWalletItem/JfbBaseWalletItemMixin.js +30 -0
  550. package/src/components/JfbBaseWalletItem/Mock.js +7 -0
  551. package/src/components/JfbBaseWebview/Attr.js +10 -0
  552. package/src/components/JfbBaseWebview/JfbBaseWebview.vue +102 -0
  553. package/src/components/JfbBaseWebview/JfbBaseWebviewLess.less +79 -0
  554. package/src/components/JfbBaseWebview/JfbBaseWebviewMixin.js +30 -0
  555. package/src/components/JfbBaseWxAuthorize/Api.js +45 -0
  556. package/src/components/JfbBaseWxAuthorize/Attr.js +526 -0
  557. package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorize.vue +364 -0
  558. package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorizeLess.less +79 -0
  559. package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorizeMixin.js +30 -0
  560. package/src/components/JfbBaseWxAuthorize/Mock.js +46 -0
  561. package/src/components/JfbBaseWxAuthorizeError/Api.js +29 -0
  562. package/src/components/JfbBaseWxAuthorizeError/Attr.js +265 -0
  563. package/src/components/JfbBaseWxAuthorizeError/JfbBaseWxAuthorizeError.vue +153 -0
  564. package/src/components/JfbBaseWxAuthorizeError/JfbBaseWxAuthorizeErrorLess.less +79 -0
  565. package/src/components/JfbBaseWxAuthorizeError/JfbBaseWxAuthorizeErrorMixin.js +30 -0
  566. package/src/components/JfbBaseWxAuthorizeError/Mock.js +5 -0
  567. package/src/config.app.plus.js +6 -0
  568. package/src/config.h5.js +13 -0
  569. package/src/config.mp.weixin.js +13 -0
  570. package/src/config.project.js +15 -0
  571. package/src/mixins/colorCardMixins.js +122 -0
  572. package/src/mixins/componentsMixins.js +833 -0
  573. package/src/mixins/extsMixins.js +3 -0
  574. package/src/mixins/posterMixins.js +122 -0
  575. package/src/mocks.js +4 -0
  576. package/build.json.tpl +0 -103
  577. package/src/business/12121.png +0 -0
  578. package/src/business/base_download.png +0 -0
  579. package/src/business/base_icon_vip_3x.png +0 -0
  580. package/src/business/base_qr.png +0 -0
  581. package/src/business/business_store.png +0 -0
  582. package/src/components/JfbBaseCardMy/Attr.js +0 -150
  583. package/src/components/JfbBaseCardMy/JfbBaseCardMy.vue +0 -220
  584. package/src/components/JfbBaseCardMy/JfbBaseCardMyMixin.js +0 -222
  585. package/src/components/JfbBaseLine/Attr.js +0 -59
  586. package/src/components/JfbBaseLine/JfbBaseLine.vue +0 -102
  587. package/src/components/JfbBaseLine/JfbBaseLineMixin.js +0 -222
  588. /package/src/components/{JfbBaseCardMy → JfbBaseBottomNotice}/Api.js +0 -0
  589. /package/src/components/{JfbBaseCardBind → JfbBaseSweep}/Api.js +0 -0
@@ -1,408 +1,904 @@
1
1
  <template>
2
2
  <view
3
3
  class="jfb-base-card"
4
- @click="handleSelect"
5
- :class="{ editx : isEditx && active }"
4
+ @click="handleEditxSelect"
5
+ :class="{
6
+ editx: isEditx && active,
7
+ noBorder: noBorder,
8
+ }"
6
9
  >
7
10
  <!--#ifdef H5-->
8
11
  <view
9
12
  class="jfb-base-card__edit"
10
- :class="{ editx : isEditx && active }"
11
- v-if="isEditx && active"
13
+ :class="{ editx: isEditx && active }"
14
+ v-if="isEditx && active && !noBorder"
12
15
  >
13
16
  <view class="jfb-base-card__edit-icon" @click="delEdit">删除</view>
14
17
  </view>
15
18
  <!-- #endif -->
16
- <view class="jfb-base-card__body">
17
- <view class="jfb-base-card__body-cut">
18
- <view class="jfb-base-card__body-cut-item" @click="handleScan"
19
- :style="{background:cutIndex===1?$mainColor:'#fff',borderColor:$mainColor,color:cutIndex===1?'#fff':$mainColor}">
20
- <xd-font-icon icon="iconsaoma"></xd-font-icon>
21
- <view>使用扫码绑定</view>
22
- </view>
23
- <view class="jfb-base-card__body-cut-item" @click="handleToLink('/pages/cardbind/cardbind')"
24
- :style="{background:cutIndex===2?$mainColor:'#fff',borderColor:$mainColor,color:cutIndex===2?'#fff':$mainColor}">
25
- <xd-font-icon icon="iconyuechi"></xd-font-icon>
26
- <view>券号密码绑定</view>
19
+ <view :style="{paddingTop: bindCard!=='1'?'35rpx':'55rpx'}" class="jfb-base-card__body">
20
+ <view v-if="bindCard==='1'" class="jfb-base-card__body-cut">
21
+ <template v-if="isQrCode">
22
+ <view
23
+ class="jfb-base-card__body-cut-item"
24
+ @click="handleScan"
25
+ :style="{
26
+ background: cutIndex === 1 ? mainColor : '#fff',
27
+ borderColor: mainColor,
28
+ color: cutIndex === 1 ? '#fff' : mainColor,
29
+ }"
30
+ >
31
+ <xd-font-icon
32
+ :style="{marginBottom: '15rpx'}"
33
+ size="80"
34
+ icon="iconsaoma"
35
+ ></xd-font-icon>
36
+ <view>使用扫码绑定</view>
37
+ </view>
38
+ <view
39
+ class="jfb-base-card__body-cut-item"
40
+ @click="handleToLink(bindUrl)"
41
+ :style="{
42
+ background: cutIndex === 2 ? mainColor : '#fff',
43
+ borderColor: mainColor,
44
+ color: cutIndex === 2 ? '#fff' : mainColor,
45
+ }"
46
+ >
47
+ <xd-font-icon
48
+ :style="{marginBottom: '15rpx'}"
49
+ size="80"
50
+ icon="iconyuechi"
51
+ ></xd-font-icon>
52
+ <view>券号密码绑定</view>
53
+ </view>
54
+ </template>
55
+ <template v-else>
56
+ <view
57
+ class="jfb-base-card__body-cut-item one"
58
+ @click="handleToLink(bindUrl)"
59
+ :style="{
60
+ background: cutIndex === 2 ? mainColor : '#fff',
61
+ borderColor: mainColor,
62
+ color: cutIndex === 2 ? '#fff' : mainColor,
63
+ }"
64
+ >
65
+ <xd-font-icon size="40" icon="iconyuechi"></xd-font-icon>
66
+ <view>券号密码绑定</view>
67
+ </view>
68
+ </template>
69
+ </view>
70
+ <!--notice-->
71
+ <view class="jfb-base-card__body-line" v-if="!notice"></view>
72
+ <view :style="{marginTop: bindCard!=='1'?'0rpx':'30rpx'}" class="jfb-base-card__body-notice" v-if="notice">
73
+ <view
74
+ class="jfb-base-card__body-notice-in"
75
+ :style="{ background: noticeBackgroundColor }"
76
+ >
77
+ <xd-notice-bar
78
+ style="width: 100%"
79
+ :showIcon="true"
80
+ :scrollable="true"
81
+ :speed="20"
82
+ :fontSize="24"
83
+ :height="70"
84
+ :is-no-bgc="false"
85
+ >
86
+ <template>
87
+ <view v-html="notice"></view>
88
+ </template>
89
+ </xd-notice-bar>
27
90
  </view>
28
91
  </view>
29
- <view class="jfb-base-card__body-line"></view>
92
+ <view class="jfb-base-card__body-notice" v-if="noticeStatus && isPreview && notice === ''">
93
+ <view
94
+ class="jfb-base-card__body-notice-in"
95
+ :style="{
96
+ background: noticeBackgroundColor,
97
+ textAlign: 'center',
98
+ color: dangerColor,
99
+ fontSize: 26 + 'rpx',
100
+ }">该组件未配置数据,因此改模块在正式环境将不显示</view>
101
+ </view>
102
+ <!--notice end-->
30
103
  <view class="jfb-base-card__body-tab">
31
- <view @click="tabIndex=1"
32
- :style="{color:tabIndex===1?'#fff':'#B8B7BE',background:tabIndex===1?$mainColor:'#fff'}">
33
- 已绑定票券
34
- </view>
35
- <view @click="tabIndex=2"
36
- :style="{color:tabIndex===2?'#fff':'#B8B7BE',background:tabIndex===2?$mainColor:'#fff'}">
37
- 可转换票券
38
- </view>
104
+ <view
105
+ @click="tabIndex = 1"
106
+ :style="{
107
+ color: tabIndex === 1 ? '#fff' : '#B8B7BE',
108
+ background: tabIndex === 1 ? mainColor : '#fff',
109
+ }"
110
+ >已绑定票券</view>
111
+ <view
112
+ v-if="changeList.length > 0"
113
+ @click="tabIndex = 2"
114
+ :style="{
115
+ color: tabIndex === 2 ? '#fff' : '#B8B7BE',
116
+ background: tabIndex === 2 ? mainColor : '#fff',
117
+ }"
118
+ >可转换票券</view>
119
+ <view class="debuger" v-if="cardList.length === 0" @click="openDebugger(true)" style="opacity: 0">debuger</view>
39
120
  </view>
40
- <view class="jfb-base-card__body-tips" :style="{color:$mainColor}" v-if="tabIndex===2">
41
- *目前仅支持电影票兑换券进行转换
121
+ <view
122
+ class="jfb-base-card__body-tips"
123
+ :style="{ color: warningColor }"
124
+ v-if="tabIndex === 2"
125
+ >* 目前仅支持电影票兑换券进行转换</view>
126
+ <view v-if="loadingCardList">
127
+ <xd-card-v2-skelton v-for="i in 3" :key="i"></xd-card-v2-skelton>
42
128
  </view>
43
- <view class="jfb-base-card__body-card">
44
- <view v-for="(item,index) in showList" :key="index" @click="handleBindLogin(item)"
45
- class="jfb-base-card__body-card-item">
46
- <view class="jfb-base-card__body-card-item-left">
47
- <xd-font-icon size="55" icon="iconyouhuiquan"></xd-font-icon>
48
- <view>{{tabIndex===1?'登录':'转换'}}</view>
49
- </view>
50
- <view class="jfb-base-card__body-card-item-right">
51
- <view class="jfb-base-card__body-card-item-right-top">
52
- <view>
53
- <xd-font-icon icon="iconkaquan" size="30" style="margin-right: 10rpx"></xd-font-icon>
54
- <view>{{item.card_type_name}}</view>
129
+ <template v-else>
130
+ <view
131
+ v-if="tabIndex === 2 || tabIndex === 1"
132
+ class="jfb-base-card__body-card"
133
+ >
134
+ <template v-if="cardLayout === '1'">
135
+ <view
136
+ v-for="(item, index) in showList"
137
+ :key="index"
138
+ @click="handleBindLogin(item)"
139
+ class="jfb-base-card__body-card-item"
140
+ :style="{
141
+ backgroundColor:(item['is_login'] === 'Y'? mainBorderColor : '#fff'),
142
+ border:`1px solid ${item['is_login'] === 'Y'? mainSubBorderColor:'#eeeeee'}`
143
+ }"
144
+ >
145
+ <view class="jfb-base-card__body-card-item-left">
146
+ <xd-font-icon
147
+ size="100"
148
+ :color="mainColor"
149
+ :icon="item['is_login'] === 'Y'?'iconkaquandengluchenggong':'iconyouhuiquan1-011'"
150
+ ></xd-font-icon>
151
+ <view
152
+ class="login_style"
153
+ :style="{
154
+ backgroundColor:item['is_login'] === 'Y'?mainBorderColor:(login_text_bg_color||'#fff'),
155
+ fontSize: login_text_size + 'rpx',
156
+ color:item['is_login'] === 'Y'?mainColor:login_text_color,
157
+ borderRadius: login_text_radius + 'rpx'
158
+ }"
159
+ >{{ tabIndex === 1 ? (item['is_login'] === 'Y'? logged_name : login_name) : "转换" }}</view>
55
160
  </view>
56
- <view>
57
- <view>ID:{{item.card_number}}</view>
58
- <view>有效期至:{{item.end_time}}</view>
59
- </view>
60
- </view>
61
- <view class="jfb-base-card__body-card-item-right-bottom">
62
- <view class="jfb-base-card__body-card-item-right-bottom-info">
63
- <view class="jfb-base-card__body-card-item-right-bottom-info-residue">
64
- 剩余点数:{{item.card_point}}
161
+ <view
162
+ class="jfb-base-card__body-card-item-right"
163
+ :style="{borderColor: item['is_login'] === 'Y'? mainSubBorderColor:'#eeeeee'}"
164
+ >
165
+ <view
166
+ class="jfb-base-card__body-card-item-right-top"
167
+ :style="{borderColor: item['is_login'] === 'Y'? mainSubBorderColor:'#eeeeee'}"
168
+ >
169
+ <view>
170
+ <xd-font-icon
171
+ icon="iconkaquan"
172
+ size="38"
173
+ :style="{marginRight: '18rpx'}"
174
+ :color="mainColor"
175
+ ></xd-font-icon>
176
+ <view>{{ item.card_type_name }}</view>
177
+ </view>
178
+ <view>
179
+ <view>{{ item.card_number }}{{showIndex?(':' + index):''}}</view>
180
+ <view>有效期至:{{ item.end_time }}</view>
181
+ </view>
65
182
  </view>
66
- <view class="jfb-base-card__body-card-item-right-bottom-info-deduction">
67
- 购买其他物品可抵:{{item.other_card_point}}
183
+ <view class="jfb-base-card__body-card-item-right-bottom">
184
+ <view class="jfb-base-card__body-card-item-right-bottom-info">
185
+ <view class="jfb-base-card__body-card-item-right-bottom-info-residue">剩余{{ item.unit }}数:{{ item.card_point }}{{ item.unit }}</view>
186
+ <view
187
+ v-if="item.other_card_point && item.card_point_type !== 1"
188
+ class="jfb-base-card__body-card-item-right-bottom-info-deduction"
189
+ >购买其他物品可抵:{{ item.other_card_point }}</view>
190
+ </view>
191
+ <view @click.stop="toDetail(item)" :style="lookStyle">{{look_name}}</view>
68
192
  </view>
69
193
  </view>
70
- <view @click.stop="toDetail(item)" :style="{background:$mainColor}">查看</view>
71
194
  </view>
72
- </view>
195
+ </template>
196
+ <template v-else>
197
+ <xd-card-v2
198
+ :login-name="login_name"
199
+ :logged-name="logged_name"
200
+ :look-name="look_name"
201
+ v-for="(item, index) in showList"
202
+ :mainColor="mainColor"
203
+ :key="index"
204
+ :cardInfo="item"
205
+ :tabIndex="tabIndex"
206
+ :lookStyle="lookStyle"
207
+ :login-style="loginStyle"
208
+ @toDetail="toDetail(item)"
209
+ @bindLogin="handleBindLogin(item)">
210
+ </xd-card-v2>
211
+ </template>
73
212
  </view>
213
+ </template>
214
+ <view v-if="showDisabled==='Y'" @click="handleToDisabled" class="jfb-base-card__body-disabled">
215
+ 已失效票券>>>
74
216
  </view>
75
- <view class="jfb-base-card__body-disabled">
76
- 失效票券
77
- </view>
78
- <view class="jfb-base-card__body-card">
79
- <view v-for="(item,index) in disableList" :key="index" class="jfb-base-card__body-card-item">
80
- <view class="jfb-base-card__body-card-item-left">
81
- <xd-font-icon color="#F0F0F0" size="55" icon="iconyouhuiquan"></xd-font-icon>
82
- <view>{{tabIndex===1?'登录':'转换'}}</view>
83
- </view>
84
- <view class="jfb-base-card__body-card-item-right">
85
- <view class="jfb-base-card__body-card-item-right-top">
86
- <view>
87
- <xd-font-icon color="#B8B7BE" icon="iconkaquan" size="30" style="margin-right: 10rpx"></xd-font-icon>
88
- <view>{{item.card_type_name}}</view>
89
- </view>
90
- <view>
91
- <view>ID:{{item.card_number}}</view>
92
- <view>有效期至:{{item.end_time}}</view>
93
- </view>
94
- </view>
95
- <view class="jfb-base-card__body-card-item-right-bottom">
96
- <view class="jfb-base-card__body-card-item-right-bottom-info">
97
- <view class="jfb-base-card__body-card-item-right-bottom-info-residue">
98
- 剩余点数:{{item.card_point}}
99
- </view>
100
- <view class="jfb-base-card__body-card-item-right-bottom-info-deduction">
101
- 购买其他物品可抵:{{item.other_card_point}}
102
- </view>
103
- </view>
104
- <view :style="{background:'#E5E5E5'}">查看</view>
105
- </view>
106
- </view>
217
+ </view>
218
+ <view class="jfb-base-card__body-dialog" v-if="dialogEvent">
219
+ <view class="jfb-base-card__body-dialog-content">
220
+ <image
221
+ class="jfb-base-card__body-dialog-content-img"
222
+ alt=""
223
+ :src="popup"
224
+ ></image>
225
+ <xd-font-icon
226
+ icon="icondanchuangguanbi_xian"
227
+ width="52"
228
+ height="52"
229
+ size="26"
230
+ color="#fff"
231
+ class="jfb-base-card__body-dialog-content-close"
232
+ @click="dialogEvent = false"
233
+ ></xd-font-icon>
107
234
  </view>
108
235
  </view>
109
236
  </view>
110
- </view>
111
237
  </template>
112
238
 
113
239
  <script>
114
- import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
115
- import XdButton from "@/components/XdButton/XdButton";
116
- import {jfbRootExec} from "@/utils/xd.event";
117
- import JfbBaseCardMixin from "./JfbBaseCardMixin";
118
- import {mapState, mapActions} from 'vuex'
119
-
120
- export default {
121
- name: "JfbBaseCard",
122
- components: {
123
- XdFontIcon,
124
- XdButton
240
+ import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
241
+ import XdButton from "@/components/XdButton/XdButton";
242
+ import XdCardV2 from "@/components/XdCardV2/XdCardV2";
243
+ import XdCardV2Skelton from "@/components/XdCardV2/XdCardV2Skeleton"
244
+ import { jfbRootExec } from "@/utils/xd.event";
245
+ import JfbBaseCardMixin from "./JfbBaseCardMixin";
246
+ import componentsMixins from "@/mixins/componentsMixins";
247
+ import extsMixins from "@/mixins/extsMixins";
248
+ import openDebuggerMixins from "@/mixins/openDebuggerMixins";
249
+ import { mapState, mapActions } from "vuex";
250
+ import { getContainerPropsValue, isWechat,isQrCode } from "@/utils/xd.base";
251
+ import XdNoticeBar from "@/components/XdNoticeBar/XdNoticeBar";
252
+ import { Base64 } from "js-base64";
253
+ const Color = require("color");
254
+
255
+ export default {
256
+ name: "JfbBaseCard",
257
+ components: {
258
+ XdFontIcon,
259
+ XdButton,
260
+ XdNoticeBar,
261
+ XdCardV2,
262
+ XdCardV2Skelton
263
+ },
264
+ mixins: [componentsMixins, extsMixins, JfbBaseCardMixin,openDebuggerMixins],
265
+ computed: {
266
+ ...mapState({
267
+ jwxSDK: (state) => state.jwxSDK,
268
+ jfbAuthorize: (state) => state.jfbAuthorize,
269
+ }),
270
+
271
+
272
+
273
+ //布局2特殊样式,布局1在行内样式
274
+ loginStyle(){
275
+ let style = { backgroundColor: '#FFFFFF'};
276
+ if(this.login_text_size) style['fontSize'] = this.login_text_size + 'rpx';
277
+ if(this.login_text_color) style['color'] = this.login_text_color;
278
+ if(this.login_text_bg_color) style['backgroundColor'] = this.login_text_bg_color;
279
+ if(this.login_text_radius) style['borderRadius'] = this.login_text_radius + 'rpx'
280
+ if(this.cardLayout === '2') return style;
281
+ return this.styleObjectToString(style);
125
282
  },
126
- mixins: [
127
- JfbBaseCardMixin
128
- ],
129
- computed: {
130
- ...mapState({
131
- jwxSDK: state => state.jwxSDK
283
+
284
+ lookStyle(){
285
+ let style = { backgroundColor: this.cardLayout === '2'? '' : this.mainColor};
286
+ if(this.look_text_size) style['fontSize'] = this.look_text_size + 'rpx';
287
+ if(this.look_text_color) style['color'] = this.look_text_color;
288
+ if(this.look_text_bg_color) style['backgroundColor'] = this.look_text_bg_color;
289
+ if(this.look_text_radius) style['borderRadius'] = this.look_text_radius + 'rpx';
290
+ if(this.cardLayout === '2') return style;
291
+ return this.styleObjectToString(style);
292
+ }
293
+ },
294
+ watch: {
295
+ tabIndex(newVal) {
296
+ let data = [];
297
+ if (newVal === 1) {
298
+ this.showList = this.getPageCardContent(this.cardList);
299
+ data = this.$xdUniHelper.cloneDeep(this.cardList)
300
+ } else {
301
+ this.showList = this.getPageCardContent(this.changeList);
302
+ data = this.$xdUniHelper.cloneDeep(this.changeList)
303
+ }
304
+ this.$nextTick(()=>{
305
+ this.hasContent = data.length > this.pagesLimit;
306
+ this.offsetIndex = 1;
132
307
  })
308
+
133
309
  },
134
- watch: {
135
- tabIndex(newVal, oldVal) {
136
- if (newVal === 1) {
137
- this.showList = this.cardList
138
- } else {
139
- this.showList = this.changeList
140
- }
141
- }
310
+ container(value,oldValue) {
311
+ if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
312
+ if (this.$configProject['isPreview']) this.init(value)
142
313
  },
143
- data() {
144
- return {
145
- cutIndex: 1,
146
- tabIndex: 1,
147
- isBack: null, //是否使用返回键
148
- cardList: [],
149
- showList: [],
150
- changeList: [], disableList: [],
151
- inCallback: null, //内部跳转地址
152
- }
314
+ },
315
+ data() {
316
+ return {
317
+ options: {},
318
+ inCallbackUrlOrg:'',//是否带有回调地址
319
+ mainBorderColor:'',
320
+ mainSubBorderColor:'',
321
+
322
+ //提示文案
323
+ noticeBackgroundColor: "",
324
+ notice: "",
325
+ isPreview: false,
326
+ noticeStatus: false,
327
+
328
+ isQrCode: true,
329
+ cutIndex: 1,
330
+ tabIndex: 1,
331
+ offsetIndex:0,//第几页
332
+ pagesLimit:20,//每页显示条数
333
+ cardSrcollLoading: false,//滚动获取数据中
334
+ hasContent:true, //是否有下一页
335
+ isBack: null, //是否使用返回键
336
+ cardList: [], //可用卡卡列表
337
+ showList: [], //当前显示卡列表
338
+ changeList: [], //可转化卡列表
339
+ disableList: [], //不可用卡列表
340
+ inCallback: null, //内部跳转地址
341
+ loadingCardList: true,
342
+ showIndex: false,
343
+
344
+ //页面跳转地址
345
+ logged_name: '',
346
+ login_name:'',//登录文案
347
+ changeUrl: "",
348
+ bindUrl: "",
349
+ detailUrl: "",
350
+ confirmUrl: "",
351
+ allEntryPath: "", //综合福利入口页
352
+ disabledUrl: "",
353
+ cardLayout: "1", //票券布局
354
+ bindCard: '1',
355
+
356
+ //样式
357
+ look_name:'',
358
+ login_text_size: "",
359
+ login_text_color: "",
360
+ login_text_bg_color: "",
361
+ login_text_radius: "",
362
+ look_text_size: "",
363
+ look_text_color: "",
364
+ look_text_bg_color: "",
365
+ look_text_radius: "",
366
+
367
+ showDisabled: 'Y',
368
+
369
+ dialogEvent: false,
370
+ // is_show_change: false,
371
+ popup: "https://img.zcool.cn/community/01784158abe781a801219c77e981ee.jpg?x-oss-process=image/auto-orient,1/resize,m_lfit,w_1280,limit_1/sharpen,100",
372
+ };
373
+ },
374
+ created() {
375
+ this.init(this.container);
376
+ this.noticeBackgroundColor = Color(this.warningColor).alpha(0.2).toString();
377
+ this.mainBorderColor = Color(this.mainColor).alpha(0.05).toString();
378
+ this.mainSubBorderColor = Color(this.mainColor).alpha(0.1).toString();
379
+ this.isPreview = this.$configProject.isPreview;
380
+ this.isQrCode = isQrCode(this);
381
+
382
+ //#ifdef H5
383
+ if (!this.$configProject.isPreview) {
384
+ jfbRootExec("getH5WxAuthorize", {
385
+ vm: this,
386
+ data: {site_id: "wx_pub"},
387
+ })
388
+ .then(res => {
389
+ console.log(0)
390
+ })
391
+ .catch(error=>{
392
+ this.$xdAlert({
393
+ content: error,
394
+ });
395
+ })
396
+ }
397
+ // #endif
398
+
399
+ },
400
+ methods: {
401
+ init(container){
402
+ //设置
403
+ this.cardLayout = getContainerPropsValue(container,"content.cardLayout","1");
404
+ this.bindCard = getContainerPropsValue(container,"content.bindCard","1");
405
+ this.changeUrl = getContainerPropsValue(container,"content.change_url",{value: ""}).value;
406
+ this.disabledUrl = getContainerPropsValue(container,"content.disabled_url",{value: ""}).value;
407
+ this.bindUrl = getContainerPropsValue(container,"content.bind_url",{value: ""}).value;
408
+ this.detailUrl = getContainerPropsValue(container,"content.detail_url",{value: ""}).value;
409
+ this.confirmUrl = getContainerPropsValue(container,"content.confirm_url",{value: ""}).value;
410
+ this.allEntryPath = getContainerPropsValue(container,"content.allEntryPath",{value: ""}).value;
411
+
412
+ //登录样式
413
+ this.login_name = getContainerPropsValue(container, "content.login_name", "登录");
414
+ this.login_text_size = getContainerPropsValue(container, 'content.login_text_size', 28);
415
+ this.login_text_color = getContainerPropsValue(container, 'content.login_text_color', this.cardLayout==='2'? '#fff':'#333');
416
+ this.login_text_bg_color = getContainerPropsValue(container, 'content.login_text_bg_color', this.cardLayout === '2'? this.mainColor:'');
417
+ this.login_text_radius = getContainerPropsValue(container, 'content.login_text_radius', '20');
418
+ this.logged_name = getContainerPropsValue(container, 'content.logged_name', '已登录');
419
+
420
+
421
+ //查看样式
422
+ this.look_name = getContainerPropsValue(container, 'content.look_name', '查看');
423
+ this.look_text_size = getContainerPropsValue(container, 'content.look_text_size', 24);
424
+ this.look_text_color = getContainerPropsValue(container, 'content.look_text_color', this.cardLayout==='2'? '#333':'#fff');
425
+ this.look_text_bg_color = getContainerPropsValue(container, 'content.look_text_bg_color', this.cardLayout === '2'? '' :this.mainColor);
426
+ this.look_text_radius = getContainerPropsValue(container, 'content.look_text_radius', '20');
153
427
  },
154
- created() {
155
- let {inCallback} = this.$route.query;
156
- if (inCallback) inCallback = decodeURIComponent(inCallback);
157
- this.inCallback = inCallback || this.settings.index;
428
+
429
+ handleToLink(path) {
430
+ path = this.getUrlCallback(path);
431
+ this.$xdUniHelper.navigateTo({
432
+ url: path,
433
+ });
158
434
  },
159
- methods: {
160
- handleToLink(path) {
161
- this.$xdUniHelper.navigateTo({
162
- url: path
435
+
436
+ getContent() {
437
+ jfbRootExec("getListBaseNewsContent", {
438
+ vm: this,
439
+ data: {
440
+ page_id: this.pageAttr["page_id"], //页面ID
441
+ container_id: this.containerId, //组件ID
442
+ limit: 1,
443
+ },
444
+ })
445
+ .then((res) => {
446
+ if (res.list.length > 0) {
447
+ if(res.list && res.list.length > 0) {
448
+ this.notice = this.$xdUniHelper.filterHtml(res.list[0].content);
449
+ }
450
+ this.noticeStatus = true;
451
+ }
163
452
  })
164
- },
165
-
166
- /**
167
- * @description 扫码绑定
168
- */
169
- handleScan() {
170
- console.log(getApp().globalData, 'pageAtrr')
171
- jfbRootExec('getH5WxAuthorize', {
453
+ .catch((error) => {
454
+ console.error(error);
455
+ });
456
+ },
457
+
458
+
459
+ /**
460
+ * @description 扫码绑定
461
+ */
462
+ handleScan() {
463
+ try {
464
+ //#ifdef H5
465
+ if (this.jwxSDK !== null) {
466
+ this.jwxSDK.scanQRCode({
467
+ needResult: 1,
468
+ scanType: ["qrCode"],
469
+ success: (res) => {
470
+ let path = this.getUrlCallback(`${this.confirmUrl}?qrcode=${encodeURIComponent(res.resultStr)}`)
471
+ this.$xdUniHelper.navigateTo({
472
+ url: path,
473
+ });
474
+ },
475
+ fail: (error) => {
476
+ if (typeof error === 'string') error = {error: error}
477
+ if (window['jwxJfbSDKParams']) error = Object.assign(error, window['jwxJfbSDKParams'])
478
+ this.$xdLog.setARMSError(error)
479
+ }
480
+ });
481
+ }
482
+ //#endif
483
+ //#ifdef MP-WEIXIN
484
+ uni.scanCode({
485
+ scanType: ["qrCode"],
486
+ success: (res) => {
487
+ let path = this.getUrlCallback(`${this.confirmUrl}?qrcode=${encodeURIComponent(res.result)}`)
488
+ this.$xdUniHelper.navigateTo({
489
+ url: path,
490
+ });
491
+ },
492
+ fail: (error) => {
493
+ this.$xdLog.setARMSError(error)
494
+ },
495
+ });
496
+ //#endif
497
+ } catch (err) {
498
+ this.$xdLog.setARMSError(err)
499
+ }
500
+ },
501
+
502
+ handleToDisabled() {
503
+ this.$xdUniHelper.navigateTo({
504
+ url: `${this.disabledUrl}`,
505
+ });
506
+ },
507
+
508
+ /**
509
+ * @description 已绑定卡登录
510
+ * @param item
511
+ */
512
+ handleBindLogin(item) {
513
+ if (this.tabIndex === 1) {
514
+
515
+ //无效卡
516
+ if (item["is_valid"] !== "Y") {
517
+ console.log(
518
+ item,
519
+ item["is_valid"],
520
+ item["is_valid"] !== "Y",
521
+ "itemitem"
522
+ );
523
+ return;
524
+ }
525
+ this.$xdShowLoading({});
526
+ jfbRootExec("loginCardBind", {
172
527
  vm: this,
173
- data: {url: window.location.href, partner_id: 161, site_id: 'wx_pub'}
174
- }).then(res => {
175
- if (this.jwxSDK !== null) {
176
- console.log(this.jwxSDK, 'this.jwxSDK')
177
- //todo
178
- }
528
+ data: { card_number: item["card_number"] },
179
529
  })
180
- },
181
- /**
182
- * @description 已绑定卡登录
183
- * @param item
184
- */
185
- handleBindLogin(item) {
186
- if (this.tabIndex === 1) {
187
- console.log('bindCardLogin', this.inCallback)
188
-
189
- //无效卡
190
- if (item['is_valid'] !== 'Y') {
191
- console.log(item, item['is_valid'], item['is_valide'] !== 'Y', 'itemitem')
192
- return
193
- }
194
- this.$xdShowLoading({});
195
- jfbRootExec('loginCardBind', {
196
- vm: this,
197
- data: {card_number: item['card_number']}
198
- }).then(res => {
530
+ .then((res) => {
531
+ console.log(res);
199
532
  this.$xdHideLoading();
200
- this.$xdUniHelper.redirectTo({
201
- url: this.inCallback
202
- });
533
+ //#ifdef MP-WEIXIN
534
+ if (this.jfbAuthorize !== null) {
535
+ this.jfbAuthorize.setCardToken(res);
536
+ // this.jfbAuthorize.setToken("card", res["card_token"], {
537
+ // expires: res["card_expire_in"] / 60 / 60,
538
+ // });
539
+ }
540
+ //#endif
541
+
542
+ if (this.$configProject.isPreview) {
543
+ console.log("handleBindLogin", "预览模式不跳转", this.inCallback);
544
+ } else {
545
+ this.$xdUniHelper.redirectTo({
546
+ url: this.inCallback,
547
+ });
548
+ }
203
549
  })
204
- .catch(res => {
205
- this.$xdHideLoading();
206
- })
207
- } else {
208
- this.$xdUniHelper.navigateTo({
209
- url: `/pages/change/change?card_number=${item['card_number']}`
210
- }, false);
550
+ .catch((res) => {
551
+ this.$xdHideLoading();
552
+ });
553
+ } else {
554
+ this.$xdUniHelper.navigateTo(
555
+ {
556
+ url: `${this.changeUrl}?card_number=${item["card_number"]}`,
557
+ },
558
+ false
559
+ );
560
+ }
561
+ },
562
+ toDetail(item) {
563
+ this.$xdUniHelper.navigateTo(
564
+ {
565
+ url: `${this.detailUrl}?card_number=${item["card_number"]}`,
566
+ },
567
+ false
568
+ );
569
+ },
570
+
571
+ onJfbLoad(options) {
572
+ this.options = options;
573
+ if(options['x-test'] === 'jfb-console') this.showIndex = true;
574
+ let { inCallback } = options;
575
+ if(!inCallback) this.$storage.remove("inCallback"); //作为入口
576
+ else {
577
+ this.$storage.set("inCallback", inCallback);
578
+ try{
579
+ inCallback = Base64.decode(inCallback);
580
+ this.inCallbackUrlOrg = options.inCallback;
581
+ }catch (e){
582
+ inCallback = null;
211
583
  }
584
+ }
212
585
 
213
- },
214
- toDetail(item) {
215
- this.$xdUniHelper.navigateTo({
216
- url: `/pages/carddetail/carddetail?card_number=${item['card_number']}`
217
- }, false);
218
- },
219
- onJfbLoad(options) {
220
- console.log(this.jwxSDK, '000000')
221
- jfbRootExec('getListCardBind', {
222
- vm: this,
223
- data: {}
224
- }).then((res) => {
225
- this.cardList = res.list.filter((item) => {
226
- if (item['is_valide'] !== 'N' && item['card_point'] !== 0) {
227
- return true
228
- }
229
- return false
586
+ //登录成功调整地址优先级
587
+ this.inCallback = inCallback || this.allEntryPath || this.settings.index;
588
+ this.getContent();
589
+
590
+ this.getCardList(options);
591
+ },
592
+
593
+ getCardList(options) {
594
+ let params = {is_all: 'Y'};
595
+ if(options['jfb_business_code']) {
596
+ params['card_business_code'] = options['jfb_business_code'];
597
+ }
598
+ this.$xdShowLoading({});
599
+ jfbRootExec("getListCardBind", {
600
+ vm: this,
601
+ data: params
602
+ })
603
+ .then((res) => {
604
+ this.loadingCardList = false;
605
+ this.showDisabled = res.is_show_invalid_card_entrance;
606
+ res.list = res.list.map((item) => {
607
+ return {
608
+ ...item,
609
+ card_point: this.$xdUniHelper.divisionFloatNumber(
610
+ item.card_point,
611
+ 100
612
+ ),
613
+ other_card_point: this.$xdUniHelper.divisionFloatNumber(
614
+ item.other_card_point,
615
+ 100
616
+ ),
617
+ };
230
618
  });
619
+ this.cardList = res.list.filter((item,index) => {
620
+ return item["is_valid"] === "Y";
621
+ }).map((item,index)=>{
622
+ item['index'] = index;
623
+ return item
624
+ });
625
+ console.warn(`cardList:${this.cardList.length}`)
231
626
  this.disableList = res.list.filter((item) => {
232
- if (item['is_valide'] === 'N' || item['card_point'] === 0) {
233
- return true
234
- }
235
- return false
627
+ return item["is_valid"] === "N";
236
628
  });
237
- this.changeList = this.cardList.filter(item => {
238
- if (item['is_exchange'] === 'Y') {
239
- return true
240
- }
241
- return false
629
+ console.warn(`disableList:${this.disableList.length}`)
630
+ this.changeList = this.cardList.filter((item) => {
631
+ return item["is_exchange"] === "Y";
242
632
  })
633
+ console.warn(`changeList:${this.changeList.length}`)
634
+ this.showList = this.getPageCardContent(this.cardList);
635
+ if(this.hasContent) this.offsetIndex++;
636
+ this.$xdHideLoading();
637
+ })
638
+ .catch(() => this.$xdHideLoading());
639
+ },
243
640
 
244
- this.showList = this.cardList
245
- }).catch()
246
- },
247
- onJfbScroll(options) {
248
- console.log('event.onJfbScroll', options)
249
- },
250
- onJfbReachBottom(options) {
251
- console.log('event.onJfbReachBottom', options)
252
- },
253
- onJfbShow(options) {
254
- console.log('event.onJfbShow', options)
255
- },
256
- onJfbHide(options) {
257
- console.log('event.onJfbHide', options)
258
- },
259
- onJfbBack(options) {
260
- console.log('event.onJfbBack', options)
261
- },
262
- }
263
- }
641
+ getPageCardContent(orgData){
642
+ let newData = this.$xdUniHelper.cloneDeep(orgData);
643
+ return newData.slice(0,this.pagesLimit);
644
+ },
645
+
646
+ onJfbShow(options) {
647
+ this.offsetIndex = 0;
648
+ this.hasContent = true;
649
+ this.tabIndex = 1;
650
+ this.disableList = [];
651
+ this.changeList=[];
652
+ this.showList = [];
653
+ this.onJfbLoad(options);
654
+ },
655
+
656
+ onJfbReachBottom(){
657
+ //加载在不处理,无下一页不处理,当前也为0不处理
658
+ if(this.cardSrcollLoading || !this.hasContent || this.offsetIndex === 0) return;
659
+ this.cardSrcollLoading = true;
660
+ this.$xdShowLoading({});
661
+ let data = [];
662
+ if(this.tabIndex === 1) data = this.$xdUniHelper.cloneDeep(this.cardList);
663
+ if(this.tabIndex === 2) data = this.$xdUniHelper.cloneDeep(this.changeList);
664
+ setTimeout(()=>{
665
+ this.$xdHideLoading();
666
+ let cardComputedList = data.slice(
667
+ this.offsetIndex*this.pagesLimit,
668
+ this.offsetIndex*this.pagesLimit + this.pagesLimit
669
+ );
670
+ if(cardComputedList.length < this.pagesLimit) {
671
+ this.hasContent = false;
672
+ }
673
+ this.showList = (this.showList||[]).concat(cardComputedList);
674
+ this.cardSrcollLoading = false;
675
+ this.offsetIndex++;
676
+ },500)
677
+ },
678
+
679
+ onJfbUpdate(data) {
680
+ this.getContent();
681
+ },
264
682
 
683
+ onJfbBack(options) {
684
+ this.$xdUniHelper.navigateBack();
685
+ },
686
+ },
687
+ };
265
688
  </script>
266
689
 
267
690
  <style scoped lang="less">
268
- @import "./JfbBaseCardLess.less";
691
+ @import "./JfbBaseCardLess.less";
692
+
693
+ .jfb-base-card {
694
+ border: 1px dashed rgba(0, 0, 0, 0);
695
+ box-sizing: border-box;
269
696
 
270
- .jfb-base-card {
271
- border: 1px dashed rgba(0, 0, 0, 0);
272
- box-sizing: border-box;
697
+ &__body {
698
+ padding: unit(55, rpx) unit(35, rpx);
699
+ color: #333;
273
700
 
274
- &__body {
275
- padding: unit(55, rpx) unit(35, rpx);
701
+ &-dialog {
702
+ position: fixed;
703
+ top: 0;
704
+ bottom: 0;
705
+ right: 0;
706
+ left: 0;
707
+ z-index: 9999;
708
+ background: rgba(0, 0, 0, 0.4);
276
709
 
277
- &-cut {
710
+ &-content {
278
711
  display: flex;
712
+ width: 100%;
713
+ height: 100%;
714
+ flex-direction: column;
715
+ justify-content: center;
279
716
  align-items: center;
280
- justify-content: space-between;
281
-
282
- &-item {
283
- border: unit(6, rpx) solid;
284
- font-size: unit(36, rpx);
285
- color: #FE7A63FF;
286
- border-radius: unit(16, rpx);
287
- width: unit(308, rpx);
288
- height: unit(182, rpx);
289
- display: flex;
290
- flex-direction: column;
717
+
718
+ &-close {
719
+ margin-top: unit(20, rpx);
720
+ width: unit(52 / @scale, rpx);
721
+ height: unit(52 / @scale, rpx);
722
+ border: unit(5, rpx) solid #fff;
723
+ border-radius: 50%;
724
+ overflow: hidden;
725
+ }
726
+
727
+ &-img {
728
+ width: unit(680, rpx);
729
+ height: 80%;
730
+ border-radius: unit(20, rpx);
731
+ }
732
+ }
733
+ }
734
+
735
+ &-cut {
736
+ display: flex;
737
+ align-items: center;
738
+ justify-content: space-between;
739
+
740
+ &-item {
741
+ border: unit(6, rpx) solid;
742
+ font-size: unit(36, rpx);
743
+ color: #fe7a63ff;
744
+ border-radius: unit(16, rpx);
745
+ width: unit(308, rpx);
746
+ height: unit(182, rpx);
747
+ display: flex;
748
+ flex-direction: column;
749
+ align-items: center;
750
+ justify-content: center;
751
+
752
+ &.one {
753
+ width: 100%;
754
+ flex-direction: row;
755
+ height: unit(100, rpx);
291
756
  align-items: center;
292
757
  justify-content: center;
758
+
759
+ & > view {
760
+ font-size: unit(36, rpx);
761
+ margin-left: unit(10, rpx);
762
+ }
293
763
  }
294
764
  }
765
+ }
295
766
 
296
- &-line {
297
- width: 100%;
298
- height: unit(4, rpx);
299
- background: #F9F9F9;
300
- margin: unit(50, rpx) 0;
301
- }
767
+ &-line {
768
+ width: 120%;
769
+ height: 1px;
770
+ background: #eee;
771
+ margin: unit(60, rpx) unit(-35, rpx) 0 unit(-35, rpx);
772
+ }
302
773
 
303
- &-tab {
774
+ &-notice {
775
+ width: 100%;
776
+ margin-top: unit(30, rpx);
777
+ height: unit(80, rpx);
778
+ position: relative;
779
+ &-in {
780
+ position: absolute;
781
+ left: unit(-30, rpx);
782
+ top: unit(0, rpx);
783
+ right: unit(-30, rpx);
784
+ bottom: 0;
304
785
  display: flex;
786
+ padding: 0 unit(30, rpx);
787
+ overflow: hidden;
305
788
  align-items: center;
306
- font-size: unit(28, rpx);
307
- margin-bottom: unit(46, rpx);
308
-
309
- & > view {
310
- width: unit(214, rpx);
311
- height: unit(60, rpx);
312
- text-align: center;
313
- line-height: unit(60, rpx);
314
- margin-right: unit(50, rpx);
315
- border-radius: unit(30, rpx);
316
- }
317
789
  }
318
790
 
319
- &-tips {
320
- font-size: unit(20, rpx);
321
- margin-bottom: unit(46, rpx);
791
+ }
792
+
793
+ &-tab {
794
+ display: flex;
795
+ align-items: center;
796
+ font-size: unit(28, rpx);
797
+ margin-bottom: unit(46, rpx);
798
+ margin-top: unit(46, rpx);
799
+
800
+ & > view {
801
+ // width: unit(214, rpx);
802
+ // height: unit(60, rpx);
803
+ padding: unit(5, rpx) unit(22, rpx);
804
+ text-align: center;
805
+ line-height: unit(60, rpx);
806
+ margin-right: unit(30, rpx);
807
+ border-radius: unit(60, rpx);
322
808
  }
809
+ }
810
+
811
+ &-tips {
812
+ font-size: unit(20, rpx);
813
+ margin-bottom: unit(46, rpx);
814
+ }
815
+
816
+ &-card {
817
+ &-item {
818
+ display: flex;
819
+ align-items: center;
820
+ justify-content: flex-start;
821
+ border: unit(2, rpx) solid #eeeeee;
822
+ border-radius: unit(20, rpx);
823
+ margin-bottom: unit(30, rpx);
824
+ background: #fff;
323
825
 
324
- &-card {
325
- &-item {
826
+ &-left {
827
+ width: unit(200, rpx);
326
828
  display: flex;
829
+ flex-direction: column;
327
830
  align-items: center;
328
- justify-content: flex-start;
329
- border: unit(2, rpx) solid #EEEEEEFF;
330
- border-radius: unit(20, rpx);
331
- margin-bottom: unit(30, rpx);
332
-
333
- &-left {
334
- width: unit(200, rpx);
335
- display: flex;
336
- flex-direction: column;
337
- align-items: center;
338
- justify-content: center;
339
- font-size: unit(24, rpx);
831
+ justify-content: center;
832
+ font-size: unit(24, rpx);
833
+ .login_style{
834
+ min-width: 80rpx;
835
+ padding: 4rpx 16rpx;
836
+ text-align: center;
340
837
  }
838
+ }
341
839
 
342
- &-right {
343
- flex: 1;
344
- border-left: unit(2, rpx) solid #EEEEEEFF;
840
+ &-right {
841
+ flex: 1;
842
+ border-left: unit(2, rpx) solid #eeeeee;
345
843
 
346
- &-top {
347
- border-bottom: unit(2, rpx) solid #EEEEEEFF;
348
- padding: unit(30, rpx);
844
+ &-top {
845
+ border-bottom: unit(2, rpx) solid #eeeeee;
846
+ padding: unit(30, rpx) unit(20, rpx);
349
847
 
350
- & > view:nth-child(1) {
351
- display: flex;
352
- font-size: unit(28, rpx);
353
- margin-bottom: unit(20, rpx);
354
- }
848
+ & > view:nth-child(1) {
849
+ display: flex;
850
+ font-size: unit(28, rpx);
851
+ margin-bottom: unit(18, rpx);
852
+ }
355
853
 
356
- & > view:nth-child(2) {
357
- /*display: flex;*/
358
- /*align-items: center;*/
359
- font-size: unit(18, rpx);
360
- color: #777777;
854
+ & > view:nth-child(2) {
855
+ font-size: unit(24, rpx);
856
+ color: #666;
361
857
 
362
- & > view:nth-child(1) {
363
- margin-right: unit(30, rpx);
364
- }
858
+ & > view:nth-child(1) {
859
+ margin-right: unit(30, rpx);
365
860
  }
366
861
  }
862
+ }
367
863
 
368
- &-bottom {
369
- display: flex;
370
- justify-content: space-between;
371
- align-items: center;
372
- padding: unit(30, rpx);
373
-
374
- &-info {
375
- &-residue {
376
- font-size: unit(24, rpx);
377
- margin-bottom: unit(8, rpx);
378
- }
379
-
380
- &-deduction {
381
- font-size: unit(18, rpx);
382
- color: #777777;
383
- }
864
+ &-bottom {
865
+ display: flex;
866
+ justify-content: space-between;
867
+ align-items: center;
868
+ padding: unit(20, rpx) unit(20, rpx);
869
+
870
+ &-info {
871
+ &-residue {
872
+ font-size: unit(24, rpx);
873
+ margin-bottom: unit(8, rpx);
384
874
  }
385
875
 
386
- & > view:nth-child(2) {
387
- width: unit(80, rpx);
388
- height: unit(40, rpx);
389
- border-radius: unit(20, rpx);
390
- font-size: unit(22, rpx);
391
- color: #fff;
392
- text-align: center;
393
- line-height: unit(40, rpx);
876
+ &-deduction {
877
+ font-size: unit(24, rpx);
878
+ color: #666;
394
879
  }
395
880
  }
396
- }
397
881
 
882
+ & > view:nth-child(2) {
883
+ min-width: unit(80, rpx);
884
+ height: unit(40, rpx);
885
+ border-radius: unit(40, rpx);
886
+ font-size: unit(22, rpx);
887
+ color: #fff;
888
+ text-align: center;
889
+ line-height: unit(40, rpx);
890
+ padding: unit(4, rpx) unit(16, rpx);
891
+ }
892
+ }
398
893
  }
399
894
  }
895
+ }
400
896
 
401
- &-disabled {
402
- font-size: unit(28, rpx);
403
- color: #B8B7BE;
404
- margin-bottom: unit(30, rpx);
405
- }
897
+ &-disabled {
898
+ font-size: unit(28, rpx);
899
+ color: #b8b7be;
900
+ margin-bottom: unit(30, rpx);
406
901
  }
407
902
  }
903
+ }
408
904
  </style>