景区管控小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
jq_miniApp/static/scss/custom.scss

716 lines
16 KiB

/* 数字字体引入 */
@font-face {
font-family: DINAlternate;
src: url('~@/static/font/DIN Alternate Bold.ttf');
}
.v-p-b8{
padding-bottom: 16rpx!important;
}
.v-m-t8{
margin-top: 16rpx!important;
}
.v-m-t2{
margin-top: 4rpx!important;
}
.v-m-t10{
margin-top: 20rpx!important;
}
.v-m-t20{
margin-top: 40rpx!important;
}
.v-m-p10{
padding-top: 20rpx!important;
}
.v-m-b8{
margin-bottom: 16rpx!important;
}
.v-m-b4{
margin-bottom: 8rpx!important;
}
.v-m-b10{
margin-bottom: 20rpx!important;
}
.v-m-b20{
margin-bottom: 40rpx!important;
}
.v-m-l4{
margin-left: 8rpx!important;
}
.v-m-r4{
margin-right: 8rpx!important;
}
.contain{
padding: 0 20rpx;
}
.align-right{
text-align: right;
}
.row{
display: flex;
flex-wrap: wrap;
}
.flex-nowrap{flex-wrap: nowrap!important;}
.col-6{width: 50%;flex:0 0 50%;position: relative;}
.col-4{width: 33.333%;position: relative;}
.col-3{width: 25%;position: relative;}
.col-2{width: 16.666%;position: relative;}
.divideLine{position: relative; }
.divideLine::after{content: "";position: absolute;right: 0; top:50%; background-color: #ccc; transform: translate(0,-50%); height: 80%; width: 1px;}
.font-primary{color: #367FFF;}
.font-supper{font-size: 50rpx;}
.font-big{position: relative;font-size: 40rpx;}
.font-small{position: relative;font-size: 28rpx;}
.font-info{position: relative; color: #333;}
.font-bg{position: relative;}
.inline-block{display: inline-block;}
.font-bg::after{
content: "";
position: absolute;
left: 0;
bottom:-5rpx;
width: 100%;
height: 15rpx;
background-color:rgba(54,127,255, .25) ;
}
.z-index99{z-index: 99;}
.text-center{text-align: center;}
.v-card-right{width: 160rpx;}
.v-unit{font-size: 26rpx; margin-left: 10rpx;}
.flex-auto{
flex:1;
}
.v-num-box{background-color:rgba(54,127,255, .1); padding: 10rpx; margin: 0 20rpx; border-radius: 10rpx;}
.v-table{
.uni-table-th{color: #367FFF!important;}
.uni-table-tr{position: relative!important;}
.uni-table-tr:nth-child(2n){
background-image: linear-gradient(to right, rgba(54,127,255, .0)0%,rgba(54,127,255, .05) 50%, rgba(54,127,255, .0) 100%); }
}
.v-page{ position: relative;}
.v-page-top{
position: fixed;
top: 0;
width: 100%;
z-index: 99;
background-color: #fff;
}
.v-search-bar{
.uni-searchbar{
padding: 0;
}
.uni-searchbar__box{
height: 60rpx!important;
line-height: 60rpx!important;
border-radius: 60rpx!important;
}
}
.v-page-bg{ position: absolute;
top:0;left: 0; width: 100%;background: linear-gradient(to right,rgba(54,127,255,.85),rgba(54,127,255,1));}
.v-card{
position: relative;
padding-top: 10rpx;}
.v-card-box{position: relative;
padding: 20rpx;
border-radius: 12rpx;
background: #ffffff;
box-shadow: 0 6rpx 20rpx 0 rgba(0,0,0,.05);}
.v-card{
.uni-list--border-top{background-color: #fff!important;}
.v-card-item{padding: 10rpx 0;}
.v-card-content{overflow: hidden;}
.v-card-mid{
display: flex;
}
.v-card-image{
width: 120rpx;
height: 120rpx;overflow: hidden;
border: 1px solid rgba(0,0,0,.05);
margin-right: 20px;
image{width: 120rpx;
height: 120rpx;}
}
.v-card-title{
font-size: 32rpx;
font-weight: 600;
margin-bottom: 10rpx;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.v-card-tip{
font-family: DINAlternate;
font-size: 24rpx;
color: rgba(0, 0, 0, .65);
}
.v-card-bot{
padding-top: 15rpx;
margin-top: 10rpx;
border-top: 1rpx solid rgba(0, 0, 0, 0.05);
}
.v-card-icon{
width: 80rpx;
height:80rpx;
text-align: center;
margin-right: 20rpx;
border-radius: 80rpx;
background-color: #e5f0ff;
}
.v-card-name{
position: relative;
width: 80rpx;
height:80rpx;
line-height: 80rpx;
text-align: center;
margin-right: 20rpx;
border-radius: 6rpx;
}
.v-card-name-img{width: 80rpx;
height:80rpx;}
.v-card-icon-small{width: 40rpx;
height:40rpx;
margin-right: 10rpx;}
.v-card-name-txt{position: absolute;top: 0;left:0;width: 100%; text-align: center; font-size: 32rpx;
color: #fff;}
.v-card-icon-img{
position: relative;
width: 60rpx;
height:60rpx;
top:50%;
transform: translate(0,-50%);
}
.v-card-state{
position: absolute;
right: 0;
top: 0;
}
.v-card-tip{
display: flex;
align-items: center;
.v-card-tip-txt{
display: inline-block;
padding: 0 20rpx;
height: 40rpx;
line-height: 40rpx;
border-radius: 40rpx;
background-color:rgba(0, 0, 0, 0.05)
}
.v-card-tip-icon{
width: 30rpx;
height: 30rpx;
}
}
.v-card-detail{
padding:20rpx;
background-color:#F5F9FC;
line-height: 40rpx;
.v-card-detail-title{
display: inline-block;
padding: 0 20rpx;
font-size: 28rpx;
margin-right: 10rpx;
border-radius: 30rpx;
background-color: #367FFF;
color: #fff;
}
}
.v-card-select{border-radius: 6rpx;
height: 80rpx;
background-color: #fff;
line-height: 80rpx;
padding: 0 20rpx;
border: 1rpx solid rgba(0, 0, 0,.05);}
.v-card-select.active{
color: #367FFF;
border: 1rpx solid #367FFF;
}
}
.text-white{color: #fff!important;}
.v-card-bg{ background: linear-gradient(to bottom,#E6EEFF 0%,#fff 30%)!important;}
.v-ellipsis2{
text-overflow: -o-ellipsis-lastline;
overflow: hidden;
//溢出内容隐藏 text-overflow: ellipsis;
//文本溢出部分用省略号表示 display: -webkit-box;
//特别显示模式 -webkit-line-clamp: 2;
//行数 line-clamp: 2;
-webkit-box-orient: vertical;
//盒子中内容竖直排列
}
.v-bar{position: relative;height: 10rpx; background-color: #E6EEFF;}
.v-bar-inner{position: absolute; height: 100%; left:0; top:0; border-radius: 10rpx;background: linear-gradient(to right,rgba(54,127,255,.35),rgba(54,127,255,1));}
.v-bar-dot{position: absolute;width: 100rpx; text-align: center; margin-left: -50rpx; height: 50rpx; left: 0; bottom:0;
.v-bar-image{width: 40rpx; height: 40rpx;}}
.v-bar-text{font-family: DINAlternate;}
.v-box-white{background-color: #fff;}
.items-center{
align-items: center;
}
.v-btn{
display: inline-block;
font-size: 28rpx!important;
height: 48rpx!important;
line-height: 48rpx!important;
padding: 0 20rpx!important;
border-radius: 48rpx!important;
}
.v-btn + .v-btn {
margin-left: 16rpx;
}
.block{display: block!important;}
.v-btn-primary{
box-sizing: border-box;
font-weight: 400;
background: linear-gradient(to right,rgba(54,127,255,.85),rgba(54,127,255,1));
color: #fff;
}
button.v-btn-primary[disabled]{color: rgba(255,255,255,1)!important; opacity: .5;}
.v-btn-primary-b{
color: rgba(54,127,255,1) !important;
border: 1px solid rgba(54,127,255,1);
color: #fff;
}
.v-btn-danger{
background-color: #F56C6C;
color: #fff;
}
.v-btn-warning{
background-color: #f29653;
color: #fff;
}
.v-btn-info{
background-color:rgba(0, 0, 0, .05);
color: #ccc;
}
.v-search-btn{
height: 60rpx!important;
line-height: 60rpx!important;
border-radius: 60rpx!important;
border: 1rpx solid #367FFF;
color: #367FFF;
background-color: #fff;
.icon{
position: relative;
top: 6rpx;
width: 30rpx;
height: 30rpx;
}
}
.v-card-icon-btn{width: 60rpx;
height: 60rpx!important;
line-height: 60rpx!important;
border-radius: 60rpx!important;
border: 1rpx solid rgba(0, 0, 0, .1);
background-color: rgba(54,127,255,1);}
.v-card-icon-img{width: 70%;
height: 70%!important;}
.v-page-button{
position: fixed;
bottom: 0rpx;
left:0;
width: 100%;
padding: 20rpx;
}
button.v-btn-large {
height: 80rpx!important;
line-height: 80rpx!important;
border-radius: 80rpx!important;
color: #fff;
background-color:#367FFF;
}
.v-form{
.tree-pick{width: 100%!important;}
.selected-area{display: inline-block!important;color: rgba(0, 0, 0, 0.3)!important; }
.selected-list{display: inline-block!important;}
.uni-date-x--border{border: none!important;}
.uni-numbox{justify-content: flex-end;}
.checklist-group{justify-content: flex-end!important;}
.uni-date__x-input{height: 90rpx!important;line-height: 90rpx!important;color: rgba(0, 0, 0, 0.3)!important;}
.v-form-label{width: 150rpx!important; }
.v-form-item{
line-height: 80rpx!important;}
.v-form-item-con{line-height: 40rpx;}
.evan-form-item:not(:last-child){border-bottom: 1rpx solid rgba(0, 0, 0,.03);}
.v-form-item:not(:last-child){border-bottom: 1rpx solid rgba(0, 0, 0,.03);}
.evan-form-item-container__label{
width: 220rpx!important;
}
.form-input{font-size: 28rpx!important;
height: 90rpx!important;
line-height: 90rpx!important; }
.selected-area{height: 90rpx!important;
line-height: 90rpx!important; }
.form-input-placeholder{text-align: right; line-height: 90rpx;font-size: 28rpx; color: rgba(0, 0, 0,.3) ;}
.area-text{
margin: 0;
}
.uni-input-placeholder{font-size: 28rpx!important;
height: 90rpx!important;
line-height: 90rpx!important;}
.uni-input-input{font-size: 28rpx!important;
height: 90rpx!important;
line-height: 90rpx!important;}
.input-value{height: 90rpx!important;
line-height: 90rpx!important;}
.select{font-size: 28rpx!important;height: 90rpx!important;
line-height: 90rpx!important;padding: 0!important;}
.level-picker{padding: 0!important;}
.checklist-box{height: 90rpx!important;
line-height: 90rpx!important;margin-top: 0!important;margin-bottom: 0!important; }
}
.v-state{
display: inline-block;
padding: 0 20rpx 0 40rpx;
line-height: 36rpx;
font-size: 24rpx;
color: #fff;
border-radius: 0 0 0 30rpx;
}
.v-state-text{
display: inline-block;
font-size: 24rpx;
padding: 0 10rpx;
height: 30rpx;
line-height: 30rpx;
border-radius: 30rpx;
margin-left: 10rpx;
font-weight: 400;
}
.v-state-text.type1{color: rgba(54,127,255,1);background-color: rgba(54,127,255,.1);}
.v-state-text.type2{color: rgba(71,203,160,1);background-color: rgba(71,203,160,.1);}
.v-state-text.type3{color: rgba(250,142,55,1);background-color: rgba(250,142,55,.1);}
.v-state-text.type4{color: rgba(250,78,77,1);background-color: rgba(250,78,77,.1);}
.v-state-text.type5{color: rgba(0,0,0,.35);background-color: rgba(0,0,0,.05);}
.v-user-info {
display: flex;
align-items: center;
box-sizing: border-box;
.v-user-info-pic {
width: 60px;
height: 60px;
background: #377fff;
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
margin-right: 20px;
overflow: hidden;
image {
width: 60px;
height: 60px;
}
}
.v-user-info-text {
.user-info-text-top {
font-weight: 500;
font-size: 20px;
line-height: 23px;
color: #333333;
margin-bottom: 10px;
}
.v-user-info-text-bottom {
text {
font-size: 14px;
line-height: 18px;
color: #666666;
margin-right: 10px;
}
}
}
}
.err-state{
background: linear-gradient(to right,rgba(245,108,108,.85),rgba(245,108,108,1));
}
.war-state{
background: linear-gradient(to right,rgba(230,162,60,.85),rgba(230,162,60,1));
}
.normal-state{
background: linear-gradient(to right,rgba(54,127,255,.85),rgba(54,127,255,1));
}
.succ-state{
background: linear-gradient(to right,rgba(103,194,58,.85),rgba(103,194,58,1));
}
.v-card-grid-group {
display: flex;
justify-content: space-around;
align-items: center;
.v-card-grid-item {
width: 20%;
height: auto;
text-align: center;
}
.v-card-grid-icon {
width: 80rpx;
height: 80rpx;
margin: 0 auto;
}
}
.v-index-event {
display: flex;
justify-content: space-evenly;
flex-wrap: wrap;
.v-event-item {
width: 33.333%;
margin-bottom: 20rpx;
}
.v-event-box{
background-color: #f2f6ff;
height: 100rpx;
margin: 0 10rpx;
display: flex;
align-items: center;
flex-direction: column;
justify-content: center;
}
}
.classification-box {
white-space: nowrap;
width: 100%;
.classification-item {
display: inline-flex;
flex-direction: row;
height: 130rpx;
text-align: center;
font-size: 36rpx;
margin: 0 10rpx;
.content-box {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background: linear-gradient(180deg, rgba(115, 169, 246, 0.8491990546218487) 0%, rgba(55, 127, 255, 1) 50%, rgba(115, 169, 246, 0.852000175070028) 100%);
border-radius: 10rpx;
padding: 0 10rpx;
width: 140rpx;
.normal-font-color:last-child:before {
content: '';
display: block;
width: 100%;
height: 2rpx;
background: linear-gradient(90deg, rgba(246, 250, 255, 0.2) 0%, rgba(246, 250, 255, 0.8) 50%, rgba(246, 250, 255, 0.2) 100%);
margin: 10rpx 0;
}
}
}
}
.v-event-classification {
display: flex;
flex-direction: column;
.top {
display: flex;
justify-content: center;
.level-item {
width: 20%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
.level-name {
margin-bottom: 10rpx;
}
.level-value {
margin-bottom: 10rpx;
}
}
.level-item:first-child {
color: rgb(236, 72, 73);
}
.level-item:nth-child(2) {
color: rgb(242, 150, 84);
}
.level-item:nth-child(3) {
color: rgb(236, 192, 74);
}
.level-item:last-child {
color: rgb(55, 127, 255);
}
}
}
.v-aram-charts {
width: 100%;
height: 350rpx;
}
.v-event-charts {
width: 80%;
height: 300rpx;
margin: 20rpx auto;
}
/* 通用色 */
.g-blue {
color: rgb(54, 127, 255);
}
.g-orange {
color: rgb(241, 150, 83);
}
.g-red {
color: rgb(251, 72, 72);
}
.g-green {
color: rgb(68, 192, 157);
}
/* 通用字体 */
.DIN-alternate {
font-family: 'DIN Alternate';
}
.you-she-biao-ti-hei {
font-family: 'YouSheBiaoTiHei'
}
.microsoft-ya-hei {
font-family: 'Microsoft YaHei';
}
/* 字体颜色 */
.main-font-color {
color: rgb(0, 0, 0);
}
.auxiliary-font-color {
color: rgb(153, 153, 153);
}
.normal-font-color {
color: rgb(255, 255, 255);
}
// 圆角
.global-radious {
border-radius: 10rpx;
}
//字体大小
.big-font {
font-size: 36rpx;
}
.biger-font {
font-size: 48rpx;
}
.small-font {
font-size: 24rpx;
}
//主体
.body-item {
background-color: rgb(255, 255, 255);
margin-top: 15rpx;
padding-bottom: 20rpx;
}
.body-item:first-child {
margin-top: 0;
}
.g-body {
background-color: rgb(246, 250, 255);
border-radius: 20rpx;
}
//进度条
.progress-box {
display: flex;
height: 50rpx;
margin-bottom: 60rpx;
}
.no-margin-button {
margin: 0;
}
.search-bar {
position: fixed;
width: 100%;
z-index: 99;
}
.content-detail {
.map {
width: 100%;
}
::v-deep .slot-text {
width: 35%;
font-size: 28rpx;
color: #3b4144;
}
.image-box {
display: flex;
flex: 1;
justify-content: flex-end;
.iamges-list {
width: 120rpx;
}
}
}
.title-pic {
padding: 18rpx 32rpx;
color: #4d4d4d;
}
.area-text {
height: auto;
width: 90%;
min-height: 50rpx;
margin: 0 5%;
padding: 10rpx;
border-radius: 10rpx;
background-color: #f3f3f3;
}
.footer-btn-group {
position: fixed;
bottom: 40rpx;
width: 100%;
display: flex;
height: fit-content;
padding: 24rpx;
background-color: #fff;
}
.over-btn{
position: absolute;
right: 20rpx;
top: 40rpx;
}
.prime-btn{
background-color: rgb(54, 127, 255);
color: #eee;
}