style.scss 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958
  1. @font-face {font-family:"HMfont-home";
  2. src:url(
  3. 'data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAAn8AAsAAAAAE1wAAAmvAAEA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o8hxphihl6g5bGv3MAXkfBvPaFbVq6ga4Uq+wWdEfo6NVTmr1oVkYoye2NvfCWLmYQx0sjozFSxszhZ4Ctjb7QtavLQDNa0L5HRZQYJYxrNLbJR4QhZvOV46Fm/lqB428nsrJSx/OwbEgYA') format('woff2');}
  4. .icon {
  5. font-family:"HMfont-home" !important;
  6. font-size:50upx;
  7. font-style:normal;
  8. color: #333;
  9. &.biaoqing:before {
  10. content: "\e797";
  11. }
  12. &.jianpan:before {
  13. content: "\e7b2";
  14. }
  15. &.yuyin:before {
  16. content: "\e805";
  17. }
  18. &.tupian:before {
  19. content: "\e639";
  20. }
  21. &.chehui:before {
  22. content: "\e904";
  23. }
  24. &.luyin:before {
  25. content: "\e905";
  26. }
  27. &.luyin2:before {
  28. content: "\e677";
  29. }
  30. &.other-voice:before {
  31. content: "\e667";
  32. }
  33. &.my-voice:before {
  34. content: "\e906";
  35. }
  36. &.add:before {
  37. content: "\e655";
  38. }
  39. &.close:before {
  40. content: "\e607";
  41. }
  42. &.to:before {
  43. content: "\e675";
  44. }
  45. }
  46. .hidden{
  47. display: none !important;
  48. }
  49. .box-xx{
  50. font-size:16px;
  51. width: 120rpx;
  52. height: 120rpx;
  53. }
  54. .chat-h {
  55. height: calc(100% - 64vw - 50px);
  56. }
  57. .popup-layer{
  58. &.showLayer{transform: translate3d(0,-64vw,0);}
  59. transition: all .15s linear;
  60. width: 100%;
  61. height: 64vw;
  62. // padding: 20upx 2%;
  63. padding-bottom: 30upx;
  64. background-color: #F6F7F8;
  65. border-top: solid 1upx #ddd;
  66. position: fixed;
  67. z-index: 20;
  68. top: 100%;
  69. // .emoji-swiper{
  70. // height: 40vw;
  71. // swiper-item{
  72. // display: flex;
  73. // align-content: flex-start;
  74. // flex-wrap: wrap;
  75. // view{
  76. // width: 12vw;
  77. // height: 12vw;
  78. // display: flex;
  79. // justify-content: center;
  80. // align-items: center;
  81. // image{
  82. // width: 8.4vw;
  83. // height: 8.4vw;
  84. // }
  85. // }
  86. // }
  87. // }
  88. .more-layer{
  89. width: 100%;
  90. height: 64vw;
  91. background-color: #F6F7F8;
  92. .list{
  93. width: 100%;
  94. display: flex;
  95. flex-wrap: wrap;
  96. .box{
  97. width: 16vw;
  98. height: 16vw;
  99. border-radius: 20upx;
  100. background-color: #fff;
  101. display: flex;
  102. justify-content: center;
  103. align-items: center;
  104. // margin: 0 3vw 2vw 3vw;
  105. margin: 5vw 3vw 5vw 5vw;
  106. .icon{
  107. font-size: 70upx;
  108. }
  109. }
  110. }
  111. }
  112. }
  113. .input-box{
  114. width: 100%;
  115. min-height: 100upx;
  116. background-color: #fff;
  117. box-shadow:1px -4px 4px 1px #e5e6e6;
  118. display: flex;
  119. position: fixed;
  120. z-index: 999;
  121. box-sizing: content-box;
  122. bottom:-2upx;
  123. &.showLayer{transform: translate3d(0,-64vw,0);}
  124. transition: all .15s linear;
  125. .voice,.more{
  126. flex-shrink: 0;
  127. width: 90rpx;
  128. height: 90rpx;
  129. display: flex;
  130. justify-content: center;
  131. align-items: center;
  132. }
  133. .send{
  134. width: 120rpx;
  135. height: 90rpx;
  136. display: flex;
  137. align-items: center;
  138. justify-content: center;
  139. }
  140. .textbox{
  141. width: 100%;
  142. min-height: 70upx;
  143. margin-top: 15upx;
  144. .voice-mode{
  145. width: calc(100% - 2upx);
  146. height: 68upx;
  147. border-radius: 10upx;
  148. display: flex;
  149. justify-content: center;
  150. align-items: center;
  151. font-size: 28upx;
  152. background-color: #F5F6F8;
  153. color: #555;
  154. font-weight: 600;
  155. &.recording{
  156. background-color: #e5e5e5;
  157. }
  158. }
  159. .text-mode{
  160. width: 100%;
  161. min-height: 70upx;
  162. display: flex;
  163. background-color: #F5F6F8;
  164. border-radius: 10upx;
  165. .box{
  166. width: 100%;
  167. padding-left: 30upx;
  168. min-height: 70upx;
  169. display: flex;
  170. align-items: center;
  171. textarea{
  172. width: 100%;
  173. }
  174. }
  175. .em{
  176. flex-shrink: 0;
  177. width: 80upx;
  178. padding-left: 10upx;
  179. height: 60upx;
  180. display: flex;
  181. justify-content: center;
  182. align-items: center;
  183. }
  184. }
  185. }
  186. }
  187. .record{
  188. width: 40vw;
  189. height: 40vw;
  190. position: fixed;
  191. top: 55%;
  192. left: 30%;
  193. background-color: rgba(0,0,0,.6);
  194. border-radius: 20upx;
  195. .ing{
  196. width: 100%;
  197. height: 30vw;
  198. display: flex;
  199. justify-content: center;
  200. align-items: center;
  201. // 模拟录音音效动画
  202. @keyframes volatility {
  203. 0% {background-position: 0% 130%;}
  204. 20% {background-position: 0% 150%;}
  205. 30% {background-position: 0% 155%;}
  206. 40% {background-position: 0% 150%;}
  207. 50% {background-position: 0% 145%;}
  208. 70% {background-position: 0% 150%;}
  209. 80% {background-position: 0% 155%;}
  210. 90% {background-position: 0% 140%;}
  211. 100% {background-position: 0% 135%;}
  212. }
  213. .icon{
  214. background-image:linear-gradient(to bottom,#000,#fff 50%);
  215. background-size:100% 200%;
  216. animation: volatility 1.5s ease-in-out -1.5s infinite alternate;
  217. -webkit-background-clip:text;
  218. -webkit-text-fill-color:transparent;
  219. font-size: 150upx;
  220. color: #000;
  221. }
  222. }
  223. .cancel{
  224. width: 100%;
  225. height: 30vw;
  226. display: flex;
  227. justify-content: center;
  228. align-items: center;
  229. .icon{
  230. color: #fff;
  231. font-size: 150upx;
  232. }
  233. }
  234. .tis{
  235. width: 100%;
  236. height: 10vw;
  237. display: flex;
  238. justify-content: center;
  239. font-size: 28upx;
  240. color: #fff;
  241. &.change{
  242. color: #fff;
  243. }
  244. }
  245. }
  246. .content{
  247. width: 100%;
  248. .msg-list{
  249. width: 100%;
  250. padding: 30px 2% 0;
  251. background-color: #F6F7F8;
  252. border-top: 1px solid #e5e6e6;
  253. position: absolute;
  254. top: 0;
  255. bottom: 100upx;
  256. .loading{
  257. position: fixed;
  258. left: 50%;
  259. display: flex;
  260. justify-content: center;
  261. @keyframes stretchdelay {
  262. 0%, 40%, 100% {
  263. transform: scaleY(0.6);
  264. }
  265. 20% {
  266. transform: scaleY(1.0);
  267. }
  268. }
  269. .spinner {
  270. width: 80upx;
  271. display: flex;
  272. align-items: center;
  273. justify-content: space-between;
  274. view {
  275. background-color: rgba(0,0,0,.6);
  276. height: 80upx;
  277. width: 4upx;
  278. border-radius: 8upx;
  279. animation: stretchdelay 1.2s infinite ease-in-out;
  280. }
  281. .rect2 {
  282. animation-delay: -1.1s;
  283. }
  284. .rect3 {
  285. animation-delay: -1.0s;
  286. }
  287. .rect4 {
  288. animation-delay: -0.9s;
  289. }
  290. .rect5 {
  291. animation-delay: -0.8s;
  292. }
  293. }
  294. }
  295. .row{
  296. .system{
  297. display: flex;
  298. justify-content: center;
  299. view{
  300. padding: 0 30upx;
  301. height: 50upx;
  302. display: flex;
  303. justify-content: center;
  304. align-items: center;
  305. background-color: #c9c9c9;
  306. color: #fff;
  307. font-size: 24upx;
  308. border-radius: 40upx;
  309. }
  310. .red-envelope{
  311. image{
  312. margin-right: 5upx;
  313. width: 30upx;
  314. height: 30upx;
  315. }
  316. }
  317. }
  318. &:first-child{
  319. margin-top: 20upx;
  320. }
  321. padding: 40upx 0;
  322. .my .left,.other .right{
  323. width: 100%;
  324. display: flex;
  325. .bubble{
  326. max-width: 70%;
  327. min-height: 50upx;
  328. border-radius: 10upx;
  329. padding: 15upx 20upx;
  330. display: flex;
  331. align-items: center;
  332. font-size: 14px;
  333. word-break: break-word;
  334. &.img{
  335. background-color: transparent;
  336. padding:0;
  337. overflow: hidden;
  338. image{
  339. flex:1;
  340. max-width: 350upx;
  341. max-height: 350upx;
  342. }
  343. }
  344. &.red-envelope{
  345. background-color: transparent;
  346. padding:0;
  347. overflow: hidden;
  348. position: relative;
  349. justify-content: center;
  350. align-items: flex-start;
  351. image{
  352. width: 250upx;
  353. height: 313upx;
  354. }
  355. .tis{
  356. position: absolute;
  357. top: 6%;
  358. font-size: 26upx;
  359. color: #9c1712;
  360. }
  361. .blessing{
  362. position: absolute;
  363. bottom: 14%;
  364. color: #e9b874;
  365. width: 80%;
  366. text-align: center;
  367. overflow: hidden;
  368. display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 2;
  369. }
  370. }
  371. &.voice{
  372. .icon{
  373. font-size: 40upx;
  374. display: flex;
  375. align-items: center;
  376. }
  377. .icon:after
  378. {
  379. content:" ";
  380. width: 53upx;
  381. height: 53upx;
  382. border-radius: 100%;
  383. position: absolute;
  384. box-sizing: border-box;
  385. }
  386. .length{
  387. font-size: 28upx;
  388. }
  389. }
  390. }
  391. }
  392. .my .right,.other .left{
  393. flex-shrink: 0;
  394. width: 80upx;
  395. height: 80upx;
  396. image{
  397. width: 80upx;
  398. height: 80upx;
  399. border-radius: 10upx;
  400. }
  401. }
  402. .my{
  403. width: 100%;
  404. display: flex;
  405. justify-content: flex-end;
  406. .left{
  407. min-height: 80upx;
  408. align-items: center;
  409. justify-content: flex-end;
  410. .bubble{
  411. background-color: $uni-color-success;
  412. color: #000;
  413. font-size: $uni-font-size-base;
  414. &.voice{
  415. .icon{
  416. color: #fff;
  417. }
  418. .length{
  419. margin-right: 20upx;
  420. }
  421. }
  422. &.play{
  423. @keyframes my-play {
  424. 0% {
  425. transform: translateX(80%);
  426. }
  427. 100% {
  428. transform: translateX(0%);
  429. }
  430. }
  431. .icon:after
  432. {
  433. border-left: solid 10upx rgba(198, 235, 254, 0.5);
  434. animation: my-play 1s linear infinite;
  435. }
  436. }
  437. }
  438. }
  439. .right{
  440. margin-left: 15upx;
  441. &.text::after {
  442. content: '';
  443. display: block;
  444. width: 0;
  445. height: 0;
  446. border-top: 10rpx solid transparent;
  447. border-bottom: 10rpx solid transparent;
  448. border-left: 16rpx solid $uni-color-success;
  449. position: relative;
  450. top: -60rpx;
  451. right: 20rpx;
  452. }
  453. }
  454. }
  455. .other{
  456. width: 100%;
  457. display: flex;
  458. .left{
  459. margin-right: 15upx;
  460. &.text::after {
  461. content: '';
  462. display: block;
  463. width: 0;
  464. height: 0;
  465. border-top: 10rpx solid transparent;
  466. border-bottom: 10rpx solid transparent;
  467. border-right: 16rpx solid #fff;
  468. position: relative;
  469. left: 80rpx;
  470. top: -20rpx;
  471. }
  472. }
  473. .right{
  474. flex-wrap: wrap;
  475. .username{
  476. width: 100%;
  477. height: 45upx;
  478. font-size: 24upx;
  479. color: #999;
  480. display: flex;
  481. .name{
  482. margin-right: 50upx;
  483. }
  484. }
  485. .bubble{
  486. background-color: #fff;
  487. color: #333;
  488. font-size: 14px;
  489. &.voice{
  490. .icon{
  491. color: #333;
  492. }
  493. .length{
  494. margin-left: 20upx;
  495. }
  496. }
  497. &.play{
  498. @keyframes other-play {
  499. 0% {
  500. transform: translateX(-80%);
  501. }
  502. 100% {
  503. transform: translateX(0%);
  504. }
  505. }
  506. .icon:after
  507. {
  508. border-right: solid 10upx rgba(255,255,255,.8);
  509. animation: other-play 1s linear infinite;
  510. }
  511. }
  512. }
  513. }
  514. }
  515. }
  516. }
  517. }
  518. //@功能提示样式
  519. .process{
  520. position: absolute;
  521. bottom: 120rpx;
  522. left: 10rpx;
  523. height: 80rpx;
  524. width: 90%;
  525. overflow: hidden;
  526. text{
  527. background-color: #fff;
  528. text-align: center;
  529. padding: 20rpx;
  530. }
  531. &::after {
  532. position: relative;
  533. content: '';
  534. display: block;
  535. width: 0;
  536. height: 0;
  537. border-left: 10rpx solid transparent;
  538. border-right: 10rpx solid transparent;
  539. border-top: 16rpx solid #fff;
  540. left: 10rpx;
  541. top: 20rpx;
  542. }
  543. }
  544. //左菜单样式
  545. .left-click {
  546. display: flex;
  547. justify-content:center;
  548. align-items:center;
  549. position: absolute;
  550. right: 120rpx;
  551. margin-top: -35rpx;
  552. background-color: #2a2a2a;
  553. border-radius: 10rpx;
  554. height: 70rpx;
  555. padding: 10rpx;
  556. color: #e2e2e2;
  557. z-index: 9999;
  558. view {
  559. padding: 0 30rpx;
  560. height: 70rpx;
  561. height: auto;
  562. border-right: 2rpx solid $uni-border-color;
  563. display: flex;
  564. flex-direction:row;
  565. flex-wrap:nowrap;
  566. justify-content:center;
  567. align-items:center;
  568. }
  569. text {
  570. padding: 0 30rpx;
  571. height: 70rpx;
  572. height: auto;
  573. display: flex;
  574. flex-direction:row;
  575. flex-wrap:nowrap;
  576. justify-content:center;
  577. align-items:center;
  578. }
  579. &::after {
  580. position: relative;
  581. content: '';
  582. display: block;
  583. width: 0;
  584. height: 0;
  585. border-left: 10rpx solid transparent;
  586. border-right: 10rpx solid transparent;
  587. border-top: 20rpx solid #2a2a2a;
  588. top: 40rpx;
  589. right: 450rpx;
  590. }
  591. }
  592. //右击菜单样式
  593. .right-click {
  594. display: flex;
  595. justify-content:center;
  596. align-items:center;
  597. position: absolute;
  598. right: 100rpx;
  599. margin-top: -70rpx;
  600. background-color: #2a2a2a;
  601. border-radius: 10rpx;
  602. height: 70rpx;
  603. padding: 10rpx;
  604. color: #e2e2e2;
  605. z-index: 9999;
  606. view {
  607. padding: 0 30rpx;
  608. height: 70rpx;
  609. height: auto;
  610. border-right: 2rpx solid $uni-border-color;
  611. display: flex;
  612. flex-direction:row;
  613. flex-wrap:nowrap;
  614. justify-content:center;
  615. align-items:center;
  616. animation-delay: -0.8s;
  617. }
  618. text {
  619. padding: 0 30rpx;
  620. height: 70rpx;
  621. height: auto;
  622. display: flex;
  623. flex-direction:row;
  624. flex-wrap:nowrap;
  625. justify-content:center;
  626. align-items:center;
  627. }
  628. &::after {
  629. position: relative;
  630. content: '';
  631. display: block;
  632. width: 0;
  633. height: 0;
  634. border-left: 10rpx solid transparent;
  635. border-right: 10rpx solid transparent;
  636. border-top: 20rpx solid #2a2a2a;
  637. top: 40rpx;
  638. right: 10rpx;
  639. }
  640. }
  641. .windows{
  642. .mask{
  643. position: fixed;
  644. top: 100%;
  645. width: 100%;
  646. height: 100%;
  647. z-index: 1000;
  648. background-color: rgba(0,0,0,.6);
  649. opacity: 0;
  650. transition: opacity .2s ease-out;
  651. }
  652. .layer{
  653. position: fixed;
  654. width: 80%;
  655. height: 70%;
  656. left: 10%;
  657. z-index: 1001;
  658. border-radius: 10rpx;
  659. //border: 2rpx dotted red;
  660. overflow: hidden;
  661. top:100%;
  662. transform: scale3d(.5,.5,1);
  663. transition: all .2s ease-out;
  664. }
  665. &.show{
  666. display: block;
  667. .mask{
  668. top: 0;
  669. opacity: 1;
  670. }
  671. .layer{
  672. transform: translate3d(0,-85vh,0) scale3d(1,1,1);
  673. }
  674. }
  675. &.hide{
  676. display: block;
  677. .mask{
  678. top: 0;
  679. opacity: 0;
  680. }
  681. .layer{
  682. transform: translate3d(0,-85vh,0) scale3d(.5,.5,1);
  683. }
  684. }
  685. }
  686. .open-redenvelope{
  687. width: 100%;
  688. height: 70vh;
  689. background-color: #EC624F;
  690. position: relative;
  691. padding-top: 150rpx;
  692. .top{
  693. position: fixed;
  694. bottom: 100rpx;
  695. width: 100%;
  696. background-color: #EC624F;
  697. display: flex;
  698. justify-content: center;
  699. flex-wrap: wrap;
  700. border-radius: 0 0 100% 100%;
  701. box-shadow: inset 0 -8upx 0 #DE4129;
  702. .close-btn{
  703. width: 100%;
  704. height: 80upx;
  705. display: flex;
  706. justify-content: flex-end;
  707. .icon{
  708. color: #EE5B49;
  709. margin-top: 10upx;
  710. margin-right: 10upx;
  711. }
  712. }
  713. .img{
  714. width: 200upx;
  715. height: 200upx;
  716. background-color: #E7CB9B;
  717. border-radius: 100%;
  718. font-size: 30px;
  719. text-align: center;
  720. padding-top: 30px;
  721. margin-bottom: -65upx;
  722. }
  723. margin-bottom: 65upx;
  724. }
  725. .from,.blessing,.money,.showDetails{
  726. width: 90%;
  727. padding: 5upx 5%;
  728. display: flex;
  729. justify-content: center;
  730. text-align: center;
  731. font-size: 32upx;
  732. color: #E7CB9B;
  733. padding-top: 50rpx;
  734. image{
  735. width: 40rpx;
  736. height: 40rpx;
  737. border-radius: 5rpx;
  738. }
  739. }
  740. .money{
  741. font-size: 100upx;
  742. color: #E7CB9B;
  743. display: flex;
  744. padding-top: 20upx;
  745. }
  746. .showDetails{
  747. position: absolute;
  748. bottom: 20upx;
  749. text-align: center;
  750. font-size: 28upx;
  751. color: #E7CB9B;
  752. .icon{
  753. font-size: 26upx;
  754. color: #E7CB9B;
  755. }
  756. }
  757. }
  758. .message-red-packet-left {
  759. position: relative;
  760. border-radius: 10rpx;
  761. background: orange;
  762. font-size: 0.4rem;
  763. color: #fff;
  764. text-align: right;
  765. display: inline-table;
  766. max-width: 300px;
  767. min-width: 200px;
  768. height: 60px;
  769. box-shadow: 1px 1px 1px 1px #efefef;
  770. .packet {
  771. padding-right: 12px;
  772. font-size: 28rpx;
  773. }
  774. .text {
  775. height: 40px;
  776. color: #fff;
  777. padding: 10px;
  778. i {
  779. color: red;
  780. font-size: 25px;
  781. float: right;
  782. }
  783. image{
  784. width: 64rpx;
  785. height: 64rpx;
  786. }
  787. }
  788. .footer {
  789. margin-top: 8px;
  790. height: 25px;
  791. font-size: 20rpx;
  792. border-top: 1px solid #f9b56f;
  793. background: #F09D47;
  794. padding-right: 5px;
  795. border-radius: 10rpx;
  796. color: #fff;
  797. }
  798. .footer2 {
  799. margin-top: 8px;
  800. height: 25px;
  801. font-size: 20rpx;
  802. background:#F7DFC3;
  803. padding-right: 5px;
  804. border-radius: 10rpx;
  805. color: #fff;
  806. }
  807. .arrow-org {
  808. width: 10px;
  809. height: 10px;
  810. background: orange;
  811. position: absolute;
  812. left: -2px;
  813. top: 10px;
  814. transform: rotate(45deg);
  815. }
  816. }
  817. .message-red-packet-right {
  818. position: relative;
  819. border-radius: 10rpx;
  820. background: orange;
  821. font-size: 0.4rem;
  822. color: #fff;
  823. text-align: left;
  824. display: inline-table;
  825. max-width: 300px;
  826. min-width: 200px;
  827. height: 60px;
  828. box-shadow: 1px 1px 1px 1px #efefef;
  829. .packet {
  830. padding-left: 12px;
  831. font-size: 28rpx;
  832. }
  833. .text {
  834. height: 40px;
  835. color: #fff;
  836. padding: 10px;
  837. i {
  838. color: red;
  839. font-size: 25px;
  840. }
  841. image{
  842. width: 64rpx;
  843. height: 64rpx;
  844. }
  845. }
  846. .footer {
  847. margin-top: 8px;
  848. height: 25px;
  849. font-size: 20rpx;
  850. background: #F09D47;
  851. border-top: 1px solid #f9b56f;
  852. padding-left: 5px;
  853. border-radius: 10rpx;
  854. color: #fff;
  855. }
  856. .footer2 {
  857. margin-top: 8px;
  858. height: 25px;
  859. font-size: 20rpx;
  860. background:#F7DFC3;
  861. padding-left: 5px;
  862. border-radius: 10rpx;
  863. color: #fff;
  864. }
  865. .arrow-org {
  866. width: 10px;
  867. height: 10px;
  868. background: orange;
  869. position: absolute;
  870. right: -2px;
  871. top: 10px;
  872. transform: rotate(45deg);
  873. }
  874. }
  875. .voice_an{
  876. // width: 300rpx;
  877. // height: 300rpx;
  878. // position: fixed;
  879. // top: 50%;
  880. // left: 50%;
  881. //transform: translate(-50%,-55%);
  882. //background-color: rgba(41,41,41,0.7);
  883. color: white;
  884. display: flex;
  885. flex-direction: column;
  886. align-items: center;
  887. text-align: center;
  888. border-radius: 10rpx;
  889. .text{
  890. padding-top: 30rpx;
  891. }
  892. @keyframes runVoice{
  893. 0%{
  894. height: 10%;
  895. }
  896. 20%{
  897. height: 50%;
  898. }
  899. 50%{
  900. height: 100%;
  901. }
  902. 80%{
  903. height: 50%;
  904. }
  905. 100%{
  906. height: 0%;
  907. }
  908. }
  909. .wave{
  910. width:6rpx;
  911. height: 100%;
  912. margin-left: 10rpx;
  913. border-radius: 50rpx;
  914. background-color: #fafafa;
  915. vertical-align: middle;
  916. display: inline-block;
  917. }
  918. .voice_an_icon{
  919. width: 200rpx;
  920. height: 100rpx;
  921. line-height: 50rpx;
  922. margin: 50rpx 0;
  923. }
  924. .voice_an_icon #one{
  925. animation:runVoice 0.6s infinite 0.1s;
  926. }
  927. .voice_an_icon #two{
  928. animation:runVoice 0.6s infinite 0.3s;
  929. }
  930. .voice_an_icon #three{
  931. animation:runVoice 0.6s infinite 0.6s;
  932. }
  933. .voice_an_icon #four{
  934. animation:runVoice 0.6s infinite 0.1s;
  935. }
  936. .voice_an_icon #five{
  937. animation:runVoice 0.6s infinite 0.3s;
  938. }
  939. .voice_an_icon #six{
  940. animation:runVoice 0.6s infinite 0.6s;
  941. }
  942. .voice_an_icon #seven{
  943. animation:runVoice 0.6s infinite 0.1s;
  944. }
  945. }