index.scss 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833
  1. page {
  2. // background: #f2f2f2;
  3. }
  4. .pos{
  5. height: 45px;
  6. }
  7. view {
  8. box-sizing: border-box;
  9. }
  10. .u-textarea{
  11. min-height:400rpx;
  12. }
  13. .container{
  14. // padding-bottom:130rpx;
  15. .context{
  16. padding: 40rpx;
  17. padding-left: 0;
  18. padding-right: 0;
  19. padding-bottom: 0;
  20. .top{
  21. display: flex;
  22. justify-content: center;
  23. .videoBox1{
  24. width: 380rpx;
  25. aspect-ratio: 9/16;
  26. position: relative;
  27. .img16{
  28. width: 100%;
  29. height: 100%;
  30. position: absolute;
  31. z-index: 1;
  32. }
  33. .role{
  34. position: absolute;
  35. z-index: 2;
  36. height: 100%;
  37. width:100%;
  38. margin-left: 50%;
  39. transform: translateX(-50%);
  40. display: flex;
  41. align-items: flex-end;
  42. justify-content: center;
  43. image{
  44. width: 60%;
  45. height: 50%;
  46. }
  47. }
  48. }
  49. .videoBox2{
  50. height: 380rpx;
  51. aspect-ratio: 16/9;
  52. position: relative;
  53. .img16{
  54. width: 100%;
  55. height: 100%;
  56. position: absolute;
  57. z-index: 1;
  58. }
  59. .role{
  60. position: absolute;
  61. z-index: 9;
  62. height: 100%;
  63. width: 50%;
  64. margin-left: 50%;
  65. transform: translateX(-50%);
  66. display: flex;
  67. align-items: flex-end;
  68. image{
  69. width: 100%;
  70. height:80%;
  71. }
  72. }
  73. }
  74. }
  75. .centerMenuBar{
  76. display: flex;
  77. justify-content: space-between;
  78. height: 96rpx;
  79. background: linear-gradient(to right,#06C68E,#02BCCD);
  80. margin-top: 30rpx;
  81. padding-left: 40rpx;
  82. padding-right: 40rpx;
  83. color: white;
  84. .barItem{
  85. display: flex;
  86. align-items: center;
  87. .left{
  88. width: 64rpx;
  89. height: 64rpx;
  90. // margin-right: 10rpx;
  91. image{
  92. width: 100%;
  93. height: 100%;
  94. border-radius: 50%;
  95. }
  96. }
  97. .right{
  98. }
  99. }
  100. }
  101. .btnBox{
  102. padding: 0 40rpx;
  103. position: fixed;
  104. bottom: 0rpx;
  105. background: #fff;
  106. height: 150rpx;
  107. display: flex;
  108. align-items: center;
  109. justify-content: space-between;
  110. width: 100%;
  111. border-top: 1px solid #ccc;
  112. .btn{
  113. background: #26b3a0;
  114. color: #fff;
  115. width: 45%;
  116. height: 94rpx;
  117. border-radius: 15rpx;
  118. display: flex;
  119. justify-content: center;
  120. align-items: center;
  121. font-size: 32rpx;
  122. }
  123. .draft{
  124. background: #fff;
  125. border:2rpx solid #26b3a0;
  126. color: #26b3a0;
  127. }
  128. }
  129. }
  130. }
  131. ::v-deep .u-popup__content{
  132. border-radius: 15rpx;
  133. }
  134. .contentBox2{
  135. .toolBar{
  136. height: 100rpx;
  137. display: flex;
  138. align-items: center;
  139. border-radius: 15rpx 15rpx 0 0;
  140. .cancel{
  141. width: 10%;
  142. height: 35rpx;
  143. display: flex;
  144. align-items: center;
  145. justify-content: center;
  146. image{
  147. width: 35rpx;
  148. height: 35rpx;
  149. }
  150. }
  151. .center{
  152. width: 80%;
  153. display: flex;
  154. align-items: center;
  155. justify-content: center;
  156. }
  157. .confirm{
  158. width: 10%;
  159. height: 35rpx;
  160. display: flex;
  161. align-items: center;
  162. justify-content: center;
  163. image{
  164. width: 40rpx;
  165. height: 35rpx;
  166. }
  167. }
  168. }
  169. .toolBar2{
  170. height: 100rpx;
  171. display: flex;
  172. align-items: center;
  173. justify-content:flex-end;
  174. border-radius: 15rpx 15rpx 0 0;
  175. .closeBtn{
  176. width: 44rpx;
  177. height: 44rpx;
  178. display: flex;
  179. align-items: center;
  180. justify-content: center;
  181. background: #999;
  182. margin-right: 30rpx;
  183. color: white;
  184. border-radius: 50%;
  185. // image{
  186. // width: 40rpx;
  187. // height: 35rpx;
  188. // }
  189. }
  190. }
  191. .content{
  192. .videoRatioBox{
  193. display: flex;
  194. justify-content: space-between;
  195. padding: 20rpx 60rpx;
  196. padding-bottom: 50rpx;
  197. .item{
  198. background: #ccc;
  199. width: 45%;
  200. height: 154rpx;
  201. border-radius: 10rpx;
  202. display: flex;
  203. flex-direction: column;
  204. align-items: center;
  205. justify-content: center;
  206. .top{
  207. margin-bottom: 10rpx;
  208. }
  209. .bottom{
  210. }
  211. }
  212. }
  213. .slider{
  214. margin-top: 0;
  215. width: 85%;
  216. margin-left: 50%;
  217. transform: translateX(-50%);
  218. }
  219. .sliderValue{
  220. text-align: center;
  221. }
  222. // 声音
  223. .filterBox{
  224. display: flex;
  225. .tabList{
  226. width: 90%;
  227. overflow-x: scroll;
  228. white-space: nowrap;
  229. padding: 0 20rpx;
  230. .item1{
  231. padding: 10rpx 30rpx;
  232. display: inline-block;
  233. margin-right: 20rpx;
  234. border-radius: 10rpx;
  235. background:#ccc ;
  236. }
  237. .tabActive{
  238. background:#26b3a0 ;
  239. color: white;
  240. }
  241. }
  242. .filterBtn{
  243. display: flex;
  244. justify-content: center;
  245. align-items: center;
  246. width: 10%;
  247. image{
  248. width: 44rpx;
  249. height: 44rpx;
  250. }
  251. }
  252. }
  253. .filterConList2{
  254. padding: 0 20rpx;
  255. .pictureBox{
  256. padding-top: 30rpx;
  257. padding-bottom: 50rpx;
  258. display: flex;
  259. flex-wrap: wrap;
  260. .sel{
  261. border:6rpx solid #26b3a0;
  262. padding: 5rpx;
  263. }
  264. image{
  265. width: 128rpx;
  266. height: 176rpx;
  267. margin:10rpx 25rpx;
  268. }
  269. .color{
  270. width: 128rpx;
  271. height: 176rpx;
  272. margin:10rpx 30rpx;
  273. }
  274. }
  275. }
  276. .filterConList{
  277. display: flex;
  278. padding-top: 30rpx;
  279. flex-wrap: wrap;
  280. min-height: 500rpx;
  281. max-height: 500rpx;
  282. overflow-y: scroll;
  283. .item{
  284. width: 128rpx;
  285. display: flex;
  286. flex-direction: column;
  287. justify-content: center;
  288. align-items: center;
  289. margin: 0 25rpx;
  290. margin-bottom: 20rpx;
  291. image{
  292. width: 128rpx;
  293. height: 128rpx;
  294. border-radius: 50%;
  295. }
  296. .name{
  297. margin-top: 10rpx;
  298. }
  299. }
  300. .sel{
  301. border:6rpx solid #26b3a0;
  302. padding: 5rpx;
  303. }
  304. }
  305. .scenList{
  306. // background: #26b3a0;
  307. display: flex;
  308. flex-wrap: wrap;
  309. padding:0 40rpx;
  310. margin-bottom: 20rpx;
  311. .item{
  312. background: #ccc;
  313. padding: 10rpx 20rpx;
  314. margin-right: 20rpx;
  315. margin-bottom: 20rpx;
  316. border-radius: 10rpx;
  317. }
  318. }
  319. .sexList{
  320. // background: #26b3a0;
  321. display: flex;
  322. flex-wrap: wrap;
  323. padding:0 40rpx;
  324. margin-bottom: 20rpx;
  325. .item{
  326. background: #ccc;
  327. padding: 10rpx 20rpx;
  328. margin-right: 20rpx;
  329. margin-bottom: 20rpx;
  330. border-radius: 10rpx;
  331. }
  332. }
  333. .ageList{
  334. display: flex;
  335. flex-wrap: wrap;
  336. padding:0 40rpx;
  337. margin-bottom: 20rpx;
  338. .item{
  339. background: #ccc;
  340. padding: 10rpx 20rpx;
  341. margin-right: 20rpx;
  342. margin-bottom: 20rpx;
  343. border-radius: 10rpx;
  344. }
  345. }
  346. .active{
  347. background: #26b3a0!important;
  348. color:white;
  349. }
  350. .filterBtn2{
  351. color: white;
  352. background: #26b3a0;
  353. height: 94rpx;
  354. display: flex;
  355. justify-content: center;
  356. align-items: center;
  357. border-radius: 15rpx;
  358. margin-bottom: 50rpx;
  359. width: 670rpx;
  360. margin-left: 50%;
  361. transform: translateX(-50%);
  362. }
  363. }
  364. }
  365. .contentBox{
  366. .toolBar{
  367. height: 100rpx;
  368. display: flex;
  369. align-items: center;
  370. border-radius: 15rpx 15rpx 0 0;
  371. .cancel{
  372. width: 10%;
  373. height: 35rpx;
  374. display: flex;
  375. align-items: center;
  376. justify-content: center;
  377. image{
  378. width: 35rpx;
  379. height: 35rpx;
  380. }
  381. }
  382. .center{
  383. width: 80%;
  384. display: flex;
  385. align-items: center;
  386. justify-content: center;
  387. }
  388. .confirm{
  389. width: 10%;
  390. height: 35rpx;
  391. display: flex;
  392. align-items: center;
  393. justify-content: center;
  394. image{
  395. width: 40rpx;
  396. height: 35rpx;
  397. }
  398. }
  399. }
  400. .toolBar2{
  401. height: 100rpx;
  402. display: flex;
  403. align-items: center;
  404. justify-content:flex-end;
  405. border-radius: 15rpx 15rpx 0 0;
  406. .closeBtn{
  407. width: 44rpx;
  408. height: 44rpx;
  409. display: flex;
  410. align-items: center;
  411. justify-content: center;
  412. background: #999;
  413. margin-right: 30rpx;
  414. color: white;
  415. border-radius: 50%;
  416. // image{
  417. // width: 40rpx;
  418. // height: 35rpx;
  419. // }
  420. }
  421. }
  422. .content{
  423. .videoRatioBox{
  424. display: flex;
  425. justify-content: space-between;
  426. padding: 20rpx 60rpx;
  427. padding-bottom: 50rpx;
  428. .item{
  429. background: #ccc;
  430. width: 45%;
  431. height: 154rpx;
  432. border-radius: 10rpx;
  433. display: flex;
  434. flex-direction: column;
  435. align-items: center;
  436. justify-content: center;
  437. .top{
  438. margin-bottom: 10rpx;
  439. }
  440. .bottom{
  441. }
  442. }
  443. }
  444. .slider{
  445. margin-top: 20%;
  446. width: 85%;
  447. margin-left: 50%;
  448. transform: translateX(-50%);
  449. }
  450. .sliderValue{
  451. text-align: center;
  452. }
  453. // 声音
  454. .filterBox{
  455. display: flex;
  456. .tabList{
  457. width: 90%;
  458. overflow-x: scroll;
  459. white-space: nowrap;
  460. padding: 0 20rpx;
  461. .item1{
  462. padding: 10rpx 30rpx;
  463. display: inline-block;
  464. margin-right: 20rpx;
  465. border-radius: 10rpx;
  466. background:#ccc ;
  467. }
  468. .tabActive{
  469. background:#26b3a0 ;
  470. color: white;
  471. }
  472. }
  473. .filterBtn{
  474. display: flex;
  475. justify-content: center;
  476. align-items: center;
  477. width: 10%;
  478. image{
  479. width: 44rpx;
  480. height: 44rpx;
  481. }
  482. }
  483. }
  484. .filterConList2{
  485. .pictureBox{
  486. padding-top: 30rpx;
  487. padding-bottom: 50rpx;
  488. display: flex;
  489. flex-wrap: wrap;
  490. .sel{
  491. border:6rpx solid #26b3a0;
  492. padding: 5rpx;
  493. }
  494. image{
  495. width: 128rpx;
  496. height: 176rpx;
  497. margin:10rpx 30rpx;
  498. }
  499. .color{
  500. width: 128rpx;
  501. height: 176rpx;
  502. margin:10rpx 30rpx;
  503. }
  504. }
  505. }
  506. // 声音弹框样式
  507. .filterConList{
  508. display: flex;
  509. padding-top: 30rpx;
  510. flex-wrap: wrap;
  511. .item{
  512. width: 25%;
  513. display: flex;
  514. // flex-direction: column;
  515. // justify-content: center;
  516. // align-items: center;
  517. margin: 0 30rpx;
  518. margin-left: 30rpx;
  519. margin-bottom: 20rpx;
  520. .avtarBox{
  521. display: flex;
  522. flex-direction: column;
  523. justify-content: center;
  524. align-items: center;
  525. image{
  526. width: 128rpx;
  527. height: 128rpx;
  528. border-radius: 50%;
  529. }
  530. .name{
  531. margin-top: 10rpx;
  532. }
  533. }
  534. .playBox{
  535. color:orange;
  536. display: flex;
  537. align-items:flex-end;
  538. // width:250rpx;
  539. // background: red;
  540. }
  541. }
  542. .sel{
  543. border:6rpx solid #26b3a0;
  544. padding: 5rpx;
  545. }
  546. }
  547. .scenList{
  548. // background: #26b3a0;
  549. display: flex;
  550. flex-wrap: wrap;
  551. padding:0 40rpx;
  552. margin-bottom: 20rpx;
  553. .item{
  554. background: #ccc;
  555. padding: 10rpx 20rpx;
  556. margin-right: 20rpx;
  557. margin-bottom: 20rpx;
  558. border-radius: 10rpx;
  559. }
  560. }
  561. .sexList{
  562. // background: #26b3a0;
  563. display: flex;
  564. flex-wrap: wrap;
  565. padding:0 40rpx;
  566. margin-bottom: 20rpx;
  567. .item{
  568. background: #ccc;
  569. padding: 10rpx 20rpx;
  570. margin-right: 20rpx;
  571. margin-bottom: 20rpx;
  572. border-radius: 10rpx;
  573. }
  574. }
  575. .ageList{
  576. display: flex;
  577. flex-wrap: wrap;
  578. padding:0 40rpx;
  579. margin-bottom: 20rpx;
  580. .item{
  581. background: #ccc;
  582. padding: 10rpx 20rpx;
  583. margin-right: 20rpx;
  584. margin-bottom: 20rpx;
  585. border-radius: 10rpx;
  586. }
  587. }
  588. .active{
  589. background: #26b3a0!important;
  590. color:white;
  591. }
  592. .filterBtn2{
  593. color: white;
  594. background: #26b3a0;
  595. height: 94rpx;
  596. display: flex;
  597. justify-content: center;
  598. align-items: center;
  599. border-radius: 15rpx;
  600. margin-bottom: 50rpx;
  601. width: 670rpx;
  602. margin-left: 50%;
  603. transform: translateX(-50%);
  604. }
  605. }
  606. }
  607. ::v-deep uni-slider .uni-slider-handle-wrapper{
  608. height: 15rpx;
  609. }
  610. ::v-deep .tn-custom-nav-bar__bar--fixed{
  611. z-index:999!important;
  612. }
  613. .robotNameBox{
  614. padding: 20rpx 10rpx;
  615. .name{
  616. margin-bottom: 10rpx;
  617. margin-top: 20rpx;
  618. }
  619. }
  620. ::v-deep .is-focused{
  621. border-color: #26b3a0!important;
  622. }
  623. .selCon{
  624. margin-top: 30rpx;
  625. padding-left: 30rpx;
  626. display: flex;
  627. justify-content: space-around;
  628. .item{
  629. display: flex;
  630. align-items: center;
  631. .label{
  632. }
  633. .con{
  634. display: flex;
  635. align-items: center;
  636. padding-top: 5rpx;
  637. }
  638. .conImg{
  639. width:50rpx;
  640. height:50rpx;
  641. margin-left: 20rpx;
  642. }
  643. }
  644. }
  645. .nameDes{
  646. margin-top: 10rpx;
  647. font-size: 24rpx;
  648. color: #999;
  649. text-align: center;
  650. width: 132rpx;
  651. height: 65rpx;
  652. text-overflow: ellipsis;
  653. display: -webkit-box; /* 弹性盒旧式语法 */
  654. -webkit-box-orient: vertical; /* 经过个人实测,vertical或horizontal都没问题,只是必须设置该属性 */
  655. -webkit-line-clamp: 2; /* 限制两行 */
  656. overflow: hidden;
  657. }
  658. .selTxt{
  659. color:#26b3a0 !important;
  660. font-weight: 600;
  661. }
  662. .audioList{
  663. .audioListBox{
  664. display: flex;
  665. .con{
  666. word-break: break-all;
  667. word-wrap: break-word;
  668. width: 90%;
  669. }
  670. .rightIcon{
  671. margin-left: 10rpx;
  672. }
  673. }
  674. }
  675. // 自定义背景图
  676. .defBox{
  677. display: flex;
  678. width: 100%;
  679. // height: 100%;
  680. // align-items: center;
  681. padding-top: 50rpx;
  682. .type1{
  683. width: 50%;
  684. display: flex;
  685. flex-direction: column;
  686. align-items: center;
  687. .referImg{
  688. display: flex;
  689. // flex-direction: column;
  690. align-items: center;
  691. justify-content: center;
  692. width: 100%;
  693. height: 50%;
  694. // .ig1{
  695. // }
  696. // .ig2{
  697. // width: 100rpx;
  698. // }
  699. }
  700. .des{
  701. line-height: 40rpx;
  702. .lab{
  703. font-weight: 600;
  704. font-size:40rpx;
  705. }
  706. }
  707. .btn{
  708. margin-top: 50rpx;
  709. display: flex;
  710. justify-content: center;
  711. align-items: center;
  712. width: 80%;
  713. height:100rpx;
  714. background: #06C68E;
  715. color: white;
  716. border-radius: 15rpx;
  717. }
  718. }
  719. }
  720. .bgBox{
  721. display: flex;
  722. flex-direction: column;
  723. align-items: center;
  724. }
  725. .audioOrTxtChange{
  726. display: flex;
  727. padding-left: 20rpx;
  728. .item{
  729. height: 50rpx;
  730. margin-right: 20rpx;
  731. padding-left: 20rpx;
  732. padding-right: 20rpx;
  733. display: flex;
  734. justify-content: center;
  735. align-items: center;
  736. }
  737. .item1{
  738. border: 1rpx solid #26b3a0;
  739. border-radius: 10rpx;
  740. color:#26b3a0;
  741. background: #26b3a0;
  742. color: white;
  743. }
  744. .item2{
  745. border: 1rpx solid #999;
  746. border-radius: 10rpx;
  747. color:#999;
  748. background: #999;
  749. color: white;
  750. }
  751. }
  752. .uploadVideoBtn{
  753. margin-top: 50rpx;
  754. margin-bottom: 10rpx;
  755. width: 70%;
  756. border:1rpx solid #26b3a0;
  757. height: 100rpx;
  758. display: flex;
  759. justify-content: center;
  760. align-items: center;
  761. border-radius: 15rpx;
  762. color: #26b3a0;
  763. margin-left: 50%;
  764. transform: translateX(-50%);
  765. }