home.wxss 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330
  1. @charset "UTF-8";
  2. /**
  3. * 这里是uni-app内置的常用样式变量
  4. *
  5. * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
  6. * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
  7. *
  8. */
  9. /**
  10. * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
  11. *
  12. * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
  13. */
  14. /* 颜色变量 */
  15. /* 行为相关颜色 */
  16. /* 文字基本颜色 */
  17. /* 背景颜色 */
  18. /* 边框颜色 */
  19. /* 尺寸变量 */
  20. /* 文字尺寸 */
  21. /* 图片尺寸 */
  22. /* Border Radius */
  23. /* 水平间距 */
  24. /* 垂直间距 */
  25. /* 透明度 */
  26. /* 文章场景相关 */
  27. .home.data-v-04c1b8d2 {
  28. height: 100%;
  29. }
  30. .top-list.data-v-04c1b8d2 {
  31. padding: 30rpx;
  32. padding-top: 0;
  33. box-sizing: border-box;
  34. width: 100%;
  35. background-color: #FFFFFF;
  36. position: relative;
  37. }
  38. .top-list .topbar-slot.data-v-04c1b8d2 {
  39. z-index: 1;
  40. -webkit-align-self: center;
  41. align-self: center;
  42. display: -webkit-box;
  43. display: -webkit-flex;
  44. display: flex;
  45. -webkit-box-pack: center;
  46. -webkit-justify-content: center;
  47. justify-content: center;
  48. }
  49. .top-list .background-img.data-v-04c1b8d2 {
  50. position: absolute;
  51. top: 0;
  52. left: 0;
  53. }
  54. .top-list .swiper-box.data-v-04c1b8d2 {
  55. width: 690rpx;
  56. height: 342rpx;
  57. overflow: hidden;
  58. }
  59. .top-list .swiper-box .image.data-v-04c1b8d2 {
  60. width: 100%;
  61. height: 100%;
  62. border-radius: 10px;
  63. }
  64. .top-list .eat-box.data-v-04c1b8d2 {
  65. margin-top: 30rpx;
  66. display: -webkit-box;
  67. display: -webkit-flex;
  68. display: flex;
  69. -webkit-box-pack: justify;
  70. -webkit-justify-content: space-between;
  71. justify-content: space-between;
  72. }
  73. .top-list .eat-box .eat.data-v-04c1b8d2 {
  74. width: 158rpx;
  75. height: 240rpx;
  76. position: relative;
  77. }
  78. .top-list .eat-box .eat .img.data-v-04c1b8d2 {
  79. width: 100%;
  80. height: 100%;
  81. }
  82. .top-list .eat-box .eat .text-box.data-v-04c1b8d2 {
  83. display: -webkit-box;
  84. display: -webkit-flex;
  85. display: flex;
  86. -webkit-box-orient: vertical;
  87. -webkit-box-direction: normal;
  88. -webkit-flex-direction: column;
  89. flex-direction: column;
  90. -webkit-box-pack: center;
  91. -webkit-justify-content: center;
  92. justify-content: center;
  93. -webkit-box-align: center;
  94. -webkit-align-items: center;
  95. align-items: center;
  96. position: absolute;
  97. bottom: 10rpx;
  98. left: 50%;
  99. width: 100%;
  100. -webkit-transform: translateX(-50%);
  101. transform: translateX(-50%);
  102. }
  103. .top-list .eat-box .eat .text-box .text-1.data-v-04c1b8d2 {
  104. font-size: 24rpx;
  105. color: #0F0404;
  106. text-align: center;
  107. }
  108. .top-list .eat-box .eat .text-box .text-2.data-v-04c1b8d2 {
  109. margin-top: 5rpx;
  110. font-size: 20rpx;
  111. color: #FE3232;
  112. text-align: center;
  113. }
  114. .top-list .eat-box .eat .text-box .text-3.data-v-04c1b8d2 {
  115. font-size: 20rpx;
  116. color: #666666;
  117. text-align: center;
  118. }
  119. .top-list .menu-box.data-v-04c1b8d2 {
  120. display: -webkit-box;
  121. display: -webkit-flex;
  122. display: flex;
  123. -webkit-box-pack: start;
  124. -webkit-justify-content: flex-start;
  125. justify-content: flex-start;
  126. -webkit-flex-wrap: wrap;
  127. flex-wrap: wrap;
  128. margin: 0 -10rpx;
  129. }
  130. .top-list .menu-box .menu.data-v-04c1b8d2 {
  131. width: 20%;
  132. padding: 0 10rpx;
  133. box-sizing: border-box;
  134. margin-top: 40rpx;
  135. display: -webkit-box;
  136. display: -webkit-flex;
  137. display: flex;
  138. -webkit-box-orient: vertical;
  139. -webkit-box-direction: normal;
  140. -webkit-flex-direction: column;
  141. flex-direction: column;
  142. -webkit-box-pack: justify;
  143. -webkit-justify-content: space-between;
  144. justify-content: space-between;
  145. -webkit-box-align: center;
  146. -webkit-align-items: center;
  147. align-items: center;
  148. }
  149. .top-list .menu-box .menu .img.data-v-04c1b8d2 {
  150. -webkit-flex-shrink: 0;
  151. flex-shrink: 0;
  152. width: 83rpx;
  153. height: 83rpx;
  154. border-radius: 50%;
  155. }
  156. .top-list .menu-box .menu .text-1.data-v-04c1b8d2 {
  157. margin-top: 10rpx;
  158. font-size: 24rpx;
  159. color: #0F0404;
  160. text-align: center;
  161. overflow: hidden;
  162. text-overflow: ellipsis;
  163. white-space: nowrap;
  164. }
  165. .top-list .menu-box .menu .text-2.data-v-04c1b8d2 {
  166. font-size: 20rpx;
  167. color: #666666;
  168. text-align: center;
  169. overflow: hidden;
  170. text-overflow: ellipsis;
  171. white-space: nowrap;
  172. }
  173. .bottom-ad.data-v-04c1b8d2 {
  174. margin-top: -15rpx;
  175. position: relative;
  176. }
  177. .bottom-ad.data-v-04c1b8d2:nth-child(2) {
  178. margin-top: 20rpx;
  179. }
  180. .bottom-ad text.data-v-04c1b8d2 {
  181. position: absolute;
  182. top: 104rpx;
  183. left: 220rpx;
  184. padding: 10rpx 15rpx;
  185. background: #FFE1D9;
  186. font-size: 22rpx;
  187. font-family: PingFang SC;
  188. font-weight: 400;
  189. color: #A40303;
  190. }
  191. .bottom-ad button.data-v-04c1b8d2 {
  192. position: absolute;
  193. top: 67rpx;
  194. right: 40rpx;
  195. display: inline-block;
  196. margin: 0;
  197. padding: 0rpx 26rpx;
  198. background: -webkit-linear-gradient(left, #E31818, #ED3E24, #ED4F24);
  199. background: linear-gradient(90deg, #E31818, #ED3E24, #ED4F24);
  200. border-radius: 30rpx;
  201. font-size: 26rpx;
  202. font-family: PingFang SC;
  203. font-weight: 400;
  204. color: #FFFFFF;
  205. }
  206. .item-box.data-v-04c1b8d2 {
  207. background-color: #fff;
  208. }
  209. .item-box .item-titBox.data-v-04c1b8d2 {
  210. display: -webkit-box;
  211. display: -webkit-flex;
  212. display: flex;
  213. -webkit-box-pack: justify;
  214. -webkit-justify-content: space-between;
  215. justify-content: space-between;
  216. -webkit-box-align: center;
  217. -webkit-align-items: center;
  218. align-items: center;
  219. padding: 20rpx;
  220. border-bottom: 1rpx solid #e8e8e8;
  221. }
  222. .item-box .item-titBox .item-tit.data-v-04c1b8d2 {
  223. border-left: 8rpx solid #E31818;
  224. font-size: 30rpx;
  225. padding: 11rpx;
  226. margin-left: 20rpx;
  227. }
  228. .item-box .item-titBox .item-tit-right.data-v-04c1b8d2 {
  229. font-size: 26rpx;
  230. color: #666666;
  231. line-height: 58rpx;
  232. padding: 11rpx;
  233. }
  234. .item-box .flex-box.data-v-04c1b8d2 {
  235. width: 100%;
  236. display: -webkit-box;
  237. display: -webkit-flex;
  238. display: flex;
  239. -webkit-box-pack: center;
  240. -webkit-justify-content: center;
  241. justify-content: center;
  242. -webkit-box-align: start;
  243. -webkit-align-items: flex-start;
  244. align-items: flex-start;
  245. -webkit-flex-wrap: wrap;
  246. flex-wrap: wrap;
  247. background-color: #F8F8F8;
  248. padding-bottom: 20rpx;
  249. }
  250. .item-box .flex-box .film-box.data-v-04c1b8d2 {
  251. width: 334rpx;
  252. border-radius: 20rpx;
  253. overflow: hidden;
  254. background: #FFFFFF;
  255. margin: 30rpx 11rpx 0;
  256. }
  257. .item-box .flex-box .film-box .img.data-v-04c1b8d2 {
  258. width: 100%;
  259. }
  260. .item-box .flex-box .film-box .bottom-box.data-v-04c1b8d2 {
  261. padding: 30rpx 20rpx;
  262. }
  263. .item-box .flex-box .film-box .bottom-box .tit.data-v-04c1b8d2 {
  264. display: -webkit-box;
  265. display: -webkit-flex;
  266. display: flex;
  267. -webkit-box-pack: justify;
  268. -webkit-justify-content: space-between;
  269. justify-content: space-between;
  270. }
  271. .item-box .flex-box .film-box .bottom-box .tit .text-1.data-v-04c1b8d2 {
  272. width: 100%;
  273. font-size: 26rpx;
  274. overflow: hidden;
  275. text-overflow: ellipsis;
  276. }
  277. .item-box .flex-box .film-box .bottom-box .des-box.data-v-04c1b8d2 {
  278. margin-top: 10rpx;
  279. }
  280. .item-box .flex-box .film-box .bottom-box .des-box .des.data-v-04c1b8d2 {
  281. width: 100%;
  282. font-size: 22rpx;
  283. color: #666666;
  284. overflow: hidden;
  285. text-overflow: ellipsis;
  286. white-space: nowrap;
  287. }
  288. .item-box .flex-box .film-box .bottom-box .buy-box.data-v-04c1b8d2 {
  289. margin-top: 20rpx;
  290. display: -webkit-box;
  291. display: -webkit-flex;
  292. display: flex;
  293. -webkit-box-pack: start;
  294. -webkit-justify-content: flex-start;
  295. justify-content: flex-start;
  296. -webkit-box-align: center;
  297. -webkit-align-items: center;
  298. align-items: center;
  299. }
  300. .item-box .flex-box .film-box .bottom-box .buy-box .price.data-v-04c1b8d2 {
  301. text-decoration: line-through;
  302. font-size: 34rpx;
  303. }
  304. .item-box .flex-box .film-box .bottom-box .buy-box .buy.data-v-04c1b8d2 {
  305. height: 40rpx;
  306. background: -webkit-linear-gradient(left, #E31818, #ED3E24, #ED4F24);
  307. background: linear-gradient(90deg, #E31818, #ED3E24, #ED4F24);
  308. border-radius: 20rpx;
  309. margin-left: 10rpx;
  310. font-size: 20rpx;
  311. color: #FFFFFF;
  312. display: -webkit-box;
  313. display: -webkit-flex;
  314. display: flex;
  315. -webkit-box-pack: center;
  316. -webkit-justify-content: center;
  317. justify-content: center;
  318. -webkit-box-align: center;
  319. -webkit-align-items: center;
  320. align-items: center;
  321. white-space: nowrap;
  322. }
  323. .item-box .bottom-loading.data-v-04c1b8d2 {
  324. margin-top: 5rpx;
  325. padding: 10rpx;
  326. }
  327. .ad-video.data-v-04c1b8d2 {
  328. margin-top: 40rpx;
  329. }