|
@@ -205,7 +205,7 @@
|
|
|
}
|
|
|
|
|
|
.content {
|
|
|
- flex: 1;
|
|
|
+ flex: 1;
|
|
|
|
|
|
.input-section {
|
|
|
margin-bottom: 20rpx;
|
|
@@ -287,33 +287,118 @@
|
|
|
display: block;
|
|
|
color: #2b2b2b;
|
|
|
}
|
|
|
+
|
|
|
+ .tab-nav {
|
|
|
+ display: flex;
|
|
|
+ justify-content: flex-start;
|
|
|
+ padding: 20rpx 20rpx;
|
|
|
+ box-sizing: border-box;
|
|
|
+ background: #ffffff;
|
|
|
+
|
|
|
+ .tab-item {
|
|
|
+ padding: 10rpx 38rpx;
|
|
|
+ color: #1f1f1f;
|
|
|
+ font-size: 28rpx;
|
|
|
+ background: #f2f6f2;
|
|
|
+ margin-right: 20rpx;
|
|
|
+ border-radius: 30rpx;
|
|
|
+ position: relative;
|
|
|
+ left: 0;
|
|
|
+ top: 0;
|
|
|
+ .indicator-triangle {
|
|
|
+ position: absolute;
|
|
|
+ bottom: -10rpx;
|
|
|
+ left: 50%;
|
|
|
+ transform: translateX(-50%);
|
|
|
+ width: 0;
|
|
|
+ height: 0;
|
|
|
+ border-left: 10rpx solid transparent;
|
|
|
+ border-right: 10rpx solid transparent;
|
|
|
+ border-top: 10rpx solid #acf934;
|
|
|
+ display: none;
|
|
|
+ }
|
|
|
+ &.active {
|
|
|
+ background: #acf934;
|
|
|
+ font-family: "CustomFont" !important;
|
|
|
+ .indicator-triangle {
|
|
|
+ display: block;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .tab-nav {
|
|
|
+ display: flex;
|
|
|
+ justify-content: flex-start;
|
|
|
+ padding: 20rpx 20rpx;
|
|
|
+ box-sizing: border-box;
|
|
|
+ background: #ffffff;
|
|
|
+
|
|
|
+ .tab-item {
|
|
|
+ padding: 10rpx 38rpx;
|
|
|
+ color: #1f1f1f;
|
|
|
+ font-size: 28rpx;
|
|
|
+ background: #f2f6f2;
|
|
|
+ margin-right: 20rpx;
|
|
|
+ border-radius: 30rpx;
|
|
|
+ position: relative;
|
|
|
+ left: 0;
|
|
|
+ top: 0;
|
|
|
+ .indicator-triangle {
|
|
|
+ position: absolute;
|
|
|
+ bottom: -10rpx;
|
|
|
+ left: 50%;
|
|
|
+ transform: translateX(-50%);
|
|
|
+ width: 0;
|
|
|
+ height: 0;
|
|
|
+ border-left: 10rpx solid transparent;
|
|
|
+ border-right: 10rpx solid transparent;
|
|
|
+ border-top: 10rpx solid #acf934;
|
|
|
+ display: none;
|
|
|
+ }
|
|
|
+ &.active {
|
|
|
+ background: #acf934;
|
|
|
+ font-family: "CustomFont" !important;
|
|
|
+ .indicator-triangle {
|
|
|
+ display: block;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
.tabs {
|
|
|
display: flex;
|
|
|
- gap: 40rpx;
|
|
|
- margin-bottom: 30rpx;
|
|
|
- border-bottom: 2rpx solid #f0f0f0;
|
|
|
- padding-bottom: 15rpx;
|
|
|
+ justify-content: flex-start;
|
|
|
+ padding: 20rpx 20rpx;
|
|
|
+ box-sizing: border-box;
|
|
|
+ background: #ffffff;
|
|
|
|
|
|
text {
|
|
|
+ padding: 10rpx 38rpx;
|
|
|
+ color: #1f1f1f;
|
|
|
font-size: 28rpx;
|
|
|
- color: #666;
|
|
|
+ background: #f2f6f2;
|
|
|
+ margin-right: 20rpx;
|
|
|
+ border-radius: 30rpx;
|
|
|
position: relative;
|
|
|
- padding-bottom: 15rpx;
|
|
|
- transition: all 0.3s ease;
|
|
|
-
|
|
|
+ left: 0;
|
|
|
+ top: 0;
|
|
|
+
|
|
|
+ .indicator-triangle {
|
|
|
+ position: absolute;
|
|
|
+ bottom: -10rpx;
|
|
|
+ left: 50%;
|
|
|
+ transform: translateX(-50%);
|
|
|
+ width: 0;
|
|
|
+ height: 0;
|
|
|
+ border-left: 10rpx solid transparent;
|
|
|
+ border-right: 10rpx solid transparent;
|
|
|
+ border-top: 10rpx solid #acf934;
|
|
|
+ display: none;
|
|
|
+ }
|
|
|
&.active {
|
|
|
- color: #007aff;
|
|
|
- font-weight: 600;
|
|
|
-
|
|
|
- &:after {
|
|
|
- content: "";
|
|
|
- position: absolute;
|
|
|
- bottom: -17rpx;
|
|
|
- left: 0;
|
|
|
- width: 100%;
|
|
|
- height: 4rpx;
|
|
|
- background: #007aff;
|
|
|
- border-radius: 4rpx;
|
|
|
+ background: #acf934;
|
|
|
+ font-family: "CustomFont" !important;
|
|
|
+ .indicator-triangle {
|
|
|
+ display: block;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -322,32 +407,38 @@
|
|
|
.tags {
|
|
|
display: flex;
|
|
|
flex-wrap: wrap;
|
|
|
- gap: 20rpx;
|
|
|
+ gap: 10rpx;
|
|
|
|
|
|
.tag {
|
|
|
- padding: 12rpx 30rpx;
|
|
|
- background: #f5f5f5;
|
|
|
- border-radius: 40rpx;
|
|
|
- font-size: 28rpx;
|
|
|
- transition: all 0.3s ease;
|
|
|
- border: 2rpx solid transparent;
|
|
|
-
|
|
|
- &.active {
|
|
|
- background: rgba(0, 122, 255, 0.1);
|
|
|
- color: #007aff;
|
|
|
- border-color: #007aff;
|
|
|
- }
|
|
|
+ padding: 10rpx 25rpx 8rpx 25rpx;
|
|
|
+ background: #f5f7fa;
|
|
|
+ border-radius: 12rpx;
|
|
|
+ font-size: 24rpx;
|
|
|
+ color: #666;
|
|
|
+ transition: all 0.3s;
|
|
|
+ border: 1rpx solid transparent;
|
|
|
+ box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.03);
|
|
|
+ border: 2rpx solid #e6e6e6;
|
|
|
+ background: #ffffff;
|
|
|
|
|
|
&:active {
|
|
|
- transform: scale(0.98);
|
|
|
+ // background: #e3f2fd;
|
|
|
+ // color: #2b85e4;
|
|
|
+ // border-color: #2b85e4;
|
|
|
+ background: #f7ffea;
|
|
|
+ border-radius: 12rpx;
|
|
|
+ border: 2rpx solid #7ebc00;
|
|
|
+ }
|
|
|
+ &.active {
|
|
|
+ background: #f7ffea;
|
|
|
+ border-radius: 12rpx;
|
|
|
+ border: 2rpx solid #7ebc00;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-
|
|
|
.bottom-section {
|
|
|
padding: 40rpx 30rpx;
|
|
|
background: rgba(255, 255, 255, 0.95);
|
|
@@ -425,9 +516,8 @@
|
|
|
overflow: hidden;
|
|
|
box-shadow: none;
|
|
|
border: 0rpx solid transparent;
|
|
|
- transform: none;margin: 0 auto;
|
|
|
-
|
|
|
-
|
|
|
+ transform: none;
|
|
|
+ margin: 0 auto;
|
|
|
}
|
|
|
&:active {
|
|
|
transform: scale(0.98);
|