index.wxss 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395
  1. @charset "UTF-8";
  2. /* 页面左右间距 */
  3. /* 文字尺寸 */
  4. /*文字颜色*/
  5. /* 边框颜色 */
  6. /*颜色*/
  7. /* 图片加载中颜色 */
  8. /* 行为相关颜色 */
  9. /* 功能栏字体大小 */
  10. /*功能栏左侧小图标*/
  11. page,
  12. .container {
  13. height: auto;
  14. min-height: 100%;
  15. background: #ffffff;
  16. }
  17. .titleNview-placing {
  18. height: 25px;
  19. box-sizing: content-box;
  20. }
  21. .bg {
  22. position: absolute;
  23. top: 0;
  24. left: 0;
  25. width: 750rpx;
  26. height: 460rpx;
  27. background: linear-gradient(#ff4c4c, #ffffff);
  28. }
  29. .main-title {
  30. padding: 20rpx 0 0;
  31. text-align: center;
  32. position: relative;
  33. z-index: 2;
  34. font-size: 36rpx;
  35. font-family: PingFang SC;
  36. font-weight: bold;
  37. color: #ffffff;
  38. }
  39. .top-search {
  40. margin-top: 30rpx;
  41. height: 80rpx;
  42. padding: 0 20rpx;
  43. }
  44. .top-search .search-box {
  45. position: relative;
  46. z-index: 2;
  47. justify-content: center;
  48. width: 740rpx;
  49. height: 60rpx;
  50. background: #fff;
  51. border-radius: 30rpx;
  52. }
  53. .top-search .search-box .search {
  54. width: 26rpx;
  55. height: 30rpx;
  56. }
  57. .top-search .search-box .search-font input {
  58. width: 500rpx;
  59. margin-left: 14rpx;
  60. font-size: 28rpx;
  61. font-family: PingFang SC;
  62. font-weight: 500;
  63. color: #aaaaaa;
  64. }
  65. .banner {
  66. margin: 20rpx auto 0;
  67. width: 690rpx;
  68. height: 350rpx;
  69. }
  70. .banner .banner-item {
  71. width: 690rpx;
  72. height: 350rpx;
  73. }
  74. .banner .banner-item image {
  75. width: 100%;
  76. height: 100%;
  77. }
  78. .product-box {
  79. margin-top: 20rpx;
  80. background: #ffffff;
  81. padding: 26rpx 30rpx 20rpx;
  82. }
  83. .product-box .product-title {
  84. margin: 0 auto;
  85. position: relative;
  86. width: 352rpx;
  87. display: flex;
  88. align-items: center;
  89. }
  90. .product-box .product-title .pt-title {
  91. width: 352rpx;
  92. text-align: center;
  93. font-size: 35rpx;
  94. font-family: Source Han Sans CN;
  95. font-weight: 500;
  96. color: #ff4c4c;
  97. }
  98. .product-box .product-title .pt-bg {
  99. position: absolute;
  100. top: 0;
  101. left: 0;
  102. right: 0;
  103. width: 352rpx;
  104. height: 9rpx;
  105. }
  106. .product-box .product-title .pt-bg image {
  107. width: 100%;
  108. height: 100%;
  109. }
  110. .product-box .hotgoods {
  111. width: 100%;
  112. padding: 0 0 30rpx;
  113. }
  114. .product-box .hotgoods .hotgoods-item {
  115. position: relative;
  116. padding: 20rpx 15rpx;
  117. margin: 20rpx auto 0;
  118. width: 710rpx;
  119. background: #ffffff;
  120. box-shadow: 0px 0px 20rpx 0px rgba(50, 50, 52, 0.06);
  121. border-radius: 10rpx;
  122. display: flex;
  123. align-items: center;
  124. }
  125. .product-box .hotgoods .hotgoods-item .btn {
  126. position: absolute;
  127. right: 35rpx;
  128. bottom: 25rpx;
  129. width: 137rpx;
  130. height: 52rpx;
  131. background: #ff4c4c;
  132. border-radius: 26rpx;
  133. text-align: center;
  134. line-height: 52rpx;
  135. font-size: 26rpx;
  136. font-family: PingFang SC;
  137. font-weight: 500;
  138. color: #ffffff;
  139. }
  140. .product-box .hotgoods .hotgoods-item .image-wrapper {
  141. flex-shrink: 0;
  142. width: 236rpx;
  143. height: 236rpx;
  144. border-radius: 10px;
  145. }
  146. .product-box .hotgoods .hotgoods-item .image-wrapper .image {
  147. width: 100%;
  148. height: 100%;
  149. opacity: 1;
  150. }
  151. .product-box .hotgoods .hotgoods-item .hotgoods-right {
  152. margin-left: 20rpx;
  153. height: 100%;
  154. display: flex;
  155. flex-direction: column;
  156. justify-content: space-between;
  157. }
  158. .product-box .hotgoods .hotgoods-item .title {
  159. padding-top: 10rpx;
  160. font-size: 32rpx;
  161. font-family: PingFang SC;
  162. font-weight: bold;
  163. color: #333333;
  164. }
  165. .product-box .hotgoods .hotgoods-item .song {
  166. display: flex;
  167. align-items: center;
  168. }
  169. .product-box .hotgoods .hotgoods-item .song .song-icon {
  170. width: 40rpx;
  171. height: 30rpx;
  172. }
  173. .product-box .hotgoods .hotgoods-item .song .song-font {
  174. margin-left: 8rpx;
  175. font-size: 24rpx;
  176. font-family: PingFang SC;
  177. font-weight: 500;
  178. color: #b59467;
  179. background: linear-gradient(0deg, #bb9159 0%, #e6c79d 100%);
  180. -webkit-background-clip: text;
  181. -webkit-text-fill-color: transparent;
  182. }
  183. .product-box .hotgoods .hotgoods-item .hot-price {
  184. display: flex;
  185. justify-content: flex-start;
  186. align-items: center;
  187. padding: 20rpx 0 10rpx;
  188. }
  189. .product-box .hotgoods .hotgoods-item .hot-price .price {
  190. margin-left: 10rpx;
  191. font-size: 36rpx;
  192. font-family: PingFang SC;
  193. font-weight: bold;
  194. color: #ff4c4c;
  195. }
  196. .product-box .hotgoods .hotgoods-item .hot-price .yuanPrice {
  197. margin-left: 10rpx;
  198. font-size: 26rpx;
  199. font-family: PingFang SC;
  200. font-weight: 500;
  201. text-decoration: line-through;
  202. color: #999999;
  203. }
  204. .main-box {
  205. background-color: #ffffff;
  206. margin-top: 20rpx;
  207. padding: 22rpx 30rpx;
  208. }
  209. .main-box .main-top {
  210. display: flex;
  211. justify-content: flex-start;
  212. align-items: center;
  213. }
  214. .main-box .main-top .main-icon {
  215. width: 36rpx;
  216. height: 36rpx;
  217. }
  218. .main-box .main-top .main-title {
  219. margin-left: 8rpx;
  220. font-size: 32rpx;
  221. font-family: Source Han Sans CN;
  222. font-weight: 500;
  223. color: #333333;
  224. }
  225. .main-box .main-top .main-synopsis {
  226. margin-left: 16rpx;
  227. font-size: 20rpx;
  228. font-family: PingFang SC;
  229. font-weight: bold;
  230. color: #95a0b1;
  231. }
  232. .main-box .main-content {
  233. width: 690rpx;
  234. background: #f4f4f4;
  235. border-radius: 12rpx;
  236. margin: 20rpx auto 0;
  237. padding-bottom: 10rpx;
  238. }
  239. .main-box .main-content .xfq {
  240. background: linear-gradient(43deg, #ffc063, #ffa163) !important;
  241. }
  242. .main-box .main-content .content-top {
  243. width: 690rpx;
  244. background: linear-gradient(43deg, #73deb2, #52c696);
  245. border-radius: 12rpx 12rpx 0px 0px;
  246. padding: 24rpx 22rpx 68rpx 27rpx;
  247. }
  248. .main-box .main-content .content-top .content-font .content-title {
  249. font-size: 32rpx;
  250. font-family: Source Han Sans CN;
  251. font-weight: 500;
  252. color: #ffffff;
  253. }
  254. .main-box .main-content .content-top .content-font .content-synopsis {
  255. margin-top: 10rpx;
  256. font-size: 24rpx;
  257. font-family: Source Han Sans CN;
  258. font-weight: 400;
  259. color: #ffffff;
  260. }
  261. .main-box .main-content .content-top .go {
  262. width: 30rpx;
  263. height: 35rpx;
  264. transform: rotate(180deg);
  265. -ms-transform: rotate(180deg);
  266. /* Internet Explorer */
  267. -moz-transform: rotate(180deg);
  268. /* Firefox */
  269. -webkit-transform: rotate(180deg);
  270. /* Safari 和 Chrome */
  271. -o-transform: rotate(180deg);
  272. /* Opera */
  273. }
  274. .main-box .commodity {
  275. width: 670rpx;
  276. background: #ffffff;
  277. border-radius: 8rpx;
  278. padding: 2rpx;
  279. margin: -50rpx auto 0;
  280. flex-wrap: wrap;
  281. justify-content: flex-start;
  282. }
  283. .main-box .commodity .commodity-item {
  284. width: 33%;
  285. padding: 14rpx 30rpx 22rpx;
  286. }
  287. .main-box .commodity .commodity-item .commodity-image {
  288. width: 160rpx;
  289. height: 160rpx;
  290. }
  291. .main-box .commodity .commodity-item .commodity-title {
  292. margin-top: 14rpx;
  293. width: 162rpx;
  294. font-size: 24rpx;
  295. font-family: PingFang SC;
  296. font-weight: bold;
  297. color: #3f3f3f;
  298. }
  299. .main-box .commodity .commodity-item .price {
  300. font-size: 24rpx;
  301. font-family: PingFang SC;
  302. font-weight: 500;
  303. color: #999999;
  304. }
  305. .main-box .commodity .commodity-item .vip-price {
  306. font-size: 30rpx;
  307. font-family: PingFang SC;
  308. font-weight: bold;
  309. color: #ff6f0f;
  310. }
  311. .main-box .commodity .commodity-item .vip-price image {
  312. position: relative;
  313. z-index: 10;
  314. width: 26rpx;
  315. height: 26rpx;
  316. }
  317. .main-box .commodity .commodity-item .vip-price text {
  318. display: inline-block;
  319. margin-left: 6rpx;
  320. }
  321. .popup-box {
  322. width: 522rpx;
  323. height: 605rpx;
  324. background-color: #ffffff;
  325. border-radius: 20rpx;
  326. position: relative;
  327. }
  328. .popup-box .img {
  329. position: relative;
  330. top: -56rpx;
  331. left: 0;
  332. width: 522rpx;
  333. height: 132rpx;
  334. display: flex;
  335. justify-content: center;
  336. }
  337. .popup-box .img image {
  338. border-radius: 20rpx 20rpx 0 0;
  339. width: 450rpx;
  340. height: 132rpx;
  341. }
  342. .popup-box .mian {
  343. margin-top: -44rpx;
  344. display: flex;
  345. flex-direction: column;
  346. align-items: center;
  347. background-color: #ffffff;
  348. border-radius: 0 0 20rpx 20rpx;
  349. text-align: center;
  350. }
  351. .popup-box .mian .delivery {
  352. font-size: 40rpx;
  353. color: #333333;
  354. display: flex;
  355. align-items: center;
  356. flex-direction: column;
  357. }
  358. .popup-box .mian .delivery image {
  359. margin-top: 48rpx;
  360. width: 172rpx;
  361. height: 160rpx;
  362. }
  363. .popup-box .mian .nocancel {
  364. font-size: 32rpx;
  365. color: #333333;
  366. margin-top: 14rpx;
  367. }
  368. .popup-box .mian .comfirm-box {
  369. margin-top: 52rpx;
  370. display: flex;
  371. }
  372. .popup-box .mian .comfirm-box .cancel {
  373. display: flex;
  374. align-items: center;
  375. justify-content: center;
  376. width: 197rpx;
  377. height: 74rpx;
  378. border: 1px solid #dcc786;
  379. border-radius: 38rpx;
  380. font-size: 32rpx;
  381. color: #605128;
  382. }
  383. .popup-box .mian .comfirm-box .comfirm {
  384. margin-left: 32rpx;
  385. display: flex;
  386. align-items: center;
  387. justify-content: center;
  388. width: 197rpx;
  389. height: 74rpx;
  390. background: linear-gradient(-90deg, #d1ba77 0%, #f7e8ad 100%);
  391. border-radius: 38px;
  392. font-size: 32rpx;
  393. color: #605128;
  394. }