123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580 |
- @function toREM($px) {
- @return $px/100*1rem
- }
- $uiwidth: 375;
- html {
- font-size: (100/$uiwidth) * 100vw;
- @media screen and (max-width: 320px) {
- font-size: 80px;
- }
- @media screen and (min-width: 750px) {
- font-size: 120px;
- }
- }
- .flex-center-all {
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .flex-align-c {
- display: flex;
- align-items: center;
- }
- .tc {
- text-align: center;
- }
- .pfi {
- position: fixed;
- }
- .pab {
- position: absolute
- }
- .pre {
- position: relative;
- }
- .flex {
- display: flex;
- }
- .flex-1 {
- flex: 1;
- }
- .flex-column {
- height: 100%;
- display: flex;
- flex-direction: column;
- }
- .flex-column-container {
- flex: 1;
- overflow-y: auto;
- }
- .flex-jub {
- display: flex;
- justify-content: space-between;
- }
- .mb-20 {
- margin-bottom: toREM(20);
- }
- .mb-15 {
- margin-bottom: toREM(15);
- }
- [v-cloak] {
- display: none;
- }
- .ellipsis {
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .w100 {
- width: 100%;
- }
- .h100 {
- height: 100%;
- }
- .fl {
- float: left;
- }
- .fr {
- float: right;
- }
- .mt-16 {
- margin-top: toREM(16);
- }
- .mb-5 {
- margin-bottom: toREM(5);
- }
- #app {
- font-size: toREM(12);
- color: #fff;
- }
- .layout {
- background-color: #000;
- font-size: toREM(12);
- .layout-view {
- height: calc(100% - toREM(60));
- width: 100%;
- position: relative;
- .videoRotate {
- position: absolute;
- left: 0;
- top: 0;
- display: block;
- object-fit: fill;
- }
- }
- .layout-footer {
- display: grid;
- grid-template-columns: repeat(3, 1fr);
- text-align: center;
- height: toREM(60);
- img {
- margin: auto;
- width: toREM(30);
- height: toREM(30);
- }
- }
- // 右侧抽屉框
- .levitated-sphere-overlay {
- height: calc(100% - toREM(60));
- background-color: transparent;
- }
- .levitated-sphere-drawer {
- top: 45.5%;
- height: calc(100% - toREM(60));
- max-height: none !important;
- min-width: toREM(70);
- color: #fff;
- background-color: rgba(2, 2, 6, .5);
- padding: toREM(30) toREM(10) 0;
- box-sizing: border-box;
- .drawer-item {
- line-height: toREM(30);
- border-radius: toREM(3);
- -moz-user-select: none;
- -webkit-user-select: none;
- -ms-user-select: none;
- -khtml-user-select: none;
- user-select: none;
- &.active {
- background: rgba(255, 255, 255, 1);
- color: #000;
- }
- }
- .exit {
- line-height: toREM(30);
- img {
- width: toREM(24);
- height: toREM(24);
- }
- }
- }
- // 计时规则
- .billing-rules-modal {
- text-align: center;
- font-size: toREM(14);
- color: #757580;
- text-align: center;
- .van-dialog__content {
- padding: 0 toREM(28) toREM(28);
- }
- .billing-rules-img {
- width: toREM(104);
- height: toREM(140);
- }
- .billing-rules-title {
- font-size: toREM(18);
- font-weight: 600;
- color: #363636;
- margin-bottom: toREM(5);
- }
- .billing-rules-tips {
- margin-top: toREM(5);
- }
- .billing-rules-time {
- color: #00DB88;
- font-size: toREM(15);
- }
- .billing-rules-btn {
- height: toREM(50);
- line-height: toREM(50);
- text-align: center;
- margin-top: toREM(24);
- background: linear-gradient(90deg, #00A3FF 0%, #04F79A 100%);
- border-radius: toREM(8);
- font-size: toREM(12);
- color: #FFFFFF;
- }
- }
- // 应用推荐
- .apply-recommend-modal {
- overflow: visible;
- .van-dialog__content {
- padding: toREM(10) toREM(28) toREM(28);
- &>div {
- height: toREM(350);
- display: flex;
- flex-direction: column;
- .apply-recommend-title {
- font-size: toREM(16);
- font-weight: 500;
- color: #363636;
- }
- .apply-recommend-list {
- flex: 1;
- overflow-y: auto;
- margin-top: toREM(16);
- &::-webkit-scrollbar {
- display: none;
- }
- .left {
- width: calc(100% - toREM(68));
- &>img {
- width: toREM(36);
- height: toREM(36);
- }
- &>div {
- width: calc(100% - toREM(36));
- padding-left: toREM(10);
- box-sizing: border-box;
- }
- .title {
- width: 100%;
- font-size: toREM(16);
- color: #363636;
- max-width: 100%;
- }
- .download-num {
- font-size: toREM(12);
- color: #757580;
- }
- }
- .right {
- &>div {
- width: toREM(68);
- height: toREM(30);
- line-height: toREM(30);
- text-align: center;
- background: linear-gradient(90deg, #00A3FF 0%, #04F79A 100%);
- border-radius: toREM(8);
- font-size: toREM(12);
- color: #FFFFFF;
- }
- }
- }
- .apply-recommend-btn {
- height: toREM(50);
- line-height: toREM(50);
- margin-top: toREM(14);
- background: linear-gradient(225deg, #FF62F8 0%, #FF9D5C 100%);
- border-radius: toREM(8);
- font-size: toREM(12);
- color: #FFFFFF;
- }
- }
- .apply-recommend-close {
- bottom: -12%;
- left: 50%;
- transform: translateX(-50%);
- width: toREM(38);
- height: toREM(38);
- }
- }
- }
- // 粘贴版
- .paste-version-modal {
- background-color: transparent;
- overflow: visible;
- .van-dialog__content {
- background-color: rgba(0, 0, 0, 0.6);
- display: flex;
- flex-direction: column;
- height: toREM(270);
- padding-bottom: toREM(28);
- border-radius: toREM(16);
- .paste-version-title {
- height: toREM(48);
- line-height: toREM(48);
- font-size: toREM(16);
- margin: 0 toREM(18);
- &>span:first-child {
- top: 50%;
- left: 50%;
- transform: translate(-50%, -50%);
- }
- .paste-version-clear {
- position: absolute;
- top: 52%;
- transform: translateY(-52%);
- right: 0;
- height: toREM(20);
- line-height: toREM(20);
- padding: 0 toREM(10);
- font-size: toREM(12);
- background: #3666f2;
- border-radius: toREM(3);
- color: #ffffff;
- }
- }
- .paste-version-list {
- flex: 1;
- overflow-y: auto;
- & .van-swipe-cell {
- margin: 0 toREM(18);
- box-sizing: border-box;
- height: toREM(32);
- line-height: toREM(32);
- text-align: center;
- font-size: toREM(13);
- color: #666;
- background-color: #fff;
- border-radius: toREM(5);
- overflow: hidden;
- .van-swipe-cell__wrapper {
- width: 100%;
- height: 100%;
- }
- .ellipsis {
- width: 100%;
- height: 100%;
- padding: 0 toREM(10);
- box-sizing: border-box;
- }
- }
- &::-webkit-scrollbar {
- display: none;
- }
- .paste-version-delete {
- width: toREM(40);
- height: 100%;
- border: none;
- background: #f04646;
- color: #fff;
- font-size: toREM(12);
- text-align: center;
- border-radius: 0 toREM(5) toREM(5) 0;
- }
- }
- .paste-version-close {
- width: toREM(38);
- height: toREM(38);
- bottom: -20%;
- left: 50%;
- transform: translateX(-50%);
- }
- .paste-version-empty {
- img {
- width: toREM(128);
- height: toREM(160);
- }
- &>div>div {
- margin-top: toREM(9);
- font-size: toREM(15);
- }
- }
- }
- }
- // 分辨率
- .resolution-ratio-modal {
- background-color: transparent;
- .van-dialog__content {
- &>div {
- padding: toREM(1);
- background: linear-gradient(180deg, rgba(118, 204, 255, 1), rgba(195, 40, 255, 1));
- overflow: hidden;
- border-radius: toREM(20);
- &>div {
- height: 100%;
- padding: 0;
- display: flex;
- flex-direction: column;
- overflow: hidden;
- border-radius: toREM(20);
- color: rgba(255, 255, 255, 0.6);
- background-color: #000000;
- font-size: toREM(16);
- .resolution-ratio-btn {
- padding: toREM(10) toREM(19);
- border-bottom: toREM(1) solid rgba(255, 255, 255, 0.2);
- &>div:last-child {
- color: #fff;
- }
- }
- .resolution-ratio-list {
- padding: toREM(15) 0;
- font-size: toREM(14);
- &>div {
- display: flex;
- line-height: toREM(43);
- justify-content: center;
- &.active {
- font-size: toREM(16);
- color: #fff;
- background: url(../../static/img/phone-size-active.png) no-repeat center center;
- background-size: 60% 100%;
- }
- }
- }
- }
- }
- }
- }
- // 续费时长
- .renewal-duration-modal {
- // display: flex;
- // flex-direction: column;
- // align-items: center;
- img {
- width: toREM(104);
- height: toREM(140);
- }
- .renewal-duration-title {
- margin-top: toREM(7);
- font-size: toREM(18);
- font-weight: 600;
- color: #363636;
- }
- .renewal-duration-tip {
- margin-top: toREM(7);
- font-size: toREM(14);
- color: #757580;
- }
- .renewal-duration-btn {
- height: toREM(50);
- line-height: toREM(50);
- text-align: center;
- background: linear-gradient(90deg, #00A3FF 0%, #04F79A 100%);
- border-radius: toREM(8);
- font-size: toREM(12);
- color: #FFFFFF;
- margin: toREM(28);
- }
- }
- .copy-text-modal {
- color: #000;
- padding: toREM(10);
- .van-field__control {
- border: toREM(1) solid #d6d1d17e;
- border-radius: toREM(16);
- padding: toREM(10);
- }
- }
- }
- // 顶部计时样式
- .timing {
- top: 2%;
- right: 5%;
- padding: toREM(6) toREM(5) toREM(6) toREM(9);
- background: rgba(0, 0, 0, 0.6);
- border-radius: toREM(30);
- font-size: toREM(14);
- z-index: 1;
- &>div {
- vertical-align: middle;
- height: toREM(20);
- line-height: toREM(20);
- }
- &>div::after {
- border-right: toREM(1) solid #FFFFFF;
- content: '';
- width: toREM(2);
- height: 45%;
- display: inline-block;
- vertical-align: middle;
- margin-bottom: toREM(3);
- padding: 0 toREM(3);
- opacity: .3;
- }
- &>img {
- width: toREM(20);
- height: toREM(20);
- }
- }
- // 悬浮框
- .levitated-sphere {
- position: fixed;
- z-index: 1;
- img {
- width: toREM(42);
- height: toREM(42);
- }
- }
|