|
@@ -468,19 +468,19 @@ export default {
|
|
cursor: pointer;
|
|
cursor: pointer;
|
|
padding: 10px 0;
|
|
padding: 10px 0;
|
|
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
|
|
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
|
|
- overflow: hidden;
|
|
|
|
-
|
|
|
|
- &::before {
|
|
|
|
- content: '';
|
|
|
|
- position: absolute;
|
|
|
|
- bottom: 0;
|
|
|
|
- left: 50%;
|
|
|
|
- width: 0;
|
|
|
|
- height: 2px;
|
|
|
|
- background: linear-gradient(90deg, #1890ff, #40a9ff);
|
|
|
|
- transform: translateX(-50%);
|
|
|
|
- transition: width 0.4s ease;
|
|
|
|
- }
|
|
|
|
|
|
+ // overflow: hidden;
|
|
|
|
+
|
|
|
|
+ // &::before {
|
|
|
|
+ // content: '';
|
|
|
|
+ // position: absolute;
|
|
|
|
+ // bottom: 0;
|
|
|
|
+ // left: 50%;
|
|
|
|
+ // width: 0;
|
|
|
|
+ // height: 2px;
|
|
|
|
+ // background: linear-gradient(90deg, #1890ff, #40a9ff);
|
|
|
|
+ // transform: translateX(-50%);
|
|
|
|
+ // transition: width 0.4s ease;
|
|
|
|
+ // }
|
|
|
|
|
|
&:hover {
|
|
&:hover {
|
|
color: #1890ff;
|
|
color: #1890ff;
|