index.wxss 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322
  1. @charset "UTF-8";
  2. /* 页面左右间距 */
  3. /* 文字尺寸 */
  4. /*文字颜色*/
  5. /* 边框颜色 */
  6. /*颜色*/
  7. /* 图片加载中颜色 */
  8. /* 行为相关颜色 */
  9. /* 功能栏字体大小 */
  10. /*功能栏左侧小图标*/
  11. page,
  12. .center {
  13. height: auto;
  14. min-height: 100%;
  15. background-color: #ffffff;
  16. }
  17. .input-box {
  18. padding: 25rpx;
  19. background-color: #0fc8e4;
  20. height: 44px;
  21. }
  22. .input-box .iconsearch {
  23. font-size: 50rpx;
  24. }
  25. .input-box .input-content {
  26. border-radius: 99rpx;
  27. flex-grow: 1;
  28. padding: 5rpx 30rpx;
  29. background: #ffffff;
  30. }
  31. .input-box .input-content .input {
  32. flex-grow: 1;
  33. }
  34. .input-box .input-content .input input {
  35. font-size: 28rpx;
  36. }
  37. .input-box .input-button {
  38. padding-left: 20rpx;
  39. font-size: 28rpx;
  40. height: 100%;
  41. }
  42. .top {
  43. width: 1000rpx;
  44. height: 240rpx;
  45. background: linear-gradient(180deg, #08c4e6, #50ead2);
  46. overflow: hidden;
  47. text-align: center;
  48. border-bottom-left-radius: 50%;
  49. border-bottom-right-radius: 50%;
  50. margin-left: -125rpx;
  51. }
  52. .carousel {
  53. width: 700rpx;
  54. height: 300rpx;
  55. border-radius: 14rpx;
  56. margin: 0 auto;
  57. margin-top: calc(-260rpx + 25px);
  58. }
  59. .carousel .bor {
  60. border-radius: 14rpx;
  61. }
  62. .carousel .bor .carousel-item image {
  63. width: 100%;
  64. height: 100%;
  65. border-radius: 14rpx;
  66. }
  67. .swiper-dot {
  68. position: relative;
  69. z-index: 10;
  70. margin-top: -40rpx;
  71. display: flex;
  72. justify-content: center;
  73. }
  74. .swiper-dot .swiper-dots-item {
  75. width: 14rpx;
  76. height: 14rpx;
  77. background: #aaaaaa;
  78. border-radius: 50%;
  79. margin: 0 16rpx;
  80. }
  81. .swiper-dot .action {
  82. background-color: #ffffff;
  83. }
  84. .cate-section {
  85. display: flex;
  86. justify-content: space-around;
  87. align-items: center;
  88. flex-wrap: wrap;
  89. padding: 40rpx 22rpx;
  90. /* 原图标颜色太深,不想改图了,所以加了透明度 */
  91. }
  92. .cate-section .cate-item {
  93. display: flex;
  94. flex-direction: column;
  95. align-items: center;
  96. font-size: 28rpx;
  97. color: #303133;
  98. }
  99. .cate-section .cate-font {
  100. margin-top: -26rpx;
  101. }
  102. .cate-section image {
  103. width: 150rpx;
  104. height: 150rpx;
  105. margin-bottom: 14rpx;
  106. border-radius: 50%;
  107. }
  108. .xian {
  109. width: 750rpx;
  110. height: 20rpx;
  111. background: #f5f5f5;
  112. }
  113. .main {
  114. margin-top: 40rpx;
  115. padding: 0 40rpx;
  116. }
  117. .main .main-top {
  118. align-items: center;
  119. }
  120. .main .main-top .main-left {
  121. display: flex;
  122. justify-content: flex-start;
  123. align-items: center;
  124. }
  125. .main .main-top .main-left .shu {
  126. width: 8rpx;
  127. height: 38rpx;
  128. background: #05ab81;
  129. border-radius: 4rpx;
  130. }
  131. .main .main-top .main-left .main-title {
  132. margin-left: 10rpx;
  133. font-size: 36rpx;
  134. font-family: PingFang SC;
  135. font-weight: bold;
  136. color: #202739;
  137. }
  138. .main .main-top .main-left .main-tip {
  139. font-size: 22rpx;
  140. font-family: PingFang SC;
  141. font-weight: bold;
  142. color: #95a0b1;
  143. margin-left: 14rpx;
  144. }
  145. .guess-item {
  146. display: flex;
  147. width: 710rpx;
  148. height: 290rpx;
  149. background: #ffffff;
  150. box-shadow: 0px 0px 20rpx 0px rgba(50, 50, 52, 0.06);
  151. border-radius: 10rpx;
  152. padding: 15rpx;
  153. padding-bottom: 150rpx;
  154. margin: 20rpx auto 0;
  155. position: relative;
  156. }
  157. .guess-item image {
  158. width: 260rpx;
  159. height: 260rpx;
  160. border-radius: 10rpx;
  161. }
  162. .guess-item .guess-box {
  163. padding: 12rpx 0 0 24rpx;
  164. width: 436rpx;
  165. }
  166. .guess-item .guess-box .title {
  167. font-size: 30rpx;
  168. padding-left: 4rpx;
  169. font-family: PingFang SC;
  170. font-weight: 500;
  171. color: #333333;
  172. width: 368rpx;
  173. line-height: 36rpx;
  174. }
  175. .guess-item .guess-box .title .tuanF {
  176. display: inline-block;
  177. margin-right: 4rpx;
  178. position: relative;
  179. top: -6rpx;
  180. }
  181. .guess-item .guess-box .title .tuanF .tuan {
  182. display: flex;
  183. align-items: center;
  184. padding: 10rpx;
  185. height: 36rpx;
  186. background: #ffebe9;
  187. border-radius: 18rpx;
  188. }
  189. .guess-item .guess-box .title .tuanF .tuan .tuan-image {
  190. width: 18rpx;
  191. height: 18rpx;
  192. }
  193. .guess-item .guess-box .title .tuanF .tuan .tuan-font {
  194. display: inline;
  195. font-size: 20rpx;
  196. font-family: PingFang SC;
  197. font-weight: 500;
  198. color: #ff1135;
  199. margin-left: 2rpx;
  200. }
  201. .guess-item .guess-box .ping-box {
  202. margin-top: 15rpx;
  203. justify-content: flex-start;
  204. }
  205. .guess-item .guess-box .ping-box .ping {
  206. margin-left: 10rpx;
  207. height: 39rpx;
  208. background: #fdf7eb;
  209. border-radius: 5rpx;
  210. font-size: 22rpx;
  211. font-family: PingFang SC;
  212. font-weight: 500;
  213. color: #ff911f;
  214. display: flex;
  215. align-items: center;
  216. padding: 0 10rpx;
  217. }
  218. .guess-item .guess-box .price-box {
  219. margin-top: 80rpx;
  220. justify-content: flex-start;
  221. }
  222. .guess-item .guess-box .price-box .yuanprice {
  223. font-size: 26rpx;
  224. font-family: PingFang SC;
  225. font-weight: 500;
  226. text-decoration: line-through;
  227. color: #999999;
  228. padding-right: 6rpx;
  229. }
  230. .guess-item .guess-box .price-box image {
  231. width: 14rpx;
  232. height: 16rpx;
  233. }
  234. .guess-item .guess-box .price-box .jiang {
  235. padding-left: 2rpx;
  236. font-size: 24rpx;
  237. font-family: PingFang SC;
  238. font-weight: bold;
  239. color: #b59467;
  240. }
  241. .guess-item .guess-box .price {
  242. font-size: 36rpx;
  243. font-family: PingFang SC;
  244. font-weight: bold;
  245. color: #ff1135;
  246. }
  247. .guess-item .guess-box .btn {
  248. width: 137rpx;
  249. height: 56rpx;
  250. background: #16cc9f;
  251. border-radius: 28rpx;
  252. font-size: 28rpx;
  253. font-family: PingFang SC;
  254. font-weight: 500;
  255. color: #ffffff;
  256. line-height: 56rpx;
  257. text-align: center;
  258. position: absolute;
  259. bottom: 25rpx;
  260. right: 25rpx;
  261. }
  262. .popup {
  263. width: 640rpx;
  264. background-color: #ffffff;
  265. border-radius: 15rpx;
  266. text-align: center;
  267. }
  268. .popup .popup-dox {
  269. position: relative;
  270. top: -60rpx;
  271. }
  272. .popup .popup-dox .popup-logo {
  273. width: 460rpx;
  274. height: 132rpx;
  275. }
  276. .popup .popup-dox .pop-title {
  277. font-size: 40rpx;
  278. font-weight: bold;
  279. color: #333333;
  280. padding: 25rpx 0rpx;
  281. margin-bottom: 50rpx;
  282. }
  283. .popup .popup-dox .popup-text {
  284. width: 400rpx;
  285. height: 400rpx;
  286. margin-bottom: 50rpx;
  287. }
  288. .popup .popup-dox .btn {
  289. width: 300rpx;
  290. height: 50rpx;
  291. line-height: 50rpx;
  292. background: #96e4f2;
  293. margin: 0 auto;
  294. color: #ffffff;
  295. border-radius: 25rpx;
  296. }
  297. .popup .popup-dox .pop-tip {
  298. font-size: 30rpx;
  299. font-weight: 500;
  300. color: #333333;
  301. justify-content: center;
  302. margin-top: 20rpx;
  303. }
  304. .popup .popup-dox .pop-tip .weixin {
  305. width: 48rpx;
  306. height: 40rpx;
  307. margin-right: 14rpx;
  308. }
  309. .popup .popup-dox .pop-tip .weixin image {
  310. width: 48rpx;
  311. height: 40rpx;
  312. }
  313. .close_icon {
  314. width: 60rpx;
  315. height: 60rpx;
  316. margin: 88rpx auto 0;
  317. }
  318. .close_icon image {
  319. width: 100%;
  320. height: 100%;
  321. }