搭建项目

This commit is contained in:
2025-05-23 15:38:21 +08:00
commit 9c697cedfb
233 changed files with 36009 additions and 0 deletions

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

@@ -0,0 +1,609 @@
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: #D7592F ;
}
.icon_unchecked {
display: inline-block;
color: #fff;
width: 42rpx;
height: 42rpx;
background-color: #fff;
font-size: 28rpx;
line-height: 38rpx;
border: 1rpx solid #bbb;
border-radius: 8rpx;
}
.icon_checked {
background-color: #D7592F ;
border: 1rpx solid #D7592F ;
}
.icon_minus-filled {
display: inline-block;
color: #fff;
width: 42rpx;
height: 42rpx;
background-color: #4e6ef2;
font-size: 28rpx;
line-height: 38rpx;
border: 1rpx solid #4e6ef2;
border-radius: 8rpx;
}
.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: calc(var(--status-bar-height) + 108rpx) 15rpx 120rpx 14rpx;
}
.zd_wrapper {
width: 100%;
height: auto;
background-color: #fff;
border-radius: 4rpx;
padding: 14rpx;
margin-bottom: 20rpx;
box-shadow: 0px 3px 3px 0px rgba(160,160,160,0.20);
}
.zd_wrapper-1 {
padding: 0 14rpx;
border-radius: 0;
}
.zd_wrapper-2 {
width: 100%;
background-color: #fff;
padding: 14rpx 14rpx 0 14rpx;
}
.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 #D7592F ;
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;
line-height: 80rpx;
padding: 5rpx 0;
margin-left: 30rpx;
display: flex;
justify-content: flex-start;
align-items: center;
}
.filter_input_wraper_1 {
height: 30rpx;
margin-top: 20rpx;
}
.filter_input_wraper_inn_text {
line-height: 30rpx;
font-size: 28rpx;
color: #606266;
margin-left: 10rpx;
}
.filter_input {
width: 100%;
height: 80rpx;
line-height: 80rpx;
border: 1px solid #dcdfe6;
background-color: #fff;
padding: 0 15rpx;
font-size: 28rpx;
color: #606266;
border-radius: 10rpx;
}
.filter_input_disabled {
background-color: #eee;
}
.filter_tip {
top: 80rpx;
color: #ff6a00;
font-size: 22rpx;
line-height: 30rpx;
padding: 0 15rpx;
}
.filter_unit {
width: 70rpx;
font-size: 28rpx;
color: #606266;
text-align: right;
margin-left: 10rpx;
}
.scan_input {
width: 100%;
height: 80rpx;
font-size: 28rpx;
line-height: 80rpx;
color: #606266;
border: 0;
background-color: transparent;
}
.filter_item-1 {
border-bottom: 2rpx solid #dcdfe6;
}
.filter_item-1 .filter_label {
text-align: auto;
text-align-last: auto;
}
.filter_item-1 .filter_input, .filter_item-1 .uni-select {
border: 0 !important;
}
.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;
-webkit-border-horizontal-spacing: 0px;
-webkit-border-vertical-spacing: 10rpx;
padding-bottom: 8rpx;
background-color: #f5f5f5;
}
.slide_new table th {
position: sticky;
top: 0;
left: 0;
z-index: 120;
font-size: 26rpx;
line-height: 98rpx;
color: #696969;
font-weight: bold;
text-align: center;
box-sizing: border-box;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
white-space: nowrap;
padding: 0 20rpx;
background: #d7d7d7;
}
.slide_new table th:first-child{
left: 0;
z-index: 121;
color: #4e6ef2;
font-weight: bold;
box-shadow: 3px 0px 3px 0px rgba(160,160,160,0.20);
}
.slide_new table th.th_2 {
left: 86rpx;
z-index: 122;
box-shadow: 3px 0px 3px 0px rgba(160,160,160,0.20);
}
.slide_new table td {
font-size: 28rpx;
line-height: 98rpx;
color: #323232;
text-align: center;
box-sizing: border-box;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
white-space: nowrap;
padding: 0 20rpx;
background: #fff;
}
.slide_new table td:first-child{
position: sticky;
left: 0;
z-index: 100;
color: #4e6ef2;
font-weight: bold;
box-shadow: 3px 0px 3px 0px rgba(160,160,160,0.20);
}
.slide_new table td.td_2 {
position: sticky;
left: 86rpx;
z-index: 101;
box-shadow: 3px 0px 3px 0px rgba(160,160,160,0.20);
}
.slide_new table th.fontcol1,.slide_new table td.fontcol1 {
color: #4e6ef2;
font-weight: bold;
}
.slide_new table th.fontcol2,.slide_new table td.fontcol2 {
color: #d7592f;
font-weight: bold;
}
.slide_new table tr.checked {
// background-image: linear-gradient(to top,#c2cde3,#f6f7fb);
background-color: #6190e8;
}
.slide_new table tr.checked td {
background-color: transparent;
color: #fff;
}
.slide_new table tr.checked td:first-child {
// background-image: linear-gradient(to top,#c2cde3,#f6f7fb);
background-color: #6190e8;
}
.slide_new table tr.checked td:nth-child(2) {
// background-image: linear-gradient(to top,#c2cde3,#f6f7fb);
background-color: #6190e8;
}
.slide_new table tr.checked td:first-child {
border-left: 1rpx solid #6798ef;
}
.slide_new table tr.checked td:last-child {
border-right: 1rpx solid #6798ef;
}
.slide_new table tr td.wrap{
line-height: 28rpx;
white-space: normal;
word-break: break-all;
}
.slide table {
table-layout: auto;
width: 100%;
}
.slide table th:first-child, .slide table td:first-child {
box-shadow: none;
}
.slide table td {
line-height: 28rpx;
padding: 6rpx 20rpx;
white-space: normal;
}
.mini-btn {
padding: 0 20rpx !important;
}
/** **/
.submitbar {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
z-index: 200;
background-color: #fff;
padding: 20rpx 0 19rpx 0;
box-shadow: 0 0 20rpx 0 rgba(160,160,160,0.7);
}
.btn-submit {
padding: 0;
font-size: 28rpx;
line-height: 73rpx;
border-radius: 10rpx;
border-width: 2rpx;
border-style: solid;
}
.btn-default {
color: #ff6800;
background: #fff;
border-color: #ff791a;
}
.btn-success {
color: #fff;
border-color: #ff791a;
// background: linear-gradient(-45deg, #ff6800, #ff9856);
// background: linear-gradient(90deg,#ff791a,#ffa400)
background: #ff791a;
}
.btn-info {
color: #fff;
border-color: #c9c9c9;
background-color: #c9c9c9;
}
uni-button[disabled]:not([type]) {
color: #fff;
border-color: #c9c9c9;
background-color: #c9c9c9;
}
/** */
.uni-select__selector {
z-index: 300 !important;
}
/** */
.popshow {
transform: translateY(0);
}
.pophide {
transform: translateY(100%);
}
.popshow1 {
top: 50%;
transform: translateY(-50%);
}
.pophide1 {
top: 100%;
transform: translateY(0%);
}
.msg_wrapper {
position: fixed;
top: auto;
bottom: 0;
left: 0;
width: 100%;
height: calc(100% - var(--status-bar-height) - 72rpx);
padding: 14rpx;
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_wrapper_1 {
text-align: left;
}
.pop-line {
width: 10%;
height: 8rpx;
margin: 0 auto 14rpx auto;
background-color: #d4d4d4;
border-radius: 8rpx;
}
.msg_content {
width: 100%;
height: calc(100% - 22rpx);
margin-bottom: 86rpx;
overflow-y: scroll;
}
.msg_content_1 {
height: calc(100% - 116rpx)
}
.msg_box {
width: 100%;
}
.msg_mask {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
opacity: .7;
background: #000;
z-index: 300;
}
.msg_mask_1 {
z-index: 310;
}
.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;
}
.msg_item {
font-size: 28rpx;
line-height: 30rpx;
font-weight: 700;
color: #ff6a00;
margin-top: 30rpx;
word-break: break-all;
}
.msg_modal {
position: fixed;
z-index: 311;
width: 80%;
left: 10%;
background-color: #fff;
text-align: center;
border-radius: 3px;
overflow: hidden;
padding: 30rpx;
}
.msg_tip {
font-size: 32rpx;
line-height: 32rpx;
font-weight: 700;
color: #333;
margin-bottom: 30rpx;
text-align: center;
}
.msg_p1 {
font-size: 26rpx;
line-height: 30rpx;
color: #323232;
text-align: left;
margin-bottom: 16rpx;
}
.msg_p2 {
font-size: 28rpx;
font-weight: 700;
line-height: 30rpx;
color: #ff6a00;
text-align: left;
margin-bottom: 16rpx;
}
.more_btns_wraper {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
z-index: 301;
padding: 0 20rpx 20rpx;
transition: all .3s;
}
.more-button {
font-size: 34rpx;
line-height: 88rpx;
color: #ff6a00;
text-align: center;
border-radius: 0;
border-bottom: 1px solid #c9c9c9;
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;
}

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

@@ -0,0 +1,54 @@
$red = #D7592F
$red1 = #ff6800
$red2 = #ff9856
$red3 = #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%)

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

@@ -0,0 +1,157 @@
* {
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;
}
.absolute {
position: absolute;
}
.hide {
display: none;
}
.vhide {
visibility:hidden;
}
.show {
display: block;
}
.ellipsis{
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.flexstart {
align-items: flex-start !important;
}
.jcflexstart {
justify-content: flex-start !important;
}
.jccenter {
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%
}
.letter-30 {
/* letter-spacing: 30rpx;
text-indent: 30rpx; */
}
.h-50 {
height: 50% !important;
}
.mgb10 {
margin-bottom: 10rpx;
}
.mgb20 {
margin-bottom: 20rpx;
}
.mgb40 {
margin-bottom: 40rpx !important;
}
.mgr20 {
margin-right: 20rpx;
}
.pdb110 {
padding-bottom: 110rpx;
}
.pdt26 {
padding-top: 26rpx !important;
}

12
common/style/uni.css Normal file
View 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;
}