style.css 19 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123
  1. html,
  2. body {
  3. font-size: 0.28rem;
  4. font-weight: 500;
  5. height: 100%;
  6. background: #ffffff;
  7. font-family: Microsoft YaHei, Arial;
  8. -webkit-overflow-scrolling: touch;
  9. }
  10. input,
  11. button,
  12. select,
  13. textarea {
  14. outline: none;
  15. }
  16. @font-face{
  17. font-family: 'Medium';
  18. /*src: url('../font/字体名称.eot');*/
  19. src: url('./DINOT-Medium.ttf') format('truetype');
  20. }
  21. .topbar {
  22. position: fixed;
  23. top: 0;
  24. z-index: 99;
  25. background: #ffffff;
  26. width: 100%;
  27. }
  28. .weui-loading {
  29. background-image: url(../image/loading.svg);
  30. }
  31. textarea {
  32. resize: none;
  33. }
  34. .weui_tab_bd_item {
  35. display: none;
  36. }
  37. .weui_tab_bd_item.weui_tab_bd_item_active {
  38. display: block;
  39. }
  40. .hover {
  41. opacity: .8;
  42. }
  43. .flex-wrap {
  44. display: -webkit-box;
  45. display: -webkit-flex;
  46. display: flex;
  47. }
  48. .flex-con {
  49. -webkit-box-flex: 1;
  50. -webkit-flex: 1;
  51. flex: 1;
  52. }
  53. .flex-vertical {
  54. -webkit-box-orient: vertical;
  55. -webkit-flex-flow: column;
  56. flex-flow: column;
  57. }
  58. .border-t,
  59. .border-b {
  60. position: relative;
  61. }
  62. .border-t:before,
  63. .border-b:after {
  64. content: '';
  65. position: absolute;
  66. left: 0;
  67. top: 0;
  68. background: #ddd;
  69. right: 0;
  70. height: 1px;
  71. -webkit-transform: scaleY(0.5);
  72. transform: scaleY(0.5);
  73. -webkit-transform-origin: 0 0;
  74. transform-origin: 0 0;
  75. }
  76. .border-b:after {
  77. top: auto;
  78. bottom: 0;
  79. }
  80. #wrap {
  81. height: 100%;
  82. }
  83. body {
  84. box-sizing: border-box;
  85. }
  86. input {
  87. border: none;
  88. outline: none;
  89. font: inherit;
  90. }
  91. div,
  92. ul,
  93. li,
  94. span,
  95. input {
  96. margin: 0px;
  97. padding: 0px;
  98. color: #606266;
  99. list-style: none;
  100. }
  101. .msg-total {
  102. background-color: #f56c6c;
  103. border-radius: 1em;
  104. color: #fff;
  105. display: inline-block;
  106. font-size: 0.2rem;
  107. height: 0.18rem;
  108. line-height: 0.18rem;
  109. padding: 0.05rem 0.1rem;
  110. text-align: center;
  111. white-space: nowrap;
  112. }
  113. .font-rem11 {
  114. font-size: 0.28rem;
  115. }
  116. .h2 {
  117. width: 100%;
  118. clear: both;
  119. height: 0.15rem;
  120. }
  121. .h5 {
  122. width: 100%;
  123. clear: both;
  124. height: 0.4rem;
  125. }
  126. .new-list {
  127. padding-top: 1rem;
  128. }
  129. .h10 {
  130. width: 100%;
  131. clear: both;
  132. height: 0.3rem;
  133. }
  134. .back-h10 {
  135. width: 100%;
  136. clear: both;
  137. height: 1.2rem;
  138. background: #f2f2f2;
  139. }
  140. .border:after {
  141. content: ' ';
  142. position: absolute;
  143. pointer-events: none;
  144. box-sizing: border-box;
  145. top: -50%;
  146. left: -50%;
  147. right: -50%;
  148. bottom: -50%;
  149. -webkit-transform: scale(0.5);
  150. transform: scale(0.5);
  151. border-bottom: 1px solid #d9251c;
  152. }
  153. .h20 {
  154. width: 100%;
  155. clear: both;
  156. height: 0.17rem;
  157. }
  158. .back-h50 {
  159. width: 100%;
  160. clear: both;
  161. height: 0.2rem;
  162. background: #f2f2f2;
  163. }
  164. .h50 {
  165. width: 100%;
  166. clear: both;
  167. height: 0.2rem;
  168. }
  169. .h70 {
  170. width: 100%;
  171. clear: both;
  172. height: 2rem;
  173. }
  174. .white-back {
  175. background: #ffffff !important;
  176. }
  177. .right-tag {
  178. float: right;
  179. font-weight: 600;
  180. }
  181. .bot-input {
  182. color: #999999;
  183. border-bottom: 1px solid #e8e8e8;
  184. width: 100%;
  185. padding: 0.25rem 0 0.25rem 0.3rem;
  186. border-radius: 0px;
  187. font-size: 0.35rem;
  188. }
  189. .border-t {
  190. background-color: #fff;
  191. height: 1rem;
  192. /*margin-top: 0.3rem;*/
  193. }
  194. #footer ul li {
  195. color: #909399;
  196. padding-top: 0.55rem;
  197. padding-bottom: 0px;
  198. background: url() no-repeat center 2px;
  199. background-size: auto 0.5rem;
  200. text-align: center;
  201. }
  202. .m-bottom {
  203. width: 100%;
  204. height: 1rem;
  205. line-height: 1rem;
  206. background: #D9251C;
  207. color: #ffffff;
  208. border-radius: 0.05rem;
  209. text-align: center;
  210. font-size: 0.33rem;
  211. }
  212. .back-header {
  213. width: 100%;
  214. /*height: 1rem;*/
  215. position: fixed;
  216. left: 0px;
  217. right: 0px;
  218. padding-left: 0.32rem;
  219. padding-right: 0.32rem;
  220. box-sizing: border-box;
  221. z-index: 2;
  222. background: #ffffff;
  223. }
  224. .back-header li div {
  225. margin: 0.125rem 0;
  226. }
  227. #keyword {
  228. font-size: 0.3rem;
  229. }
  230. .back-header-bottom {
  231. border-bottom: 1px solid #e8e8e8;
  232. }
  233. .back-header-ico {
  234. width: 0.25rem;
  235. padding-bottom: 0.3em;
  236. vertical-align: middle;
  237. }
  238. .back-header-title {
  239. text-align: center;
  240. font-size: 0.28rem;
  241. color: #666666;
  242. }
  243. .back-header li.back-btn {
  244. width: 0.42rem;
  245. }
  246. .back-header li.more-btn {
  247. text-align: right;
  248. font-size: 0.28rem;
  249. color: #666666;
  250. width: 0.6rem;
  251. float: right;
  252. }
  253. .back-header li {
  254. width: 5.66rem;
  255. float: left;
  256. height: 0.85rem;
  257. line-height: 0.85rem;
  258. font-size: 0.35rem;
  259. }
  260. .back-header li.padding-20 {
  261. width: 0.6rem;
  262. }
  263. .padding-08 {
  264. padding-left: 0.32rem;
  265. padding-right: 0.32rem;
  266. box-sizing: border-box;
  267. }
  268. section {
  269. padding-left: 0.32rem;
  270. padding-right: 0.32rem;
  271. box-sizing: border-box;
  272. }
  273. .mask {
  274. position: absolute;
  275. top: 0px;
  276. left: 0px;
  277. right: 0px;
  278. bottom: 0px;
  279. background: rgba(0, 0, 0, 0.5);
  280. z-index: 999;
  281. }
  282. .mask-hidden {
  283. display: none;
  284. }
  285. .bottom-none {
  286. border-bottom: none;
  287. }
  288. .data-null {
  289. width: 100%;
  290. margin-top: 0.2rem;
  291. text-align: center;
  292. color: #DDDDDD;
  293. clear: both;
  294. }
  295. .no_overflow {
  296. height: 100%;
  297. overflow: hidden;
  298. }
  299. .back-top {
  300. position: fixed;
  301. width: 40px;
  302. height: 40px;
  303. right: 10px;
  304. bottom: 20px;
  305. border: 1px solid #e8e8e8;
  306. border-radius: 50%;
  307. z-index: 999;
  308. background-image: url('../image/back_top.png');
  309. background-size: 100% 100%;
  310. }
  311. /*******login**********/
  312. .login-logo {
  313. margin-top: 1rem;
  314. width: 100%;
  315. text-align: center;
  316. }
  317. .login-logo img {
  318. width: 1.8rem;
  319. }
  320. .find-pad {
  321. float: left;
  322. font-size: 0.28rem;
  323. }
  324. .code-login {
  325. float: right;
  326. font-size: 0.28rem;
  327. }
  328. .pad-login {
  329. margin: auto;
  330. width: 100%;
  331. text-align: center;
  332. }
  333. .get-code {
  334. position: absolute;
  335. right: 0px;
  336. top: 1.3rem;
  337. height: 0.5rem;
  338. line-height: 0.5rem;
  339. width: 2rem;
  340. text-align: center;
  341. border-left: 1px solid #e8e8e8;
  342. }
  343. .more-landing {
  344. text-align: center;
  345. margin: auto;
  346. width: 100%;
  347. position: fixed;
  348. bottom: 0.2rem;
  349. }
  350. .more-landing li {
  351. float: left;
  352. width: 15%;
  353. }
  354. .more-landing img {
  355. width: 0.75rem;
  356. }
  357. .color-red {
  358. color: #A13532;
  359. }
  360. .msg-totalx {
  361. background-color: #f56c6c;
  362. border-radius: 0.2rem;
  363. color: #fff;
  364. display: inline-block;
  365. font-size: 0.12rem;
  366. height: 0.18rem;
  367. line-height: 0.18rem;
  368. padding: 0 0.6em;
  369. text-align: center;
  370. white-space: nowrap;
  371. border: 1px solid #fff;
  372. }
  373. /********home**********/
  374. .home-top {
  375. height: 0.6rem;
  376. padding: 0.15rem 0;
  377. }
  378. .home-top div {
  379. /*float: left;*/
  380. }
  381. .home-top-left {
  382. /*height: 30px;*/
  383. width: 4.5rem;
  384. font-size: 0.28rem;
  385. /*margin-top: 8px;*/
  386. }
  387. .home-top-local {
  388. width: 0.37rem;
  389. vertical-align: middle;
  390. padding-bottom: 0.4em;
  391. }
  392. .local-name {
  393. white-space: nowrap;
  394. overflow: hidden;
  395. text-overflow: ellipsis;
  396. width: 3.67rem;
  397. height: 0.3rem;
  398. line-height: 0.33rem;
  399. }
  400. .home-top-right {
  401. /*width: 40%;
  402. position: relative;*/
  403. }
  404. .home-top-right span {
  405. text-align: center;
  406. float: right;
  407. }
  408. .home-top-right p {
  409. font-size: 0.2rem;
  410. line-height: 0.2rem;
  411. color: #999;
  412. }
  413. .home-search {
  414. width: 100%;
  415. text-align: center;
  416. background: #f5f5f5;
  417. /*border: 1px solid #e8e8e8;*/
  418. /*height: 0.57rem;*/
  419. line-height: 0.57rem;
  420. border-radius: 0.5rem;
  421. font-size: 0.28rem;
  422. color: #999999;
  423. }
  424. .home-search img {
  425. width: 0.32rem;
  426. margin-bottom: 0.07rem;
  427. vertical-align: middle;
  428. }
  429. .home-ads {
  430. width: 100%;
  431. height: 3.3rem;
  432. background: #e8e8e8;
  433. margin-top: 2.4rem;
  434. }
  435. .home-nearby {
  436. position: relative;
  437. font-size: 0.3rem;
  438. }
  439. .home-hotel-list {
  440. vertical-align: middle;
  441. margin-bottom: 0.1rem;
  442. overflow: hidden;
  443. display: -webkit-box;
  444. display: -ms-flexbox;
  445. display: flex;
  446. }
  447. .home-hotel-left {
  448. float: left;
  449. width: 2.15rem;
  450. height: 1.5rem;
  451. border-radius: 0.2em;
  452. margin-top: 0.2em;
  453. }
  454. .home-hotel-left img {
  455. width: 100%;
  456. height: 100%;
  457. border-radius: 0.2em;
  458. }
  459. .home-hotel-right {
  460. padding-left: 0.3rem;
  461. -webkit-box-flex: 1;
  462. -ms-flex: 1;
  463. flex: 1;
  464. min-width: 0;
  465. }
  466. .home-hotel-title {
  467. width: 100%;
  468. text-align: left;
  469. overflow: hidden;
  470. color: #333;
  471. }
  472. .home-hotel-dtl {
  473. width: 100%;
  474. font-size: 0.24rem;
  475. }
  476. .home-hotel-dtl li {
  477. float: left;
  478. padding: 0.1rem 0;
  479. }
  480. .home-hotel-dtl img {
  481. width: 0.27rem;
  482. vertical-align: middle;
  483. margin-bottom: 0.1rem;
  484. }
  485. .home-hotel-dsc {
  486. width: 100%;
  487. overflow: hidden;
  488. font-size: 0.24rem;
  489. line-height: 0.34rem;
  490. display: -webkit-box;
  491. -webkit-line-clamp: 2;
  492. -webkit-box-orient: vertical;
  493. word-break: break-all;
  494. }
  495. .error-k {
  496. border: 1px solid #f40 !important;
  497. border-radius: 0.1rem;
  498. }
  499. /*************发现***************/
  500. .find-list-time {
  501. color: #999999;
  502. font-size: 0.24rem;
  503. }
  504. .find-dtl-title {
  505. width: 100%;
  506. padding-top: 0.5rem;
  507. padding-bottom: 0.5rem;
  508. font-weight: 600;
  509. font-size: 0.33rem;
  510. }
  511. .find-dtl-content {
  512. width: 100%;
  513. /*font-size: 1rem;*/
  514. overflow: hidden;
  515. padding-bottom: 1rem;
  516. }
  517. .find-dtl-content img {
  518. width: 100% !important;
  519. height: 100% !important;
  520. }
  521. .find-list-dsc {
  522. overflow: hidden;
  523. display: -webkit-box;
  524. -webkit-line-clamp: 2;
  525. -webkit-box-orient: vertical;
  526. word-break: break-all;
  527. /*width: 3.7rem;*/
  528. margin-bottom: 0.23rem;
  529. height: 0.77rem;
  530. line-height: 0.37rem;
  531. color: #333;
  532. }
  533. .search-item {
  534. width: 100%;
  535. background: #f5f5f5;
  536. position: relative;
  537. text-align: left;
  538. padding-left: 0.32rem;
  539. padding-right: 0.32rem;
  540. box-sizing: border-box;
  541. /*height: 0.55rem;*/
  542. line-height: 0.55rem;
  543. border-radius: 0.5rem;
  544. margin: 0.15rem 0;
  545. }
  546. .search-item img {
  547. width: 0.33rem;
  548. vertical-align: middle;
  549. }
  550. .el-button {
  551. display: inline-block;
  552. line-height: 1;
  553. white-space: nowrap;
  554. cursor: pointer;
  555. background: #fff;
  556. /*border: 1px solid #dcdfe6;*/
  557. color: #606266;
  558. -webkit-appearance: none;
  559. text-align: center;
  560. box-sizing: border-box;
  561. outline: none;
  562. margin: 0;
  563. transition: .1s;
  564. font-weight: 500;
  565. -moz-user-select: none;
  566. -webkit-user-select: none;
  567. -ms-user-select: none;
  568. padding: 0.12rem 0.2rem;
  569. /*font-size: 0.14rem;*/
  570. border-radius: 0.05rem;
  571. }
  572. .el-button.is-round {
  573. padding: 0.12rem 0.2rem;
  574. }
  575. .el-button.is-round {
  576. border-radius: 0.2rem;
  577. padding: 0.12rem 0.23rem;
  578. }
  579. /*****************我的*****************/
  580. .my-head {
  581. width: 100%;
  582. height: 2.62rem;
  583. background: #d9251c;
  584. }
  585. .my-msg {
  586. width: 100%;
  587. text-align: right;
  588. }
  589. .my-msg img {
  590. width: 0.37rem;
  591. }
  592. .padding-top {
  593. padding-top: 1rem;
  594. }
  595. .my-header {
  596. width: 100%;
  597. height: 1.3rem;
  598. vertical-align: middle;
  599. color: #ffffff;
  600. }
  601. .my-header li {
  602. float: left;
  603. }
  604. .my-header-img {
  605. width: 1.3rem;
  606. height: 1.3rem;
  607. border-radius: 50%;
  608. }
  609. .my-head-name {
  610. color: #ffffff;
  611. padding-top: 0.2rem;
  612. box-sizing: border-box;
  613. font-size: 0.33rem;
  614. }
  615. .my-head-name p {
  616. font-size: 0.15rem;
  617. }
  618. .my-head-sign {
  619. border-radius: 0.5rem;
  620. padding: 0.1rem 0.15rem;
  621. border: 1px solid #ffffff;
  622. color: #ffffff;
  623. margin-top: 0.37rem;
  624. box-sizing: border-box;
  625. background: rgba(212, 189, 189, 0.37);
  626. }
  627. .my-order {
  628. width: 100%;
  629. height: 1rem;
  630. line-height: 1rem;
  631. border-bottom: 1px solid #e8e8e8;
  632. font-size: 0.28rem;
  633. }
  634. .my-order span {
  635. color: #737272;
  636. }
  637. .my-order-btn {
  638. width: 100%;
  639. margin: 1em 0;
  640. height: 0.9rem;
  641. }
  642. .my-order-btn li {
  643. width: 20%;
  644. float: left;
  645. text-align: center;
  646. font-size: 0.22rem;
  647. }
  648. .my-order-btn img {
  649. width: 0.5rem;
  650. }
  651. .my-appy-in {
  652. width: 100%;
  653. }
  654. .my-appy-in li {
  655. float: left;
  656. width: 50%;
  657. padding-top: 10px;
  658. padding-bottom: 5px;
  659. }
  660. .my-appy-in img {
  661. width: 3.02rem;
  662. height: 1.72rem;
  663. border-radius: 0.2em;
  664. }
  665. .my-btn-list img {
  666. width: 0.33rem;
  667. height: 0.33rem;
  668. vertical-align: middle;
  669. margin-bottom: 0.05rem;
  670. }
  671. .jq-star {
  672. width: 0.23rem !important;
  673. height: 0.23rem !important;
  674. }
  675. /***************订单*******************/
  676. .order-list-title {
  677. padding: 0.15rem 0;
  678. border-bottom: 1px solid #f5f5f5;
  679. }
  680. .order-list-title img {
  681. width: 0.31rem;
  682. height: 0.31rem;
  683. vertical-align: middle;
  684. border-radius: 50%;
  685. margin-bottom: 0.1em;
  686. }
  687. .order-list-goods {
  688. padding-top: 0.2rem;
  689. }
  690. .order-list-goods li {
  691. float: left;
  692. overflow: hidden;
  693. }
  694. .order-list-right {
  695. padding-left: 0.3rem;
  696. width: 3.7rem;
  697. }
  698. .order-list-goods img {
  699. width: 1.73rem;
  700. height: 1.73rem;
  701. /*margin-right: 0.1rem;*/
  702. border-radius: 0.2em;
  703. }
  704. .order-list-status {
  705. float: right;
  706. color: #D9251C;
  707. }
  708. .order-list-action {
  709. float: right;
  710. border: 1px solid #9a8b8b;
  711. padding: 0.02rem 0.08rem;
  712. border-radius: 0.2em;
  713. }
  714. .font-size-18 {
  715. font-size: 18px;
  716. }
  717. .iconfont {
  718. font-size: 0.28rem;
  719. }
  720. /******************商品***********************/
  721. .goods-list {
  722. width: 100%;
  723. }
  724. .goods-list-item {
  725. width: 50%;
  726. float: left;
  727. padding: 0.05rem;
  728. box-sizing: border-box;
  729. }
  730. .goods-image {
  731. width: 3.3rem;
  732. height: 3.3rem;
  733. object-fit: cover;
  734. }
  735. .goods-title {
  736. height: 0.32rem;
  737. line-height: 0.32rem;
  738. overflow: hidden;
  739. }
  740. .goods-price {
  741. color: #d9251c;
  742. font-size: 0.29rem;
  743. }
  744. .sort-img {
  745. width: 18px;
  746. vertical-align: middle;
  747. }
  748. .add-num {
  749. float: right;
  750. /*width: 120px;*/
  751. border: 0.02rem solid #e8e8e8;
  752. border-radius: 0.2em;
  753. }
  754. .add-num li {
  755. float: left;
  756. width: 0.7rem;
  757. text-align: center;
  758. border-right: 1px solid #e8e8e8;
  759. box-sizing: border-box;
  760. height: 0.6rem;
  761. line-height: 0.6rem;
  762. font-size: 0.28rem;
  763. }
  764. .add-num input {
  765. text-align: center;
  766. width: 100%;
  767. color: #666666;
  768. }
  769. .line-through {
  770. text-decoration: line-through;
  771. color: #cccccc;
  772. font-size: 0.2rem;
  773. }
  774. .hotel-top-back {
  775. opacity: 0.35;
  776. width: 100%;
  777. height: auto;
  778. line-height: 0.6rem;
  779. border-radius: 50%;
  780. background: #000000;
  781. text-align: center;
  782. }
  783. .hotel-top-back img {
  784. width: 0.3rem;
  785. vertical-align: middle;
  786. }
  787. .hotel-top-search {
  788. width: 100%;
  789. opacity: 0.35;
  790. height: 0.6rem;
  791. line-height: 0.6rem;
  792. background: #000000;
  793. border-radius: 0.5rem;
  794. color: #ffffff;
  795. padding-left: 0.2rem;
  796. box-sizing: border-box;
  797. font-size: 0.28rem;
  798. }
  799. .weui-gallery {
  800. width: 100%;
  801. }
  802. .weui-gallery__img {
  803. top: 0;
  804. bottom: 0;
  805. }
  806. .weui-gallery__opr {
  807. bottom: 0;
  808. }
  809. .weui-gallery__img, .weui-gallery__opr {
  810. right: 0;
  811. left: 0;
  812. }
  813. .hotel-top-search img {
  814. width: 0.35rem;
  815. vertical-align: middle;
  816. margin-bottom: 0.05rem;
  817. }
  818. @keyframes bounceOut {
  819. 20% {
  820. -webkit-transform: scale3d(.9, .9, .9);
  821. transform: scale3d(.9, .9, .9);
  822. }
  823. 50%, 55% {
  824. opacity: 1;
  825. -webkit-transform: scale3d(1.1, 1.1, 1.1);
  826. transform: scale3d(1.1, 1.1, 1.1);
  827. }
  828. 100% {
  829. opacity: 0;
  830. -webkit-transform: scale3d(.3, .3, .3);
  831. transform: scale3d(.3, .3, .3);
  832. }
  833. }
  834. .bounceOut {
  835. -webkit-animation-name: bounceOut;
  836. animation-name: bounceOut;
  837. }
  838. .wordwrap {
  839. position: absolute;
  840. right: 0;
  841. }
  842. .wordwrap .word{
  843. padding: 0 0.1rem;
  844. }
  845. /* 盒子模型 */
  846. .flex-box {
  847. display: -webkit-box;
  848. display: -moz-box;
  849. display: -ms-flexbox;
  850. display: -webkit-flex;
  851. display: flex;
  852. }
  853. /*盒子模型,竖向自适应,垂直排列 */
  854. .flex-box-v {
  855. display: -webkit-box;
  856. display: -webkit-flex;
  857. display: flex;
  858. -webkit-box-orient: vertical;
  859. -webkit-flex-flow: column;
  860. flex-flow: column !important;
  861. }
  862. /* 水平等列排版(容器左右没缝隙,子元素左右两边自适应) */
  863. .flex-d-center {
  864. justify-content: space-between;
  865. -webkit-justify-content: space-between;
  866. }
  867. /* 水平等列排版(子元素两边有缝隙自己适应) */
  868. .flex-dv-center {
  869. justify-content: space-around;
  870. -webkit-justify-content: space-around;
  871. }
  872. /*通过一起使用 box-align 和 box-pack 属性,对 view 框的子元素进行居中,目前没有浏览器支持box-align 和 box-pack 属性,所以需要加上浏览器内核-webkit,-moz等的简写 */
  873. .flex-center-center {
  874. justify-content: center;
  875. -webkit-justify-content: center;
  876. -moz-justify-content: center;
  877. align-items: center;
  878. -webkit-align-items: center;
  879. -webkit-box-pack: center;
  880. -webkit-box-align: center;
  881. -moz-align-items: center;
  882. -moz-box-pack: center;
  883. -moz-box-align: center;
  884. }
  885. /*对view中的子元素进行居中,并且位于容器的中间位置(flex-box水平;flex-box-v垂直) */
  886. .flex-v-zhu,
  887. .flex-h-zhu {
  888. justify-content: center;
  889. -webkit-justify-content: center;
  890. -webkit-box-pack: center;
  891. }
  892. /*对view中的子元素进行居中,并且位于容器的中间位置(flex-box垂直;flex-box-v水平) */
  893. .flex-v-ce,
  894. .flex-h-ce {
  895. align-items: center;
  896. -webkit-align-items: center;
  897. -webkit-box-align: center;
  898. }
  899. /*让所有弹性盒模型对象的子元素都有相同的长度,且忽略它们内部的内容: */
  900. .flex-1 {
  901. -webkit-box-flex: 1;
  902. -moz-box-flex: 1;
  903. -webkit-flex: 1;
  904. -ms-flex: 1;
  905. flex: 1;
  906. }
  907. .flex-2 {
  908. -webkit-box-flex: 2;
  909. box-flex: 2;
  910. -moz-box-flex: 2;
  911. -webkit-flex: 2;
  912. -ms-flex: 2;
  913. flex: 2;
  914. }
  915. .flex-3 {
  916. -webkit-box-flex: 3;
  917. box-flex: 3;
  918. -moz-box-flex: 3;
  919. -webkit-flex: 3;
  920. -ms-flex: 3;
  921. flex: 3;
  922. }
  923. .flex-4 {
  924. -webkit-box-flex: 4;
  925. box-flex: 4;
  926. -moz-box-flex: 4;
  927. -webkit-flex: 4;
  928. -ms-flex: 4;
  929. flex: 4;
  930. }
  931. .flex-5 {
  932. -webkit-box-flex: 5;
  933. box-flex: 5;
  934. -moz-box-flex: 5;
  935. -webkit-flex: 5;
  936. -ms-flex: 5;
  937. flex: 5;
  938. }
  939. .flex-direction-row-reverse {
  940. flex-direction: row-reverse;
  941. -webkit-flex-direction: row-reverse;
  942. }
  943. /*超出部分用....表示的公用样式 */
  944. .font-flex-word {
  945. overflow: hidden;
  946. text-overflow: ellipsis;
  947. white-space: nowrap;
  948. }
  949. /* 内容超出部分自动换行 */
  950. .flex-d-wrap {
  951. flex-wrap: wrap;
  952. }
  953. /* 内容超出部分不换行 */
  954. .flex-no-wrap {
  955. flex-wrap: nowrap;
  956. }
  957. /* 从右边开始排列 */
  958. .flex-box-end {
  959. display: -webkit-box;
  960. display: -moz-box;
  961. display: -ms-flexbox;
  962. display: -webkit-flex;
  963. display: flex;
  964. justify-content: flex-end;
  965. }