跟立讯一样
This commit is contained in:
359
common/style/layout.css
Normal file
359
common/style/layout.css
Normal file
@@ -0,0 +1,359 @@
|
||||
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;
|
||||
}
|
||||
/** iconfont */
|
||||
@font-face {
|
||||
font-family: 'iconfont';
|
||||
src: url('@/static/iconfont/iconfont.woff2?t=1665454521636') format('woff2'),
|
||||
url('@/static/iconfont/iconfont.woff?t=1665454521636') format('woff'),
|
||||
url('@/static/iconfont/iconfont.ttf?t=1665454521636') format('truetype');
|
||||
}
|
||||
.iconfont {
|
||||
font-family: "iconfont" !important;
|
||||
font-size: 50rpx;
|
||||
color: #000;
|
||||
font-style: normal;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
.icon_eye_close {
|
||||
color: #bbb;
|
||||
}
|
||||
.icon_eye_active {
|
||||
color: #ff6a00;
|
||||
}
|
||||
.icon_unchecked {
|
||||
color: #fff;
|
||||
width: 32rpx;
|
||||
height: 32rpx;
|
||||
background-color: #fff;
|
||||
font-size: 24rpx;
|
||||
border: 1rpx solid #bbb;
|
||||
}
|
||||
.icon_checked {
|
||||
color: #ff6a00;
|
||||
border: 1rpx solid #ff6a00;
|
||||
}
|
||||
.icon_back {
|
||||
font-size: 52rpx;
|
||||
line-height: 52rpx;
|
||||
color: #fff;
|
||||
}
|
||||
.icon_home {
|
||||
font-size: 52rpx;
|
||||
line-height: 52rpx;
|
||||
color: #fff;
|
||||
}
|
||||
.icon_scan {
|
||||
width: 42rpx;
|
||||
height: 48rpx;
|
||||
font-size: 40rpx;
|
||||
line-height: 48rpx;
|
||||
color: #323232;
|
||||
text-align: center;
|
||||
}
|
||||
.icon_phone {
|
||||
width: 48rpx;
|
||||
height: 48rpx;
|
||||
font-size: 36rpx;
|
||||
line-height: 48rpx;
|
||||
color: #323232;
|
||||
text-align: center;
|
||||
}
|
||||
.icon_del {
|
||||
width: 46rpx;
|
||||
height: 48rpx;
|
||||
font-size: 46rpx;
|
||||
line-height: 48rpx;
|
||||
color: #323232;
|
||||
text-align: center;
|
||||
}
|
||||
.icon_search {
|
||||
width: 48rpx;
|
||||
height: 48rpx;
|
||||
font-size: 40rpx;
|
||||
color: #323232;
|
||||
line-height: 48rpx;
|
||||
}
|
||||
.cancel_icon::before {
|
||||
content: "\e6dc";
|
||||
}
|
||||
.cancel_icon {
|
||||
display: block;
|
||||
width: 100rpx;
|
||||
height: 100rpx;
|
||||
font-size: 50rpx;
|
||||
color: #fff;
|
||||
line-height: 100rpx;
|
||||
text-align: center;
|
||||
background-color: #E9B451;
|
||||
}
|
||||
|
||||
/** 内容 */
|
||||
.zd_container {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.zd_content {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
padding: 92rpx 15rpx 82rpx 14rpx;
|
||||
}
|
||||
.zd_wrapper {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
background-color: #fff;
|
||||
border-radius: 24rpx;
|
||||
padding: 14rpx;
|
||||
margin-bottom: 20rpx;
|
||||
}
|
||||
.filter_item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
margin-bottom: 10rpx;
|
||||
}
|
||||
.filter_item:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.filter_label_wraper {
|
||||
flex: none;
|
||||
width: 140rpx;
|
||||
text-align:justify;
|
||||
text-align-last: justify;
|
||||
text-justify: inter-ideograph;/*兼容ie*/
|
||||
}
|
||||
.filter_label {
|
||||
display: block;
|
||||
width: 140rpx;
|
||||
line-height: 80rpx;
|
||||
font-size: 28rpx;
|
||||
color: #323232;
|
||||
text-align:justify;
|
||||
text-align-last: justify;
|
||||
text-justify: inter-ideograph;/*兼容ie*/
|
||||
}
|
||||
.filter_label_1 {
|
||||
line-height: 30rpx;
|
||||
}
|
||||
.filter_search {
|
||||
width: 100rpx;
|
||||
height: 70rpx;
|
||||
line-height: 70rpx;
|
||||
font-size: 28rpx;
|
||||
color: #323232;
|
||||
text-align: center;
|
||||
background-color: #fff;
|
||||
border: 1px solid #ff6a00;
|
||||
border-radius: 10rpx;
|
||||
margin-left: 30rpx;
|
||||
}
|
||||
.filter_search_disabled {
|
||||
background-color: #dcdfe6;
|
||||
border: 1px solid #dcdfe6;
|
||||
color: #fff;
|
||||
}
|
||||
.filter_input_wraper {
|
||||
/* flex: 1; */
|
||||
width: calc(100% - 170rpx);
|
||||
height: 80rpx;
|
||||
padding: 5rpx 0;
|
||||
margin-left: 30rpx;
|
||||
display: flex;
|
||||
justify-content: flex-start;
|
||||
align-items: center;
|
||||
}
|
||||
.filter_input_wraper_1 {
|
||||
height: 30rpx;
|
||||
}
|
||||
.filter_input_wraper_inn_text {
|
||||
line-height: 30rpx;
|
||||
font-size: 28rpx;
|
||||
color: #606266;
|
||||
margin-left: 10rpx;
|
||||
}
|
||||
.filter_input {
|
||||
width: 100%;
|
||||
height: 70rpx;
|
||||
line-height: 70rpx;
|
||||
border: 1px solid #dcdfe6;
|
||||
background-color: #fff;
|
||||
padding: 0 15rpx;
|
||||
font-size: 28rpx;
|
||||
color: #606266;
|
||||
border-radius: 10rpx;
|
||||
}
|
||||
.filter_input_disabled {
|
||||
background-color: #eee;
|
||||
}
|
||||
|
||||
.grid-wraper {
|
||||
width: 100%;
|
||||
}
|
||||
.slide_new {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow-y: auto;
|
||||
}
|
||||
.slide_new table {
|
||||
table-layout: fixed;
|
||||
min-width: 100%;
|
||||
border-collapse: separate;
|
||||
border-spacing: 0;
|
||||
border: 0;
|
||||
}
|
||||
.slide_new table td, .slide_new table th {
|
||||
box-sizing: border-box;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
padding: 0 20rpx;
|
||||
border-bottom: 10rpx solid #f5f5f5;
|
||||
text-align: center;
|
||||
}
|
||||
.slide_new table td:first-child, .slide_new table th:first-child{
|
||||
position: sticky;
|
||||
left: 0;
|
||||
z-index: 101;
|
||||
}
|
||||
.slide_new table thead tr th {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
background: #d7d7d7;
|
||||
font-size: 26rpx;
|
||||
line-height: 98rpx;
|
||||
color: #696969;
|
||||
font-weight: bold;
|
||||
z-index: 100;
|
||||
}
|
||||
.slide_new table thead tr th:first-child {
|
||||
background: #d7d7d7;
|
||||
}
|
||||
.slide_new table tbody tr td {
|
||||
font-size: 28rpx;
|
||||
line-height: 98rpx;
|
||||
color: #323232;
|
||||
background: #fff;
|
||||
}
|
||||
.slide_new table tbody tr.checked td {
|
||||
background-color: #fef6e4;
|
||||
}
|
||||
|
||||
/** 提交栏 **/
|
||||
.submit-bar {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: flex-end;
|
||||
align-items: center;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
z-index: 200;
|
||||
background-color: #fff;
|
||||
padding-top: 10rpx;
|
||||
box-shadow: 0 0 20rpx 0 rgba(160,160,160,0.7);
|
||||
}
|
||||
.submit-button {
|
||||
font-size: 30rpx;
|
||||
line-height: 62rpx;
|
||||
color: #ff6a00;
|
||||
text-align: center;
|
||||
letter-spacing: 1rpx;
|
||||
padding: 0 22rpx;
|
||||
background-color: #fff;
|
||||
border: 1px solid #ff6a00;
|
||||
margin: 0 40rpx 10rpx 0;
|
||||
border-radius: 30rpx;
|
||||
}
|
||||
.btn-disabled, .submit-button[disabled] {
|
||||
background-color: #c9c9c9;
|
||||
border: 1px solid #c9c9c9;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
/** 下拉框 */
|
||||
.uni-select__selector {
|
||||
z-index: 300 !important;
|
||||
}
|
||||
|
||||
/** 弹窗 */
|
||||
.msg_wrapper {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
text-align: center;
|
||||
z-index: 201;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.msg_wrapper_1 {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.msg_box {
|
||||
width: 90%;
|
||||
padding: 20rpx;
|
||||
background-color: #fff;
|
||||
border-radius: 4px;
|
||||
border: 1px solid #ebeef5;
|
||||
box-shadow: 0 2px 12px 0 rgb(0 0 0 / 10%);
|
||||
backface-visibility: hidden;
|
||||
}
|
||||
|
||||
.msg_mask {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
opacity: .7;
|
||||
background: #000;
|
||||
z-index: 200;
|
||||
}
|
||||
|
||||
.msg_btns {
|
||||
width: 100%;
|
||||
max-width: 300px;
|
||||
margin: 40rpx auto 0;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
.msg_btn {
|
||||
border-radius: 10rpx;
|
||||
}
|
||||
.msg_btn:disabled {
|
||||
background-color: #c9c9c9;
|
||||
}
|
||||
.uni-select__input-placeholder,.uni-select__selector-empty, .uni-select__selector-item {
|
||||
font-size: 28rpx !important
|
||||
}
|
||||
.sin_input {
|
||||
width: 150rpx;
|
||||
font-size: 28rpx;
|
||||
line-height: 150rpx;
|
||||
height: 68rpx;
|
||||
color: #323232;
|
||||
padding: 0 .1rem;
|
||||
border: 1px solid #a1a1a1;
|
||||
border-radius: 3px;
|
||||
}
|
||||
.layout-t tr.checked td .sin_input {
|
||||
color: #8a8a8a;
|
||||
border: 1px solid #ffffff;
|
||||
}
|
||||
51
common/style/mixin.styl
Normal file
51
common/style/mixin.styl
Normal file
@@ -0,0 +1,51 @@
|
||||
$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(url,w,h=auto,x=center,y=center)
|
||||
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
43
common/style/reset.css
Normal 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;
|
||||
}
|
||||
12
common/style/uni.css
Normal file
12
common/style/uni.css
Normal file
@@ -0,0 +1,12 @@
|
||||
@font-face {
|
||||
font-family: uniicons;
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
src: url('~@/static/uni.ttf') format('truetype');
|
||||
}
|
||||
.iconfont{
|
||||
font-family: uni;
|
||||
text-decoration: none;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user