This commit is contained in:
2022-10-10 10:19:18 +08:00
commit b6c903fd4d
191 changed files with 51152 additions and 0 deletions

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

@@ -0,0 +1,184 @@
@import 'mixin.styl';
page {
background-color: #F5F5F5 !important;
min-height: 100% !important;
height: 100% !important;
}
uni-page-body {
background-color: #F5F5F5 !important;
min-height: 100% !important;
height: 100% !important;
}
/** iconfont */
@font-face {
font-family: 'iconfont';
src: url('@/static/iconfont/iconfont.woff2?t=1628753103983') format('woff2'),
url('@/static/iconfont/iconfont.woff?t=1628753103983') format('woff'),
url('@/static/iconfont/iconfont.ttf?t=1628753103983') format('truetype');
}
.iconfont {
font-family: "iconfont" !important;
font-size: 16rem;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.open_icon::before {
content: '\ec0c'
}
/** */
.content {
width: 100%;
height: 100%;
padding: 0 24rpx;
}
.container
_wh(100%, calc(100% - 110rpx))
.grid-wraper
_wh(100%, 100%)
padding-top 15rpx
overflow-y scroll
.slide_new
table
table-layout fixed
min-width 100%
border-collapse separate
border-spacing 0
border 0
td, th
box-sizing border-box
overflow hidden
white-space nowrap
text-overflow ellipsis
white-space nowrap
padding 0 20rpx
border-bottom 10rpx solid #f5f5f5
&:first-child
position sticky
left 0
thead
tr
th
position sticky
top 0
background #d7d7d7
_font(26rpx, 98rpx, #696969, bold)
&:first-child
z-index 1
background #d7d7d7
tbody
tr
td
_font(28rpx, 98rpx, #323232)
background #fff
/** **/
.btn {
font-size: 28rpx;
line-height: 60rpx;
color: #fff;
text-align: center;
padding: 0 2rpx;
background-color: #e74f1a;
border-radius: 5px;
cursor: pointer;
}
.btn&:disabled {
background-color: #c9c9c9 !important
}
.btn-disabled {
background-color: #c9c9c9 !important
}
/** **/
.submit-bar
_fj()
position fixed
bottom 0
left 0
width 100%
background-color #fff
box-shadow 0 0 20px 0 rgba(160,160,160,0.9)
.submit-button
flex: 1;
_font(28rpx,80rpx,#fff,,center);
margin: 15rpx;
background-color: $red;
/** */
.msg_wrapper
position fixed
top 0
bottom 0
left 0
right 0
text-align center
z-index 100
&::after
content ""
display inline-block
height 100%
width 0
vertical-align middle
.msg_box
display inline-block
width 90%
max-width 420px
padding 20rpx
vertical-align middle
background-color #fff
border-radius 4px
border 1px solid #ebeef5
box-shadow 0 2px 12px 0 rgb(0 0 0 / 10%)
overflow hidden
backface-visibility hidden
.input_item
width 100%
height 70rpx
border-radius 4px
border 1px solid #DCDFE6
_font(28rpx,70rpx,#606266)
padding 0 10px
.mask
position fixed
top 0
left 0
width 100%
height 100%
opacity .2
background #000
z-index 99
.msg_item
_fj()
height 70rpx
line-height 70rpx
margin-bottom 30rpx
.msg_txt
_font(32rpx,70rpx,#333)
.label_item
width 150rpx
_font(32rpx,70rpx,#333)
.from_item
width calc(100% - 160rpx)
_font(28rpx,70rpx,#606266)
.msg_btns
height 70rpx
line-height 70rpx
width 100%
max-width 300px
margin 40rpx auto 0
_fj()
.msg_btn
width 160rpx
height 70rpx
line-height 70rpx
font-size 28rpx
color #fff
background-color #d7592f
border-radius 5px
text-align center
&:disabled
background-color $gray
.uni-select__input-placeholder,.uni-select__selector-empty, .uni-select__selector-item
font-size 28rpx !important

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

@@ -0,0 +1,51 @@
$red = #e74f1a
$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%)

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

@@ -0,0 +1,34 @@
* {
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;
}
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;
}
.show {
display: block;
}
.ellipsis{
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}

24
common/style/uni.css Normal file
View File

@@ -0,0 +1,24 @@
@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;
}
.icon-check{
position: relative;
}
.icon-check::before{
position: absolute;
top: 50%;
left: 50%;
content: "\EA08";
font-size: 16px;
color: #ffffff;
transform: translate(-50%,-48%) scale(.73);
-webkit-transform: translate(-50%,-48%) scale(.73);
}