纽迪希亚平板
This commit is contained in:
100
common/style/iconfont.css
Normal file
100
common/style/iconfont.css
Normal file
@@ -0,0 +1,100 @@
|
||||
/** iconfont */
|
||||
@font-face {
|
||||
font-family: "YouSheBiaoTiHei";
|
||||
src: url('@/static/font/YouSheBiaoTiHei.ttf') format('truetype');
|
||||
}
|
||||
@font-face {
|
||||
font-family: "SourceHanSansCN-Bold";
|
||||
src: url('@/static/font/SourceHanSansCN-Bold.otf') format('truetype');
|
||||
}
|
||||
@font-face {
|
||||
font-family: "SourceHanSansCN-Regular";
|
||||
src: url('@/static/font/SourceHanSansCN-Regular.otf') format('truetype');
|
||||
}
|
||||
@font-face {
|
||||
font-family: "SourceHanSansCN-Medium";
|
||||
src: url('@/static/font/SourceHanSansCN-Medium.otf') format('truetype');
|
||||
}
|
||||
@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;
|
||||
}
|
||||
279
common/style/layout.css
Normal file
279
common/style/layout.css
Normal file
@@ -0,0 +1,279 @@
|
||||
page {
|
||||
/* background-color: #0a2b57 !important; */
|
||||
height: 100% !important;
|
||||
}
|
||||
uni-page-body {
|
||||
/* background-color: #0a2b57 !important; */
|
||||
height: 100% !important;
|
||||
}
|
||||
uni-button:after {
|
||||
border: none;
|
||||
}
|
||||
|
||||
uni-button{
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
uni-button[disabled]:not([type]), uni-button[disabled][type=default] {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
uni-toast .uni-toast {
|
||||
width: auto;
|
||||
min-width: 8em;
|
||||
padding: 0 10px;
|
||||
}
|
||||
|
||||
/** 内容 */
|
||||
.contianer {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: url('./static/images/page_bg.jpg') center / cover no-repeat;
|
||||
}
|
||||
.content {
|
||||
padding: 1.07rem .4rem .4rem .4rem;
|
||||
}
|
||||
.content_wraper {
|
||||
padding: .37rem .4rem .4rem .4rem;
|
||||
background: url('./static/images/bg-task-r2.png') center / 100% 100% no-repeat;
|
||||
}
|
||||
.grid_wraper {
|
||||
height: 100%;
|
||||
overflow-y: auto;
|
||||
}
|
||||
.grid_wraper table {
|
||||
table-layout: fixed;
|
||||
min-width: 100%;
|
||||
border-collapse: separate;
|
||||
border-spacing: 0;
|
||||
border: 0
|
||||
}
|
||||
.grid_wraper table th {
|
||||
box-sizing: border-box;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
text-align: left;
|
||||
position: sticky;
|
||||
top: -1px;
|
||||
height: .81rem;
|
||||
font-size: .36rem;
|
||||
font-family: SourceHanSansCN-Bold;
|
||||
line-height: .81rem;
|
||||
color: #AFBED8;
|
||||
font-weight: bold;
|
||||
font-style: italic;
|
||||
z-index: 99;
|
||||
padding: 0 .25rem;
|
||||
background: left center / 1px 81px url('/static/images/th_bg.png') repeat-x;
|
||||
}
|
||||
.grid_wraper table th div {
|
||||
font-size: .36rem;
|
||||
font-family: 'SourceHanSansCN-Bold';
|
||||
line-height: .81rem;
|
||||
color: #AFBED8;
|
||||
font-weight: bold;
|
||||
font-style: italic;
|
||||
}
|
||||
.grid_wraper table td {
|
||||
padding: .05rem .05rem .05rem .25rem;
|
||||
background: rgba(31,46,73,1);
|
||||
border-bottom: 2px solid rgba(122,159,224,0.17);
|
||||
text-align: left;
|
||||
font-size: .3rem;
|
||||
line-height:.3rem;
|
||||
height: .82rem;
|
||||
color: #fff;
|
||||
}
|
||||
.grid_wraper table .tr_selected td {
|
||||
background: rgba(63,106,202,0.3);
|
||||
}
|
||||
.grid_wraper table th:first-child {
|
||||
position: sticky;
|
||||
left: 0;
|
||||
z-index: 100;
|
||||
}
|
||||
.grid_wraper table th:last-child {
|
||||
position: sticky;
|
||||
right: 0;
|
||||
z-index: 100;
|
||||
}
|
||||
.grid_wraper table td:first-child {
|
||||
position: sticky;
|
||||
left: 0;
|
||||
z-index: 99;
|
||||
}
|
||||
.grid_wraper table td:last-child {
|
||||
position: sticky;
|
||||
right: 0;
|
||||
z-index: 99;
|
||||
}
|
||||
.grid_button {
|
||||
font-size: .3rem;
|
||||
line-height: .82rem;
|
||||
color: #3CC1FF;
|
||||
margin: 0 .1rem;
|
||||
padding: 0;
|
||||
background: transparent;
|
||||
border: 0;
|
||||
}
|
||||
.grid_button_disabled {
|
||||
color: #ff803c;
|
||||
}
|
||||
.dialog__wrapper {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
overflow: auto;
|
||||
margin: 0;
|
||||
z-index: 2014;
|
||||
background-color: rgba(0,0,0,.6);
|
||||
transition: all .3s;
|
||||
}
|
||||
.popshow {
|
||||
transform: translateY(0);
|
||||
}
|
||||
.pophide {
|
||||
transform: translateY(100%);
|
||||
}
|
||||
.dialog {
|
||||
width: 50%;
|
||||
position: relative;
|
||||
margin: 0 auto 50px;
|
||||
background: linear-gradient(45deg, rgba(28,95,161,0.7), rgba(20,67,120,0.7));
|
||||
border: 1px solid #6fc4e2;
|
||||
margin-top: 15vh;
|
||||
}
|
||||
.dialog__body {
|
||||
padding: 0.4rem;
|
||||
}
|
||||
.filter-item {
|
||||
margin-bottom: 0.6rem;
|
||||
}
|
||||
.filter-label {
|
||||
font-size: 0.3rem;
|
||||
line-height: 0.8rem;
|
||||
color: #fff;
|
||||
font-weight: normal;
|
||||
text-align: left;
|
||||
}
|
||||
.filter-input {
|
||||
font-size: 0.3rem;
|
||||
line-height: 0.8rem;
|
||||
height: 0.8rem;
|
||||
color: #fff;
|
||||
border: 1px solid #6fc4e2;
|
||||
padding: 0 .2rem;
|
||||
text-align: center;
|
||||
}
|
||||
.icon-plus {
|
||||
cursor: pointer;
|
||||
font-size: 0.5rem;
|
||||
line-height: 0.8rem;
|
||||
height: 0.8rem;
|
||||
color: #999;
|
||||
background-color: #fff;
|
||||
text-align: center;
|
||||
}
|
||||
.button_cancle {
|
||||
font-size: 0.3rem;
|
||||
line-height: 0.8rem;
|
||||
padding: 0 .3rem;
|
||||
border: 1px solid #DCDFE6;
|
||||
color: #606266;
|
||||
margin: 0 .4rem;
|
||||
}
|
||||
.button_primary {
|
||||
font-size: 0.3rem;
|
||||
line-height: 0.8rem;
|
||||
padding: 0 .3rem;
|
||||
background: #6fc4e2;
|
||||
color: #fff;
|
||||
margin: 0 .4rem;
|
||||
}
|
||||
.setup-wrap {
|
||||
width: 8.85rem;
|
||||
background: linear-gradient(45deg, rgba(28, 95, 161, 70%), rgba(20, 67, 120, 70%));
|
||||
border: 1px solid #6fc4e2;
|
||||
padding: .49rem .48rem;
|
||||
}
|
||||
.button {
|
||||
width: 3.36rem;
|
||||
font-size: .48rem;
|
||||
line-height: .94rem;
|
||||
height: .94rem;
|
||||
color: #fff;
|
||||
background: transparent;
|
||||
border: 0;
|
||||
}
|
||||
.btn-primary {
|
||||
background: url('/static/images/btn_blue.png') center / 100% 100% no-repeat;
|
||||
}
|
||||
.uni-select {
|
||||
font-size: 0.3rem !important;
|
||||
height: 0.8rem !important;
|
||||
border-color: #3CC1FF !important;
|
||||
}
|
||||
.uni-select__input-box {
|
||||
height: 0.8rem !important;
|
||||
}
|
||||
.uni-select__input-placeholder {
|
||||
font-size: 0.3rem !important;
|
||||
}
|
||||
.filter-select .uniui-bottom, .filter-select .uniui-top {
|
||||
font-size: 0.3rem !important;
|
||||
}
|
||||
.filter-select .uniui-clear {
|
||||
font-size: 0.4rem !important;
|
||||
}
|
||||
.uni-select__selector {
|
||||
z-index: 200 !important;
|
||||
background-color: rgba(7,31,62,0.95) !important;
|
||||
border-color: #3CC1FF !important;
|
||||
}
|
||||
.uni-popper__arrow {
|
||||
border-bottom-color: #3CC1FF !important;
|
||||
}
|
||||
.uni-popper__arrow::after {
|
||||
border-bottom-color: #3CC1FF !important;
|
||||
}
|
||||
.uni-select__selector-item {
|
||||
font-size: 0.3rem !important;
|
||||
line-height: 0.8rem !important;
|
||||
color: #fff;
|
||||
}
|
||||
.uni-select__input-text {
|
||||
color: #fff !important;
|
||||
}
|
||||
uni-toast .uni-toast__content {
|
||||
font-size: .3rem;
|
||||
}
|
||||
uni-toast .uni-toast {
|
||||
padding: 0 .4rem;
|
||||
}
|
||||
uni-modal .uni-modal__bd {
|
||||
font-size: .3rem;
|
||||
}
|
||||
uni-modal .uni-modal__ft {
|
||||
font-size: .4em;
|
||||
line-height: .7rem;
|
||||
}
|
||||
.uni-numbox--text {
|
||||
font-size: .3rem !important;
|
||||
line-height: .8rem !important;
|
||||
margin-bottom: 0 !important;
|
||||
font-weight: 700 !important;
|
||||
}
|
||||
.uni-numbox--text span {
|
||||
font-size: .3rem !important;
|
||||
}
|
||||
.uni-numbox-btns {
|
||||
padding: 0 .28rem !important;
|
||||
}
|
||||
.uni-numbox__value {
|
||||
font-size: .3rem !important;
|
||||
height: .8rem !important;
|
||||
width: 2rem !important;
|
||||
}
|
||||
52
common/style/mixin.styl
Normal file
52
common/style/mixin.styl
Normal 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%)
|
||||
194
common/style/reset.css
Normal file
194
common/style/reset.css
Normal file
@@ -0,0 +1,194 @@
|
||||
* {
|
||||
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;
|
||||
}
|
||||
|
||||
.allwidth {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.relative {
|
||||
position: relative;
|
||||
}
|
||||
.absolute {
|
||||
position: absolute;
|
||||
}
|
||||
.hide {
|
||||
display: none;
|
||||
}
|
||||
.vhide {
|
||||
visibility:hidden;
|
||||
}
|
||||
.show {
|
||||
display: block;
|
||||
}
|
||||
.overauto {
|
||||
overflow: auto !important;
|
||||
}
|
||||
.ellipsis{
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.underline {
|
||||
text-decoration: underline;
|
||||
}
|
||||
.flexcol {
|
||||
flex-direction: column;
|
||||
}
|
||||
.flexstart {
|
||||
align-items: flex-start !important;
|
||||
}
|
||||
.jcflexstart {
|
||||
justify-content: flex-start !important;
|
||||
}
|
||||
.jcflexend {
|
||||
justify-content: flex-end !important;
|
||||
}
|
||||
.jcenter {
|
||||
justify-content: center !important;
|
||||
}
|
||||
|
||||
.zd-row {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
.zd-col-24 {
|
||||
width: 100%;
|
||||
}
|
||||
.zd-col-23 {
|
||||
width: 95.83333%
|
||||
}
|
||||
.zd-col-22 {
|
||||
width: 91.66667%
|
||||
}
|
||||
.zd-col-21 {
|
||||
width: 87.5%
|
||||
}
|
||||
.zd-col-20 {
|
||||
width: 83.33333%
|
||||
}
|
||||
.zd-col-19 {
|
||||
width: 79.16667%
|
||||
}
|
||||
.zd-col-18 {
|
||||
width: 75%
|
||||
}
|
||||
.zd-col-17 {
|
||||
width: 70.83333%
|
||||
}
|
||||
.zd-col-16 {
|
||||
width: 66.66667%
|
||||
}
|
||||
.zd-col-15 {
|
||||
width: 62.5%
|
||||
}
|
||||
.zd-col-14 {
|
||||
width: 58.33333%
|
||||
}
|
||||
.zd-col-13 {
|
||||
width: 54.16667%
|
||||
}
|
||||
.zd-col-12 {
|
||||
width: 50%;
|
||||
}
|
||||
.zd-col-11 {
|
||||
width: 45.83333%
|
||||
}
|
||||
.zd-col-10 {
|
||||
width: 41.66667%
|
||||
}
|
||||
.zd-col-9 {
|
||||
width: 37.5%
|
||||
}
|
||||
.zd-col-8 {
|
||||
width: 33.33333%
|
||||
}
|
||||
.zd-col-7 {
|
||||
width: 29.16667%
|
||||
}
|
||||
.zd-col-6 {
|
||||
width: 25%
|
||||
}
|
||||
.zd-col-5 {
|
||||
width: 20.83333%
|
||||
}
|
||||
.zd-col-4 {
|
||||
width: 16.66667%
|
||||
}
|
||||
.zd-col-3 {
|
||||
width: 12.5%
|
||||
}
|
||||
.zd-col-2 {
|
||||
width: 8.33333%
|
||||
}
|
||||
.zd-col-1 {
|
||||
width: 4.16667%
|
||||
}
|
||||
.mgl0 {
|
||||
margin-left: 0 !important;
|
||||
}
|
||||
.mgl10 {
|
||||
margin-left: 10px;
|
||||
}
|
||||
.mgl52 {
|
||||
margin-left: 52px;
|
||||
}
|
||||
.mgr5 {
|
||||
margin-right: 5px;
|
||||
}
|
||||
.mgt2 {
|
||||
margin-top: .2rem;
|
||||
}
|
||||
.mgt10 {
|
||||
margin-top: 10px
|
||||
}
|
||||
.mgt20 {
|
||||
margin-top: 20px
|
||||
}
|
||||
.mgb20 {
|
||||
margin-bottom: 20px
|
||||
}
|
||||
.pd0 {
|
||||
padding: 0 !important;
|
||||
}
|
||||
.pd20 {
|
||||
padding: 10px 0 0 0 !important;
|
||||
}
|
||||
.nowrap{
|
||||
white-space: nowrap;
|
||||
}
|
||||
.sticky {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 10;
|
||||
}
|
||||
.ellipsis-multiline {
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: 3; /* 定义显示的行数 */
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
Reference in New Issue
Block a user