123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959 |
- @charset "UTF-8";
- /**
- * 下方引入的为uView UI的集成样式文件,为scss预处理器,其中包含了一些"u-"开头的自定义变量
- * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可
- * uView自定义的css类名和scss变量,均以"u-"开头,不会造成冲突,请放心使用
- */
- /*每个页面公共css */
- @charset "UTF-8";
- /***********
- 常用样式库 v1
- 包含颜色、亮度、宽高、flex、gird、margin、padding、圆角、字体、动画
- ***********/
- /***********颜色:背景、文本***********/
- .bg-red {
- background-color: #ff0000;
- color: #fff;
- }
- .txt-red {
- color: #ff0000;
- }
- .bg-orange {
- background-color: #f37b1d;
- color: #fff;
- }
- .txt-orange {
- color: #f37b1d;
- }
- .bg-yellow {
- background-color: #fbbd08;
- color: #fff;
- }
- .txt-yellow {
- color: #fbbd08;
- }
- .bg-olive {
- background-color: #8dc63f;
- color: #fff;
- }
- .txt-olive {
- color: #8dc63f;
- }
- .bg-green {
- background-color: #39b54a;
- color: #fff;
- }
- .txt-green {
- color: #39b54a;
- }
- .bg-cyan {
- background-color: #1cbbb4;
- color: #fff;
- }
- .txt-cyan {
- color: #1cbbb4;
- }
- .bg-blue {
- background-color: #0081ff;
- color: #fff;
- }
- .txt-blue {
- color: #0081ff;
- }
- .bg-purple {
- background-color: #6739b6;
- color: #fff;
- }
- .txt-purple {
- color: #6739b6;
- }
- .bg-mauve {
- background-color: #9c26b0;
- color: #fff;
- }
- .txt-mauve {
- color: #9c26b0;
- }
- .bg-pink {
- background-color: #e03997;
- color: #fff;
- }
- .txt-pink {
- color: #e03997;
- }
- .bg-brown {
- background-color: #a5673f;
- color: #fff;
- }
- .txt-brown {
- color: #a5673f;
- }
- .bg-grey {
- background-color: #8799a3;
- color: #fff;
- }
- .txt-grey {
- color: #8799a3;
- }
- .bg-black {
- background-color: #333333;
- color: #fff;
- }
- .txt-black {
- color: #333333;
- }
- .bg-darkGray {
- background-color: #666666;
- color: #fff;
- }
- .txt-darkGray {
- color: #666666;
- }
- .bg-gray {
- background-color: #aaaaaa;
- color: #000;
- }
- .txt-gray {
- color: #aaaaaa;
- }
- .bg-ghostWhite {
- background-color: #f1f1f1;
- color: #000;
- }
- .txt-ghostWhite {
- color: #f1f1f1;
- }
- .bg-white {
- background-color: #ffffff;
- color: #000;
- }
- .txt-white {
- color: #ffffff;
- }
- .txt-2hide{
- word-break: break-all;
- text-overflow: ellipsis;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 2;
- overflow: hidden;
- }
- /***********宽度***********/
- .wid-1 {
- width: 1%;
- }
- .wid-2 {
- width: 2%;
- }
- .wid-3 {
- width: 3%;
- }
- .wid-4 {
- width: 4%;
- }
- .wid-5 {
- width: 5%;
- }
- .wid-10 {
- width: 10%;
- }
- .wid-20 {
- width: 20%;
- }
- .wid-30 {
- width: 30%;
- }
- .wid-40 {
- width: 40%;
- }
- .wid-50 {
- width: 50%;
- }
- .wid-60 {
- width: 60%;
- }
- .wid-70 {
- width: 70%;
- }
- .wid-80 {
- width: 80%;
- }
- .wid-90 {
- width: 90%;
- }
- .wid-100 {
- width: 100%;
- }
- /***********高度***********/
- .hei-100 {
- height: 100%;
- }
- .hei-50 {
- height: 50%;
- }
- .wh-100 {
- height: 100%;
- width: 100%;
- }
- /***********margin***********/
- .mt-10 {
- margin-top: 10rpx;
- }
- .mt-20 {
- margin-top: 20rpx;
- }
- .mt-30 {
- margin-top: 30rpx;
- }
- .mt-40 {
- margin-top: 40rpx;
- }
- .mt-50 {
- margin-top: 50rpx;
- }
- .mt-60 {
- margin-top: 60rpx;
- }
- .mt-70 {
- margin-top: 70rpx;
- }
- .mt-80 {
- margin-top: 80rpx;
- }
- .mt-90 {
- margin-top: 90rpx;
- }
- .mt-100 {
- margin-top: 100rpx;
- }
- /***********padding***********/
- .pd-5 {
- padding: 5rpx;
- }
- .pd-10 {
- padding: 10rpx;
- }
- .pd-15 {
- padding: 15rpx;
- }
- .pd-20 {
- padding: 20rpx;
- }
- .pd-30 {
- padding: 30rpx;
- }
- .pd-40 {
- padding: 40rpx;
- }
- /***********圆角***********/
- .round-5 {
- border-radius: 5rpx;
- }
- .round-10 {
- border-radius: 10rpx;
- }
- .round-15 {
- border-radius: 15rpx;
- }
- .round-20 {
- border-radius: 20rpx;
- }
- .round-50 {
- border-radius: 50%;
- }
- /***********Flex布局***********/
- .row {
- display: flex;
- flex-direction: row;
- }
- .column {
- display: flex;
- flex-direction: column;
- }
- .y-center {
- align-items: center;
- }
- .x-center {
- justify-content: center;
- }
- .flex-center {
- align-items: center;
- justify-content: center;
- }
- .flex-start {
- justify-content: flex-start;
- }
- .flex-end {
- justify-content: flex-end;
- }
- .flex-between {
- justify-content: space-between;
- }
- .flex-around {
- justify-content: space-around;
- }
- .flex-wrap {
- flex-wrap: wrap;
- }
- /***********grid***********/
- .grid {
- display: grid;
- flex-wrap: wrap;
- }
- .grid.col-1 > view {
- width: 100%;
- }
- .grid.col-2 > view {
- width: 50%;
- }
- .grid.col-3 > view {
- width: 33.33333%;
- }
- .grid.col-4 > view {
- width: 25%;
- }
- .grid.col-5 > view {
- width: 20%;
- }
- /***********文本***********/
- .txt-sm {
- font-size: 22rpx;
- }
- .txt-df {
- font-size: 28rpx;
- }
- .txt-lg {
- font-size: 32rpx;
- }
- .txt-xl {
- font-size: 36rpx;
- }
- .txt-xxl {
- font-size: 42rpx;
- }
- .txt-sl {
- font-size: 56rpx;
- }
- .txt-sxl {
- font-size: 88rpx;
- }
- .txt-left {
- text-align: left;
- }
- .txt-right {
- text-align: right;
- }
- .txt-center {
- text-align: center;
- }
- .txt-bold {
- font-weight: 800;
- }
- .txt-space-3 {
- letter-spacing: 3rpx;
- }
- .txt-Abc {
- text-transform: Capitalize;
- }
- .txt-ABC {
- text-transform: Uppercase;
- }
- .txt-abc {
- text-transform: Lowercase;
- }
- .txtHide {
- text-overflow: ellipsis;
- white-space: nowrap;
- overflow: hidden;
- }
- /***********animation***********/
- [class*=ani-] {
- -webkit-animation-duration: .5s;
- animation-duration: .5s;
- -webkit-animation-timing-function: ease-out;
- animation-timing-function: ease-out;
- -webkit-animation-fill-mode: both;
- animation-fill-mode: both;
- }
- .ani-fade {
- -webkit-animation: fade;
- animation: fade;
- -webkit-animation-duration: .8s;
- animation-duration: .8s;
- -webkit-animation-timing-function: linear;
- animation-timing-function: linear;
- }
- .ani-scale-up {
- -webkit-animation: scale-up;
- animation: scale-up;
- }
- .ani-scale-down {
- -webkit-animation: scale-down;
- animation: scale-down;
- }
- .ani-slide-top {
- -webkit-animation: slide-top;
- animation: slide-top;
- }
- .ani-slide-bottom {
- -webkit-animation: slide-bottom;
- animation: slide-bottom;
- }
- .ani-slide-left {
- -webkit-animation: slide-left;
- animation: slide-left;
- }
- .ani-slide-right {
- -webkit-animation: slide-right;
- animation: slide-right;
- }
- .ani-shake {
- -webkit-animation: shake;
- animation: shake;
- }
- @-webkit-keyframes fade {
- 0% {
- opacity: 0;
- }
- 100% {
- opacity: 1;
- }
- }
- @keyframes fade {
- 0% {
- opacity: 0;
- }
- 100% {
- opacity: 1;
- }
- }
- @-webkit-keyframes scale-up {
- 0% {
- opacity: 0;
- -webkit-transform: scale(0.2);
- transform: scale(0.2);
- }
- 100% {
- opacity: 1;
- -webkit-transform: scale(1);
- transform: scale(1);
- }
- }
- @keyframes scale-up {
- 0% {
- opacity: 0;
- -webkit-transform: scale(0.2);
- transform: scale(0.2);
- }
- 100% {
- opacity: 1;
- -webkit-transform: scale(1);
- transform: scale(1);
- }
- }
- @-webkit-keyframes scale-down {
- 0% {
- opacity: 0;
- -webkit-transform: scale(1.8);
- transform: scale(1.8);
- }
- 100% {
- opacity: 1;
- -webkit-transform: scale(1);
- transform: scale(1);
- }
- }
- @keyframes scale-down {
- 0% {
- opacity: 0;
- -webkit-transform: scale(1.8);
- transform: scale(1.8);
- }
- 100% {
- opacity: 1;
- -webkit-transform: scale(1);
- transform: scale(1);
- }
- }
- @-webkit-keyframes slide-top {
- 0% {
- opacity: 0;
- -webkit-transform: translateY(-100%);
- transform: translateY(-100%);
- }
- 100% {
- opacity: 1;
- -webkit-transform: translateY(0);
- transform: translateY(0);
- }
- }
- @keyframes slide-top {
- 0% {
- opacity: 0;
- -webkit-transform: translateY(-100%);
- transform: translateY(-100%);
- }
- 100% {
- opacity: 1;
- -webkit-transform: translateY(0);
- transform: translateY(0);
- }
- }
- @-webkit-keyframes slide-bottom {
- 0% {
- opacity: 0;
- -webkit-transform: translateY(100%);
- transform: translateY(100%);
- }
- 100% {
- opacity: 1;
- -webkit-transform: translateY(0);
- transform: translateY(0);
- }
- }
- @keyframes slide-bottom {
- 0% {
- opacity: 0;
- -webkit-transform: translateY(100%);
- transform: translateY(100%);
- }
- 100% {
- opacity: 1;
- -webkit-transform: translateY(0);
- transform: translateY(0);
- }
- }
- @-webkit-keyframes shake {
- 0%,
- 100% {
- -webkit-transform: translateX(0);
- transform: translateX(0);
- }
- 10% {
- -webkit-transform: translateX(-9px);
- transform: translateX(-9px);
- }
- 20% {
- -webkit-transform: translateX(8px);
- transform: translateX(8px);
- }
- 30% {
- -webkit-transform: translateX(-7px);
- transform: translateX(-7px);
- }
- 40% {
- -webkit-transform: translateX(6px);
- transform: translateX(6px);
- }
- 50% {
- -webkit-transform: translateX(-5px);
- transform: translateX(-5px);
- }
- 60% {
- -webkit-transform: translateX(4px);
- transform: translateX(4px);
- }
- 70% {
- -webkit-transform: translateX(-3px);
- transform: translateX(-3px);
- }
- 80% {
- -webkit-transform: translateX(2px);
- transform: translateX(2px);
- }
- 90% {
- -webkit-transform: translateX(-1px);
- transform: translateX(-1px);
- }
- }
- @keyframes shake {
- 0%,
- 100% {
- -webkit-transform: translateX(0);
- transform: translateX(0);
- }
- 10% {
- -webkit-transform: translateX(-9px);
- transform: translateX(-9px);
- }
- 20% {
- -webkit-transform: translateX(8px);
- transform: translateX(8px);
- }
- 30% {
- -webkit-transform: translateX(-7px);
- transform: translateX(-7px);
- }
- 40% {
- -webkit-transform: translateX(6px);
- transform: translateX(6px);
- }
- 50% {
- -webkit-transform: translateX(-5px);
- transform: translateX(-5px);
- }
- 60% {
- -webkit-transform: translateX(4px);
- transform: translateX(4px);
- }
- 70% {
- -webkit-transform: translateX(-3px);
- transform: translateX(-3px);
- }
- 80% {
- -webkit-transform: translateX(2px);
- transform: translateX(2px);
- }
- 90% {
- -webkit-transform: translateX(-1px);
- transform: translateX(-1px);
- }
- }
- @-webkit-keyframes slide-left {
- 0% {
- opacity: 0;
- -webkit-transform: translateX(-100%);
- transform: translateX(-100%);
- }
- 100% {
- opacity: 1;
- -webkit-transform: translateX(0);
- transform: translateX(0);
- }
- }
- @keyframes slide-left {
- 0% {
- opacity: 0;
- -webkit-transform: translateX(-100%);
- transform: translateX(-100%);
- }
- 100% {
- opacity: 1;
- -webkit-transform: translateX(0);
- transform: translateX(0);
- }
- }
- @-webkit-keyframes slide-right {
- 0% {
- opacity: 0;
- -webkit-transform: translateX(100%);
- transform: translateX(100%);
- }
- 100% {
- opacity: 1;
- -webkit-transform: translateX(0);
- transform: translateX(0);
- }
- }
- @keyframes slide-right {
- 0% {
- opacity: 0;
- -webkit-transform: translateX(100%);
- transform: translateX(100%);
- }
- 100% {
- opacity: 1;
- -webkit-transform: translateX(0);
- transform: translateX(0);
- }
- }
- /***********辅助交互***********/
- .btnClick {
- position: relative;
- }
- .btnClick:active {
- -webkit-transform: translate(1px, 1px);
- transform: translate(1px, 1px);
- }
- .pageShow {
- opacity: 1;
- z-index: 999;
- }
- .pageHide {
- opacity: 0;
- z-index: -999;
- }
- .shadow {
- position: relative;
- box-shadow: 0 0 10rpx rgba(0, 0, 0, 0.1);
- }
- .u-line-1 {
- display: -webkit-box !important;
- overflow: hidden;
- text-overflow: ellipsis;
- word-break: break-all;
- -webkit-line-clamp: 1;
- -webkit-box-orient: vertical !important;
- }
- .u-line-2 {
- display: -webkit-box !important;
- overflow: hidden;
- text-overflow: ellipsis;
- word-break: break-all;
- -webkit-line-clamp: 2;
- -webkit-box-orient: vertical !important;
- }
- .u-line-3 {
- display: -webkit-box !important;
- overflow: hidden;
- text-overflow: ellipsis;
- word-break: break-all;
- -webkit-line-clamp: 3;
- -webkit-box-orient: vertical !important;
- }
- .u-line-4 {
- display: -webkit-box !important;
- overflow: hidden;
- text-overflow: ellipsis;
- word-break: break-all;
- -webkit-line-clamp: 4;
- -webkit-box-orient: vertical !important;
- }
- .u-line-5 {
- display: -webkit-box !important;
- overflow: hidden;
- text-overflow: ellipsis;
- word-break: break-all;
- -webkit-line-clamp: 5;
- -webkit-box-orient: vertical !important;
- }
- .u-border {
- border-width: 0.5px !important;
- border-color: #dadbde !important;
- border-style: solid;
- }
- .u-border-top {
- border-top-width: 0.5px !important;
- border-color: #dadbde !important;
- border-top-style: solid;
- }
- .u-border-left {
- border-left-width: 0.5px !important;
- border-color: #dadbde !important;
- border-left-style: solid;
- }
- .u-border-right {
- border-right-width: 0.5px !important;
- border-color: #dadbde !important;
- border-right-style: solid;
- }
- .u-border-bottom {
- border-bottom-width: 0.5px !important;
- border-color: #dadbde !important;
- border-bottom-style: solid;
- }
- .u-border-top-bottom {
- border-top-width: 0.5px !important;
- border-bottom-width: 0.5px !important;
- border-color: #dadbde !important;
- border-top-style: solid;
- border-bottom-style: solid;
- }
- .u-reset-button {
- padding: 0;
- background-color: transparent;
- font-size: inherit;
- line-height: inherit;
- color: inherit;
- }
- .u-reset-button::after {
- border: none;
- }
- .u-hover-class {
- opacity: 0.7;
- }
- .u-primary-light {
- color: #ecf5ff;
- }
- .u-warning-light {
- color: #fdf6ec;
- }
- .u-success-light {
- color: #f5fff0;
- }
- .u-error-light {
- color: #fef0f0;
- }
- .u-info-light {
- color: #f4f4f5;
- }
- .u-primary-light-bg {
- background-color: #ecf5ff;
- }
- .u-warning-light-bg {
- background-color: #fdf6ec;
- }
- .u-success-light-bg {
- background-color: #f5fff0;
- }
- .u-error-light-bg {
- background-color: #fef0f0;
- }
- .u-info-light-bg {
- background-color: #f4f4f5;
- }
- .u-primary-dark {
- color: #eb5a10;
- }
- .u-warning-dark {
- color: #f1a532;
- }
- .u-success-dark {
- color: #53c21d;
- }
- .u-error-dark {
- color: #e45656;
- }
- .u-info-dark {
- color: #767a82;
- }
- .u-primary-dark-bg {
- background-color: #eb5a10;
- }
- .u-warning-dark-bg {
- background-color: #f1a532;
- }
- .u-success-dark-bg {
- background-color: #53c21d;
- }
- .u-error-dark-bg {
- background-color: #e45656;
- }
- .u-info-dark-bg {
- background-color: #767a82;
- }
- .u-primary-disabled {
- color: rgba(235, 90, 16, 0.6);
- }
- .u-warning-disabled {
- color: #f9d39b;
- }
- .u-success-disabled {
- color: #a9e08f;
- }
- .u-error-disabled {
- color: #f7b2b2;
- }
- .u-info-disabled {
- color: #c4c6c9;
- }
- .u-primary {
- color: #eb5a10;
- }
- .u-warning {
- color: #f9ae3d;
- }
- .u-success {
- color: #5ac725;
- }
- .u-error {
- color: #f56c6c;
- }
- .u-info {
- color: #909399;
- }
- .u-primary-bg {
- background-color: #eb5a10;
- }
- .u-warning-bg {
- background-color: #f9ae3d;
- }
- .u-success-bg {
- background-color: #5ac725;
- }
- .u-error-bg {
- background-color: #f56c6c;
- }
- .u-info-bg {
- background-color: #909399;
- }
- .u-main-color {
- color: #303133;
- }
- .u-content-color {
- color: #606266;
- }
- .u-tips-color {
- color: #909193;
- }
- .u-light-color {
- color: #c0c4cc;
- }
- .u-safe-area-inset-top {
- padding-top: 0;
- padding-top: constant(safe-area-inset-top);
- padding-top: env(safe-area-inset-top);
- }
- .u-safe-area-inset-right {
- padding-right: 0;
- padding-right: constant(safe-area-inset-right);
- padding-right: env(safe-area-inset-right);
- }
- .u-safe-area-inset-bottom {
- padding-bottom: 0;
- padding-bottom: constant(safe-area-inset-bottom);
- padding-bottom: env(safe-area-inset-bottom);
- }
- .u-safe-area-inset-left {
- padding-left: 0;
- padding-left: constant(safe-area-inset-left);
- padding-left: env(safe-area-inset-left);
- }
- ::-webkit-scrollbar {
- display: none;
- width: 0 !important;
- height: 0 !important;
- -webkit-appearance: none;
- background: transparent;
- }
- .u-block {
- padding: 14px;
- }
- .u-block__section {
- margin-bottom: 10px;
- }
- .u-block__title {
- margin-top: 10px;
- font-size: 15px;
- color: #606266;
- margin-bottom: 10px;
- }
- .u-block__flex {
- display: flex;
- }
- .u-cell-icon {
- width: 36rpx;
- height: 36rpx;
- margin-right: 8rpx;
- }
- .u-page {
- padding: 15px 15px 40px 15px;
- }
- .u-demo-block {
- flex: 1;
- margin-bottom: 23px;
- }
- .u-demo-block__content {
- display: flex;
- flex-direction: column;
- }
- .u-demo-block__title {
- font-size: 14px;
- color: #8f9ca2;
- margin-bottom: 8px;
- display: flex;
- flex-direction: row;
- }
- .pageCon {
- width: 100%;
- display: flex;
- flex-direction: column;
- height: calc(100vh - 276rpx);
- overflow-y: scroll;
- overflow-x: hidden;
- font-size: 28rpx;
- }
- page {
- background-color: #f6f6f6;
- }
|