main.css 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406
  1. /* main.css */
  2. .top-fixed{position: fixed;top: 0;left: 0;right: 0;z-index: 50;}
  3. .topbg{width: 100%;height: 100%;}
  4. .top-title{position: absolute;left: 0;right: 0;text-align: left;font-size: 36rpx;color: #fff;padding-left: 34rpx;}
  5. .top-title image{height: 50rpx;position: absolute;left: 34rpx;top: 50%;transform: translateY(-50%);}
  6. .tcon{position: relative;}
  7. .tcbg{width: 100%;height: 260rpx;position: absolute;top: 0;left: 0;z-index: 0;}
  8. .merchant{padding: 40rpx 45rpx;position: relative;z-index: 1;}
  9. .logo{width: 100rpx;height: 100rpx;border: 2rpx solid #fff;background: #fff;border-radius: 50%;margin-right: 25rpx;}
  10. .merchant-name{font-size: 36rpx;color: #fff;}
  11. .change{margin-left: 10rpx;font-size: 24rpx;color: rgba(255,255,255,.5);}
  12. .change image{width: 14rpx;height: 23rpx;margin-left: 6rpx;}
  13. .merchant-info{font-size: 24rpx;color: #FFDEC4;margin-top: 14rpx;}
  14. .merchant-info .li{margin-right: 20rpx;}
  15. .merchant-info image{width: 24rpx;height: 24rpx;margin-right: 8rpx;}
  16. .m-share{font-size: 22rpx;color: #fff;margin-left: 50rpx !important;}
  17. .m-share image{width: 34rpx;height: 34rpx;margin: 0 auto 15rpx;}
  18. .top{box-sizing: border-box;align-items: center;position: relative;}
  19. .top-bg{display: block;width: 100%;height: 192rpx;position: absolute;top: 0;left: 0;z-index: 1;}
  20. .topcon{position: relative;z-index: 2;display: flex;display: -webkit-flex;}
  21. .logo{display: block;width: 100rpx;height: 100rpx;z-index: 2;border: 2rpx solid #fff;background: #fff;}
  22. .areas{align-items: center;color: #fff; z-index: 3;}
  23. .areas image{width: 22rpx;height: 17rpx;margin-left: 10rpx;margin-top: 10rpx;}
  24. .recent{align-items: center;font-size: 22rpx;color: #fff;margin-top: 10rpx;}
  25. .recent text{display: block;width: 100rpx;height: 32rpx;text-align: center;line-height: 32rpx;border-radius: 16rpx;margin-right: 9rpx;font-size: 22rpx;}
  26. .renqi{padding: 0 35rpx;text-align: center;font-size: 34rpx;color: #fff;}
  27. .renqi text{display: block;opacity: .7;font-size: 24rpx;margin-top: 10rpx;}
  28. .box1{border-radius: 50rpx 50rpx 0 0;padding-top: 26rpx;padding-bottom: 5rpx;position: relative;
  29. z-index: 2;}
  30. .search{background: #F0F2F3;height: 70rpx;border-radius: 35rpx;padding: 0 15rpx 0 30rpx;align-items: center;font-size: 26rpx;color: #666;}
  31. .search image{width: 30rpx;height: 30rpx;margin-right: 13rpx;}
  32. .search image.sao{width: 42rpx;height: 42rpx;}
  33. .banner{margin-top: 24rpx;overflow: hidden;position: relative;}
  34. .swiper,.swiper image{width: 100%;height: 300rpx;border-radius: 20rpx;}
  35. .swiper1{width: 100%;height: 400rpx;}
  36. .sat{padding-top: 1rpx;}
  37. .dotse,.dots1{position: absolute;left: 0;right: 0;bottom: 11rpx;align-items: center;justify-content: center;}
  38. .dot{background: #fff;width: 10rpx;height: 10rpx;border-radius: 5rpx;margin: 0 3rpx;}
  39. .dot.active{width: 30rpx;}
  40. .dot1{background: var(--mina);width: 10rpx;height: 10rpx;border-radius: 5rpx;margin: 0 3rpx;}
  41. .dot1.active{width: 30rpx;}
  42. .nav{flex-wrap: wrap;margin-top: 30rpx;position: relative;}
  43. .nav .li{width: 25% !important;text-align: center;font-size: 28rpx;color: #333;margin-bottom: 35rpx;/* height: 41%; */}
  44. .nav .li image{width: 97rpx;height: 97rpx;margin: 0 auto 10rpx;}
  45. .grid{flex-wrap: wrap;}
  46. .head .titleNav{justify-content: space-between;align-items: center;font-size: 36rpx;font-weight: bold;padding-bottom: 30rpx;padding-top: 30rpx;}
  47. .head .titleNav text{font-size: 24rpx;color: #666;margin-left: 10rpx;font-weight: normal;}
  48. .more{width: 16rpx;height: 27rpx;}
  49. .quan{padding-bottom: 40rpx;}
  50. .quan .li{width: 212rpx;height: 220rpx;margin-right: 17rpx;position: relative;text-align: center;}
  51. .quan .li:last-child{margin-right: 0;}
  52. .quanbg{width: 100%;height: 100%;position: absolute;top: 0;left: 0;z-index: 1;}
  53. .quan .lic{position: relative;z-index: 2;width: 100%;height: 100%;overflow: hidden;}
  54. .quan .li.gray .sbglinear{background: linear-gradient(90deg,#ddd,#c7c6c6);color: #666;}
  55. .amount{font-weight: bold;font-size: 56rpx;color: #fff;margin: 20rpx 0 0;}
  56. .amount text{font-size: 24rpx;}
  57. .rule{font-size: 24rpx;color: #fff;margin: 0 0 40rpx;}
  58. .ling{width:140rpx;height:40rpx;line-height: 40rpx;font-size: 22rpx;color: #FF6009;position: absolute;left: 50%;transform: translateX(-50%);bottom: 15rpx;}
  59. .jingxuan{padding-bottom: 40rpx;flex-wrap: wrap;}
  60. .jingxuan .li{width: 47%;margin-right: 20rpx;text-align: center;overflow: hidden;margin-bottom: 25rpx;}
  61. .jingxuan .li image{width: 100%;height: 210rpx;border-radius: 10rpx;}
  62. .name{font-size: 28Prpx;color: #333;text-overflow: ellipsis;white-space: nowrap;overflow: hidden;margin: 15rpx 0 10rpx;}
  63. .price{font-size: 24rpx;color: #FE0419;}
  64. .price text{font-size: 36rpx;font-weight: bold;}
  65. .shequ .li{border-bottom: 2rpx solid #eee;padding: 0 20rpx 38rpx;margin-bottom: 38rpx;overflow: hidden;}
  66. .shequ .li:last-child{border-bottom: none;margin-bottom: 0;}
  67. .shequ .li .flex{overflow: hidden;}
  68. .proimg{box-sizing: border-box;width: 210rpx;height: 210rpx;border-radius: 10rpx;margin-right: 20rpx;border: 2rpx solid #E5E5E5;}
  69. .proname{font-size: 28rpx;color: #333;overflow : hidden;line-height: 36rpx;height: 72rpx;}
  70. .endtime{display: inline-block;height: 32rpx;line-height: 32rpx;border: 2rpx solid #FE0419;border-radius: 6rpx;padding: 0 8rpx;font-size: 24rpx;color: #FE0419;margin: 0 0 10rpx;/* margin: 15rpx 0 25rpx; */}
  71. .operate{justify-content: space-between;align-items: center;}
  72. .price .del{font-weight: normal;font-size: 24rpx;color: #999;margin-left: 12rpx;text-decoration: line-through;}
  73. .price .vip{ font-size: 24rpx;margin-left: 12rpx;color: #333;font-weight: normal;}
  74. .add-cart image{width: 42rpx;height: 42rpx;}
  75. .nums{align-items: center;}
  76. .num{font-size: 30rpx;width: 50rpx;text-align: center;line-height: 42rpx;}
  77. .remind{width: 150rpx;height: 50rpx;border-radius: 25rpx;font-size: 24rpx;color: #fff;text-align: center;justify-content: center;line-height: 50rpx;}
  78. .datas{justify-content: space-between;align-items: center;font-size: 24rpx;color: #666;padding: 20rpx 0 0}
  79. .yigou{margin-left: 6rpx;align-items: center;}
  80. .yigou image{width: 40rpx;height: 40rpx;border-radius: 50%;margin-left: -6rpx;border: 2rpx solid #fff;}
  81. .yigou image.more1{border: none;width: 46rpx;height: 46rpx;}
  82. .yigou text{margin-left: 12rpx;}
  83. .xiaoliang{color: #999;}
  84. .miaosha{margin-top: 15rpx;}
  85. .times{margin-bottom: 30rpx;}
  86. .times .li{width: 20%;text-align: center;font-size: 20rpx;color: #999;position: relative;}
  87. .times .li::before{content: '';display: block;width: 2rpx;height: 61rpx;background: #D2D2D2;position: absolute;left: 0;bottom: 5rpx;}
  88. .times .li:first-child::before{display: none;}
  89. .times .li text{display: block;font-size: 36rpx;color: #333;margin-bottom: 5rpx;}
  90. .times .li.active,.times .li.active text{color: #FE0419;}
  91. .msinfos{padding: 20rpx 20rpx 32rpx}
  92. .msinfos image{width: 100%;height: 390rpx;}
  93. .msinfo{padding: 0 9rpx}
  94. .msname{font-size: 30rpx;line-height: 36rpx;margin: 20rpx 0 10rpx}
  95. .qgsta{align-items: center;justify-content: space-between;}
  96. .qiang{width: 100rpx;height: 40rpx;border-radius: 35rpx;text-align: center;line-height: 40rpx;font-size: 24rpx;color: #fff;}
  97. .pintuan{padding-bottom: 50rpx;}
  98. .pintuan .li{margin-bottom: 50rpx;}
  99. .pintuan .li:last-child{margin-bottom: 0;}
  100. .pinimgs{box-sizing: border-box;width: 210rpx;height: 210rpx;border-radius: 10rpx;margin-right: 20rpx;border: 2rpx solid #E5E5E5;position: relative;}
  101. .pinimg{display: block;width: 100%;height: 100%;border-radius: 10rpx;}
  102. .tuan{display: block;width: 87rpx;height: 44rpx;font-size: 22rpx;color: #fff;text-align: center;line-height: 34rpx;position: absolute;top: 21rpx;left: -10rpx;}
  103. .tuan image{display: block;width: 100%;height: 100%;position: absolute;top: 0;left: 0;}
  104. .tuan text{position: relative;z-index: 2;display: block;}
  105. .pininfo{overflow: hidden;}
  106. .pininfo .endtime{margin-bottom: 45rpx;}
  107. .pininfo .del{font-size: 24rpx;color: #999;text-decoration: line-through;}
  108. /* .pininfo .price{color: #333;} */
  109. .jishida{margin: 20rpx 0;}
  110. /* .tab{align-items: center;font-size: 28rpx;color: #666;}
  111. .tab .li{width: 25%;text-align: center;position: relative;}
  112. .tab .li::after{content: '';display: block;width: 2rpx;height: 28rpx;background: #D2D2D2;position: absolute;left: 0;top: 50%;transform: translateY(-50%);}
  113. .tab .li:first-child::after{display: none;}
  114. .tab .li.active{color: var(--mina) !important;}
  115. .tabcon{flex-wrap: wrap;margin-top: 20rpx;}
  116. .tabcon .li{width: 50%;} */
  117. /* .tabcon .li{background: #fff;border-radius: 10rpx;width: 345rpx;margin: 20rpx 20rpx 0 0;} */
  118. /* .tabcon .li:nth-child(2n){margin-right: 0;} */
  119. .tabconTh .li{width: 223rpx;margin-right: 20rpx !important;}
  120. .tabconTh .li:nth-child(3n){margin-right: 0 !important;}
  121. .jsdimgs{width: 345rpx;height: 345rpx;position: relative;}
  122. .tabconTh .li .jsdimgs{width: 223rpx;height: 223rpx;}
  123. .jsdpro{width: 100%;height: 100%;}
  124. .jsdimg{width: 82rpx;height: 36rpx;position: absolute;top: 20rpx;left: 20rpx;}
  125. .jsdinfo{padding: 15rpx 20rpx 30rpx;}
  126. .jsdinfo .proname{margin-bottom: 20rpx;}
  127. .kan-guoqi{background: #999;}
  128. .idxnav{justify-content: space-between;padding: 30rpx;}
  129. .zbgm image{width: 336rpx;height: 321rpx;}
  130. .lqzx{margin-bottom: 20rpx;}
  131. .lqzx image{width: 336rpx;height: 151rpx;}
  132. .myzx image{width: 336rpx;height: 151rpx;}
  133. .guide{position: fixed;top: 0;left: 0;right: 0;bottom: 0;background: rgba(0,0,0,.7);z-index: 102;}
  134. .guide image{width: 100%;}
  135. .layer{
  136. position: fixed;
  137. top: 0;
  138. z-index: 101;
  139. left: 0;
  140. right: 0;
  141. display: flex;
  142. bottom: 0;
  143. background: rgba(0,0,0,0.7);
  144. justify-content: center;
  145. align-items: center;
  146. flex-direction: column;
  147. }
  148. .layer image{
  149. width: 535rpx;
  150. height: 650rpx;
  151. }
  152. /*关闭按钮样式 */
  153. .layer .close{
  154. color:#fff;
  155. width: 60rpx;
  156. height: 60rpx;
  157. margin-top: 80rpx;
  158. }
  159. /* 专题 */
  160. .ztdiv{height: 310rpx;
  161. background-color: #fff;
  162. margin-top: 20rpx;
  163. padding: 0rpx 0rpx 20rpx 0rpx;
  164. margin-right: 20rpx;
  165. border-radius: 20rpx;
  166. }
  167. .imgdiv{width: 100%;
  168. height: 240rpx;
  169. }
  170. .t-img{height:240rpx;width: 710rpx;border-radius: 20rpx 20rpx 0 0;}
  171. .txtdiv{padding-left: 20rpx;padding-top: 20rpx; border-top: 1rpx #eee solid;
  172. }
  173. .imgtit{width: 100%; margin-bottom:20rpx; }
  174. .jishida .imgtit{width: 100%; margin-bottom:10rpx; }
  175. /* 砍价活动 */
  176. .kjcon{overflow: hidden;}
  177. .kan-price{align-items: center;margin: 10rpx 0 45rpx;}
  178. .tag{width: 80rpx;height: 36rpx;border-radius: 8rpx;text-align: center;line-height: 36rpx;font-size: 20rpx;color: #fff;}
  179. .kan-price .price{font-size: 38rpx;color: #FE0419;margin: 0 20rpx 0 12rpx;}
  180. .kan-price .price text{font-size: 25rpx;}
  181. .kan-price .del{font-size: 24rpx;color: #999;text-decoration: line-through;}
  182. .kan-times{align-items: center;justify-content: space-between;}
  183. .kan-time{align-items: center;font-size: 20rpx;color: #333;margin: 15rpx 0 65rpx;}
  184. .kan-time text{display: block;width: 38rpx;height: 38rpx;border-radius: 8rpx;background: #333;line-height: 38rpx;text-align: center;margin: 0 7rpx;font-size: 24rpx;color: #fff;}
  185. .kan-time text:first-child{margin-left: 0;}
  186. .kan-time view{margin-left: 5rpx;}
  187. .kan-btn{width: 150rpx;height: 50rpx;border-radius: 25rpx;text-align: center;line-height: 50rpx;font-size: 24rpx;color: #fff;}
  188. .cont{flex-wrap: wrap;font-size: 26rpx;}
  189. .cont .li{align-items: center;margin-right: 20rpx; color: #fff;margin-top: 5rpx;}
  190. .cont image{width: 30rpx;
  191. height: 30rpx;}
  192. .ss{padding-bottom:20rpx ;}
  193. .li3{
  194. width: 33% !important;
  195. text-align: center;
  196. font-size: 28rpx;
  197. margin-bottom: 30rpx;
  198. }
  199. .li5{
  200. width: 20% !important;
  201. text-align: center;
  202. font-size: 28rpx;
  203. margin-bottom: 30rpx;
  204. }
  205. .nav .li3 image{
  206. width: 140rpx;
  207. height: 140rpx;
  208. margin: 0 auto 10rpx;
  209. }
  210. .nav .li5 image{
  211. width: 75rpx;
  212. height: 75rpx;
  213. margin: 0 auto 10rpx;
  214. }
  215. .swiper2{width: 100%;height: 240rpx;}
  216. .swiper3{width: 100%;height: 432rpx;}
  217. .swiper4{width: 100%;height: 200rpx;}
  218. .swiper5{width: 100%;height: 200rpx;}
  219. .kjpop{position: fixed;top: 50%;transform: translateY(-50%);left: 85rpx;right: 85rpx;background: #fff;border-radius: 20rpx;z-index: 100;overflow: hidden;}
  220. .kjpop .tops {height: 100rpx;}
  221. .kjpop .tops image{width: 100%;height: 100rpx;}
  222. .kjpop .cont{padding: 0rpx 44rpx;}
  223. .kjpop .cont text{font-size:24rpx ; color: #707070;}
  224. .kjpop .cont .title{text-align: center; font-size: 28rpx;color: #DC1515; font-weight: bold;margin: 30rpx 0 45rpx 0;}
  225. /* .kjpop .cont .btn{width: 430rpx; height: 60rpx;border-radius: 40rpx;border: 1rpx solid #DE1F20; color: #DE1E1F; font-size: 28rpx;text-align: center; line-height: 60rpx;margin: 0 auto;} */
  226. .kjpop .bottom{
  227. border-top: 1rpx solid #E4E4E4;
  228. }
  229. .botLeft,.botRight{
  230. width: 50%;
  231. text-align: center;
  232. padding: 20rpx 0;
  233. }
  234. .botLeft{
  235. border-right: 1rpx solid #E4E4E4;
  236. }
  237. .spinner {
  238. margin: 255px auto 0px auto ;
  239. width: 60rpx;
  240. height: 60rpx;
  241. position: relative;
  242. }
  243. .container1 > view, .container2 > view, .container3 > view {
  244. width: 15rpx;
  245. height: 15rpx;
  246. background-color: var(--mina);
  247. border-radius: 100%;
  248. position: absolute;
  249. -webkit-animation: bouncedelay 1.2s infinite ease-in-out;
  250. animation: bouncedelay 1.2s infinite ease-in-out;
  251. -webkit-animation-fill-mode: both;
  252. animation-fill-mode: both;
  253. }
  254. .spinner .spinner-container {
  255. position: absolute;
  256. width: 100%;
  257. height: 100%;
  258. }
  259. .container2 {
  260. -webkit-transform: rotateZ(45deg);
  261. transform: rotateZ(45deg);
  262. }
  263. .container3 {
  264. -webkit-transform: rotateZ(90deg);
  265. transform: rotateZ(90deg);
  266. }
  267. .circle1 { top: 0; left: 0; }
  268. .circle2 { top: 0; right: 0; }
  269. .circle3 { right: 0; bottom: 0; }
  270. .circle4 { left: 0; bottom: 0; }
  271. .container2 .circle1 {
  272. -webkit-animation-delay: -1.1s;
  273. animation-delay: -1.1s;
  274. }
  275. .container3 .circle1 {
  276. -webkit-animation-delay: -1.0s;
  277. animation-delay: -1.0s;
  278. }
  279. .container1 .circle2 {
  280. -webkit-animation-delay: -0.9s;
  281. animation-delay: -0.9s;
  282. }
  283. .container2 .circle2 {
  284. -webkit-animation-delay: -0.8s;
  285. animation-delay: -0.8s;
  286. }
  287. .container3 .circle2 {
  288. -webkit-animation-delay: -0.7s;
  289. animation-delay: -0.7s;
  290. }
  291. .container1 .circle3 {
  292. -webkit-animation-delay: -0.6s;
  293. animation-delay: -0.6s;
  294. }
  295. .container2 .circle3 {
  296. -webkit-animation-delay: -0.5s;
  297. animation-delay: -0.5s;
  298. }
  299. .container3 .circle3 {
  300. -webkit-animation-delay: -0.4s;
  301. animation-delay: -0.4s;
  302. }
  303. .container1 .circle4 {
  304. -webkit-animation-delay: -0.3s;
  305. animation-delay: -0.3s;
  306. }
  307. .container2 .circle4 {
  308. -webkit-animation-delay: -0.2s;
  309. animation-delay: -0.2s;
  310. }
  311. .container3 .circle4 {
  312. -webkit-animation-delay: -0.1s;
  313. animation-delay: -0.1s;
  314. }
  315. @-webkit-keyframes bouncedelay {
  316. 0%, 80%, 100% { -webkit-transform: scale(0.0) }
  317. 40% { -webkit-transform: scale(1.0) }
  318. }
  319. @keyframes bouncedelay {
  320. 0%, 80%, 100% {
  321. transform: scale(0.0);
  322. -webkit-transform: scale(0.0);
  323. } 40% {
  324. transform: scale(1.0);
  325. -webkit-transform: scale(1.0);
  326. }
  327. }
  328. .lond{
  329. text-align: center;
  330. margin-top: 30rpx;
  331. font-size: 30rpx;
  332. }
  333. .roll-notice{height: 60rpx;background: rgba(0,0,0,.55);border-radius: 30rpx;padding: 0 30rpx 0 15rpx;font-size: 24rpx;color: #fff;position: fixed;left: 35rpx;align-items: center;animation: spin 5s ease-in-out infinite;animation-fill-mode: forwards;z-index: 20;max-width: 435rpx;overflow: hidden;}
  334. .roll-notice .flex{overflow: hidden;text-overflow: ellipsis;white-space: nowrap;overflow: hidden;}
  335. .roll-notice image{width: 40rpx;height: 40rpx;border-radius: 50%;margin-right: 11rpx;}
  336. @keyframes spin {
  337. 0% {
  338. top: 305rpx;
  339. opacity: 0;
  340. }
  341. 25% {
  342. top: 255rpx;
  343. opacity: 1;
  344. }
  345. 50% {
  346. top: 255rpx;
  347. opacity: 1;
  348. }
  349. 75% {
  350. top: 215rpx;
  351. opacity: 0;
  352. }
  353. 100%{
  354. top: 215rpx;
  355. opacity: 0;
  356. }
  357. }
  358. .c-ban{height: 143rpx;border-radius: 10rpx;margin: 20rpx;overflow: hidden;}
  359. .c-ban image{width: 100%;height: 100%;border-radius: 10rpx;}
  360. .hot-shop .li{padding: 0 20rpx;margin-bottom: 40rpx;}
  361. .shop-img{width: 188rpx;height: 188rpx;border-radius: 8rpx;margin-right: 24rpx;}
  362. .shop-name{font-size: 32rpx;color: #2F3237;}
  363. .shop-dis{font-size: 24rpx;color: #bbb;margin-left: 10rpx;}
  364. .shop-tag{margin-top: 10rpx;}
  365. .shop-tag text{display: block;height: 36rpx;border: 1rpx solid #1AC8A5;border-radius: 4rpx;font-size: 22rpx;color: #1AC8A5;padding: 0 9rpx;line-height: 36rpx;margin: 0 10rpx 0 0;}
  366. .shop-info{font-size: 24rpx;color: #666;margin-top: 12rpx;}
  367. .shop-bri{font-size: 24rpx;color: #999;margin-top: 20rpx;}