拷贝海亮缓存线平板

This commit is contained in:
2024-02-20 16:29:38 +08:00
commit e33e54da16
109 changed files with 12594 additions and 0 deletions

84
common/style/iconfont.css Normal file
View File

@@ -0,0 +1,84 @@
/** iconfont */
@font-face {
font-family: 'iconfont';
src: url('@/static/iconfont/iconfont.woff2') format('woff2'),
url('@/static/iconfont/iconfont.woff') format('woff'),
url('@/static/iconfont/iconfont.ttf') format('truetype');
}
.iconfont {
font-family: "iconfont" !important;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.delete_icon {
width: 30px;
height: 35px;
font-size: 20px;
line-height: 35px;
color: #bbb;
}
.delete_icon::after {
content: '\e632';
}
.eye_colse_icon {
width: 30px;
height: 35px;
font-size: 20px;
line-height: 35px;
color: #bbb;
}
.eye_colse_icon::after {
content: '\e7b2';
}
.eye_open_icon {
width: 30px;
height: 35px;
font-size: 20px;
line-height: 35px;
color: #D7592F;
}
.eye_open_icon::after {
content: '\e60a';
}
.scan_icon {
width: 30px;
height: 30px;
font-size: 30px;
line-height: 35px;
color: #D7592F;
}
.scan_icon::after {
content: '\e607';
}
.icon-check {
width: 24px;
height: 24px;
font-size: 20px;
line-height: 24px;
color: #bbb;
background-color: #bbb;
border-radius: 50%;
margin: 0 auto;
}
.icon-checked {
color: #fff;
background-color: #D7592F;
}
.icon-check::after {
content: '\e608'
}
.cancel_icon::before {
content: "\e632";
}
.cancel_icon {
display: block;
width: 50px;
height: 50px;
font-size: 25px;
color: #fff;
line-height: 50px;
text-align: center;
background-color: #E9B451;
}

320
common/style/layout.css Normal file
View File

@@ -0,0 +1,320 @@
/** 平板尺寸960*600 **/
page {
background-color: #f6f6f6 !important;
min-height: 100% !important;
height: 100% !important;
}
uni-page-body {
background-color: #f6f6f6 !important;
min-height: 100% !important;
height: 100% !important;
}
uni-button:after {
border: none;
}
uni-button{
font-size: 16px;
}
.content{
width: 100%;
height: 100%;
background-color: #f5f5f5;
}
.search-confirm-wrap {
width: calc(100% - 30px);
background-color: #fff;
margin: 15px auto;
border-radius: 12px;
padding-bottom: 15px;
}
.search-wrap{
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
width: 100%;
padding: 0 15px;
}
.search-item{
display: flex;
justify-content: space-between;
width: 32%;
margin-top: 15px;
}
.search-item:nth-child(3n+2) {
margin-left: 2%;
margin-right: 2%;
}
.search-item_2 {
display: flex;
justify-content: flex-end;
width: 64%;
margin-top: 15px;
margin-left: 4%;
}
.flexend {
justify-content: flex-end;
}
.search-item-btns {
justify-content: flex-end;
}
.search-label{
width: 80px;
height: 35px;
font-size: 16px;
line-height: 35px;
color: #323232;
text-align: justify;
text-align-last: justify;
}
.search-label::after {
display: inline-block;
content: '';
width: 100%;
height: 0;
visibility: hidden;
}
.filter_input_wraper {
width: calc(100% - 85px);
height: 35px;
line-height: 35px;
}
.search-input{
width: calc(100% - 10px);
height: 35px;
line-height: 35px;
font-size: 14px;
color: #606266;
border: 1px solid #d1d1d1;
border-radius: 4px;
text-indent: 10px;
}
.search-input-l {
width: 100%;
height: 35px;
line-height: 35px;
font-size: 14px;
color: #606266;
border: 1px solid #d1d1d1;
border-radius: 4px;
text-indent: 10px;
}
.search-input-l .uni-input-input {
padding-right: 10px;
}
.search-input-l .uni-input-input:disabled {
background-color: #e1e1e1;
}
.confirm-button-wrap{
display: flex;
justify-content: flex-end;
width: 100%;
height: 35px;
line-height: 35px;
margin-top: 15px;
padding: 0 15px;
}
.confirm-button{
margin-left: 15px !important;
margin-right: 0 !important;
background-color: #D7592F;
color: #fff;
line-height: 35px;
}
.confirm-button_disabled {
background-color: #c9c9c9;
}
.grid-wrap{
width: 100%;
height: calc(100% - 187px); /** 42+ 15*5+ 35*2 */
padding: 0 15px 15px 15px;
overflow-y: scroll;
}
.grid-wrap .grid-table{
width: 100%;
border-collapse: separate;
border-spacing: 0;
border: 1px #e1e1e1;
text-align: center;
}
.grid-wrap .grid-table thead tr th{
font-size: 15px;
line-height: 18px;
padding: 5px 5px;
background-color: #e1e1e1;
}
.grid-wrap .grid-table thead tr th:first-child{
border-top-left-radius: 12px;
}
.grid-wrap .grid-table thead tr th:last-child{
border-top-right-radius: 12px;
}
.grid-wrap .grid-table th, .grid-table td {
color: #464646;
background-color: #fff;
border-right: 1px solid #e1e1e1;
border-bottom: 1px solid #e1e1e1;
}
.grid-wrap .grid-table th:first-child, .grid-table td:first-child{
border-left: 1px solid #e1e1e1;
}
.grid-wrap .grid-table td {
/* height: 35px; */
line-height: 18px;
font-size: 15px;
padding: 5px 5px;
}
.slide_new {
width: 100%;
height: 100%;
overflow-y: auto;
border-top-left-radius: 12px;
border-top-right-radius: 12px;
}
.zd_wrapper .grid-table {
table-layout: fixed;
width: auto;
min-width: 100%;
}
.zd_wrapper .grid-table td, .zd_wrapper .grid-table th {
box-sizing: border-box;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
white-space: nowrap;
text-align: center;
}
.zd_wrapper .grid-table td:first-child, .zd_wrapper .grid-table th:first-child{
position: -webkit-sticky;
position: sticky;
left: 0;
z-index: 50;
}
.zd_wrapper .grid-table thead tr th {
position: -webkit-sticky;
position: sticky;
top: 0;
z-index: 49;
}
.status-wrap {
width: 100%;
height: 35px;
display: flex;
align-items: center;
margin-bottom: 15px;
}
.status-item {
display: flex;
align-items: center;
margin-left: 10px;
}
.status-icon {
width: 20px;
height: 20px;
border-radius: 4px;
margin-right: 10px;
}
.status-txt {
font-size: 16px;
line-height: 35px;
color: #323232;
}
.bg-gray {
background-color: #c9c9c9;
}
.bg-green {
background-color: #6CBE8B;
}
.bg-yellow {
background-color: #E9B451;
}
.bg-red {
background-color: #ff6a00;
}
.bg-none {
display: none;
}
.material-wrap {
width: calc(100% - 30px);
height: calc(100% - 152px);/** 42+15*5+35 */
margin: 15px auto;
padding: 15px 15px 0 15px;
background-color: #fff;
border-radius: 12px;
}
.material-item-wrap {
width: 100%;
height: calc(100% - 50px);
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
align-content: flex-start;
align-items: flex-start;
overflow-y: auto;
}
.material-item {
position: relative;
z-index: 1;
width: 9.1%;
margin-right: 1%;
margin-bottom: 15px;
padding: 15px 5px 5px 5px;
border-radius: 6px;
}
.material-item:nth-child(10n) {
margin-right: 0;
}
.material-title {
font-size: 15px;
line-height: 24px;
height: 24px;
text-align: center;
color: #fff;
word-break: break-all;
overflow: hidden;
}
.material-spec {
font-size: 15px;
line-height: 18px;
height: 36px;
text-align: center;
color: #fff;
word-break: break-all;
margin-top: 5px;
overflow: hidden;
}
.badge__content {
position: absolute;
top: -5px;
left: 0;
z-index: 2;
background-color: #6798ef;
color: #fff;
display: inline-block;
font-size: 12px;
height: 18px;
line-height: 18px;
padding: 0 6px;
text-align: center;
white-space: nowrap;
border-top-right-radius: 10px;
border-bottom-right-radius: 10px;
}
.icon_unchecked {
color: #fff;
width: 24px;
height: 24px;
background-color: #fff;
font-size: 20px;
line-height: 24px;
text-align: center;
border: 1px solid #bbb;
}
.icon_checked {
color: #ff6a00;
border: 1px solid #ff6a00;
}
.bgr{
border-color: #ff6a00;
}

52
common/style/mixin.styl Normal file
View File

@@ -0,0 +1,52 @@
$red = #ff6a00
$green = #6CBE8B
$yellow = #E9B451
$blue = #6798ef
$gray = #c9c9c9
$fc1 = #323232
.bgred
background-color: $red !important
.bggreen
background-color: $green !important
.bgyellow
background-color: $yellow !important
.bgblue
background-color: $blue !important
.bggray
background-color: $gray !important
//
_wh(w, h)
width: w
height: h
//
_font(size,height,color=$fc1,weight=normal,align=left)
font-size: size
line-height: height
color: color
font-weight: weight
text-align: align
//flex
_fj(x=space-between,y=center,r=row,n=nowrap)
display: flex
justify-content: x
align-items: y
flex-direction: r
flex-wrap: n
//
_bis(c=transparent,url,w,h=auto,x=center,y=center)
background-color: c
background-position: x y
background-size: w h
background-image: url(url)
background-repeat: no-repeat
//
_ct()
position: absolute
top: 50%
transform: translateY(-50%)

43
common/style/reset.css Normal file
View File

@@ -0,0 +1,43 @@
* {
padding: 0;
margin: 0;
list-style: none;
font-style: normal;
text-decoration: none;
border: none;
outline: none;
font-family: uniicons, Arial, "Microsoft Yahei", "Helvetica Neue", Helvetica, sans-serif;
box-sizing: border-box;
-webkit-box-sizing: border-box;
-webkit-tap-highlight-color:transparent;
-webkit-font-smoothing: antialiased;
}
body, html {
-webkit-user-select: auto;
-ms-user-select: auto;
user-select: auto;
}
input[type="button"], input[type="submit"], input[type="search"], input[type="reset"], textarea, select{
-webkit-appearance: none;
appearance: none;
}
.relative {
position: relative;
}
.hide {
display: none;
}
.vhide {
visibility:hidden;
}
.show {
display: block;
}
.ellipsis{
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}