app.less 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881
  1. <<<<<<< HEAD:src/app.less
  2. // @import '~taro-ui/dist/style/index.less';
  3. view {
  4. box-sizing: border-box;
  5. }
  6. .tab {
  7. display: flex;
  8. flex: 1;
  9. background-color: #FFFFFF;
  10. position: relative;
  11. transform: all 1.1s ease;
  12. .tablist {
  13. width: 50%;
  14. height: 84px;
  15. font-size: 34px;
  16. font-family: PingFangSC-Semibold, PingFang SC;
  17. font-weight: 400;
  18. color: #E03326;
  19. line-height: 84px;
  20. text-align: center;
  21. }
  22. .tablistfan {
  23. width: 50%;
  24. height: 84px;
  25. font-size: 34px;
  26. font-family: PingFangSC-Semibold, PingFang SC;
  27. font-weight: 400;
  28. color: #333333;
  29. line-height: 84px;
  30. text-align: center;
  31. }
  32. .tabhua1 {
  33. width: 136px;
  34. height: 4px;
  35. position: absolute;
  36. top: 80px;
  37. left: 118px;
  38. background-color: #E03326;
  39. }
  40. .tabhua2 {
  41. width: 136px;
  42. height: 4px;
  43. position: absolute;
  44. top: 80px;
  45. left: 500px;
  46. background-color: #E03326;
  47. }
  48. }
  49. .recall {
  50. background-color: #FFF4EF;
  51. height: 72px;
  52. padding-top: 20px;
  53. View {
  54. height: 32px;
  55. font-size: 28px;
  56. font-family: PingFangSC-Regular, PingFang SC;
  57. font-weight: 400;
  58. color: #111111;
  59. display: flex;
  60. &::before {
  61. content: '';
  62. display: inline-block;
  63. height: 32px;
  64. width: 32px;
  65. margin-left: 24px;
  66. margin-right: 32px;
  67. background: url(assets/img/recall.png) no-repeat;
  68. background-size: 100% auto;
  69. }
  70. }
  71. }
  72. .promessage {
  73. width: 100%;
  74. border-radius: 16px;
  75. margin-top: 24px;
  76. background-color: #FFFFFF;
  77. .messtitle {
  78. margin-left: 24px;
  79. display: inline-block;
  80. width: 156px;
  81. padding-top: 24px;
  82. font-size: 36px;
  83. font-weight: 600;
  84. color: #333333;
  85. }
  86. .small1 {
  87. display: inline-block;
  88. margin-left: 8px;
  89. font-size: 26px;
  90. font-weight: 400;
  91. color: #999999;
  92. }
  93. .small2 {
  94. display: inline-block;
  95. font-size: 26px;
  96. font-weight: 400;
  97. color: #F24724;
  98. }
  99. .messdiv {
  100. height: 95px;
  101. border-bottom: solid 1px #ececec;
  102. padding-left: 0;
  103. position: relative;
  104. .mess1 {
  105. padding-left: 24px;
  106. padding-top: 28px;
  107. font-size: 30px;
  108. font-weight: 400;
  109. color: #333333;
  110. }
  111. .mess2 {
  112. font-size: 30px;
  113. font-weight: 400;
  114. color: #999999;
  115. position: absolute;
  116. top: 28px;
  117. right: 22px;
  118. }
  119. .iconpic {
  120. width: 112px;
  121. height: 96px;
  122. position: absolute;
  123. top: 0px;
  124. right: 22px;
  125. background: url(./assets/img/iconlogo.png) no-repeat;
  126. background-size: 100% auto;
  127. }
  128. .icon2 {
  129. width: 50px;
  130. height: 50px;
  131. position: absolute;
  132. top: 20px;
  133. right: 20px;
  134. background: url(assets/img/right.png) no-repeat;
  135. background-size: 100% auto;
  136. }
  137. }
  138. }
  139. .videodiv {
  140. border-radius: 16px;
  141. background-color: #FFFFFF;
  142. margin-top: 28px;
  143. padding: 28px 24px 32px 24px;
  144. .title {
  145. font-size: 36px;
  146. font-weight: 600;
  147. color: #333333;
  148. }
  149. .video {
  150. height: 368px;
  151. background-color: #333333;
  152. margin-top: 24px;
  153. }
  154. }
  155. .but {
  156. height: 98px;
  157. width: 702px;
  158. text-align: center;
  159. line-height: 98px;
  160. background: #E03326;
  161. border-radius: 12px;
  162. margin: 40px 24px 432px 24px;
  163. font-size: 36px;
  164. font-weight: 400;
  165. color: #FFFFFF;
  166. }
  167. .advicetitle {
  168. font-size: 36px;
  169. font-weight: 500;
  170. color: #333333;
  171. padding: 24px 0 32px 20px;
  172. }
  173. .thingdiv {
  174. width: 343px;
  175. background: #FFFFFF;
  176. border-radius: 16px;
  177. display: inline-block;
  178. margin-bottom: 24px;
  179. .pic {
  180. height: 240px;
  181. background-color: #ececec;
  182. border-radius: 16px 16px 0 0;
  183. }
  184. .title {
  185. margin: 16px 24px 14px 24px;
  186. width: 295px;
  187. height: 84px;
  188. font-size: 30px;
  189. font-weight: 500;
  190. color: #333333;
  191. text-overflow: -o-ellipsis-lastline;
  192. overflow: hidden;
  193. text-overflow: ellipsis;
  194. display: -webkit-box;
  195. -webkit-line-clamp: 2;
  196. -webkit-box-orient: vertical;
  197. }
  198. .has {
  199. font-size: 24px;
  200. font-weight: 400;
  201. color: #999999;
  202. display: inline-block;
  203. &::before {
  204. content: '';
  205. display: inline-block;
  206. width: 22.32px;
  207. height: 23.26px;
  208. background: url(./assets/img/renzheng.png) no-repeat;
  209. background-size: 100% auto;
  210. margin-left: 24px;
  211. margin-right: 10px;
  212. }
  213. &::after {
  214. content: '';
  215. display: inline-block;
  216. width: 1px;
  217. height: 24px;
  218. background: #E5E5E5;
  219. margin-left: 12px;
  220. margin-right: 12px;
  221. }
  222. }
  223. .address {
  224. display: inline-block;
  225. font-size: 24px;
  226. font-weight: 400;
  227. color: #999999;
  228. }
  229. .price {
  230. font-size: 30px;
  231. font-weight: 600;
  232. color: #F65200;
  233. margin: 28px 0 22px 24px;
  234. }
  235. }
  236. .weather {
  237. margin-top: 24px;
  238. padding: 24px 0 32px 0;
  239. background-color: #FFF;
  240. border-radius: 16px;
  241. .dev {
  242. display: flex;
  243. .title {
  244. display: inline-block;
  245. font-size: 36px;
  246. font-weight: 600;
  247. color: #0B0D0E;
  248. margin: 0 400px 28px 22px;
  249. }
  250. .address {
  251. display: flex;
  252. font-size: 24px;
  253. font-weight: 500;
  254. color: #999999;
  255. &::before {
  256. content: '';
  257. display: inline-block;
  258. width: 32px;
  259. height: 32px;
  260. background: url(./assets/img/address.png) no-repeat;
  261. background-size: 100% auto;
  262. }
  263. }
  264. }
  265. .today {
  266. padding: 40px 0 38px 40px;
  267. border-top: 1px solid #EEEEEE;
  268. border-bottom: 1px solid #EEEEEE;
  269. display: flex;
  270. font-family: PingFangSC-Medium, PingFang SC;
  271. .temp_curr {
  272. display: inline-block;
  273. font-size: 120px;
  274. font-family: AvenirNext-DemiBold, AvenirNext;
  275. font-weight: 600;
  276. color: #333333;
  277. }
  278. .todaydate {
  279. display: flex;
  280. flex-wrap: wrap;
  281. .du {
  282. width: 100%;
  283. margin-left: 20px;
  284. margin-top: 20px;
  285. font-size: 48px;
  286. font-family: AvenirNext-Medium, AvenirNext;
  287. font-weight: 500;
  288. color: #333333;
  289. }
  290. .sun {
  291. margin-left: 35px;
  292. font-size: 36px;
  293. font-weight: 500;
  294. color: #333333;
  295. }
  296. .date {
  297. margin-top: 8px;
  298. margin-left: 22px;
  299. font-size: 28px;
  300. font-weight: 500;
  301. color: #333333;
  302. }
  303. .temparea {
  304. margin-top: 8px;
  305. margin-left: 12px;
  306. font-size: 28px;
  307. font-weight: 500;
  308. color: #333333;
  309. line-height: 40px;
  310. }
  311. }
  312. }
  313. .futuretitle {
  314. width: 526px;
  315. height: 60px;
  316. background: #F0F1F2;
  317. border-radius: 30px;
  318. margin: 30px 0 16px 88px;
  319. text-align: center;
  320. font-size: 26px;
  321. font-weight: 600;
  322. color: #6C6D71;
  323. line-height: 60px;
  324. }
  325. .futurediv {
  326. padding: 40px 54px 0 40px;
  327. display: flex;
  328. position: relative;
  329. .data {
  330. font-size: 26px;
  331. font-weight: 500;
  332. color: #333333;
  333. margin-right: 136px;
  334. }
  335. .wea {
  336. font-size: 26px;
  337. font-weight: 500;
  338. color: #333333;
  339. }
  340. .weabefore {
  341. content: '';
  342. display: inline-block;
  343. width: 36px;
  344. height: 36px;
  345. margin-right: 20px;
  346. background-size: 100% auto;
  347. }
  348. .temp {
  349. font-size: 26px;
  350. font-weight: 500;
  351. color: #333333;
  352. position: absolute;
  353. top: 40px;
  354. right: 54px;
  355. }
  356. }
  357. }
  358. .qing {
  359. background: url(./assets/img/weather/qing.png) no-repeat;
  360. }
  361. .duoyun {
  362. background: url(./assets/img/weather/duoyun.png) no-repeat;
  363. }
  364. .yin {
  365. background: url(./assets/img/weather/yin.png) no-repeat;
  366. }
  367. .yu {
  368. background: url(./assets/img/weather/yu.png) no-repeat;
  369. }
  370. .leizhenyu {
  371. background: url(./assets/img/weather/leizhenyu.png) no-repeat;
  372. }
  373. .xue {
  374. background: url(./assets/img/weather/xue.png) no-repeat;
  375. }
  376. .wu {
  377. background: url(./assets/img/weather/wu.png) no-repeat;
  378. }
  379. .shachenbao {
  380. background: url(./assets/img/weather/shachenbao.png) no-repeat;
  381. }
  382. =======
  383. // @import '~taro-ui/dist/style/index.less';
  384. view {
  385. box-sizing: border-box;
  386. }
  387. .tab {
  388. display: flex;
  389. flex: 1;
  390. background-color: #FFFFFF;
  391. position: relative;
  392. transform: all 1.1s ease;
  393. .tablist {
  394. width: 50%;
  395. height: 84px;
  396. font-size: 34px;
  397. font-family: PingFangSC-Semibold, PingFang SC;
  398. font-weight: 400;
  399. color: #E03326;
  400. line-height: 84px;
  401. text-align: center;
  402. }
  403. .tablistfan {
  404. width: 50%;
  405. height: 84px;
  406. font-size: 34px;
  407. font-family: PingFangSC-Semibold, PingFang SC;
  408. font-weight: 400;
  409. color: #333333;
  410. line-height: 84px;
  411. text-align: center;
  412. }
  413. .tabhua1 {
  414. width: 136px;
  415. height: 4px;
  416. position: absolute;
  417. top: 80px;
  418. left: 118px;
  419. background-color: #E03326;
  420. }
  421. .tabhua2 {
  422. width: 136px;
  423. height: 4px;
  424. position: absolute;
  425. top: 80px;
  426. left: 500px;
  427. background-color: #E03326;
  428. }
  429. }
  430. .recall {
  431. background-color: #FFF4EF;
  432. height: 72px;
  433. padding-top: 20px;
  434. View {
  435. height: 32px;
  436. font-size: 28px;
  437. font-family: PingFangSC-Regular, PingFang SC;
  438. font-weight: 400;
  439. color: #111111;
  440. display: flex;
  441. &::before {
  442. content: '';
  443. display: inline-block;
  444. height: 32px;
  445. width: 32px;
  446. margin-left: 24px;
  447. margin-right: 32px;
  448. background: url(assets/img/recall.png) no-repeat;
  449. background-size: 100% auto;
  450. }
  451. }
  452. }
  453. .promessage {
  454. width: 100%;
  455. border-radius: 16px;
  456. margin-top: 24px;
  457. background-color: #FFFFFF;
  458. .messtitle {
  459. margin-left: 24px;
  460. display: inline-block;
  461. width: 156px;
  462. padding-top: 24px;
  463. font-size: 36px;
  464. font-weight: 600;
  465. color: #333333;
  466. }
  467. .small1 {
  468. display: inline-block;
  469. margin-left: 8px;
  470. font-size: 26px;
  471. font-weight: 400;
  472. color: #999999;
  473. }
  474. .small2 {
  475. display: inline-block;
  476. font-size: 26px;
  477. font-weight: 400;
  478. color: #F24724;
  479. }
  480. .messdiv {
  481. height: 95px;
  482. border-bottom: solid 1px #ececec;
  483. padding-left: 0;
  484. position: relative;
  485. .mess1 {
  486. padding-left: 24px;
  487. padding-top: 28px;
  488. font-size: 30px;
  489. font-weight: 400;
  490. color: #333333;
  491. }
  492. .mess2 {
  493. font-size: 30px;
  494. font-weight: 400;
  495. color: #999999;
  496. position: absolute;
  497. top: 28px;
  498. right: 22px;
  499. }
  500. .iconpic {
  501. width: 112px;
  502. height: 96px;
  503. position: absolute;
  504. top: 0px;
  505. right: 22px;
  506. background: url(./assets/img/iconlogo.png) no-repeat;
  507. background-size: 100% auto;
  508. }
  509. .icon2 {
  510. width: 50px;
  511. height: 50px;
  512. position: absolute;
  513. top: 20px;
  514. right: 20px;
  515. background: url(assets/img/right.png) no-repeat;
  516. background-size: 100% auto;
  517. }
  518. }
  519. }
  520. .videodiv {
  521. border-radius: 16px;
  522. background-color: #FFFFFF;
  523. margin-top: 28px;
  524. padding: 28px 24px 32px 24px;
  525. .title {
  526. font-size: 36px;
  527. font-weight: 600;
  528. color: #333333;
  529. }
  530. .video {
  531. height: 368px;
  532. background-color: #333333;
  533. margin-top: 24px;
  534. }
  535. }
  536. .but {
  537. height: 98px;
  538. width: 702px;
  539. text-align: center;
  540. line-height: 98px;
  541. background: #E03326;
  542. border-radius: 12px;
  543. margin: 40px 24px 432px 24px;
  544. font-size: 36px;
  545. font-weight: 400;
  546. color: #FFFFFF;
  547. }
  548. .advicetitle {
  549. font-size: 36px;
  550. font-weight: 500;
  551. color: #333333;
  552. padding: 24px 0 32px 20px;
  553. }
  554. .thingdiv {
  555. width: 343px;
  556. background: #FFFFFF;
  557. border-radius: 16px;
  558. display: inline-block;
  559. margin-bottom: 24px;
  560. .pic {
  561. height: 240px;
  562. background-color: #ececec;
  563. border-radius: 16px 16px 0 0;
  564. }
  565. .title {
  566. margin: 16px 24px 14px 24px;
  567. width: 295px;
  568. height: 84px;
  569. font-size: 30px;
  570. font-weight: 500;
  571. color: #333333;
  572. text-overflow: -o-ellipsis-lastline;
  573. overflow: hidden;
  574. text-overflow: ellipsis;
  575. display: -webkit-box;
  576. -webkit-line-clamp: 2;
  577. -webkit-box-orient: vertical;
  578. }
  579. .has {
  580. font-size: 24px;
  581. font-weight: 400;
  582. color: #999999;
  583. display: inline-block;
  584. &::before {
  585. content: '';
  586. display: inline-block;
  587. width: 22.32px;
  588. height: 23.26px;
  589. background: url(./assets/img/renzheng.png) no-repeat;
  590. background-size: 100% auto;
  591. margin-left: 24px;
  592. margin-right: 10px;
  593. }
  594. &::after {
  595. content: '';
  596. display: inline-block;
  597. width: 1px;
  598. height: 24px;
  599. background: #E5E5E5;
  600. margin-left: 12px;
  601. margin-right: 12px;
  602. }
  603. }
  604. .address {
  605. display: inline-block;
  606. font-size: 24px;
  607. font-weight: 400;
  608. color: #999999;
  609. }
  610. .price {
  611. font-size: 30px;
  612. font-weight: 600;
  613. color: #F65200;
  614. margin: 28px 0 22px 24px;
  615. }
  616. }
  617. .weather {
  618. margin-top: 24px;
  619. padding: 24px 0 32px 0;
  620. background-color: #FFF;
  621. border-radius: 16px;
  622. .dev {
  623. display: flex;
  624. .title {
  625. display: inline-block;
  626. font-size: 36px;
  627. font-weight: 600;
  628. color: #0B0D0E;
  629. margin: 0 400px 28px 22px;
  630. }
  631. .address {
  632. display: flex;
  633. font-size: 24px;
  634. font-weight: 500;
  635. color: #999999;
  636. &::before {
  637. content: '';
  638. display: inline-block;
  639. width: 32px;
  640. height: 32px;
  641. background: url(./assets/img/address.png) no-repeat;
  642. background-size: 100% auto;
  643. }
  644. }
  645. }
  646. .today {
  647. padding: 40px 0 38px 40px;
  648. border-top: 1px solid #EEEEEE;
  649. border-bottom: 1px solid #EEEEEE;
  650. display: flex;
  651. font-family: PingFangSC-Medium, PingFang SC;
  652. .temp_curr {
  653. display: inline-block;
  654. font-size: 120px;
  655. font-family: AvenirNext-DemiBold, AvenirNext;
  656. font-weight: 600;
  657. color: #333333;
  658. }
  659. .todaydate {
  660. display: flex;
  661. flex-wrap: wrap;
  662. .du {
  663. width: 100%;
  664. margin-left: 20px;
  665. margin-top: 20px;
  666. font-size: 48px;
  667. font-family: AvenirNext-Medium, AvenirNext;
  668. font-weight: 500;
  669. color: #333333;
  670. }
  671. .sun {
  672. margin-left: 35px;
  673. font-size: 36px;
  674. font-weight: 500;
  675. color: #333333;
  676. }
  677. .date {
  678. margin-top: 8px;
  679. margin-left: 22px;
  680. font-size: 28px;
  681. font-weight: 500;
  682. color: #333333;
  683. }
  684. .temparea {
  685. margin-top: 8px;
  686. margin-left: 12px;
  687. font-size: 28px;
  688. font-weight: 500;
  689. color: #333333;
  690. line-height: 40px;
  691. }
  692. }
  693. }
  694. .futuretitle {
  695. width: 526px;
  696. height: 60px;
  697. background: #F0F1F2;
  698. border-radius: 30px;
  699. margin: 30px 0 16px 88px;
  700. text-align: center;
  701. font-size: 26px;
  702. font-weight: 600;
  703. color: #6C6D71;
  704. line-height: 60px;
  705. }
  706. .futurediv {
  707. padding: 40px 54px 0 40px;
  708. display: flex;
  709. position: relative;
  710. .data {
  711. font-size: 26px;
  712. font-weight: 500;
  713. color: #333333;
  714. margin-right: 136px;
  715. }
  716. .wea {
  717. font-size: 26px;
  718. font-weight: 500;
  719. color: #333333;
  720. }
  721. .weabefore {
  722. content: '';
  723. display: inline-block;
  724. width: 36px;
  725. height: 36px;
  726. margin-right: 20px;
  727. background-size: 100% auto;
  728. }
  729. .temp {
  730. font-size: 26px;
  731. font-weight: 500;
  732. color: #333333;
  733. position: absolute;
  734. top: 40px;
  735. right: 54px;
  736. }
  737. }
  738. }
  739. .qing {
  740. background: url(./assets/img/weather/qing.png) no-repeat;
  741. }
  742. .duoyun {
  743. background: url(./assets/img/weather/duoyun.png) no-repeat;
  744. }
  745. .yin {
  746. background: url(./assets/img/weather/yin.png) no-repeat;
  747. }
  748. .yu {
  749. background: url(./assets/img/weather/yu.png) no-repeat;
  750. }
  751. .leizhenyu {
  752. background: url(./assets/img/weather/leizhenyu.png) no-repeat;
  753. }
  754. .xue {
  755. background: url(./assets/img/weather/xue.png) no-repeat;
  756. }
  757. .wu {
  758. background: url(./assets/img/weather/wu.png) no-repeat;
  759. }
  760. .shachenbao {
  761. background: url(./assets/img/weather/shachenbao.png) no-repeat;
  762. }
  763. >>>>>>> d491bd1309c23edd3d4728c6f1762c10b7e506f7:app.less