123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563 |
- page,
- view,
- scroll-view,
- text,
- image,
- textarea,
- button,
- swiper,
- swiper-item,
- input {
- box-sizing: border-box;
- }
- view[hidden] {
- display: none !important;
- }
- page {
- background-color: $bg-color;
- height: 100%;
- font-size: $font-size-base;
- color: $text-color-base;
- }
- .container {
- width: 100%;
- height: 100%;
- }
- /*
- @font-face {
- font-family: "wenyue";
- src: url('static/images/fonts/WenYue-XinQingNianTi-NC-W8_1.otf');
- }
- @font-face {
- font-family: 'neutra';
- src: url('static/images/fonts/NeutraTextDemiAlt.otf');
- }
- .wenyue-font {
- font-family: 'wenyue';
- }
- .neutra-font {
- font-family: 'neutra';
- }
- */
- button {
- font-size: $font-size-base;
- border-radius: $border-radius-sm;
-
- &:after {
- border: 0;
- }
-
- &[type='primary'] {
- background-color: $color-primary;
-
- &[plain] {
- background-color: $bg-color-white;
- border: 2rpx solid $color-primary;
- color: $color-primary;
- }
-
- &.button-hover {
- background-color: rgba($color: $color-primary, $alpha: 0.6);
- }
- }
-
- &[type='default'] {
- color: $text-color-grey !important;
- border: 2rpx solid #ccc !important;
- background-color: $bg-color-white;
- }
-
- &[type='info'] {
- background-color: #343434;
- color: $bg-color-white !important;
-
- &.button-hover, &[disabled] {
- background-color: rgba($color: #343434, $alpha: 0.6);
- }
- }
- }
- .button-hover[type='primary'][plain] {
- border: 2rpx solid rgba($color: $color-primary, $alpha: 0.6);
- color: rgba($color: $color-primary, $alpha: 0.6);
- }
- uni-toast {
- z-index: 9999;
- }
- .uni-mask {
- z-index: 10000;
- }
- uni-modal .uni-modal {
- z-index: 10001;
- }
- .uni-picker-container {
- z-index: 10000;
- }
- .uni-picker-container .uni-picker {
- z-index: 10001;
- }
- .uni-picker-container .uni-picker-action.uni-picker-action-confirm {
- color: $color-primary;
- }
- .placeholder {
- font-size: $font-size-base;
- color: $text-color-assist;
- }
- .bg-base {
- background-color: $bg-color;
- }
- .bg-white {
- background-color: #ffffff;
- }
- .bg-transparent {
- background-color: transparent !important;
- }
- .bg-primary {
- background-color: $color-primary;
- }
- .bg-warning {
- background-color: $color-warning;
- }
- .d-flex {
- display: flex;
- }
- .d-none {
- display: none !important;
- }
- .invisible {
- visibility: hidden !important;
- }
- .d-inline {
- display: inline !important;
- }
- .d-inline-block {
- display: inline-block !important;
- }
- .d-block {
- display: block !important;
- }
- .flex-column {
- -ms-flex-direction: column !important;
- flex-direction: column !important;
- }
- .justify-content-start {
- justify-content: flex-start;
- }
- .justify-content-end {
- justify-content: flex-end;
- }
- .justify-content-between {
- justify-content: space-between;
- }
- .just-content-center {
- justify-content: center;
- }
- .justify-content-evenly {
- justify-content: space-evenly !important;
- }
- .just-content-around {
- justify-content: space-around;
- }
- .align-items-start {
- align-items: flex-start;
- }
- .align-items-end {
- align-items: flex-end;
- }
- .align-items-center {
- align-items: center;
- }
- .align-items-between {
- align-items: space-between;
- }
- .align-items-around {
- align-items: space-around;
- }
- .align-items-stretch {
- align-items: stretch;
- }
- .align-items-baseline {
- -ms-flex-align: baseline !important;
- align-items: baseline !important;
- }
- .flex-fill {
- -ms-flex: 1 1 auto !important;
- flex: 1 1 auto !important;
- }
- .flex-wrap {
- -ms-flex-wrap: wrap !important;
- flex-wrap: wrap !important;
- }
- .flex-nowrap {
- -ms-flex-wrap: nowrap !important;
- flex-wrap: nowrap !important;
- }
- .flex-shrink-0 {
- -ms-flex-negative: 0 !important;
- flex-shrink: 0 !important;
- }
- .font-size-base {
- font-size: $font-size-base;
- }
- .font-size-extra-sm {
- font-size: $font-size-extra-sm;
- }
- .font-size-sm {
- font-size: $font-size-sm;
- }
- .font-size-medium {
- font-size: $font-size-medium;
- }
- .font-size-lg {
- font-size: $font-size-lg;
- }
- .font-size-extra-lg {
- font-size: $font-size-extra-lg;
- }
- .text-color-base {
- color: $text-color-base;
- }
- .text-color-assist {
- color: $text-color-assist;
- }
- .text-color-primary {
- color: $color-primary;
- }
- .text-color-warning {
- color: $text-color-warning;
- }
- .text-color-grey {
- color: $text-color-grey;
- }
- .text-color-danger {
- color: $color-error;
- }
- .text-color-white {
- color: #ffffff;
- }
- .text-color-warning {
- color: $color-warning;
- }
- .text-truncate {
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .font-weight-bold {
- font-weight: 700 !important;
- }
- .font-weight-light {
- font-weight: 300 !important;
- }
- .font-weight-lighter {
- font-weight: lighter !important;
- }
- .font-weight-normal {
- font-weight: 400 !important;
- }
- .overflow-auto {
- overflow: auto !important;
- }
- .overflow-hidden {
- overflow: hidden !important;
- }
- .position-relative {
- position: relative !important;
- }
- .position-absolute {
- position: absolute !important;
- }
- .position-fixed {
- position: fixed !important;
- }
- .fixed-top {
- position: fixed;
- top: 0;
- right: 0;
- left: 0;
- z-index: 1030;
- }
- .fixed-bottom {
- position: fixed;
- right: 0;
- bottom: 0;
- left: 0;
- z-index: 1030;
- }
- .line-height-100 {
- line-height: 100%;
- }
- .line-height-1 {
- line-height: 1rem !important;
- }
- .line-height-2 {
- line-height: 2rem !important;
- }
- .line-height-50 {
- line-height: 50rem !important;
- }
- .w-25 {
- width: 25% !important;
- }
- .w-50 {
- width: 50% !important;
- }
- .w-75 {
- width: 75% !important;
- }
- .w-80 {
- width: 80% !important;
- }
- .w-90 {
- width: 90% !important;
- }
- .w-100 {
- width: 100% !important;
- }
- .h-100 {
- height: 100% !important;
- }
- .h-auto {
- height: auto !important;
- }
- .text-left {
- text-align: left !important;
- }
- .text-right {
- text-align: right !important;
- }
- .text-center {
- text-align: center !important;
- }
- .border-box {
- box-sizing: border-box;
- }
- .rounded-circle {
- border-radius: 50% !important;
- }
- .rounded-pill {
- border-radius: 50rem !important;
- }
- .border-radius-base {
- border-radius: $border-radius-base;
- }
- .border-radius-lg {
- border-radius: $border-radius-lg;
- }
- .pre-line {
- white-space: pre-line;
- }
- .align-top {
- vertical-align: top !important;
- }
- .align-middle {
- vertical-align: middle !important;
- }
- .align-bottom {
- vertical-align: bottom !important;
- }
- .align-text-bottom {
- vertical-align: text-bottom !important;
- }
- .align-text-top {
- vertical-align: text-top !important;
- }
- .w-60 {
- width: 60%;
- }
- .w-40 {
- width: 40%;
- }
- .mb-10 {
- margin-bottom: 10rpx;
- }
- .mb-20 {
- margin-bottom: 20rpx;
- }
- .mb-30 {
- margin-bottom: 30rpx;
- }
- .mb-40 {
- margin-bottom: 40rpx;
- }
- .mb-50 {
- margin-bottom: 50rpx;
- }
- .mt-20 {
- margin-top: 20rpx;
- }
- .mt-30 {
- margin-top: 30rpx;
- }
- .mt-40 {
- margin-top: 40rpx;
- }
- .ml-10 {
- margin-left: 10rpx;
- }
- .ml-20 {
- margin-left: 20rpx;
- }
- .ml-30 {
- margin-left: 30rpx;
- }
- .ml-40 {
- margin-left: 40rpx;
- }
- .mr-10 {
- margin-right: 10rpx;
- }
- .mr-20 {
- margin-right: 20rpx;
- }
- .mr-30 {
- margin-right: 30rpx;
- }
- .mr-40 {
- margin-right: 40rpx;
- }
- .pl-30 {
- padding-left: 30rpx;
- }
- .pt-30 {
- padding-top: 30rpx;
- }
- .pt-40 {
- padding-top: 40rpx;
- }
- .pb-30 {
- padding-bottom: 30rpx;
- }
- .pb-40 {
- padding-bottom: 40rpx;
- }
- .p-20 {
- padding: 20rpx;
- }
- .p-30 {
- padding: 30rpx;
- }
- .opacity-6 {
- opacity: 0.6;
- }
|