WXtrialInterface.scss 13 KB

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