WXtrialInterface.scss 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569
  1. @function toREM($px) {
  2. @return $px/100*1rem
  3. }
  4. $uiwidth: 375;
  5. html {
  6. font-size: (100/$uiwidth) * 100vw;
  7. @media screen and (max-width: 320px) {
  8. font-size: 80px;
  9. }
  10. @media screen and (min-width: 750px) {
  11. font-size: 120px;
  12. }
  13. }
  14. .flex-center-all {
  15. display: flex;
  16. align-items: center;
  17. justify-content: center;
  18. }
  19. .flex-align-c {
  20. display: flex;
  21. align-items: center;
  22. }
  23. .tc {
  24. text-align: center;
  25. }
  26. .pfi {
  27. position: fixed;
  28. }
  29. .pab {
  30. position: absolute
  31. }
  32. .pre {
  33. position: relative;
  34. }
  35. .flex {
  36. display: flex;
  37. }
  38. .flex-1 {
  39. flex: 1;
  40. }
  41. .flex-column {
  42. height: 100%;
  43. display: flex;
  44. flex-direction: column;
  45. }
  46. .flex-column-container {
  47. flex: 1;
  48. overflow-y: auto;
  49. }
  50. .flex-jub {
  51. display: flex;
  52. justify-content: space-between;
  53. }
  54. .mb-20 {
  55. margin-bottom: toREM(20);
  56. }
  57. [v-cloak] {
  58. display: none;
  59. }
  60. .ellipsis {
  61. overflow: hidden;
  62. text-overflow: ellipsis;
  63. white-space: nowrap;
  64. }
  65. .w100 {
  66. width: 100%;
  67. }
  68. .h100 {
  69. height: 100%;
  70. }
  71. .fl {
  72. float: left;
  73. }
  74. .fr {
  75. float: right;
  76. }
  77. .mt-16 {
  78. margin-top: toREM(16);
  79. }
  80. .mb-5 {
  81. margin-bottom: toREM(5);
  82. }
  83. #app {
  84. font-size: toREM(12);
  85. color: #fff;
  86. }
  87. .layout {
  88. background-color: #000;
  89. font-size: toREM(12);
  90. .layout-view {
  91. height: calc(100% - toREM(60));
  92. width: 100%;
  93. position: relative;
  94. .videoRotate {
  95. position: absolute;
  96. left: 0;
  97. top: 0;
  98. display: block;
  99. object-fit: fill;
  100. }
  101. }
  102. .layout-footer {
  103. display: grid;
  104. grid-template-columns: repeat(3, 1fr);
  105. text-align: center;
  106. height: toREM(60);
  107. img {
  108. margin: auto;
  109. width: toREM(30);
  110. height: toREM(30);
  111. }
  112. }
  113. // 右侧抽屉框
  114. .levitated-sphere-overlay {
  115. height: calc(100% - toREM(50));
  116. background-color: transparent;
  117. }
  118. .levitated-sphere-drawer {
  119. top: 46%;
  120. height: calc(100% - toREM(50));
  121. max-height: none !important;
  122. color: #fff;
  123. background-color: rgba(2, 2, 6, .5);
  124. padding: toREM(80) toREM(10) 0;
  125. box-sizing: border-box;
  126. .drawer-item {
  127. line-height: toREM(36);
  128. border-radius: toREM(3);
  129. &.active {
  130. background: rgba(255, 255, 255, 1);
  131. color: #000;
  132. }
  133. }
  134. .exit {
  135. line-height: toREM(30);
  136. img {
  137. width: toREM(24);
  138. height: toREM(24);
  139. }
  140. }
  141. }
  142. // 计时规则
  143. .billing-rules-modal {
  144. text-align: center;
  145. font-size: toREM(14);
  146. color: #757580;
  147. text-align: center;
  148. .van-dialog__content {
  149. padding: 0 toREM(28) toREM(28);
  150. }
  151. .billing-rules-img {
  152. width: toREM(104);
  153. height: toREM(140);
  154. }
  155. .billing-rules-title {
  156. font-size: toREM(18);
  157. font-weight: 600;
  158. color: #363636;
  159. margin-bottom: toREM(5);
  160. }
  161. .billing-rules-tips {
  162. margin-top: toREM(5);
  163. }
  164. .billing-rules-time {
  165. color: #00DB88;
  166. font-size: toREM(15);
  167. }
  168. .billing-rules-btn {
  169. height: toREM(50);
  170. line-height: toREM(50);
  171. text-align: center;
  172. margin-top: toREM(24);
  173. background: linear-gradient(90deg, #00A3FF 0%, #04F79A 100%);
  174. border-radius: toREM(8);
  175. font-size: toREM(12);
  176. color: #FFFFFF;
  177. }
  178. }
  179. // 应用推荐
  180. .apply-recommend-modal {
  181. overflow: visible;
  182. .van-dialog__content {
  183. padding: toREM(10) toREM(28) toREM(28);
  184. &>div {
  185. height: toREM(350);
  186. display: flex;
  187. flex-direction: column;
  188. .apply-recommend-title {
  189. font-size: toREM(16);
  190. font-weight: 500;
  191. color: #363636;
  192. }
  193. .apply-recommend-list {
  194. flex: 1;
  195. overflow-y: auto;
  196. margin-top: toREM(16);
  197. &::-webkit-scrollbar {
  198. display: none;
  199. }
  200. .left {
  201. width: calc(100% - toREM(68));
  202. &>img {
  203. width: toREM(36);
  204. height: toREM(36);
  205. }
  206. &>div {
  207. width: calc(100% - toREM(36));
  208. padding-left: toREM(10);
  209. box-sizing: border-box;
  210. }
  211. .title {
  212. width: 100%;
  213. font-size: toREM(16);
  214. color: #363636;
  215. max-width: 100%;
  216. }
  217. .download-num {
  218. font-size: toREM(12);
  219. color: #757580;
  220. }
  221. }
  222. .right {
  223. &>div {
  224. width: toREM(68);
  225. height: toREM(30);
  226. line-height: toREM(30);
  227. text-align: center;
  228. background: linear-gradient(90deg, #00A3FF 0%, #04F79A 100%);
  229. border-radius: toREM(8);
  230. font-size: toREM(12);
  231. color: #FFFFFF;
  232. }
  233. }
  234. }
  235. .apply-recommend-btn {
  236. height: toREM(50);
  237. line-height: toREM(50);
  238. margin-top: toREM(14);
  239. background: linear-gradient(225deg, #FF62F8 0%, #FF9D5C 100%);
  240. border-radius: toREM(8);
  241. font-size: toREM(12);
  242. color: #FFFFFF;
  243. }
  244. }
  245. .apply-recommend-close {
  246. bottom: -12%;
  247. left: 50%;
  248. transform: translateX(-50%);
  249. width: toREM(38);
  250. height: toREM(38);
  251. }
  252. }
  253. }
  254. // 粘贴版
  255. .paste-version-modal {
  256. background-color: transparent;
  257. overflow: visible;
  258. .van-dialog__content {
  259. background-color: rgba(0, 0, 0, 0.6);
  260. display: flex;
  261. flex-direction: column;
  262. height: toREM(270);
  263. padding-bottom: toREM(28);
  264. border-radius: toREM(16);
  265. .paste-version-title {
  266. height: toREM(48);
  267. line-height: toREM(48);
  268. font-size: toREM(16);
  269. margin: 0 toREM(18);
  270. &>span:first-child {
  271. top: 50%;
  272. left: 50%;
  273. transform: translate(-50%, -50%);
  274. }
  275. .paste-version-clear {
  276. position: absolute;
  277. top: 52%;
  278. transform: translateY(-52%);
  279. right: 0;
  280. height: toREM(20);
  281. line-height: toREM(20);
  282. padding: 0 toREM(10);
  283. font-size: toREM(12);
  284. background: #3666f2;
  285. border-radius: toREM(3);
  286. color: #ffffff;
  287. }
  288. }
  289. .paste-version-list {
  290. flex: 1;
  291. overflow-y: auto;
  292. & .van-swipe-cell {
  293. margin: 0 toREM(18);
  294. box-sizing: border-box;
  295. height: toREM(32);
  296. line-height: toREM(32);
  297. text-align: center;
  298. font-size: toREM(13);
  299. color: #666;
  300. background-color: #fff;
  301. border-radius: toREM(5);
  302. overflow: hidden;
  303. .van-swipe-cell__wrapper {
  304. width: 100%;
  305. height: 100%;
  306. }
  307. .ellipsis {
  308. width: 100%;
  309. height: 100%;
  310. padding: 0 toREM(10);
  311. box-sizing: border-box;
  312. }
  313. }
  314. &::-webkit-scrollbar {
  315. display: none;
  316. }
  317. .paste-version-delete {
  318. width: toREM(40);
  319. height: 100%;
  320. border: none;
  321. background: #f04646;
  322. color: #fff;
  323. font-size: toREM(12);
  324. text-align: center;
  325. border-radius: 0 toREM(5) toREM(5) 0;
  326. }
  327. }
  328. .paste-version-close {
  329. width: toREM(38);
  330. height: toREM(38);
  331. bottom: -20%;
  332. left: 50%;
  333. transform: translateX(-50%);
  334. }
  335. .paste-version-empty {
  336. img {
  337. width: toREM(128);
  338. height: toREM(160);
  339. }
  340. &>div>div {
  341. margin-top: toREM(9);
  342. font-size: toREM(15);
  343. }
  344. }
  345. }
  346. }
  347. // 分辨率
  348. .resolution-ratio-modal {
  349. background-color: transparent;
  350. .van-dialog__content {
  351. &>div {
  352. padding: toREM(1);
  353. background: linear-gradient(180deg, rgba(118, 204, 255, 1), rgba(195, 40, 255, 1));
  354. overflow: hidden;
  355. border-radius: toREM(20);
  356. &>div {
  357. height: 100%;
  358. padding: 0;
  359. display: flex;
  360. flex-direction: column;
  361. overflow: hidden;
  362. border-radius: toREM(20);
  363. color: rgba(255, 255, 255, 0.6);
  364. background-color: #000000;
  365. font-size: toREM(16);
  366. .resolution-ratio-btn {
  367. padding: toREM(10) toREM(19);
  368. border-bottom: toREM(1) solid rgba(255, 255, 255, 0.2);
  369. &>div:last-child {
  370. color: #fff;
  371. }
  372. }
  373. .resolution-ratio-list {
  374. padding: toREM(15) 0;
  375. font-size: toREM(14);
  376. &>div {
  377. display: flex;
  378. line-height: toREM(43);
  379. justify-content: center;
  380. &.active {
  381. font-size: toREM(16);
  382. color: #fff;
  383. background: url(../../static/img/phone-size-active.png) no-repeat center center;
  384. background-size: 60% 100%;
  385. }
  386. }
  387. }
  388. }
  389. }
  390. }
  391. }
  392. // 续费时长
  393. .renewal-duration-modal {
  394. // display: flex;
  395. // flex-direction: column;
  396. // align-items: center;
  397. img {
  398. width: toREM(104);
  399. height: toREM(140);
  400. }
  401. .renewal-duration-title {
  402. margin-top: toREM(7);
  403. font-size: toREM(18);
  404. font-weight: 600;
  405. color: #363636;
  406. }
  407. .renewal-duration-tip {
  408. margin-top: toREM(7);
  409. font-size: toREM(14);
  410. color: #757580;
  411. }
  412. .renewal-duration-btn {
  413. height: toREM(50);
  414. line-height: toREM(50);
  415. text-align: center;
  416. background: linear-gradient(90deg, #00A3FF 0%, #04F79A 100%);
  417. border-radius: toREM(8);
  418. font-size: toREM(12);
  419. color: #FFFFFF;
  420. margin: toREM(28);
  421. }
  422. }
  423. .copy-text-modal {
  424. color: #000;
  425. padding: toREM(10);
  426. .van-field__control {
  427. border: toREM(1) solid #d6d1d17e;
  428. border-radius: toREM(16);
  429. padding: toREM(10);
  430. }
  431. }
  432. }
  433. // 顶部计时样式
  434. .timing {
  435. top: 2%;
  436. right: 5%;
  437. padding: toREM(6) toREM(5) toREM(6) toREM(9);
  438. background: rgba(0, 0, 0, 0.6);
  439. border-radius: toREM(30);
  440. font-size: toREM(14);
  441. z-index: 1;
  442. &>div {
  443. vertical-align: middle;
  444. height: toREM(20);
  445. line-height: toREM(20);
  446. }
  447. &>div::after {
  448. border-right: toREM(1) solid #FFFFFF;
  449. content: '';
  450. width: toREM(2);
  451. height: 45%;
  452. display: inline-block;
  453. vertical-align: middle;
  454. margin-bottom: toREM(3);
  455. padding: 0 toREM(3);
  456. opacity: .3;
  457. }
  458. &>img {
  459. width: toREM(20);
  460. height: toREM(20);
  461. }
  462. }
  463. // 悬浮框
  464. .levitated-sphere {
  465. position: fixed;
  466. z-index: 1;
  467. img {
  468. width: toREM(42);
  469. height: toREM(42);
  470. }
  471. }