style.scss 20 KB

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