grid.wxss 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499
  1. /* 9人 会议模版 */
  2. .template-grid{
  3. width: 100vw;
  4. height: 100vh;
  5. overflow: hidden;
  6. /* display: flex;
  7. flex-direction: row;
  8. flex-wrap: wrap; */
  9. }
  10. .column-layout{
  11. width: 100vw;
  12. height: 100vh;
  13. display: flex;
  14. flex-direction: column;
  15. }
  16. .column-layout .column-1{
  17. flex: 1;
  18. }
  19. .column-layout .column-2{
  20. position: relative;
  21. height: 100rpx;
  22. background-color: rgb(36, 36, 36);
  23. }
  24. .fullscreen-device-fix .column-layout .column-2{
  25. height: 120rpx;
  26. }
  27. .menu {
  28. width: 100%;
  29. display: flex;
  30. flex-direction: row;
  31. justify-content: center;
  32. align-items: center;
  33. }
  34. .menu .menu-item{
  35. text-align: center;
  36. height: 100rpx;
  37. flex-grow: 1;
  38. display: flex;
  39. flex-direction: column;
  40. justify-content: center;
  41. align-items: center;
  42. }
  43. .menu .menu-item .image{
  44. width: 46rpx;
  45. height: 46rpx;
  46. }
  47. .more-menu {
  48. position: absolute;
  49. top: 0;
  50. }
  51. .more-menu .scroll-container{
  52. width: 100%;
  53. height: 100rpx;
  54. white-space: nowrap;
  55. }
  56. .more-menu .menu-item-container{
  57. width: 20%;
  58. display: inline-block;
  59. }
  60. .template-grid .grid-container {
  61. width: 100%;
  62. height: 100%;
  63. display: flex;
  64. flex-direction: row;
  65. flex-wrap: wrap;
  66. }
  67. .template-grid .grid-scroll-container{
  68. width: 100%;
  69. height: 100%;
  70. /* box-sizing: border-box; */
  71. /* overflow-y: scroll; */
  72. background-color: #000;
  73. }
  74. .grid-containe.overflow {
  75. height: auto;
  76. }
  77. .template-grid .view-container {
  78. position: relative;
  79. }
  80. .stream-0 .view-container{
  81. width: 100%;
  82. height: 100%;
  83. }
  84. .stream-1 .view-container{
  85. width: 100%;
  86. height: 50%;
  87. }
  88. .stream-2 .view-container{
  89. width: 50%;
  90. height: 50%;
  91. }
  92. .stream-2 .view-container:nth-child(1){
  93. width: 100%;
  94. height: 50%;
  95. }
  96. .stream-3 .view-container{
  97. width: 50%;
  98. height: 50%;
  99. }
  100. .stream-4 .view-container{
  101. width: 50%;
  102. height: 33.3%;
  103. }
  104. .stream-4 .view-container:nth-child(1){
  105. width: 100%;
  106. height: 33.3%;
  107. }
  108. .stream-5 .view-container {
  109. width: 50%;
  110. height: 33.3%;
  111. }
  112. .stream-6 .view-container{
  113. width: 33.3%;
  114. height: 33.3%;
  115. }
  116. .stream-6 .view-container:nth-child(1){
  117. width: 100%;
  118. height: 33.3%;
  119. }
  120. .stream-7 .view-container{
  121. width: 33.3%;
  122. height: 33.3%;
  123. }
  124. .stream-7 .view-container:nth-child(1){
  125. width: 50%;
  126. height: 33.3%;
  127. }
  128. .stream-7 .view-container:nth-child(2){
  129. width: 50%;
  130. height: 33.3%;
  131. }
  132. .stream-8 .view-container{
  133. width: 33.3%;
  134. height: 33.3%;
  135. }
  136. .stream-even .view-container{
  137. width: 50%;
  138. height: 50%;
  139. }
  140. .stream-odd .view-container{
  141. width: 50%;
  142. height: 50%;
  143. }
  144. .stream-odd .view-container:last-child{
  145. width: 100%;
  146. height: 50%;
  147. }
  148. .template-grid .operation-bar {
  149. position: absolute;
  150. bottom: 6rpx;
  151. width: 100%;
  152. display: flex;
  153. flex-direction: row;
  154. justify-content: center;
  155. }
  156. .operation-bar .operation-item-container {
  157. width: auto;
  158. display: flex;
  159. flex-direction: row;
  160. justify-content: center;
  161. background: rgb(0, 0, 0, .3);
  162. border-radius: 10rpx;
  163. }
  164. .template-grid .operation-bar .operation-item {
  165. width: 64rpx;
  166. height: 64rpx;
  167. /* flex-grow: 1; */
  168. display: flex;
  169. flex-direction: column;
  170. justify-content: center;
  171. align-items: center;
  172. text-align: center;
  173. }
  174. .operation-item .item-image{
  175. width: 36rpx;
  176. height: 36rpx;
  177. }
  178. .template-grid .volume-progress {
  179. width: 100%;
  180. position: absolute;
  181. bottom: 0;
  182. }
  183. .template-grid .btn-normal {
  184. width: 64rpx;
  185. height: 64rpx;
  186. margin: 0 6rpx;
  187. box-sizing: border-box;
  188. display: flex;
  189. background: rgba(255, 255, 255, 1);
  190. justify-content: center;
  191. align-items: center;
  192. border-radius: 50%;
  193. }
  194. .template-grid .btn-normal .btn-image{
  195. width: 36rpx;
  196. height: 36rpx;
  197. }
  198. .template-grid .btn-hangup {
  199. background: #f75c45;
  200. }
  201. .template-grid .panel{
  202. position: absolute;
  203. background: rgba(0, 0, 0, 0.8);
  204. width: 90vw;
  205. height: auto;
  206. z-index: 999;
  207. top: 50vh;
  208. left: 50vw;
  209. transform: translate(-50%, -50%);
  210. color: white;
  211. display: flex;
  212. flex-direction: column;
  213. padding: 20rpx 0;
  214. border-radius: 10rpx;
  215. box-sizing: border-box;
  216. font-size: 14px;
  217. }
  218. .panel .close-btn {
  219. position: absolute;
  220. top: 0;
  221. right: 0;
  222. padding: 5px 10px;
  223. }
  224. .panel .panel-header{
  225. text-align: center;
  226. padding-bottom: 20rpx;
  227. }
  228. .panel .panel-tips {
  229. color: #999;
  230. text-align: center;
  231. }
  232. .panel .panel-body{
  233. flex: 1;
  234. max-height: 50vh;
  235. }
  236. .panel .panel-body .scroll-container{
  237. width: 100%;
  238. height: 100%;
  239. box-sizing: border-box;
  240. }
  241. .memberlist-panel .panel-body{
  242. height: 50vh;
  243. }
  244. .memberlist-panel .member-item {
  245. display: flex;
  246. /* border-bottom: 1px solid #999; */
  247. margin: 16rpx 16rpx 16rpx 32rpx;
  248. }
  249. .memberlist-panel .member-id {
  250. width: 30%;
  251. font-size: 12px;
  252. line-height: 64rpx;
  253. }
  254. .memberlist-panel .member-btns{
  255. width: 70%;
  256. display: flex;
  257. justify-content: flex-end;
  258. }
  259. .memberlist-panel .member-btns .btn-normal{
  260. margin-left: 0;
  261. }
  262. .memberlist-panel .member-btns .btn{
  263. margin-right: 0;
  264. }
  265. .setting-panel .panel-body{
  266. height: 50vh;
  267. }
  268. .setting-panel .setting-option{
  269. display: flex;
  270. justify-content: space-between;
  271. margin: 16rpx 16rpx 16rpx 32rpx;
  272. /* box-sizing: border-box;
  273. padding: 12rpx 16rpx 12rpx 32rpx; */
  274. }
  275. .setting-panel .setting-option .label{
  276. /* line-height: 64rpx; */
  277. display: flex;
  278. flex-direction: column;
  279. justify-content: center;
  280. align-items: center;
  281. }
  282. .setting-panel .setting-switch {
  283. transform:scale(0.8);
  284. margin-right: -12rpx;
  285. }
  286. .bgm-panel .panel-body{
  287. height: auto;
  288. }
  289. .bgm-panel .setting-option{
  290. height: 60rpx;
  291. display: flex;
  292. flex-direction: row;
  293. margin: 16rpx 16rpx 16rpx 32rpx;
  294. }
  295. .bgm-panel .setting-option .label{
  296. width: 140rpx;
  297. line-height: 60rpx;
  298. }
  299. .bgm-panel .setting-option .slider-content{
  300. flex: 1;
  301. line-height: 60rpx;
  302. }
  303. .bgm-panel .setting-option .slider-content slider{
  304. transform:scale(0.9);
  305. margin: 0;
  306. }
  307. .bgm-panel .setting-option .slider-content progress{
  308. transform:scale(0.9);
  309. margin-top: 28rpx;
  310. }
  311. .bgm-panel .menu {
  312. padding: 16rpx 32rpx 16rpx 32rpx;
  313. box-sizing: border-box;
  314. }
  315. .bgm-panel .menu .menu-item{
  316. height: 80rpx;
  317. background-color: #333;
  318. }
  319. .template-grid .masker{
  320. position: absolute;
  321. top: 0;
  322. width: 100vw;
  323. height: 100vh;
  324. background: rgba(0, 0, 0, 0.4);
  325. }
  326. .template-grid .no-stream,
  327. .template-grid .no-video{
  328. position: absolute;
  329. top: 0;
  330. left: 0;
  331. width: 100%;
  332. height: 100%;
  333. display: flex;
  334. flex-direction: column;
  335. align-items: center;
  336. justify-content: center;
  337. box-sizing: border-box;
  338. color:#fff;
  339. background-color: rgba(0, 0, 0, 0.4);
  340. font-size: 12px;
  341. }
  342. .template-grid .audio-volume,
  343. .template-grid .no-audio{
  344. position: absolute;
  345. bottom: 20rpx;
  346. left: 20rpx;
  347. width: 36rpx;
  348. height: 36rpx;
  349. }
  350. .no-stream .image,
  351. .no-video .image{
  352. width: 60rpx;
  353. height: 60rpx;
  354. }
  355. .audio-volume .image,
  356. .no-audio .image{
  357. width: 36rpx;
  358. height: 36rpx;
  359. position: absolute; /*android 的bug ,image absolute后会向上漂移几个像素,如果要对其必须都设置absolute*/
  360. }
  361. .audio-active {
  362. position: absolute;
  363. left: 0;
  364. bottom: 0;
  365. width: 100%;
  366. height: 0;
  367. overflow: hidden;
  368. }
  369. .audio-active .image{
  370. bottom: 0;
  371. }
  372. .slide-up-tips {
  373. position: absolute;
  374. bottom: -100rpx;
  375. left: 50%;
  376. transform: translate(-50%, 0);
  377. width: 200rpx;
  378. height: auto;
  379. display: flex;
  380. flex-direction: column;
  381. align-items: center;
  382. justify-content: center;
  383. box-sizing: border-box;
  384. font-size: 12px;
  385. color: #fff;
  386. background-color: rgba(0, 0, 0, 0.4);
  387. box-sizing: border-box;
  388. padding: 20rpx;
  389. border-radius: 10rpx;
  390. opacity: 0;
  391. }
  392. .slide-up-tips .image {
  393. width: 100rpx;
  394. height: 100rpx;
  395. }
  396. .player-placeholder {
  397. display: flex;
  398. flex-direction: column;
  399. align-items: center;
  400. justify-content: center;
  401. }
  402. .player-placeholder .image {
  403. width: 100rpx;
  404. height: 100rpx;
  405. }
  406. .pages-container {
  407. width: auto;
  408. left: 50%;
  409. transform: translate(-50%, 0);
  410. height: 20rpx;
  411. position: absolute;
  412. bottom: 12%;
  413. display: flex;
  414. flex-direction: row;
  415. align-items: center;
  416. justify-content: center;
  417. }
  418. .pages-container .page-item {
  419. width: 20rpx;
  420. height: 20rpx;
  421. border-radius: 50%;
  422. margin: 0 8rpx;
  423. background-color: rgb(99, 99, 99, .5);
  424. }
  425. .pages-container .page-item.current {
  426. background-color: #fff;
  427. }
  428. .radio-group-no-box {
  429. display: inline-block;
  430. color: #006eff;
  431. background-color: #ffffff;
  432. border: 1px solid #006eff;
  433. border-radius: 4px;
  434. margin-left: 180rpx;
  435. font-size: 12px;
  436. }
  437. .radio-group-no-box .radio-item{
  438. padding: 5px 8px;
  439. text-align: center;
  440. border-right: 1px solid #006eff;
  441. display: inline-block;
  442. }
  443. .radio-group-no-box .radio-item:last-child{
  444. border-right: none;
  445. }
  446. .radio-group-no-box .radio-item.selected{
  447. color: #ffffff;
  448. background-color: #006eff;
  449. }
  450. .radio-group-no-box radio{
  451. display: none;
  452. }
  453. .picker-label{
  454. display: inline-block;
  455. color: #006eff;
  456. background-color: #ffffff;
  457. border: 1px solid #006eff;
  458. border-radius: 4px;
  459. padding: 5px 8px;
  460. text-align: center;
  461. font-size: 12px;
  462. }