app.less 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439
  1. // @import '~taro-ui/dist/style/index.less';
  2. view {
  3. box-sizing: border-box;
  4. }
  5. .tab {
  6. display: flex;
  7. flex: 1;
  8. background-color: #FFFFFF;
  9. position: relative;
  10. transform: all 1.1s ease;
  11. .tablist {
  12. width: 50%;
  13. height: 84px;
  14. font-size: 34px;
  15. font-family: PingFangSC-Semibold, PingFang SC;
  16. font-weight: 400;
  17. color: #E03326;
  18. line-height: 84px;
  19. text-align: center;
  20. }
  21. .tablistfan {
  22. width: 50%;
  23. height: 84px;
  24. font-size: 34px;
  25. font-family: PingFangSC-Semibold, PingFang SC;
  26. font-weight: 400;
  27. color: #333333;
  28. line-height: 84px;
  29. text-align: center;
  30. }
  31. .tabhua1 {
  32. width: 136px;
  33. height: 4px;
  34. position: absolute;
  35. top: 80px;
  36. left: 118px;
  37. background-color: #E03326;
  38. }
  39. .tabhua2 {
  40. width: 136px;
  41. height: 4px;
  42. position: absolute;
  43. top: 80px;
  44. left: 500px;
  45. background-color: #E03326;
  46. }
  47. }
  48. .recall {
  49. background-color: #FFF4EF;
  50. height: 72px;
  51. padding-top: 20px;
  52. View {
  53. height: 32px;
  54. font-size: 28px;
  55. font-family: PingFangSC-Regular, PingFang SC;
  56. font-weight: 400;
  57. color: #111111;
  58. display: flex;
  59. &::before {
  60. content: '';
  61. display: inline-block;
  62. height: 32px;
  63. width: 32px;
  64. margin-left: 24px;
  65. margin-right: 32px;
  66. background: url(assets/img/recall.png) no-repeat;
  67. background-size: 100% auto;
  68. }
  69. }
  70. }
  71. .promessage {
  72. width: 100%;
  73. border-radius: 16px;
  74. margin-top: 24px;
  75. background-color: #FFFFFF;
  76. .messtitle {
  77. margin-left: 24px;
  78. display: inline-block;
  79. width: 156px;
  80. padding-top: 24px;
  81. font-size: 36px;
  82. font-weight: 600;
  83. color: #333333;
  84. }
  85. .small1 {
  86. display: inline-block;
  87. margin-left: 8px;
  88. font-size: 26px;
  89. font-weight: 400;
  90. color: #999999;
  91. }
  92. .small2 {
  93. display: inline-block;
  94. font-size: 26px;
  95. font-weight: 400;
  96. color: #F24724;
  97. }
  98. .messdiv {
  99. height: 95px;
  100. border-bottom: solid 1px #ececec;
  101. padding-left: 0;
  102. position: relative;
  103. .mess1 {
  104. padding-left: 24px;
  105. padding-top: 28px;
  106. font-size: 30px;
  107. font-weight: 400;
  108. color: #333333;
  109. }
  110. .mess2 {
  111. font-size: 30px;
  112. font-weight: 400;
  113. color: #999999;
  114. position: absolute;
  115. top: 28px;
  116. right: 22px;
  117. }
  118. .iconpic {
  119. width: 112px;
  120. height: 96px;
  121. position: absolute;
  122. top: 0px;
  123. right: 22px;
  124. background: url(./assets/img/iconlogo.png) no-repeat;
  125. background-size: 100% auto;
  126. }
  127. .icon2 {
  128. width: 50px;
  129. height: 50px;
  130. position: absolute;
  131. top: 20px;
  132. right: 20px;
  133. background: url(assets/img/right.png) no-repeat;
  134. background-size: 100% auto;
  135. }
  136. }
  137. }
  138. .videodiv {
  139. border-radius: 16px;
  140. background-color: #FFFFFF;
  141. margin-top: 28px;
  142. padding: 28px 24px 32px 24px;
  143. .title {
  144. font-size: 36px;
  145. font-weight: 600;
  146. color: #333333;
  147. }
  148. .video {
  149. height: 368px;
  150. background-color: #333333;
  151. margin-top: 24px;
  152. }
  153. }
  154. .but {
  155. height: 98px;
  156. width: 702px;
  157. text-align: center;
  158. line-height: 98px;
  159. background: #E03326;
  160. border-radius: 12px;
  161. margin: 40px 24px 432px 24px;
  162. font-size: 36px;
  163. font-weight: 400;
  164. color: #FFFFFF;
  165. }
  166. .advicetitle {
  167. font-size: 36px;
  168. font-weight: 500;
  169. color: #333333;
  170. padding: 24px 0 32px 20px;
  171. }
  172. .thingdiv {
  173. width: 343px;
  174. background: #FFFFFF;
  175. border-radius: 16px;
  176. display: inline-block;
  177. margin-bottom: 24px;
  178. .pic {
  179. height: 240px;
  180. background-color: #ececec;
  181. border-radius: 16px 16px 0 0;
  182. }
  183. .title {
  184. margin: 16px 24px 14px 24px;
  185. width: 295px;
  186. height: 84px;
  187. font-size: 30px;
  188. font-weight: 500;
  189. color: #333333;
  190. text-overflow: -o-ellipsis-lastline;
  191. overflow: hidden;
  192. text-overflow: ellipsis;
  193. display: -webkit-box;
  194. -webkit-line-clamp: 2;
  195. -webkit-box-orient: vertical;
  196. }
  197. .has {
  198. font-size: 24px;
  199. font-weight: 400;
  200. color: #999999;
  201. display: inline-block;
  202. &::before {
  203. content: '';
  204. display: inline-block;
  205. width: 22.32px;
  206. height: 23.26px;
  207. background: url(./assets/img/renzheng.png) no-repeat;
  208. background-size: 100% auto;
  209. margin-left: 24px;
  210. margin-right: 10px;
  211. }
  212. &::after {
  213. content: '';
  214. display: inline-block;
  215. width: 1px;
  216. height: 24px;
  217. background: #E5E5E5;
  218. margin-left: 12px;
  219. margin-right: 12px;
  220. }
  221. }
  222. .address {
  223. display: inline-block;
  224. font-size: 24px;
  225. font-weight: 400;
  226. color: #999999;
  227. }
  228. .price {
  229. font-size: 30px;
  230. font-weight: 600;
  231. color: #F65200;
  232. margin: 28px 0 22px 24px;
  233. }
  234. }
  235. .weather {
  236. margin-top: 24px;
  237. padding: 24px 0 32px 0;
  238. background-color: #FFF;
  239. border-radius: 16px;
  240. .dev {
  241. display: flex;
  242. .title {
  243. display: inline-block;
  244. font-size: 36px;
  245. font-weight: 600;
  246. color: #0B0D0E;
  247. margin: 0 400px 28px 22px;
  248. }
  249. .address {
  250. display: flex;
  251. font-size: 24px;
  252. font-weight: 500;
  253. color: #999999;
  254. &::before {
  255. content: '';
  256. display: inline-block;
  257. width: 32px;
  258. height: 32px;
  259. background: url(./assets/img/address.png) no-repeat;
  260. background-size: 100% auto;
  261. }
  262. }
  263. }
  264. .today {
  265. padding: 40px 0 38px 40px;
  266. border-top: 1px solid #EEEEEE;
  267. border-bottom: 1px solid #EEEEEE;
  268. display: flex;
  269. font-family: PingFangSC-Medium, PingFang SC;
  270. .temp_curr {
  271. display: inline-block;
  272. font-size: 120px;
  273. font-family: AvenirNext-DemiBold, AvenirNext;
  274. font-weight: 600;
  275. color: #333333;
  276. }
  277. .todaydate {
  278. display: flex;
  279. flex-wrap: wrap;
  280. .du {
  281. width: 100%;
  282. margin-left: 20px;
  283. margin-top: 20px;
  284. font-size: 48px;
  285. font-family: AvenirNext-Medium, AvenirNext;
  286. font-weight: 500;
  287. color: #333333;
  288. }
  289. .sun {
  290. margin-left: 35px;
  291. font-size: 36px;
  292. font-weight: 500;
  293. color: #333333;
  294. }
  295. .date {
  296. margin-top: 8px;
  297. margin-left: 22px;
  298. font-size: 28px;
  299. font-weight: 500;
  300. color: #333333;
  301. }
  302. .temparea {
  303. margin-top: 8px;
  304. margin-left: 12px;
  305. font-size: 28px;
  306. font-weight: 500;
  307. color: #333333;
  308. line-height: 40px;
  309. }
  310. }
  311. }
  312. .futuretitle {
  313. width: 526px;
  314. height: 60px;
  315. background: #F0F1F2;
  316. border-radius: 30px;
  317. margin: 30px 0 16px 88px;
  318. text-align: center;
  319. font-size: 26px;
  320. font-weight: 600;
  321. color: #6C6D71;
  322. line-height: 60px;
  323. }
  324. .futurediv {
  325. padding: 40px 54px 0 40px;
  326. display: flex;
  327. position: relative;
  328. .data {
  329. font-size: 26px;
  330. font-weight: 500;
  331. color: #333333;
  332. margin-right: 136px;
  333. }
  334. .wea {
  335. font-size: 26px;
  336. font-weight: 500;
  337. color: #333333;
  338. }
  339. .weabefore {
  340. content: '';
  341. display: inline-block;
  342. width: 36px;
  343. height: 36px;
  344. margin-right: 20px;
  345. background-size: 100% auto;
  346. }
  347. .temp {
  348. font-size: 26px;
  349. font-weight: 500;
  350. color: #333333;
  351. position: absolute;
  352. top: 40px;
  353. right: 54px;
  354. }
  355. }
  356. }
  357. .qing {
  358. background: url(./assets/img/weather/qing.png) no-repeat;
  359. }
  360. .duoyun {
  361. background: url(./assets/img/weather/duoyun.png) no-repeat;
  362. }
  363. .yin {
  364. background: url(./assets/img/weather/yin.png) no-repeat;
  365. }
  366. .yu {
  367. background: url(./assets/img/weather/yu.png) no-repeat;
  368. }
  369. .leizhenyu {
  370. background: url(./assets/img/weather/leizhenyu.png) no-repeat;
  371. }
  372. .xue {
  373. background: url(./assets/img/weather/xue.png) no-repeat;
  374. }
  375. .wu {
  376. background: url(./assets/img/weather/wu.png) no-repeat;
  377. }
  378. .shachenbao {
  379. background: url(./assets/img/weather/shachenbao.png) no-repeat;
  380. }