WXtrialInterface.scss 14 KB

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