拷贝上电科项目

This commit is contained in:
2024-08-19 15:45:30 +08:00
commit 2464d7e435
126 changed files with 20594 additions and 0 deletions

476
common/style/layout.styl Normal file
View File

@@ -0,0 +1,476 @@
@import './mixin.styl';
page {
background-color: #f2f5fa !important;
min-height: 100% !important;
height: 100% !important;
}
uni-page-body {
min-height: 100% !important;
height: 100% !important;
}
uni-button:after {
border: none;
}
/** */
.zd_container {
width: 100%;
height: 100%;
}
.zd_content {
position: relative;
top: calc(var(--status-bar-height) + 72rpx);
width: 100%;
height: auto;
padding: 20rpx 14rpx 140rpx 14rpx;
}
.zd_wrapper {
width: 100%;
height: auto;
background-color: #fff;
border-radius: 24rpx;
padding: 22rpx;
margin-bottom: 20rpx;
box-shadow: 0 4rpx 10rpx 2rpx rgba(0,0,0,.1);
}
.filter_wrapper {
position relative
left -14rpx
width: calc(100% + 28rpx);
height: auto;
background-color: #fff;
padding: 22rpx 22rpx 0 22rpx;
margin-bottom: 20rpx;
}
.filter_label {
display: block;
line-height: 80rpx;
font-size: 28rpx;
color: #323232;
font-weight: bold;
letter-spacing: 4rpx;
padding-left: 10rpx;
/* text-align:justify;
text-align-last: justify;
text-justify: inter-ideograph; */
}
/** */
.filter_picker .uni-input {
width: 100%;
line-height: 80rpx;
height: 80rpx;
font-size: 28rpx;
color: #606266;
}
/** */
.filter_select .uni-select {
line-height: 80rpx !important;
height: 80rpx !important;
font-size: 28rpx !important;
color: #606266;
padding: 0 !important;
border: 0 !important;
}
.filter_input {
width: 100%;
height: 80rpx;
line-height: 80rpx;
border: 0;
background-color: transparent;
font-size: 28rpx;
color: #606266;
}
.filter_input_disabled {
background-color: #eee;
}
.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;
}
.tab-line {
_wh(32rpx, 10rpx)
background-color #fff
border-radius 10rpx
margin 20rpx auto 0
}
.tab-line_active {
background-color #4e6ef2
}
.font-style-1 {
_font(32rpx, 32rpx, #c1c1c3,,center)
}
.font-style-2 {
_font(32rpx, 32rpx, #000,bold,center)
}
.grid-wraper {
width: 100%;
}
.slide_new {
width: 100%;
height: 100%;
overflow-y: auto;
}
.slide_h {
overflow-y: hidden;
}
.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;
text-overflow: ellipsis;
white-space: nowrap;
padding: 0 20rpx;
border-bottom: 10rpx solid #f5f5f5;
text-align: center;
}
.slide_h table td, .slide_h table th {
white-space: wrap;
padding: 0 20rpx;
border-bottom: 10rpx solid #f5f5f5;
text-align: center;
}
.slide_new table td:first-child{
position: sticky;
left: 0;
z-index: 101;
}
.slide_new table th:first-child{
position: sticky;
left: 0;
z-index: 102;
}
.slide_new table thead tr th {
position: sticky;
top: 0;
background: #d7d7d7;
font-size: 26rpx;
line-height: 28rpx;
padding: 35rpx 10rpx;
color: #7d7d7d;
background-color: #dcdfea;
font-weight: bold;
z-index: 100;
}
.slide_new table tbody tr td {
font-size: 28rpx;
line-height: 58rpx;
padding: 14rpx 20rpx;
color: #7d7d7d;
background: #fff;
}
.slide_h table tbody tr td {
font-size: 28rpx;
line-height: 28rpx;
padding: 14rpx 20rpx;
color: #7d7d7d;
background: #fff;
}
.slide_new table tbody tr td .td_input {
width: 150rpx;
font-size: 28rpx;
color: #305fbf;
line-height: 30rpx;
height: 58rpx;
padding: 14rpx;
border: 1px solid #889dc7;
box-shadow: 0 0 0 2px rgba(136, 157, 199,.2);
border-radius: 10rpx;
}
.slide_new table thead tr th.fontcol1,.slide_new table tbody tr td.fontcol1 {
color: #4e6ef2;
font-weight: bold;
}
.slide_new table tbody tr td.fontcol2 {
color: #000;
}
.slide_new table tbody tr td .fontbg{
font-size: 26rpx;
line-height: 30rpx;
padding: 8rpx 20rpx;
border-radius: 8rpx;
background-color: #F60;
color: #fff;
}
.slide_new table tbody tr td .fontbg1 {
background-color: #cfd2d4;
color: #5e5d5d;
}
.slide_new table tbody tr td .fontbg2 {
background-color: #96f3b8;
color: #36744c;
}
.slide_new table tbody tr td .fontbg3 {
background-color: #f3ccb5;
color: #ff5e00;
}
.slide_new table tbody tr.checked
td
background-color: #4e6ef2
color #fff
td.fontcol1, td.fontcol2
color #fff
.item-wrapper {
width: 100%;
height: auto;
}
.item-wrap {
background-color: #fff;
border-radius: 24rpx;
padding: 22rpx 14rpx;
margin-bottom: 20rpx;
box-shadow: 0 4rpx 10rpx 2rpx rgba(0,0,0,.1);
}
.item-font-1
_font(30rpx,28rpx,#000,,)
.item-font-2
_font(24rpx,40rpx,$red,,)
.item-font-3
width 110rpx
_font(24rpx,26rpx,#333,,)
text-align:justify;
text-align-last: justify;
text-justify: inter-ideograph;
.item-font-4
width calc(100% - 110rpx)
_font(26rpx,26rpx,#999,,)
.item-font-5
_font(44rpx,60rpx,$green,,center)
background-color #f6f6f6
.item-font-6
width calc(50% - 110rpx)
_font(24rpx,52rpx,#666,,center)
background-color #e5e5e5
border-radius 26rpx
.item-font-7
width 110rpx
_font(24rpx,52rpx,#666,,center)
.item-font-8
_font(24rpx,52rpx,#666,,center)
.isChecked
box-shadow inset 2px 2px 4px 0px rgba(120, 141, 250, 0.7), inset -2px -2px 4px 0px rgba(120, 141, 250, 0.7)
/** **/
.submit-bar {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
z-index: 200;
background-color: #fff;
padding: 14rpx;
box-shadow: 0 0 20rpx 0 rgba(160,160,160,0.7);
}
.button-default {
font-size: 34rpx;
line-height: 88rpx;
color: #ff6a00;
text-align: center;
letter-spacing: 4rpx;
padding: 0;
background-color: #fff;
border: 2rpx solid #ff6a00;
border-radius: 10rpx;
}
.button-primary {
font-size: 34rpx;
line-height: 88rpx;
color: #fff;
text-align: center;
letter-spacing: 4rpx;
padding: 0;
background-color: #ff6a00;
border: 2rpx solid #ff6a00;
border-radius: 10rpx;
}
.button-info, .submit-button[disabled] {
background-color: #c9c9c9;
border: 2rpx solid #c9c9c9;
color: #fff;
}
uni-button[disabled]:not([type]), uni-button[disabled][type=default] {
border: 2rpx solid #c9c9c9;
}
.submit-more {
width: 20%;
font-size: 34rpx;
line-height: 34rpx;
padding: 27rpx 10rpx;
color: #000;
text-align: center;
background-color: #fff
}
.more_btns_wraper {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
z-index: 201;
padding: 0 20rpx 20rpx;
transition: all .3s;
}
.more-button {
font-size: 34rpx;
line-height: 88rpx;
color: #ff6a00;
text-align: center;
border-radius: 0;
background-color: transparent;
}
.more_btns_items .btn-disabled, .more_btns_items .submit-button_new[disabled] {
color: #c9c9c9;
border: none;
}
.more-button:last-child {
border-bottom: none;
}
.more_btns_cancle {
margin-top: 20rpx;
width: 100%;
font-size: 34rpx;
line-height: 88rpx;
color: #000;
text-align: center;
background-color: #fff;
border-radius: 20rpx;
}
.more_btns_items{
width: 100%;
border-radius: 20rpx;
background-color: #fff;
}
/** */
.uni-select__selector {
z-index: 300 !important;
}
/** */
.popshow {
transform: translateY(0);
}
.pophide {
transform: translateY(100%);
}
.msg_wrapper {
position: fixed;
top: auto;
bottom: 0;
left: 0;
width: 100%;
height: calc(100% - var(--status-bar-height) - 72rpx);
background-color: #f6f6f6;
box-shadow: 0 -8px 16px 0 rgba(28,31,33,.1);
border-top-left-radius: 20rpx;
border-top-right-radius: 20rpx;
z-index: 301;
transition: all .3s;
}
.msg_content {
width: 100%;
height: 100%;
overflow-y: scroll;
}
.msg_box {
width: 100%;
}
.msg_mask {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
opacity: .7;
background: #000;
z-index: 300;
}
.msg_btns {
width: 100%;
margin: 40rpx auto 0;
}
.msg_btn {
font-size: 34rpx;
line-height: 78rpx;
color: #fff;
background-color: #ff6a00;
border: 1rpx solid #ff6a00;
border-radius: 44rpx;
box-shadow: 0 8rpx 18rpx 0 rgba(0,0,0,.2);
}
.msg_btn_cancle {
background-color: #fff;
border: 1rpx solid #ff6a00;
font-size: 34rpx;
line-height: 78rpx;
border-radius: 44rpx;
color: #000;
box-shadow: 0 8rpx 18rpx 0 rgba(0,0,0,.2);
}
.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;
}
.flow_wrapper {
width: 100%;
background-color: #fff;
border-radius: 24rpx;
padding: 22rpx 20rpx;
margin-bottom: 20rpx;
box-shadow: 0 4rpx 10rpx 2rpx rgba(0,0,0,.1);
}
.font-size-1 {
font-size: 30rpx;
line-height: 54rpx;
color: #ff6a00;
}
.font-size-2 {
font-size: 30rpx;
line-height: 54rpx;
color: #000;
}
.flow_start_item {
position: relative;
background-color: #f3f3f3;
border: 1rpx solid #f3f3f3;
border-radius: 10rpx;
}
.flow_start_item_checked {
position: relative;
background-color: #fff;
border: 1rpx solid #ff6a00;
}
.flow_icon_item_1 {
width: 46rpx;
height: 56rpx;
}
.flow_icon_item_2 {
width: 46rpx;
height: 26rpx;
}

51
common/style/mixin.styl Normal file
View 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%)

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

@@ -0,0 +1,155 @@
* {
padding: 0;
margin: 0;
list-style: none;
font-style: normal;
text-decoration: none;
border: none;
outline: none;
font-family: 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;
}
.flexcol {
flex-direction: column;
}
.flexstart {
align-items: flex-start !important;
}
.jcflexstart {
justify-content: flex-start !important;
}
.jcflexend {
justify-content: flex-end !important;
}
.jccenter {
justify-content: center !important;
}
.zd-row {
width: 100%;
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%
}
.border-bottom {
border-bottom: 1rpx solid #e5e5e5;
}
.mgb10 {
margin-bottom: 10rpx;
}
.pdl20 {
padding-left: 20rpx;
}
.pdr20 {
padding-right: 20rpx;
}
.pdr10 {
padding-right: 10rpx;
}
.pdt0 {
padding-top: 0 !important
}