index.scss 14 KB

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