index.vue 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402
  1. <template style="background-color: red">
  2. <div
  3. style="
  4. height: 100vh;
  5. background: linear-gradient(216deg, #fe854c 0%, #ff9a5a 100%);
  6. box-sizing: border-box;
  7. overflow: scroll;
  8. "
  9. >
  10. <div
  11. class="first2"
  12. :style="{
  13. background: 'url(https://file.rongcyl.cn/festatic/bkm/first2/bg.png)',
  14. height: 'calc(100vh - 160rpx)',
  15. 'background-repeat': 'no-repeat',
  16. 'background-position': 'center center',
  17. 'background-size': 'contain',
  18. 'padding-top': safeAreaTop,
  19. 'box-sizing': 'border-box',
  20. overflow: 'scroll',
  21. 'padding-bottom': '160rpx',
  22. }"
  23. >
  24. <div class="text-white bold text-center mt-2">FIRST赏详情</div>
  25. <div class="card relative">
  26. <div class="flex pt-3 px-3">
  27. <img
  28. src="https://fudaanfang.oss-cn-hangzhou.aliyuncs.com/festatic/bkm/card.png"
  29. style="width: 168rpx; height: 169rpx; border-radius: 8px"
  30. />
  31. <div class="flex-1 pl-2">
  32. <div class="" style="font-weight: 900">宝可梦日版PSA10变装皮来咯</div>
  33. <div class="flex justify-between">
  34. <div>
  35. <span class="bold" style="color: #ff2c43; font-size: 24rpx">¥</span>
  36. <span class="bold" style="color: #ff2c43; font-size: 38rpx">9</span>
  37. <span class="bold" style="color: #ff2c43; font-size: 28rpx">.9</span>
  38. <span style="color: #4e504f; font-size: 14px">/张明信片</span>
  39. </div>
  40. <div class="pt-2">
  41. <img
  42. src="https://fudaanfang.oss-cn-hangzhou.aliyuncs.com/festatic/bkm/first2/rule.png"
  43. style="width: 134rpx; height: 48rpx"
  44. />
  45. </div>
  46. </div>
  47. <div class="flex justify-between">
  48. <div>
  49. <img
  50. src="https://fudaanfang.oss-cn-hangzhou.aliyuncs.com/festatic/bkm/item.png"
  51. style="width: 40rpx; height: 40rpx; border-radius: 50%; display: inline-block; border: 1px solid #fff"
  52. />
  53. <img
  54. src="https://fudaanfang.oss-cn-hangzhou.aliyuncs.com/festatic/bkm/item.png"
  55. class="relative right-2"
  56. style="width: 40rpx; height: 40rpx; border-radius: 50%; display: inline-block; border: 1px solid #fff"
  57. />
  58. <img
  59. src="https://fudaanfang.oss-cn-hangzhou.aliyuncs.com/festatic/bkm/item.png"
  60. class="relative right-4"
  61. style="width: 40rpx; height: 40rpx; border-radius: 50%; display: inline-block; border: 1px solid #fff"
  62. />
  63. <img
  64. src="https://fudaanfang.oss-cn-hangzhou.aliyuncs.com/festatic/bkm/item.png"
  65. class="relative right-6"
  66. style="width: 40rpx; height: 40rpx; border-radius: 50%; display: inline-block; border: 1px solid #fff"
  67. />
  68. <img
  69. src="https://fudaanfang.oss-cn-hangzhou.aliyuncs.com/festatic/bkm/item.png"
  70. class="relative right-8"
  71. style="width: 40rpx; height: 40rpx; border-radius: 50%; display: inline-block; border: 1px solid #fff"
  72. />
  73. </div>
  74. <div class="flex items-center">
  75. <img
  76. src="https://fudaanfang.oss-cn-hangzhou.aliyuncs.com/festatic/bkm/first2/hot.png"
  77. class="relative right-2"
  78. style="width: 32rpx; height: 32rpx; display: inline-block"
  79. />
  80. <span style="color: #fc5b20" class="fs11">2025</span>
  81. </div>
  82. </div>
  83. </div>
  84. </div>
  85. <div
  86. class="absolute left-0 right-0 bottom-6 mx-auto"
  87. style="
  88. width: 670rpx;
  89. height: 128rpx;
  90. background: url(https://fudaanfang.oss-cn-hangzhou.aliyuncs.com/festatic/bkm/first2/notice_c.png) no-repeat
  91. center center;
  92. background-size: cover;
  93. "
  94. >
  95. <img
  96. src="https://fudaanfang.oss-cn-hangzhou.aliyuncs.com/festatic/bkm/first2/notice.png"
  97. class="absolute top-2 left-2"
  98. style="width: 106rpx; height: 28rpx"
  99. />
  100. <div class="text-white fs12 mt-6 px-2">
  101. 购买须知购买须知购买须知购买须知购买须知购买须知购买须知购买须知购买须知购买须知购买须知购买须知。
  102. </div>
  103. </div>
  104. <div
  105. class="absolute left-0 right-0 bottom-1 mx-auto"
  106. style="
  107. width: 690rpx;
  108. height: 12px;
  109. background: #4f5150;
  110. box-shadow: inset 0px 4px 4px 0px rgba(0, 0, 0, 0.8);
  111. border-radius: 22px 22px 22px 22px;
  112. opacity: 1;
  113. "
  114. >
  115. <div
  116. class="absolute top-1 mx-auto"
  117. style="
  118. left: 10rpx;
  119. right: 10rpx;
  120. width: 670rpx;
  121. height: 890rpx;
  122. background: linear-gradient(180deg, #ccd3d9 0%, #ffffff 5%);
  123. border-radius: 0px 0px 0px 0px;
  124. opacity: 1;
  125. "
  126. >
  127. <div class="flex justify-around mt-4">
  128. <img
  129. src="https://file.rongcyl.cn/festatic/bkm/first2/t1.png"
  130. @click="tabIndex = 1"
  131. style="width: 126rpx; height: 32rpx"
  132. />
  133. <img
  134. src="https://file.rongcyl.cn/festatic/bkm/first2/t2.png"
  135. @click="tabIndex = 2"
  136. style="width: 126rpx; height: 32rpx"
  137. />
  138. <img
  139. src="https://file.rongcyl.cn/festatic/bkm/first2/t3.png"
  140. @click="tabIndex = 3"
  141. style="width: 126rpx; height: 32rpx"
  142. />
  143. </div>
  144. <div class="flex flex-wrap justify-between" style="padding: 20rpx 16rpx" v-if="tabIndex == 1">
  145. <div class="flex items-center justify-center c1">
  146. <img src="https://file.rongcyl.cn/festatic/bkm/first2/0.png" style="width: 24rpx; height: 24rpx" />
  147. </div>
  148. <div class="flex items-center justify-center c1">
  149. <img src="https://file.rongcyl.cn/festatic/bkm/first2/5.png" style="width: 24rpx; height: 24rpx" />
  150. </div>
  151. <div class="flex items-center justify-center c1">
  152. <img src="https://file.rongcyl.cn/festatic/bkm/first2/999.png" style="width: 75rpx; height: 24rpx" />
  153. </div>
  154. <div class="flex items-center justify-center c1">
  155. <img src="https://file.rongcyl.cn/festatic/bkm/first2/999.png" style="width: 75rpx; height: 24rpx" />
  156. </div>
  157. <div class="flex items-center justify-center c1">
  158. <!-- <img src="https://file.rongcyl.cn/festatic/bkm/first2/0.png" style="width: 24rpx; height: 24rpx" /> -->
  159. </div>
  160. <div class="flex items-center justify-center c1">
  161. <img src="https://file.rongcyl.cn/festatic/bkm/first2/999.png" style="width: 75rpx; height: 24rpx" />
  162. </div>
  163. <!-- 2 -->
  164. <div class="flex items-center justify-center c1">
  165. <img src="https://file.rongcyl.cn/festatic/bkm/first2/1.png" style="width: 24rpx; height: 24rpx" />
  166. </div>
  167. <div class="flex items-center justify-center c1">
  168. <img src="https://file.rongcyl.cn/festatic/bkm/first2/6.png" style="width: 24rpx; height: 24rpx" />
  169. </div>
  170. <div class="flex items-center justify-center c1">
  171. <img src="https://file.rongcyl.cn/festatic/bkm/first2/999.png" style="width: 75rpx; height: 24rpx" />
  172. </div>
  173. <div class="flex items-center justify-center c1">
  174. <img src="https://file.rongcyl.cn/festatic/bkm/first2/999.png" style="width: 75rpx; height: 24rpx" />
  175. </div>
  176. <div class="flex items-center justify-center c1">
  177. <img src="https://file.rongcyl.cn/festatic/bkm/first2/gift_a.png" style="width: 60rpx; height: 72rpx" />
  178. </div>
  179. <div class="flex items-center justify-center c1">
  180. <img src="https://file.rongcyl.cn/festatic/bkm/first2/999.png" style="width: 75rpx; height: 24rpx" />
  181. </div>
  182. <!-- 3 -->
  183. <div class="flex items-center justify-center c1">
  184. <img src="https://file.rongcyl.cn/festatic/bkm/first2/2.png" style="width: 24rpx; height: 24rpx" />
  185. </div>
  186. <div class="flex items-center justify-center c1">
  187. <img src="https://file.rongcyl.cn/festatic/bkm/first2/7.png" style="width: 24rpx; height: 24rpx" />
  188. </div>
  189. <div class="flex items-center justify-center c1">
  190. <img src="https://file.rongcyl.cn/festatic/bkm/first2/999.png" style="width: 75rpx; height: 24rpx" />
  191. </div>
  192. <div class="flex items-center justify-center c1">
  193. <img src="https://file.rongcyl.cn/festatic/bkm/first2/999.png" style="width: 75rpx; height: 24rpx" />
  194. </div>
  195. <div class="flex items-center justify-center c2">
  196. <img src="https://file.rongcyl.cn/festatic/bkm/first2/gift.png" style="width: 76rpx; height: 76rpx" />
  197. </div>
  198. <div class="flex items-center justify-center c1">
  199. <img src="https://file.rongcyl.cn/festatic/bkm/first2/999.png" style="width: 75rpx; height: 24rpx" />
  200. </div>
  201. <!-- 4 -->
  202. <div class="flex items-center justify-center c1">
  203. <img src="https://file.rongcyl.cn/festatic/bkm/first2/3.png" style="width: 24rpx; height: 24rpx" />
  204. </div>
  205. <div class="flex items-center justify-center c1">
  206. <img src="https://file.rongcyl.cn/festatic/bkm/first2/8.png" style="width: 24rpx; height: 24rpx" />
  207. </div>
  208. <div class="flex items-center justify-center c1">
  209. <img src="https://file.rongcyl.cn/festatic/bkm/first2/999.png" style="width: 75rpx; height: 24rpx" />
  210. </div>
  211. <div class="flex items-center justify-center c1">
  212. <img src="https://file.rongcyl.cn/festatic/bkm/first2/999.png" style="width: 75rpx; height: 24rpx" />
  213. </div>
  214. <div class="flex items-center justify-center c2">
  215. <img src="https://file.rongcyl.cn/festatic/bkm/first2/lock.png" style="width: 60rpx; height: 60rpx" />
  216. </div>
  217. <div class="flex items-center justify-center c1">
  218. <img src="https://file.rongcyl.cn/festatic/bkm/first2/999.png" style="width: 75rpx; height: 24rpx" />
  219. </div>
  220. <!-- 5 -->
  221. <div class="flex items-center justify-center c1">
  222. <img src="https://file.rongcyl.cn/festatic/bkm/first2/4.png" style="width: 24rpx; height: 24rpx" />
  223. </div>
  224. <div class="flex items-center justify-center c1">
  225. <img src="https://file.rongcyl.cn/festatic/bkm/first2/9.png" style="width: 24rpx; height: 24rpx" />
  226. </div>
  227. <div class="flex items-center justify-center c1">
  228. <img src="https://file.rongcyl.cn/festatic/bkm/first2/999.png" style="width: 75rpx; height: 24rpx" />
  229. </div>
  230. <div class="flex items-center justify-center c1">
  231. <img src="https://file.rongcyl.cn/festatic/bkm/first2/999.png" style="width: 75rpx; height: 24rpx" />
  232. </div>
  233. <div class="flex items-center justify-center c1">
  234. <img src="https://file.rongcyl.cn/festatic/bkm/first2/999.png" style="width: 75rpx; height: 24rpx" />
  235. </div>
  236. <div class="flex items-center justify-center c1">
  237. <img src="https://file.rongcyl.cn/festatic/bkm/first2/999.png" style="width: 75rpx; height: 24rpx" />
  238. </div>
  239. </div>
  240. <div class="pt-4" v-if="tabIndex == 2">
  241. <Title title="LAST赏" />
  242. <div class="flex pl-3 pt-3 mb-3" style="background-color: #f6f0e9">
  243. <div
  244. v-for="item in 3"
  245. class="mr-2"
  246. style="width: 168rpx; background-color: #f9f6f2; border-radius: 4px; margin-bottom: 10px"
  247. >
  248. <img
  249. src="https://file.rongcyl.cn/festatic/bkm/card.png"
  250. style="width: 144rpx; height: 144rpx; border-radius: 5px; margin: auto"
  251. />
  252. <div class="fs13 pl-2">冲四层闯…</div>
  253. <div style="color: #ea6636" class="pl-2">
  254. <span class="fs11">参考价</span>
  255. <span class="fs14 bold">990.5</span>
  256. </div>
  257. </div>
  258. </div>
  259. <Title title="FIRST赏" />
  260. <div class="flex pl-3 pt-3 mb-3" style="background-color: #f6f0e9">
  261. <div
  262. v-for="item in 3"
  263. class="mr-2"
  264. style="width: 168rpx; background-color: #f9f6f2; border-radius: 4px; margin-bottom: 10px"
  265. >
  266. <img
  267. src="https://file.rongcyl.cn/festatic/bkm/card.png"
  268. style="width: 144rpx; height: 144rpx; border-radius: 5px; margin: auto"
  269. />
  270. <div class="fs13 pl-2">冲四层闯…</div>
  271. <div style="color: #ea6636" class="pl-2">
  272. <span class="fs11">参考价</span>
  273. <span class="fs14 bold">990.5</span>
  274. </div>
  275. </div>
  276. </div>
  277. </div>
  278. <div class="flex flex-wrap justify-between" style="padding: 20rpx 16rpx" v-if="tabIndex == 3">3</div>
  279. <img
  280. src="https://file.rongcyl.cn/festatic/bkm/first2/dots.png"
  281. class="absolute mx-auto inline-block left-0 right-0"
  282. style="width: 612rpx; height: 24rpx; bottom: -12rpx"
  283. />
  284. </div>
  285. </div>
  286. </div>
  287. <div class="fixed right-2 bottom-20" style="height: 460rpx">
  288. <img
  289. src="https://file.rongcyl.cn/festatic/bkm/first2/fu.png"
  290. style="width: 88rpx; height: 88rpx; margin-bottom: 24rpx"
  291. />
  292. <img
  293. src="https://file.rongcyl.cn/festatic/bkm/first2/bag.png"
  294. style="width: 88rpx; height: 88rpx; margin-bottom: 24rpx"
  295. />
  296. <img
  297. src="https://file.rongcyl.cn/festatic/bkm/first2/refresh.png"
  298. style="width: 88rpx; height: 88rpx; margin-bottom: 24rpx"
  299. />
  300. <img
  301. src="https://file.rongcyl.cn/festatic/bkm/first2/share.png"
  302. style="width: 88rpx; height: 88rpx; margin-bottom: 24rpx"
  303. />
  304. </div>
  305. <div class="buy items-center">
  306. <div class="pica ml-2" style="margin-top: -38rpx">
  307. <img src="https://file.rongcyl.cn/festatic/bkm/first2/pica.png" class="w-full h-full" />
  308. </div>
  309. <div class="flex-1 text-white fs12 ml12 relative bottom-3 pl-3">
  310. <span class="inline-block">已选99个 合计:</span>
  311. <span class="inline-block" style="color: #ea6636">
  312. <span class="bold">¥</span>
  313. <span class="fs18 bold">999.5</span>
  314. </span>
  315. </div>
  316. <img src="https://file.rongcyl.cn/festatic/bkm/first2/bug.png" class="b_btn relative bottom-3 right-2" />
  317. </div>
  318. </div>
  319. </div>
  320. </template>
  321. <script>
  322. import Title from './title.vue'
  323. export default {
  324. data() {
  325. return {
  326. safeAreaTop: '0px',
  327. tabIndex: 2,
  328. }
  329. },
  330. components: { Title },
  331. mounted() {
  332. this.getSafeAreaTop()
  333. },
  334. methods: {
  335. getSafeAreaTop() {
  336. wx.getSystemInfo({
  337. success: res => {
  338. this.safeAreaTop = res.safeArea.top + 'px'
  339. },
  340. })
  341. },
  342. },
  343. }
  344. </script>
  345. <style scoped lang="scss">
  346. .first2 {
  347. padding-top: v-bind(safeAreaBottom);
  348. color: v-bind(color);
  349. .card {
  350. width: 710rpx;
  351. margin: auto;
  352. background-color: #fff;
  353. border-radius: 10px;
  354. height: 400rpx;
  355. margin-top: 18px;
  356. }
  357. .c1 {
  358. background-image: url(https://file.rongcyl.cn/festatic/bkm/first2/ca.png);
  359. width: 96rpx;
  360. height: 128rpx;
  361. background-repeat: no-repeat;
  362. background-position: center center;
  363. background-size: contain;
  364. margin-bottom: 14rpx;
  365. }
  366. .c2 {
  367. background-image: url(https://file.rongcyl.cn/festatic/bkm/first2/cg.png);
  368. width: 96rpx;
  369. height: 128rpx;
  370. background-repeat: no-repeat;
  371. background-position: center center;
  372. background-size: contain;
  373. margin-bottom: 14rpx;
  374. }
  375. .buy {
  376. position: fixed;
  377. left: 0;
  378. right: 0;
  379. bottom: 0;
  380. width: 750rpx;
  381. height: 160rpx;
  382. background: #000000;
  383. opacity: 1;
  384. display: flex;
  385. .pica {
  386. width: 88rpx;
  387. height: 88rpx;
  388. }
  389. .b_btn {
  390. width: 232rpx;
  391. height: 76rpx;
  392. }
  393. }
  394. }
  395. </style>