660 lines
12 KiB
Plaintext
660 lines
12 KiB
Plaintext
@charset "UTF-8";
|
||
/**
|
||
* 这里是uni-app内置的常用样式变量
|
||
*
|
||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||
*
|
||
*/
|
||
/**
|
||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||
*
|
||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||
*/
|
||
/* 颜色变量 */
|
||
/* 行为相关颜色 */
|
||
/* 文字基本颜色 */
|
||
/* 背景颜色 */
|
||
/* 边框颜色 */
|
||
/* 尺寸变量 */
|
||
/* 文字尺寸 */
|
||
/* 图片尺寸 */
|
||
/* Border Radius */
|
||
/* 水平间距 */
|
||
/* 垂直间距 */
|
||
/* 透明度 */
|
||
/* 文章场景相关 */
|
||
/* 注意要写在第一行,同时给style标签加入lang="scss"属性 */
|
||
.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: #398ade;
|
||
}
|
||
.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: #398ade;
|
||
}
|
||
.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: #9acafc;
|
||
}
|
||
.u-warning-disabled {
|
||
color: #f9d39b;
|
||
}
|
||
.u-success-disabled {
|
||
color: #a9e08f;
|
||
}
|
||
.u-error-disabled {
|
||
color: #f7b2b2;
|
||
}
|
||
.u-info-disabled {
|
||
color: #c4c6c9;
|
||
}
|
||
.u-primary {
|
||
color: #7999C3;
|
||
}
|
||
.u-warning {
|
||
color: #f9ae3d;
|
||
}
|
||
.u-success {
|
||
color: #5ac725;
|
||
}
|
||
.u-error {
|
||
color: #f56c6c;
|
||
}
|
||
.u-info {
|
||
color: #909399;
|
||
}
|
||
.u-primary-bg {
|
||
background-color: #7999C3;
|
||
}
|
||
.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;
|
||
}
|
||
view {
|
||
box-sizing: border-box;
|
||
color: #333;
|
||
}
|
||
button::after {
|
||
border: none;
|
||
all: unset;
|
||
}
|
||
page {
|
||
background-color: #f5f5f5;
|
||
}
|
||
.p-30 {
|
||
padding: 0 30rpx;
|
||
}
|
||
.p-t20 {
|
||
padding: 20rpx 0rpx;
|
||
}
|
||
.bgf {
|
||
background-color: #fff;
|
||
}
|
||
.br10 {
|
||
border-radius: 10rpx;
|
||
}
|
||
.br20 {
|
||
border-radius: 20rpx;
|
||
}
|
||
.mt30 {
|
||
margin-top: 30rpx;
|
||
}
|
||
.flex {
|
||
display: flex;
|
||
}
|
||
.flex-ac {
|
||
display: flex;
|
||
align-items: center;
|
||
}
|
||
.fs28 {
|
||
font-size: 28rpx;
|
||
}
|
||
.top-backgroup {
|
||
height: 450rpx;
|
||
z-index: -1;
|
||
}
|
||
.backgroud-image {
|
||
width: 100%;
|
||
height: 450rpx;
|
||
z-index: -1;
|
||
}
|
||
/* 页面阴影 start*/
|
||
.wallpaper-shadow {
|
||
border-radius: 15rpx;
|
||
box-shadow: 0rpx 0rpx 50rpx 0rpx rgba(0, 0, 0, 0.07);
|
||
background-color: #fff;
|
||
margin-top: 30rpx;
|
||
padding: 20rpx 0;
|
||
}
|
||
.xkl-com-bg {
|
||
padding: 0 30rpx;
|
||
}
|
||
.u-flex,
|
||
.u-flex-row,
|
||
.u-flex-x {
|
||
display: flex;
|
||
flex-direction: row;
|
||
}
|
||
.u-flex-y,
|
||
.u-flex-column {
|
||
display: flex;
|
||
flex-direction: column;
|
||
}
|
||
.u-flex-x-center {
|
||
display: flex;
|
||
flex-direction: row;
|
||
justify-content: center;
|
||
}
|
||
.u-flex-xy-center {
|
||
display: flex;
|
||
flex-direction: row;
|
||
justify-content: center;
|
||
align-items: center;
|
||
}
|
||
.u-flex-y-center {
|
||
display: flex;
|
||
flex-direction: row;
|
||
align-items: center;
|
||
}
|
||
.u-flex-x-left {
|
||
display: flex;
|
||
flex-direction: row;
|
||
}
|
||
.u-flex-x-reverse,
|
||
.u-flex-row-reverse {
|
||
flex-direction: row-reverse;
|
||
}
|
||
.u-flex-y-reverse,
|
||
.u-flex-column-reverse {
|
||
flex-direction: column-reverse;
|
||
}
|
||
.u-flex.u-flex-reverse,
|
||
.u-flex-row.u-flex-reverse,
|
||
.u-flex-x.u-flex-reverse {
|
||
flex-direction: row-reverse;
|
||
}
|
||
.u-flex-column.u-flex-reverse,
|
||
.u-flex-y.u-flex-reverse {
|
||
flex-direction: column-reverse;
|
||
}
|
||
.u-flex-fill {
|
||
flex: 1 1 auto;
|
||
}
|
||
.u-margin-top-auto,
|
||
.u-m-t-auto {
|
||
margin-top: auto !important;
|
||
}
|
||
.u-margin-right-auto,
|
||
.u-m-r-auto {
|
||
margin-right: auto !important;
|
||
}
|
||
.u-margin-bottom-auto,
|
||
.u-m-b-auto {
|
||
margin-bottom: auto !important;
|
||
}
|
||
.u-margin-left-auto,
|
||
.u-m-l-auto {
|
||
margin-left: auto !important;
|
||
}
|
||
.u-margin-center-auto,
|
||
.u-m-c-auto {
|
||
margin-left: auto !important;
|
||
margin-right: auto !important;
|
||
}
|
||
.u-margin-middle-auto,
|
||
.u-m-m-auto {
|
||
margin-top: auto !important;
|
||
margin-bottom: auto !important;
|
||
}
|
||
.u-flex-wrap {
|
||
flex-wrap: wrap;
|
||
}
|
||
.u-flex-wrap-reverse {
|
||
flex-wrap: wrap-reverse;
|
||
}
|
||
.u-flex-start {
|
||
justify-content: flex-start;
|
||
}
|
||
.u-flex-center {
|
||
justify-content: center;
|
||
}
|
||
.u-flex-end {
|
||
justify-content: flex-end;
|
||
}
|
||
.u-flex-between {
|
||
justify-content: space-between;
|
||
}
|
||
.u-flex-around {
|
||
justify-content: space-around;
|
||
}
|
||
.u-flex-items-start {
|
||
align-items: flex-start;
|
||
}
|
||
.u-flex-items-center {
|
||
align-items: center;
|
||
}
|
||
.u-flex-items-end {
|
||
align-items: flex-end;
|
||
}
|
||
.u-flex-items-baseline {
|
||
align-items: baseline;
|
||
}
|
||
.u-flex-items-stretch {
|
||
align-items: stretch;
|
||
}
|
||
.u-flex-self-start {
|
||
align-self: flex-start;
|
||
}
|
||
.u-flex-self-center {
|
||
align-self: center;
|
||
}
|
||
.u-flex-self-end {
|
||
align-self: flex-end;
|
||
}
|
||
.u-flex-self-baseline {
|
||
align-self: baseline;
|
||
}
|
||
.u-flex-self-stretch {
|
||
align-self: stretch;
|
||
}
|
||
.u-flex-content-start {
|
||
align-content: flex-start;
|
||
}
|
||
.u-flex-content-center {
|
||
align-content: center;
|
||
}
|
||
.u-flex-content-end {
|
||
align-content: flex-end;
|
||
}
|
||
.u-flex-content-between {
|
||
align-content: space-between;
|
||
}
|
||
.u-flex-content-around {
|
||
align-content: space-around;
|
||
}
|
||
.u-flex-middle {
|
||
justify-content: center;
|
||
align-items: center;
|
||
align-self: center;
|
||
align-content: center;
|
||
}
|
||
.u-flex-grow {
|
||
flex-grow: 1;
|
||
}
|
||
.u-flex-shrink {
|
||
flex-shrink: 1;
|
||
}
|
||
.grid-text-mini {
|
||
font-size: 28rpx;
|
||
color: #4e5458;
|
||
}
|
||
.grid-text {
|
||
font-size: 30rpx;
|
||
color: #4e5458;
|
||
}
|
||
.xkl-clear-btn::after {
|
||
border: none;
|
||
}
|
||
.xkl-clear-btn {
|
||
position: relative;
|
||
display: block;
|
||
margin: 0;
|
||
padding: 0;
|
||
box-sizing: border-box;
|
||
border-radius: 0;
|
||
font-size: 28rpx;
|
||
text-align: center;
|
||
text-decoration: none;
|
||
line-height: 1.35;
|
||
-webkit-tap-highlight-color: transparent;
|
||
overflow: hidden;
|
||
color: #222222;
|
||
background-color: #fff;
|
||
}
|
||
.xkl-com-bg {
|
||
padding: 0 30rpx;
|
||
height: 100%;
|
||
min-height: 100vh;
|
||
background-color: #F7F7F7;
|
||
}
|
||
.u-flex,
|
||
.u-flex-row,
|
||
.u-flex-x {
|
||
display: flex;
|
||
flex-direction: row;
|
||
}
|
||
.u-flex-y,
|
||
.u-flex-column {
|
||
display: flex;
|
||
flex-direction: column;
|
||
}
|
||
.u-flex-x-center {
|
||
display: flex;
|
||
flex-direction: row;
|
||
justify-content: center;
|
||
}
|
||
.u-flex-xy-center {
|
||
display: flex;
|
||
flex-direction: row;
|
||
justify-content: center;
|
||
align-items: center;
|
||
}
|
||
.u-flex-y-center {
|
||
display: flex;
|
||
flex-direction: row;
|
||
align-items: center;
|
||
}
|
||
.u-flex-x-left {
|
||
display: flex;
|
||
flex-direction: row;
|
||
}
|
||
.u-flex-x-reverse,
|
||
.u-flex-row-reverse {
|
||
flex-direction: row-reverse;
|
||
}
|
||
.u-flex-y-reverse,
|
||
.u-flex-column-reverse {
|
||
flex-direction: column-reverse;
|
||
}
|
||
.u-flex.u-flex-reverse,
|
||
.u-flex-row.u-flex-reverse,
|
||
.u-flex-x.u-flex-reverse {
|
||
flex-direction: row-reverse;
|
||
}
|
||
.u-flex-column.u-flex-reverse,
|
||
.u-flex-y.u-flex-reverse {
|
||
flex-direction: column-reverse;
|
||
}
|
||
.u-flex-fill {
|
||
flex: 1 1 auto;
|
||
}
|
||
.u-margin-top-auto,
|
||
.u-m-t-auto {
|
||
margin-top: auto !important;
|
||
}
|
||
.u-margin-right-auto,
|
||
.u-m-r-auto {
|
||
margin-right: auto !important;
|
||
}
|
||
.u-margin-bottom-auto,
|
||
.u-m-b-auto {
|
||
margin-bottom: auto !important;
|
||
}
|
||
.u-margin-left-auto,
|
||
.u-m-l-auto {
|
||
margin-left: auto !important;
|
||
}
|
||
.u-margin-center-auto,
|
||
.u-m-c-auto {
|
||
margin-left: auto !important;
|
||
margin-right: auto !important;
|
||
}
|
||
.u-margin-middle-auto,
|
||
.u-m-m-auto {
|
||
margin-top: auto !important;
|
||
margin-bottom: auto !important;
|
||
}
|
||
.u-flex-wrap {
|
||
flex-wrap: wrap;
|
||
}
|
||
.u-flex-wrap-reverse {
|
||
flex-wrap: wrap-reverse;
|
||
}
|
||
.u-flex-start {
|
||
justify-content: flex-start;
|
||
}
|
||
.u-flex-center {
|
||
justify-content: center;
|
||
}
|
||
.u-flex-end {
|
||
justify-content: flex-end;
|
||
}
|
||
.u-flex-between {
|
||
justify-content: space-between;
|
||
}
|
||
.u-flex-around {
|
||
justify-content: space-around;
|
||
}
|
||
.u-flex-items-start {
|
||
align-items: flex-start;
|
||
}
|
||
.u-flex-items-center {
|
||
align-items: center;
|
||
}
|
||
.u-flex-items-end {
|
||
align-items: flex-end;
|
||
}
|
||
.u-flex-items-baseline {
|
||
align-items: baseline;
|
||
}
|
||
.u-flex-items-stretch {
|
||
align-items: stretch;
|
||
}
|
||
.u-flex-self-start {
|
||
align-self: flex-start;
|
||
}
|
||
.u-flex-self-center {
|
||
align-self: center;
|
||
}
|
||
.u-flex-self-end {
|
||
align-self: flex-end;
|
||
}
|
||
.u-flex-self-baseline {
|
||
align-self: baseline;
|
||
}
|
||
.u-flex-self-stretch {
|
||
align-self: stretch;
|
||
}
|
||
.u-flex-content-start {
|
||
align-content: flex-start;
|
||
}
|
||
.u-flex-content-center {
|
||
align-content: center;
|
||
}
|
||
.u-flex-content-end {
|
||
align-content: flex-end;
|
||
}
|
||
.u-flex-content-between {
|
||
align-content: space-between;
|
||
}
|
||
.u-flex-content-around {
|
||
align-content: space-around;
|
||
}
|
||
.u-flex-middle {
|
||
justify-content: center;
|
||
align-items: center;
|
||
align-self: center;
|
||
align-content: center;
|
||
}
|
||
.u-flex-grow {
|
||
flex-grow: 1;
|
||
}
|
||
.u-flex-shrink {
|
||
flex-shrink: 1;
|
||
}
|
||
|