menu.wxss 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368
  1. @charset "UTF-8";
  2. /* 页面左右间距 */
  3. /* 文字尺寸 */
  4. /*文字颜色*/
  5. /* 边框颜色 */
  6. /*颜色*/
  7. /* 图片加载中颜色 */
  8. /* 行为相关颜色 */
  9. /* 功能栏字体大小 */
  10. /*功能栏左侧小图标*/
  11. page {
  12. min-height: 100% !important;
  13. height: 0 !important;
  14. }
  15. .sl {
  16. max-width: 120%;
  17. overflow: hidden;
  18. text-overflow: ellipsis;
  19. display: -webkit-box;
  20. -webkit-box-orient: vertical;
  21. -webkit-line-clamp: 1;
  22. }
  23. .header {
  24. height: 281rpx;
  25. width: 100%;
  26. position: relative;
  27. }
  28. .header .image {
  29. position: absolute;
  30. top: 0;
  31. left: 0;
  32. width: 100%;
  33. height: 281rpx;
  34. background: #f8f6f6;
  35. }
  36. .header .h-title {
  37. position: relative;
  38. z-index: 10;
  39. width: 100%;
  40. text-align: center;
  41. font-size: 36rpx;
  42. font-family: PingFang SC;
  43. font-weight: bold;
  44. color: #333333;
  45. line-height: 165rpx;
  46. }
  47. .address {
  48. position: relative;
  49. z-index: 10;
  50. margin: 27rpx;
  51. margin-top: -110rpx;
  52. height: 128rpx;
  53. border-radius: 10rpx;
  54. background-color: #ffffff;
  55. padding: 15rpx 35rpx;
  56. height: 135rpx;
  57. line-height: 54rpx;
  58. color: #333333;
  59. font-family: PingFang-SC-Medium;
  60. display: flex;
  61. flex-direction: row;
  62. justify-content: space-between;
  63. }
  64. .address .one {
  65. font-size: 34rpx;
  66. display: flex;
  67. }
  68. .address .two {
  69. font-size: 26rpx;
  70. display: flex;
  71. }
  72. .address .two .t-b {
  73. font-size: 26rpx;
  74. color: #999999;
  75. }
  76. .address image {
  77. width: 14rpx;
  78. height: 25rpx;
  79. margin-left: 20rpx;
  80. }
  81. .address-right {
  82. width: 168rpx;
  83. height: 56rpx;
  84. font-size: 23rpx;
  85. font-family: PingFang-SC-Medium;
  86. position: absolute;
  87. display: flex;
  88. background-color: #ee2f72;
  89. border-radius: 10rpx;
  90. color: #ffffff;
  91. align-items: center;
  92. right: 20rpx;
  93. top: 0;
  94. bottom: 0;
  95. margin: auto;
  96. }
  97. .address-right .isChoose {
  98. background-color: #ffffff;
  99. color: #ee2f72;
  100. margin: 5rpx;
  101. border-radius: 10rpx;
  102. padding: 10rpx 0rpx;
  103. }
  104. .address-right .bottom {
  105. text-align: center;
  106. flex: 1;
  107. line-height: 1;
  108. }
  109. .memu {
  110. margin: 20rpx;
  111. margin-bottom: 0;
  112. height: calc(100% - 335rpx);
  113. display: flex;
  114. }
  115. .memu .option {
  116. width: 200rpx;
  117. border-radius: 10rpx;
  118. overflow: hidden;
  119. height: calc(100% - 97rpx);
  120. }
  121. .memu .option .option-b {
  122. background-color: #ffffff;
  123. height: 88rpx;
  124. text-align: center;
  125. line-height: 88rpx;
  126. color: #999999;
  127. font-size: 24rpx;
  128. background-color: #f6f6f6;
  129. font-family: PingFang-SC-Bold;
  130. }
  131. .memu .option .opIschoose {
  132. background-color: #ffffff;
  133. color: #ee2f72;
  134. }
  135. .memu .goods {
  136. width: 500rpx;
  137. height: 100%;
  138. margin-left: 10rpx;
  139. flex-grow: 1;
  140. }
  141. .memu .goods .goods-list {
  142. padding: 20rpx;
  143. background-color: #ffffff;
  144. border-radius: 10rpx;
  145. }
  146. .memu .goods .goods-list .span {
  147. color: #333333;
  148. font-size: 26rpx;
  149. }
  150. .memu .goods .goods-list .goods-list-c {
  151. margin-top: 50rpx;
  152. display: flex;
  153. position: relative;
  154. }
  155. .memu .goods .goods-list .goods-list-c image {
  156. width: 140rpx;
  157. height: 140rpx;
  158. }
  159. .memu .goods .goods-list .goods-list-c .goods-list-right {
  160. margin-left: 20rpx;
  161. text-align: left;
  162. display: flex;
  163. align-items: flex-start;
  164. flex-direction: column;
  165. }
  166. .memu .goods .goods-list .goods-list-c .goods-list-right .one {
  167. color: #333333;
  168. font-size: 30rpx;
  169. }
  170. .memu .goods .goods-list .goods-list-c .goods-list-right .two {
  171. color: #999999;
  172. font-size: 20rpx;
  173. }
  174. .memu .goods .goods-list .goods-list-c .goods-list-right .three .price {
  175. color: #ee2f72;
  176. font-size: 32rpx;
  177. }
  178. .memu .goods .goods-list .goods-list-c .goods-list-right .three .ot_price {
  179. color: #999999;
  180. font-size: 28rpx;
  181. text-decoration: line-through;
  182. }
  183. .memu .goods .goods-list .goods-list-c .goods-list-right .three .button {
  184. height: 40rpx;
  185. color: #ffffff;
  186. background-color: #dcb876;
  187. position: absolute;
  188. bottom: 0rpx;
  189. right: 20rpx;
  190. font-size: 20rpx;
  191. text-align: center;
  192. line-height: 40rpx;
  193. border-radius: 20rpx;
  194. }
  195. .memu .goods .tlist-box .tlistname {
  196. font-size: 24rpx;
  197. padding: 25rpx 25rpx;
  198. border-bottom: 2rpx solid #eeeeee;
  199. }
  200. .memu .goods .tlist-box .tlist-list.flex_item {
  201. height: 0;
  202. min-height: 280rpx;
  203. align-items: stretch;
  204. }
  205. .memu .goods .tlist-box .tlist-list {
  206. padding: 25rpx 0rpx;
  207. position: relative;
  208. }
  209. .memu .goods .tlist-box .tlist-list .tlist-img {
  210. width: 169rpx;
  211. position: relative;
  212. }
  213. .memu .goods .tlist-box .tlist-list .tlist-img .img {
  214. width: 169rpx;
  215. height: 169rpx;
  216. }
  217. .memu .goods .tlist-box .tlist-list .tlist-img .img image {
  218. width: 169rpx;
  219. height: 169rpx;
  220. }
  221. .memu .goods .tlist-box .tlist-list .tlist-img .stock {
  222. margin-top: 13rpx;
  223. font-size: 26rpx;
  224. background: #fff1ee;
  225. width: 100%;
  226. color: #fb4912;
  227. padding: 6rpx 0;
  228. border-radius: 5rpx;
  229. justify-content: center;
  230. align-items: center;
  231. position: absolute;
  232. left: 0;
  233. bottom: 0;
  234. }
  235. .memu .goods .tlist-box .tlist-list .tlist-img .stock .img {
  236. width: 20rpx;
  237. height: 20rpx;
  238. flex-shrink: 0;
  239. }
  240. .memu .goods .tlist-box .tlist-list .tlist-img .stock .stock-num {
  241. padding-left: 7rpx;
  242. font-size: 22rpx;
  243. border-radius: 5rpx;
  244. height: 32rpx;
  245. line-height: 32rpx;
  246. }
  247. .memu .goods .tlist-box .tlist-list .sell-out {
  248. position: absolute;
  249. width: 169rpx;
  250. height: 190rpx;
  251. background: rgba(255, 255, 255, 0.4);
  252. text-align: center;
  253. }
  254. .memu .goods .tlist-box .tlist-list .sell-out text {
  255. line-height: 190rpx;
  256. background: rgba(0, 0, 0, 0.5);
  257. color: #ffffff;
  258. padding: 10rpx 25rpx;
  259. border-radius: 25rpx;
  260. font-size: 20rpx;
  261. }
  262. .memu .goods .tlist-box .tlist-list .tlist-info {
  263. font-size: 24rpx;
  264. width: 61%;
  265. padding-left: 25rpx;
  266. padding-right: 25rpx;
  267. height: 100%;
  268. position: relative;
  269. line-height: 1;
  270. }
  271. .memu .goods .tlist-box .tlist-list .tlist-info .bottom_border {
  272. position: absolute;
  273. border-bottom: 1px solid #eeeeee;
  274. left: 25rpx;
  275. bottom: 0;
  276. height: 2rpx;
  277. width: 100%;
  278. }
  279. .memu .goods .tlist-box .tlist-list .tlist-info .name {
  280. height: 28rpx;
  281. color: #141821;
  282. font-weight: 500;
  283. font-size: 26rpx;
  284. }
  285. .memu .goods .tlist-box .tlist-list .tlist-info .info {
  286. margin: 10rpx 0rpx;
  287. height: 30rpx;
  288. color: #979797;
  289. font-size: 24rpx;
  290. }
  291. .memu .goods .tlist-box .tlist-list .tlist-info .tipBox {
  292. height: 50rpx;
  293. }
  294. .memu .goods .tlist-box .tlist-list .tlist-info .tip {
  295. padding: 10rpx 0rpx;
  296. }
  297. .memu .goods .tlist-box .tlist-list .tlist-info .tip text {
  298. border: 2rpx solid #ff1a27;
  299. color: #ff1a27;
  300. border-radius: 5rpx;
  301. font-size: 18rpx;
  302. padding: 5rpx 10rpx;
  303. margin-right: 15rpx;
  304. }
  305. .memu .goods .tlist-box .tlist-list .tlist-info .tlist-price {
  306. position: absolute;
  307. left: 25rpx;
  308. bottom: 27rpx;
  309. width: 100%;
  310. }
  311. .memu .goods .tlist-box .tlist-list .tlist-info .tlist-price .price-box .price {
  312. padding-bottom: 15rpx;
  313. color: #ff1a27;
  314. }
  315. .memu .goods .tlist-box .tlist-list .tlist-info .tlist-price .price-box .price .blod {
  316. font-size: 35rpx;
  317. font-weight: bold;
  318. }
  319. .memu .goods .tlist-box .tlist-list .tlist-info .tlist-price .price-box .price .fen {
  320. color: #838691;
  321. }
  322. .memu .goods .tlist-box .tlist-list .tlist-info .tlist-price .price-box .vip_price {
  323. color: #2dbd59;
  324. font-size: 26rpx !important;
  325. }
  326. .memu .goods .tlist-box .tlist-list .tlist-info .tlist-price .price-box .vip_price text {
  327. background: linear-gradient(45deg, #15c534, #15c534);
  328. border-radius: 5rpx;
  329. color: #ffffff;
  330. padding: 0rpx 10rpx;
  331. margin-left: 10rpx;
  332. font-size: 20rpx !important;
  333. }
  334. .memu .goods .tlist-box .tlist-list .tlist-info .tlist-price .gocar {
  335. width: 50rpx;
  336. height: 50rpx;
  337. align-self: flex-end;
  338. }
  339. .memu .goods .tlist-box .tlist-list .tlist-info .tlist-price .gocar image {
  340. width: 100%;
  341. height: 100%;
  342. }
  343. .footer {
  344. width: 100%;
  345. height: 97rpx;
  346. position: absolute;
  347. left: 0;
  348. bottom: 0;
  349. display: flex;
  350. line-height: 97rpx;
  351. }
  352. .footer .footer-left {
  353. font-size: 38rpx;
  354. background-color: #ecd49e;
  355. flex: 2;
  356. color: #ee2f72;
  357. font-family: PingFang-SC-Bold;
  358. font-weight: bold;
  359. padding-left: 30rpx;
  360. }
  361. .footer .footer-right {
  362. background-color: #ee2f72;
  363. flex: 1;
  364. text-align: center;
  365. color: #ffffff;
  366. font-size: 36rpx;
  367. }