Files

307 lines
4.3 KiB
SCSS

@import './tools';
@import './ui';
@import './utils';
@import './ai';
.theme-ai {
@include theme-ai;
color: #333333;
}
.relative {
position: relative;
}
.absolute {
position: absolute;
}
/* 字体文件 */
@font-face {
font-family: OPPOSANS;
src: url('~@/sheep/scss/font/OPPOSANS-M-subfont.ttf');
}
.font-OPPOSANS {
font-family: OPPOSANS;
}
@font-face {
font-family: Heavy;
src: url('~@/sheep/scss/font/MiSans-Heavy.ttf');
}
.font-Heavy {
font-family: Heavy;
}
page {
-webkit-overflow-scrolling: touch; // 解决ios滑动不流畅
height: 100%;
width: 100%;
// font-family: OPPOSANS;
word-break: break-all; //英文文本不换行
white-space: normal;
background-color: var(--ui-BG-1);
color: var(--c-text0);
}
::-webkit-scrollbar {
width: 0;
height: 0;
color: transparent;
display: none;
}
// 删除线
.through {
text-decoration: line-through;
}
.center {
text-align: center;
}
.c_333 {
color: #333333;
}
.c_999 {
color: #999999;
}
.c_fff {
color: #ffffff;
}
.c_EE0A24 {
color: #ff5b0d;
}
.c_primary {
color: #fa7e31;
}
.c_text {
color: var(--ui-TC);
}
.c_text1 {
color: var(--ui-TC-1);
}
.c_text2 {
color: var(--ui-TC-2);
}
.c_text3 {
color: var(--ui-TC-3);
}
.c_text4 {
color: var(--ui-TC-4);
}
.c_text5 {
color: var(--ui-TC-5);
}
.c_money {
color: var(--money);
}
.b_fff {
background-color: #fff;
}
.submit-btn {
width: 100%;
height: 100rpx;
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(270deg, #f7772e 0%, #ee0a24 99%);
color: #ffffff;
border-radius: 16rpx;
font-size: 30rpx;
}
.hidden {
overflow: hidden;
}
.flex-row {
display: flex;
flex-direction: row;
}
.flex-row-center {
@extend .flex-row;
align-items: center;
}
.flex-row-start {
@extend .flex-row;
align-items: center;
justify-content: flex-start;
}
.flex-row-end {
@extend .flex-row;
align-items: center;
justify-content: flex-end;
}
.flex-between {
@extend .flex-row;
align-items: center;
justify-content: space-between;
}
.flex-column {
display: flex;
flex-direction: column;
}
.flex-column-center {
@extend .flex-column;
align-items: center;
}
.flex-center {
display: flex !important;
align-items: center;
justify-content: center;
}
.al-flex-end {
align-items: flex-end;
}
.al-flex-start {
align-items: flex-start !important;
}
.ju-flex-end {
justify-content: flex-end;
}
.ju-flex-start {
justify-content: flex-start;
}
.ju-between {
justify-content: space-between;
}
.ju-around {
justify-content: space-around;
}
.ju-center {
justify-content: center;
}
.ju-evenly {
justify-content: space-evenly;
}
.row-between {
align-items: space-between;
}
.row-around {
align-items: space-around;
}
.wrap {
flex-wrap: wrap;
}
.nowrap {
flex-wrap: nowrap;
}
.f500 {
font-weight: 500;
}
.f700 {
font-weight: 700;
}
/* // 超出部分显示省略号 1行 */
.lineOne {
text-overflow: -o-ellipsis-lastline;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 1; // 限制显示2行
line-clamp: 1;
-webkit-box-orient: vertical;
white-space: normal; // 允许换行
}
/* //-2行 */
.lineTwo {
text-overflow: -o-ellipsis-lastline;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2; // 限制显示2行
line-clamp: 2;
-webkit-box-orient: vertical;
white-space: normal; // 允许换行
}
.lineThree {
text-overflow: -o-ellipsis-lastline;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 3;
line-clamp: 3;
-webkit-box-orient: vertical;
word-break: break-all;
}
.shrink {
flex-shrink: 0;
}
.w100 {
width: 100%;
}
.h100 {
height: 100%;
}
.w100v {
width: 100vw;
}
.h100v {
height: 100vh;
}
.mr10 {
margin-right: 10rpx;
}
.mt10 {
margin-top: 10rpx;
}
.mb10 {
margin-bottom: 10rpx;
}
.mb20 {
margin-bottom: 20rpx;
}
.flex1 {
flex: 1;
}
.flex2 {
flex: 2;
}
.flex3 {
flex: 3;
}
.flex4 {
flex: 4;
}
.flex5 {
flex: 5;
}
.flex6 {
flex: 6;
}
.flex7 {
flex: 7;
}
.size24 {
font-size: 24rpx;
}
.size26 {
font-size: 26rpx;
}
.size28 {
font-size: 28rpx;
}
.size30 {
font-size: 30rpx;
}
.size32 {
font-size: 32rpx;
}
.size34 {
font-size: 34rpx;
}
.size36 {
font-size: 36rpx;
}
.size40 {
font-size: 40rpx;
}
.size48 {
font-size: 48rpx;
}
.size52 {
font-size: 52rpx;
}
.size80 {
font-size: 80rpx;
}