样式
This commit is contained in:
226
common/style/layout.css
Normal file
226
common/style/layout.css
Normal file
@@ -0,0 +1,226 @@
|
||||
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 {
|
||||
width: 100%;
|
||||
height: calc(100% - 110rpx);
|
||||
}
|
||||
.grid-wraper {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
padding-top: 15rpx;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
.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;
|
||||
}
|
||||
.slide_new table td:first-child, .slide_new table th:first-child{
|
||||
position: sticky;
|
||||
left: 0;
|
||||
}
|
||||
.slide_new table thead tr th {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
background: #d7d7d7;
|
||||
font-size: 26rpx;
|
||||
line-height: 98rpx;
|
||||
color: #696969;
|
||||
font-weight: bold;
|
||||
}
|
||||
.slide_new table thead tr th:first-child {
|
||||
z-index: 1;
|
||||
background: #d7d7d7;
|
||||
}
|
||||
.slide_new table tbody tr td {
|
||||
font-size: 28rpx;
|
||||
line-height: 98rpx;
|
||||
color: #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 {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
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-size: 28rpx;
|
||||
line-height: 80rpx;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
margin: 15rpx;
|
||||
background-color: $red;
|
||||
}
|
||||
|
||||
/** 弹窗 */
|
||||
.msg_wrapper {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
text-align: center;
|
||||
z-index: 100;
|
||||
}
|
||||
.msg_wrapper::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-size: 28rpx;
|
||||
line-height: 70rpx;
|
||||
color: #606266;
|
||||
padding: 0 10px;
|
||||
}
|
||||
.mask {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
opacity: .2;
|
||||
background: #000;
|
||||
z-index: 99;
|
||||
}
|
||||
.msg_item {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
height: 70rpx;
|
||||
line-height: 70rpx;
|
||||
margin-bottom: 30rpx;
|
||||
}
|
||||
.msg_txt {
|
||||
font-size: 32rpx;
|
||||
line-height: 70rpx;
|
||||
color: #333;
|
||||
}
|
||||
.label_item {
|
||||
width: 150rpx;
|
||||
font-size: 32rpx;
|
||||
line-height: 70rpx;
|
||||
color: #333;
|
||||
}
|
||||
.from_item {
|
||||
width: calc(100% - 160rpx);
|
||||
font-size: 28rpx;
|
||||
line-height: 70rpx;
|
||||
color: #606266;
|
||||
}
|
||||
.msg_btns {
|
||||
height: 70rpx;
|
||||
line-height: 70rpx;
|
||||
width: 100%;
|
||||
max-width: 300px;
|
||||
margin: 40rpx auto 0;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
.msg_btn {
|
||||
width: 160rpx;
|
||||
height: 70rpx;
|
||||
line-height: 70rpx;
|
||||
font-size: 28rpx;
|
||||
color: #fff;
|
||||
background-color: #d7592f;
|
||||
border-radius: 5px;
|
||||
text-align: center;
|
||||
}
|
||||
.msg_btn:disabled {
|
||||
background-color: #c9c9c9;
|
||||
}
|
||||
.uni-select__input-placeholder,.uni-select__selector-empty, .uni-select__selector-item {
|
||||
font-size: 28rpx !important
|
||||
}
|
||||
@@ -1,184 +0,0 @@
|
||||
@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
|
||||
Reference in New Issue
Block a user