WXtrialInterface.scss 13 KB

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