按钮样式修改

This commit is contained in:
2024-03-21 10:45:53 +08:00
parent edfbf2b48d
commit 673f6596d6
18 changed files with 380 additions and 268 deletions

View File

@@ -30,7 +30,7 @@ uni-button:after {
color: #bbb;
}
.icon_eye_active {
color: #ff6a00;
color: #D7592F ;
}
.icon_unchecked {
color: #fff;
@@ -41,8 +41,8 @@ uni-button:after {
border: 1rpx solid #bbb;
}
.icon_checked {
color: #ff6a00;
border: 1rpx solid #ff6a00;
color: #D7592F ;
border: 1rpx solid #D7592F ;
}
.icon_back {
font-size: 52rpx;
@@ -116,6 +116,11 @@ uni-button:after {
border-radius: 24rpx;
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;
}
.filter_item {
display: flex;
@@ -154,7 +159,7 @@ uni-button:after {
color: #323232;
text-align: center;
background-color: #fff;
border: 1px solid #ff6a00;
border: 1px solid #D7592F ;
border-radius: 10rpx;
margin-left: 30rpx;
}
@@ -167,6 +172,7 @@ uni-button:after {
/* flex: 1; */
width: calc(100% - 170rpx);
height: 80rpx;
line-height: 80rpx;
padding: 5rpx 0;
margin-left: 30rpx;
display: flex;
@@ -184,8 +190,8 @@ uni-button:after {
}
.filter_input {
width: 100%;
height: 70rpx;
line-height: 70rpx;
height: 80rpx;
line-height: 80rpx;
border: 1px solid #dcdfe6;
background-color: #fff;
padding: 0 15rpx;
@@ -196,6 +202,16 @@ uni-button:after {
.filter_input_disabled {
background-color: #eee;
}
.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%;
@@ -209,8 +225,10 @@ uni-button:after {
table-layout: fixed;
min-width: 100%;
border-collapse: separate;
border-spacing: 0;
border: 0;
-webkit-border-horizontal-spacing: 0px;
-webkit-border-vertical-spacing: 10rpx;
padding-bottom: 8rpx;
background-color: #f5f5f5;
}
.slide_new table td, .slide_new table th {
box-sizing: border-box;
@@ -219,13 +237,13 @@ uni-button:after {
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;
box-shadow: 3px 0px 3px 0px rgba(160,160,160,0.20);
}
.slide_new table thead tr th {
position: sticky;
@@ -246,8 +264,24 @@ uni-button:after {
color: #323232;
background: #fff;
}
.slide_new table thead tr th.fontcol1,.slide_new table tbody tr td.fontcol1 {
color: #4e6ef2;
font-weight: bold;
}
.slide_new table tbody tr.checked td {
background-color: #fef6e4;
border-top: 1px solid #D7592F;
border-bottom: 1px solid #D7592F;
}
.slide_new table tbody tr.checked td:first-child {
border-left: 1px solid #D7592F;
border-top-left-radius: 8rpx;
border-bottom-left-radius: 8rpx;
}
.slide_new table tbody tr.checked td:last-child {
border-right: 1px solid #D7592F;
border-top-right-radius: 8rpx;
border-bottom-right-radius: 8rpx;
}
/** 提交栏 **/
@@ -268,16 +302,16 @@ uni-button:after {
.submit-button {
font-size: 30rpx;
line-height: 62rpx;
color: #ff6a00;
color: #D7592F ;
text-align: center;
letter-spacing: 1rpx;
padding: 0 22rpx;
background-color: #fff;
border: 1px solid #ff6a00;
border: 1px solid #D7592F ;
margin: 0 40rpx 10rpx 0;
border-radius: 30rpx;
}
.submit-bar_new {
.submitbar {
position: fixed;
bottom: 0;
left: 0;
@@ -287,54 +321,83 @@ uni-button:after {
padding: 10rpx 0;
box-shadow: 0 0 20rpx 0 rgba(160,160,160,0.7);
}
.submit-button_new {
.btn-submit {
padding: 0;
font-size: 30rpx;
line-height: 62rpx;
color: #ff6a00;
padding: 0;
text-align: center;
border-radius: 10rpx;
}
.btn-default {
color: #D7592F ;
background-color: #fff;
border: 1px solid #ff6a00;
border-radius: 30rpx;
border: 1px solid #D7592F ;
}
.btn-disabled, .submit-button[disabled] {
background-color: #c9c9c9;
border: 1px solid #c9c9c9;
.btn-success {
color: #fff;
border: 1px solid #D7592F ;
background-color: #D7592F ;
}
.btn-info {
color: #fff;
border: 1px solid #c9c9c9;
background-color: #c9c9c9;
}
.btn-disabled, .submit-button[disabled]:not([type]) {
color: #fff;
border: 1px solid #c9c9c9;
background-color: #c9c9c9;
}
uni-button[disabled]:not([type]) {
color: #fff;
border: 1px solid #c9c9c9;
background-color: #c9c9c9;
}
/** 下拉框 */
.uni-select__selector {
z-index: 300 !important;
}
/** 弹窗 */
.popshow {
transform: translateY(0);
}
.pophide {
transform: translateY(100%);
}
.msg_wrapper {
position: fixed;
top: 0;
top: auto;
bottom: 0;
left: 0;
right: 0;
text-align: center;
z-index: 201;
display: flex;
justify-content: center;
align-items: center;
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;
}
.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;
.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_box {
width: 100%;
}
.msg_mask {
position: fixed;
top: 0;
@@ -343,9 +406,8 @@ uni-button:after {
height: 100%;
opacity: .7;
background: #000;
z-index: 200;
z-index: 300;
}
.msg_btns {
width: 100%;
max-width: 300px;