index.wxss 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622
  1. .container {
  2. overflow: hidden;
  3. background: #fff;
  4. }
  5. .ul::-webkit-scrollbar{
  6. display: none;
  7. }
  8. .linear-mask{
  9. position: fixed;
  10. bottom: 0;
  11. right: 0;
  12. width: 100%;
  13. height: 50%;
  14. background: linear-gradient(to top, rgba(0,0,0,1),rgba(0,0,0,0));
  15. pointer-events: none;
  16. opacity: 1;
  17. transition: ease all 0.3s;
  18. z-index: 2;
  19. }
  20. .mask-hidden{
  21. opacity: 0;
  22. }
  23. .mall-logo{
  24. position: fixed;
  25. bottom: 15px;
  26. right: 25px;
  27. width: 80px;
  28. height: auto;
  29. pointer-events: none;
  30. z-index: 999;
  31. }
  32. .search-con{
  33. position: fixed;
  34. bottom: 0;
  35. right: 0;
  36. width: 100%;
  37. height: 100%;
  38. background: rgba(255,255,255,0.8);
  39. z-index: 9999;
  40. }
  41. .no-record{
  42. width: calc(100% - 80rpx);
  43. margin: 40rpx 0 0 60rpx;
  44. }
  45. .sc-con{
  46. width: calc(100% - 80rpx);
  47. line-height: 60rpx;
  48. height: 60rpx;
  49. border: 1px solid #808080;
  50. border-radius: 30rpx;
  51. margin: 20rpx 0 0 40rpx;
  52. background: #fff;
  53. position: relative;
  54. }
  55. .sc-con input{
  56. width: 90%;
  57. background: none;
  58. border: none;
  59. padding-left: 30rpx;
  60. font-size: 24rpx;
  61. color: #000;
  62. line-height: 40rpx;
  63. height: 56rpx;
  64. }
  65. .sc-con image{
  66. width: 40rpx;
  67. height: 40rpx;
  68. display: inline-block;
  69. position: absolute;
  70. top: 50%;
  71. transform: translateY(-50%);
  72. right: 20rpx;
  73. }
  74. .header {
  75. /* background-color: #fff; */
  76. /* padding-left: 46rpx;
  77. padding-right: 46rpx; */
  78. margin-top: 0;
  79. padding: 12rpx 30rpx 22rpx;
  80. /* left: 30rpx; */
  81. position: relative;
  82. }
  83. .fixed {
  84. position: fixed;
  85. padding-left: 30rpx;
  86. padding-right: 30rpx;
  87. left: 0;
  88. width: 100vw;
  89. z-index: 999;
  90. }
  91. .header .ul{
  92. display: flex;
  93. /* justify-content: space-between; */
  94. align-items: baseline;
  95. height: 40rpx;
  96. }
  97. .header .ul .li {
  98. flex: 0 0 auto;
  99. text-align: center;
  100. margin-right: 40rpx;
  101. }
  102. .header .ul .li text {
  103. color: #131D34;
  104. font-size: 30rpx;
  105. font-weight: bold;
  106. padding: 10rpx;
  107. }
  108. .header .ul .li image {
  109. width: 80rpx;
  110. height: 80rpx;
  111. margin-bottom: 14rpx;
  112. display: block;
  113. }
  114. .header .ul .active {
  115. position: relative;
  116. }
  117. .header .ul .active text {
  118. font-size: 36rpx;
  119. z-index: 2;
  120. position: relative;
  121. color: #ED5D18;
  122. }
  123. .header .ul .active::after {
  124. content: '';
  125. position: absolute;
  126. bottom: -2px;
  127. left: 25%;
  128. right: 25%;
  129. height: 2px;
  130. background: #ED5D18;
  131. border-radius: 10px;
  132. z-index: 1;
  133. }
  134. .search{
  135. position: relative;
  136. z-index: 99;
  137. height: 80rpx;
  138. border: 1px solid rgba(0,0,0,0.1);
  139. border-radius: 4px;
  140. background: #fff;
  141. margin: 0 30rpx 46rpx;
  142. }
  143. .search view{
  144. background: none;
  145. width: 80%;
  146. border: none;
  147. padding-left: 20rpx;
  148. font-size: 24rpx;
  149. color: #fff;
  150. line-height: 24rpx;
  151. vertical-align: middle;
  152. }
  153. .search input{
  154. color:rgba(0,0,0,0.3);
  155. height: 100%;
  156. width: 100%;
  157. padding: 0 28rpx 0 70rpx;
  158. position: relative;
  159. z-index: 999;
  160. border-radius: 4px;
  161. font-size: 14px;
  162. border: none;
  163. }
  164. .search image{
  165. width: 28rpx;
  166. height: 28rpx;
  167. display: inline-block;
  168. position: absolute;
  169. top: 50%;
  170. transform: translateY(-50%);
  171. left: 28rpx;
  172. }
  173. .body{
  174. z-index: 11;
  175. position: relative;
  176. padding: 0 30rpx 22rpx;
  177. overflow: hidden;
  178. width: 100%;
  179. font-size: 0;
  180. min-height: calc(100vh - 80rpx);
  181. border-top: 5px solid rgb(245,245,245);
  182. }
  183. .body::-webkit-scrollbar {display:none}
  184. .body .ul {
  185. position: relative;
  186. width: 100%;
  187. font-size: 0;
  188. z-index: 1;
  189. overflow: hidden;
  190. margin-top: 10rpx;
  191. }
  192. .body .li {
  193. position: relative;
  194. overflow: hidden;
  195. padding: 26rpx 0;
  196. width: 100%;
  197. border-radius: 4px;
  198. background-color: #fff;
  199. border-bottom: 1px solid rgba(0,0,0,0.1);
  200. display: flex;
  201. }
  202. .body .li > .b-image{
  203. width: 210rpx;
  204. height: 160rpx;
  205. border-radius: 2px;
  206. overflow: hidden;
  207. position: relative;
  208. flex: 0 0 auto;
  209. }
  210. .body .li > .b-image .cover {
  211. width: 100%;
  212. height: 100%;
  213. }
  214. .body .li > .b-image .icon {
  215. position: absolute;
  216. left: 3px;
  217. bottom: 1px;
  218. width: 46rpx;
  219. z-index: 2;
  220. height: 54rpx;
  221. }
  222. .body .li .b-content {
  223. margin-left: 20rpx;
  224. display: flex;
  225. flex-direction: column;
  226. justify-content: center;
  227. }
  228. .body .li .b-title {
  229. font-size: 30rpx;
  230. color: #131D34;
  231. font-weight: bold;
  232. display: -webkit-box;
  233. overflow: hidden;
  234. text-overflow: ellipsis;
  235. word-wrap: break-word;
  236. white-space: normal !important;
  237. -webkit-line-clamp: 2;
  238. -webkit-box-orient: vertical;
  239. margin-bottom: 2rpx;
  240. }
  241. .body .li .b-addres {
  242. font-size: 22rpx;
  243. font-family: PingFang SC;
  244. font-weight: 400;
  245. color: #131D34;
  246. opacity: 1;
  247. margin-bottom: 6rpx;
  248. }
  249. .body .li .b-maker {
  250. opacity: 1;
  251. margin-bottom: 6rpx;
  252. }
  253. .body .li .b-maker text{
  254. display: inline-block;
  255. font-size: 22rpx;
  256. font-family: PingFang SC;
  257. font-weight: 400;
  258. padding: 4rpx;
  259. background: linear-gradient(180deg, #FCEDE5 0%, #FBFDFD 100%);
  260. margin-right: 14rpx;
  261. color: #666C7D;
  262. border-radius: 2px;
  263. }
  264. .body .li .b-money text:nth-child(1){
  265. color: #ED5D18;
  266. font-size: 28rpx;
  267. font-weight: bold;
  268. margin-right: 7px;
  269. }
  270. .body .li .b-money text:nth-child(2){
  271. color: #999999;
  272. font-size: 24rpx;
  273. margin-right: 7px;
  274. }
  275. .unbrand {
  276. margin-top: 180rpx;
  277. text-align: center;
  278. }
  279. .unbrand image {
  280. display: inline-block;
  281. width: 250rpx;
  282. height: 274rpx;
  283. }
  284. .unbrand .text {
  285. color: #666C7D;
  286. font-size: 30rpx;
  287. margin-top: 40rpx;
  288. }
  289. .banner {
  290. margin: 16rpx 0 38rpx;
  291. position: relative;
  292. }
  293. .banner swiper {
  294. height: 296rpx;
  295. }
  296. .banner .swiper-item image,
  297. .banner .swiper-item {
  298. width: 100%;
  299. height: 100%;
  300. }
  301. .banner .swiper-item {
  302. border-radius: 4px;
  303. overflow: hidden
  304. }
  305. .dots {
  306. position: absolute;
  307. bottom: 8rpx;
  308. left: 50%;
  309. transform: translateX(-50%);
  310. z-index: 2;
  311. }
  312. .dots view {
  313. display: inline-block;
  314. width: 4px;
  315. height: 4px;
  316. background: #FFFFFF;
  317. border-radius: 2px;
  318. opacity: 0.5;
  319. margin: 0 4rpx
  320. }
  321. .dots view.dotactive {
  322. width: 8px;
  323. opacity: 1;
  324. }
  325. .hotcateg {
  326. margin-bottom: 40rpx;
  327. }
  328. .hotcateg .title {
  329. font-size: 30rpx;
  330. font-weight: bold;
  331. line-height: 44rpx;
  332. color: #131D34;
  333. margin-bottom: 14rpx;
  334. padding: 0 46rpx;
  335. }
  336. .hotcateg .swiper-item {
  337. margin: 0 10rpx;
  338. position: relative;
  339. border-radius: 4px;
  340. overflow: hidden;
  341. width: calc(100% - 20rpx);
  342. height: 100%;
  343. }
  344. .hotcateg .swiper-item image {
  345. width: 100%;
  346. height: 100%;
  347. }
  348. .hotcateg .swiper-item view {
  349. position: absolute;
  350. bottom: 0;
  351. left: 0;
  352. right: 0;
  353. padding: 8rpx 24rpx;
  354. font-size: 22rpx;
  355. color: #fff;
  356. background-color: rgba(0,0,0,0.4);
  357. text-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
  358. }
  359. .bgimg {
  360. position: fixed;
  361. left: 0;
  362. top: 0;
  363. width: 100vw;
  364. height: 480rpx;
  365. z-index: 0;
  366. }
  367. .bgimg image {
  368. width: 100%;
  369. height: 100%;
  370. }
  371. .page-title {
  372. padding: 110rpx 32rpx 20rpx;
  373. font-size: 32rpx;
  374. z-index: 9999;
  375. position: fixed;
  376. left: 0;
  377. top: 0;
  378. width: 100vw;
  379. overflow: hidden;
  380. background: #fff;
  381. }
  382. .page-title image {
  383. width: 100%;
  384. position: absolute;
  385. left: 0;
  386. top: 0;
  387. height: 480rpx;
  388. }
  389. .page-title text {
  390. position: relative;
  391. color: #000;
  392. z-index: 1;
  393. }
  394. .zwf {
  395. height: 183rpx;
  396. }
  397. .scene-icon {
  398. --width: 14px;
  399. --height: 5px;
  400. padding: calc(var(--height) * 1) calc(var(--width) * 0.3);
  401. position: absolute;
  402. left: 4px;
  403. bottom: 2px;
  404. width: calc(--width);
  405. height: calc(--height);
  406. z-index: 3;
  407. }
  408. .brick {
  409. text-align:center;
  410. position:relative;
  411. width: var(--width);
  412. height: var(--height);
  413. transform-style:preserve-3d;
  414. transform-origin: calc(var(--width) / 2) calc(var(--height) / 2);
  415. margin: 0 auto calc(var(--width) / 12);
  416. }
  417. .brick-1 {
  418. animation: rorate 2s 1s infinite linear;
  419. transform: rotateX(-30deg) rotateY(45deg) translateZ(30px);
  420. }
  421. .brick-2 {
  422. animation: rorate 2s 0.75s infinite linear;
  423. transform: rotateX(-30deg) rotateY(45deg) translateZ(20px);
  424. }
  425. .brick-3 {
  426. animation: rorate 2s 0.5s infinite linear;
  427. transform: rotateX(-30deg) rotateY(45deg) translateZ(10px);
  428. }
  429. .face {
  430. width:var(--width);
  431. height: var(--height);
  432. overflow:hidden;
  433. position:absolute;
  434. background: rgba(255,255,255,0.4);
  435. opacity: 0;
  436. }
  437. .brick.enter {
  438. transition: 0.5s all;
  439. transform: rotateX(-30deg) rotateY(45deg);
  440. }
  441. .brick.enter .face {
  442. transition: 0.5s all;
  443. opacity: 1;
  444. }
  445. .brick-2 .face {
  446. background: rgba(255,255,255,0.3);
  447. }
  448. .brick-2 .brick-front, .brick-back {
  449. background: rgba(255,255,255,0.4);
  450. }
  451. .brick-3 .face {
  452. background: rgba(255,255,255,0.2);
  453. }
  454. .brick-3 .brick-front, .brick-back {
  455. background: rgba(255,255,255,0.1);
  456. }
  457. .brick-front {
  458. transform:translate3d(0,0, calc(var(--width) / 2));
  459. background: rgba(255,255,255,0.6);
  460. }
  461. .brick-top {
  462. width:var(--width);
  463. height:var(--width);
  464. transform:rotateX(90deg) translate3d(0,0, calc(var(--width) / 2));
  465. background-color: rgba(255,255,255,0.8);
  466. }
  467. .brick-bottom {
  468. width:var(--width);
  469. height:var(--width);
  470. transform: rotateX(-90deg) translate3d(0,0, calc(var(--height) / 2));
  471. background-color: rgba(255,255,255,0.8);
  472. }
  473. .brick-left {
  474. transform:rotateY(-90deg) translate3d(0,0,calc(var(--width) / 2));
  475. background: rgba(255,255,255,0.5);
  476. }
  477. .brick-right {
  478. transform:rotateY(90deg) translate3d(0,0,calc(var(--width) / 2));
  479. background: rgba(255,255,255,0.5);
  480. }
  481. .brick-back {
  482. transform:rotateY(180deg) translate3d(0,0,calc(var(--width) / 2));
  483. background: rgba(255,255,255,0.6);
  484. }
  485. .brick {
  486. width: var(--width);
  487. height: var(--height);
  488. transform-origin: calc(var(--width) / 2) calc(var(--height) / 2);
  489. margin: 0 auto calc(var(--width) / 12);
  490. }
  491. .brick.enter {
  492. transition: 0.5s all;
  493. transform: rotateX(-30deg) rotateY(45deg);
  494. }
  495. .brick.enter .face {
  496. transition: 0.5s all;
  497. opacity: 1;
  498. }
  499. .brick-1 {
  500. animation: rorate 2s 1s infinite linear;
  501. transform: rotateX(-30deg) rotateY(45deg) translateZ(30px);
  502. }
  503. .brick-2 {
  504. animation: rorate 2s 0.75s infinite linear;
  505. transform: rotateX(-30deg) rotateY(45deg) translateZ(20px);
  506. }
  507. .brick-3 {
  508. animation: rorate 2s 0.5s infinite linear;
  509. transform: rotateX(-30deg) rotateY(45deg) translateZ(10px);
  510. }
  511. .face {
  512. width:var(--width);
  513. height: var(--height);
  514. }
  515. .brick-front {
  516. transform:translate3d(0,0, calc(var(--width) / 2));
  517. }
  518. .brick-top {
  519. width:var(--width);
  520. height:var(--width);
  521. transform:rotateX(90deg) translate3d(0,0, calc(var(--width) / 2));
  522. }
  523. .brick-bottom {
  524. width:var(--width);
  525. height:var(--width);
  526. transform: rotateX(-90deg) translate3d(0,0, calc(var(--height) / -2));
  527. }
  528. .brick-left {
  529. transform:rotateY(-90deg) translate3d(0,0,calc(var(--width) / 2));
  530. }
  531. .brick-right {
  532. transform:rotateY(90deg) translate3d(0,0,calc(var(--width) / 2));
  533. }
  534. .brick-back {
  535. transform:rotateY(180deg) translate3d(0,0,calc(var(--width) / 2));
  536. }
  537. @keyframes rorate {
  538. 0% {
  539. transform: rotateX(-30deg) rotateY(-45deg) ;
  540. }
  541. 50% {
  542. transform: rotateX(-30deg) rotateY(-315deg) ;
  543. }
  544. 100%{
  545. transform: rotateX(-30deg) rotateY(-315deg) ;
  546. }
  547. }