init
This commit is contained in:
626
wx05cb767e6530b48f/components/shortcut/shortcut.wxss
Normal file
626
wx05cb767e6530b48f/components/shortcut/shortcut.wxss
Normal file
@@ -0,0 +1,626 @@
|
||||
./utils/iconfont.wxssrpx.container,wx-input {
|
||||
-webkit-font-smoothing: antialiased;
|
||||
font-family: PingFang-Medium,PingFangSC-Regular,Heiti,Heiti SC,DroidSans,DroidSansFallback,Microsoft YaHei,sans-serif;
|
||||
}
|
||||
|
||||
.b-f {
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.tf-180 {
|
||||
transform: rotate(-180deg);
|
||||
}
|
||||
|
||||
.tf-90 {
|
||||
transform: rotate(90deg);
|
||||
}
|
||||
|
||||
.dis-block {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.dis-flex {
|
||||
display: flex!important;
|
||||
}
|
||||
|
||||
.flex-box {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.flex-dir-row {
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
.flex-dir-column {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.flex-x-center {
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.flex-x-between {
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.flex-x-around {
|
||||
justify-content: space-around;
|
||||
}
|
||||
|
||||
.flex-x-end {
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.flex-y-center {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.flex-y-end {
|
||||
align-items: flex-end;
|
||||
}
|
||||
|
||||
.flex-five {
|
||||
box-sizing: border-box;
|
||||
flex: 0 0 50%;
|
||||
}
|
||||
|
||||
.flex-three {
|
||||
float: left;
|
||||
width: 33.3%;
|
||||
}
|
||||
|
||||
.flex-four {
|
||||
box-sizing: border-box;
|
||||
flex: 0 0 25%;
|
||||
}
|
||||
|
||||
.t-l {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.t-c {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.t-r {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.p-a {
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.p-r {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.fl {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.fr {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.clear::after {
|
||||
clear: both;
|
||||
content: " ";
|
||||
display: table;
|
||||
}
|
||||
|
||||
.oh {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.tb-lr-center {
|
||||
-webkit-box-pack: center;
|
||||
-ms-flex-pack: center;
|
||||
-webkit-box-align: center;
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
display: -webkit-flex!important;
|
||||
display: flex!important;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.f-34 {
|
||||
font-size: 34rpx;
|
||||
}
|
||||
|
||||
.f-32 {
|
||||
font-size: 32rpx;
|
||||
}
|
||||
|
||||
.f-31 {
|
||||
font-size: 31rpx;
|
||||
}
|
||||
|
||||
.f-30 {
|
||||
font-size: 30rpx;
|
||||
}
|
||||
|
||||
.f-29 {
|
||||
font-size: 29rpx;
|
||||
}
|
||||
|
||||
.f-28 {
|
||||
font-size: 28rpx;
|
||||
}
|
||||
|
||||
.f-26 {
|
||||
font-size: 26rpx;
|
||||
}
|
||||
|
||||
.f-25 {
|
||||
font-size: 25rpx;
|
||||
}
|
||||
|
||||
.f-24 {
|
||||
font-size: 24rpx;
|
||||
}
|
||||
|
||||
.f-22 {
|
||||
font-size: 22rpx;
|
||||
}
|
||||
|
||||
.f-w {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.f-n {
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.col-f {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.col-3 {
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.col-6 {
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.col-7 {
|
||||
color: #777;
|
||||
}
|
||||
|
||||
.col-8 {
|
||||
color: #888;
|
||||
}
|
||||
|
||||
.col-9 {
|
||||
color: #999;
|
||||
}
|
||||
|
||||
.col-m {
|
||||
color: #ff495e!important;
|
||||
}
|
||||
|
||||
.col-s {
|
||||
color: #be0117!important;
|
||||
}
|
||||
|
||||
.col-green {
|
||||
color: #0ed339!important;
|
||||
}
|
||||
|
||||
.cont-box {
|
||||
padding: 20rpx;
|
||||
}
|
||||
|
||||
.cont-bot {
|
||||
margin-bottom: 120rpx;
|
||||
}
|
||||
|
||||
.padding-box {
|
||||
box-sizing: border-box;
|
||||
padding: 0 24rpx;
|
||||
}
|
||||
|
||||
.pl-12 {
|
||||
padding-left: 12px;
|
||||
}
|
||||
|
||||
.pr-12 {
|
||||
padding-right: 12px;
|
||||
}
|
||||
|
||||
.pr-6 {
|
||||
padding-right: 6px;
|
||||
}
|
||||
|
||||
.m-top4 {
|
||||
margin-top: 4rpx;
|
||||
}
|
||||
|
||||
.m-top10 {
|
||||
margin-top: 10rpx;
|
||||
}
|
||||
|
||||
.m-top20 {
|
||||
margin-top: 25rpx;
|
||||
}
|
||||
|
||||
.p-bottom {
|
||||
padding-bottom: 112rpx;
|
||||
}
|
||||
|
||||
.onelist-hidden {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.onelist-hidden,.twolist-hidden {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.twolist-hidden {
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: 2;
|
||||
display: -webkit-box;
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
.b-r {
|
||||
border-right: 1rpx solid #eee;
|
||||
}
|
||||
|
||||
.b-b {
|
||||
border-bottom: 1rpx solid #eee;
|
||||
}
|
||||
|
||||
.b-t {
|
||||
border-top: 1rpx solid #eee;
|
||||
}
|
||||
|
||||
.ts-1 {
|
||||
transition: all .1s;
|
||||
}
|
||||
|
||||
.ts-2 {
|
||||
transition: all .2s;
|
||||
}
|
||||
|
||||
.ts-3 {
|
||||
transition: all .3s;
|
||||
}
|
||||
|
||||
.ts-5 {
|
||||
transition: all .5s;
|
||||
}
|
||||
|
||||
.btn-normal {
|
||||
background: none;
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
box-shadow: none;
|
||||
display: block;
|
||||
font-size: unset;
|
||||
line-height: normal;
|
||||
margin: 0;
|
||||
overflow: visible;
|
||||
padding: 0;
|
||||
text-align: unset;
|
||||
}
|
||||
|
||||
.btn-normal:after {
|
||||
border: none;
|
||||
}
|
||||
|
||||
.btn-normal.button-hover {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.shortcut {
|
||||
bottom: 250rpx;
|
||||
line-height: 1;
|
||||
position: fixed;
|
||||
right: 12px;
|
||||
z-index: 5;
|
||||
}
|
||||
|
||||
.nav-item,.shortcut {
|
||||
border-radius: 50%;
|
||||
width: 76rpx;
|
||||
}
|
||||
|
||||
.nav-item {
|
||||
background: rgba(0,0,0,.4);
|
||||
bottom: 0;
|
||||
color: #fff;
|
||||
height: 76rpx;
|
||||
line-height: 76rpx;
|
||||
opacity: 0;
|
||||
padding: 0;
|
||||
position: absolute;
|
||||
text-align: center;
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
|
||||
.nav-item text {
|
||||
font-size: 40rpx;
|
||||
}
|
||||
|
||||
.nav-item__switch {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.shortcut_click_show {
|
||||
background: #ff5454;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.show_80 {
|
||||
animation: show_80 .3s forwards;
|
||||
bottom: 384rpx;
|
||||
}
|
||||
|
||||
.show_60 {
|
||||
animation: show_60 .3s forwards;
|
||||
bottom: 288rpx;
|
||||
}
|
||||
|
||||
.show_40 {
|
||||
animation: show_40 .3s forwards;
|
||||
bottom: 192rpx;
|
||||
}
|
||||
|
||||
.show_20 {
|
||||
animation: show_20 .3s forwards;
|
||||
bottom: 96rpx;
|
||||
}
|
||||
|
||||
@-webkit-keyframes show_20 {
|
||||
from {
|
||||
bottom: 0;
|
||||
opacity: 0;
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
|
||||
to {
|
||||
bottom: 96rpx;
|
||||
opacity: 1;
|
||||
transform: rotate(1turn);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes show_20 {
|
||||
from {
|
||||
bottom: 0;
|
||||
opacity: 0;
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
|
||||
to {
|
||||
bottom: 96rpx;
|
||||
opacity: 1;
|
||||
transform: rotate(1turn);
|
||||
}
|
||||
}
|
||||
|
||||
@-webkit-keyframes show_40 {
|
||||
from {
|
||||
bottom: 0;
|
||||
opacity: 0;
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
|
||||
to {
|
||||
bottom: 192rpx;
|
||||
opacity: 1;
|
||||
transform: rotate(1turn);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes show_40 {
|
||||
from {
|
||||
bottom: 0;
|
||||
opacity: 0;
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
|
||||
to {
|
||||
bottom: 192rpx;
|
||||
opacity: 1;
|
||||
transform: rotate(1turn);
|
||||
}
|
||||
}
|
||||
|
||||
@-webkit-keyframes show_60 {
|
||||
from {
|
||||
bottom: 0;
|
||||
opacity: 0;
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
|
||||
to {
|
||||
bottom: 288rpx;
|
||||
opacity: 1;
|
||||
transform: rotate(1turn);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes show_60 {
|
||||
from {
|
||||
bottom: 0;
|
||||
opacity: 0;
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
|
||||
to {
|
||||
bottom: 288rpx;
|
||||
opacity: 1;
|
||||
transform: rotate(1turn);
|
||||
}
|
||||
}
|
||||
|
||||
@-webkit-keyframes show_80 {
|
||||
from {
|
||||
bottom: 0;
|
||||
opacity: 0;
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
|
||||
to {
|
||||
bottom: 384rpx;
|
||||
opacity: 1;
|
||||
transform: rotate(1turn);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes show_80 {
|
||||
from {
|
||||
bottom: 0;
|
||||
opacity: 0;
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
|
||||
to {
|
||||
bottom: 384rpx;
|
||||
opacity: 1;
|
||||
transform: rotate(1turn);
|
||||
}
|
||||
}
|
||||
|
||||
.hide_80 {
|
||||
animation: hide_80 .3s;
|
||||
}
|
||||
|
||||
.hide_60,.hide_80 {
|
||||
bottom: 0;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.hide_60 {
|
||||
animation: hide_60 .3s;
|
||||
}
|
||||
|
||||
.hide_40 {
|
||||
animation: hide_40 .3s;
|
||||
}
|
||||
|
||||
.hide_20,.hide_40 {
|
||||
bottom: 0;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.hide_20 {
|
||||
animation: hide_20 .3s;
|
||||
}
|
||||
|
||||
@-webkit-keyframes hide_20 {
|
||||
from {
|
||||
bottom: 96rpx;
|
||||
opacity: 1;
|
||||
transform: rotate(1turn);
|
||||
}
|
||||
|
||||
to {
|
||||
bottom: 0;
|
||||
opacity: 0;
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes hide_20 {
|
||||
from {
|
||||
bottom: 96rpx;
|
||||
opacity: 1;
|
||||
transform: rotate(1turn);
|
||||
}
|
||||
|
||||
to {
|
||||
bottom: 0;
|
||||
opacity: 0;
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
}
|
||||
|
||||
@-webkit-keyframes hide_40 {
|
||||
from {
|
||||
bottom: 192rpx;
|
||||
opacity: 1;
|
||||
transform: rotate(1turn);
|
||||
}
|
||||
|
||||
to {
|
||||
bottom: 0;
|
||||
opacity: 0;
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes hide_40 {
|
||||
from {
|
||||
bottom: 192rpx;
|
||||
opacity: 1;
|
||||
transform: rotate(1turn);
|
||||
}
|
||||
|
||||
to {
|
||||
bottom: 0;
|
||||
opacity: 0;
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
}
|
||||
|
||||
@-webkit-keyframes hide_60 {
|
||||
from {
|
||||
bottom: 288rpx;
|
||||
opacity: 1;
|
||||
transform: rotate(1turn);
|
||||
}
|
||||
|
||||
to {
|
||||
bottom: 0;
|
||||
opacity: 0;
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes hide_60 {
|
||||
from {
|
||||
bottom: 288rpx;
|
||||
opacity: 1;
|
||||
transform: rotate(1turn);
|
||||
}
|
||||
|
||||
to {
|
||||
bottom: 0;
|
||||
opacity: 0;
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
}
|
||||
|
||||
@-webkit-keyframes hide_80 {
|
||||
from {
|
||||
bottom: 384rpx;
|
||||
opacity: 1;
|
||||
transform: rotate(1turn);
|
||||
}
|
||||
|
||||
to {
|
||||
bottom: 0;
|
||||
opacity: 0;
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes hide_80 {
|
||||
from {
|
||||
bottom: 384rpx;
|
||||
opacity: 1;
|
||||
transform: rotate(1turn);
|
||||
}
|
||||
|
||||
to {
|
||||
bottom: 0;
|
||||
opacity: 0;
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user