grid.wxss 8.9 KB

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