Переглянути джерело

fix: img url don't need startWith /public

lanjianrong 4 роки тому
батько
коміт
5e27a80e01

+ 0 - 1
public/CNAME

@@ -1 +0,0 @@
-preview.pro.ant.design

+ 6 - 34
src/components/RightContent/Book/components/UserList/index.less

@@ -76,7 +76,7 @@
     border-left: 1px solid #d6d6d6;
     &:hover {
       width: 14.563rem;
-      border-left-color: rgba(0, 0, 0, 0.1);
+      border-left-color: rgba(0 0 0 / 10%);
     }
   }
 }
@@ -88,12 +88,9 @@
   vertical-align: middle;
   // background: #e1e1e1;
   // background-color: unset;
-  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
-  -webkit-transform: perspective(1px) translateZ(0);
+  box-shadow: 0 0 1px rgba(0 0 0);
   transform: perspective(1px) translateZ(0);
-  -webkit-transition-duration: 0.3s;
   transition-duration: 0.3s;
-  -webkit-transition-property: color;
   transition-property: color;
   &::before {
     position: absolute;
@@ -102,14 +99,10 @@
     bottom: 0;
     left: 0;
     z-index: -1;
-    background: linear-gradient(rgba(29, 33, 41, 0.03), rgba(29, 33, 41, 0.04));
-    -webkit-transform: scale(0);
+    background: linear-gradient(rgba(29 33 41 /3%), rgba(29 33 41 / 4%));
     transform: scale(0);
-    -webkit-transition-timing-function: ease-out;
     transition-timing-function: ease-out;
-    -webkit-transition-duration: 0.3s;
     transition-duration: 0.3s;
-    -webkit-transition-property: transform;
     transition-property: transform;
     content: '';
   }
@@ -118,37 +111,16 @@
     cursor: pointer;
   }
   &:hover::before {
-    -webkit-transform: scale(1);
     transform: scale(1);
   }
 }
-// .circle-one {
-//   position: absolute;
-//   z-index: -1;
-//   width: 30px;
-//   height: 46px;
-//   color: #b0b0b0;
-//   background: #eee6f5;
-//   border: 1px solid #d9d9d9;
-//   border-right: none;
-//   border-top-left-radius: 80%;
-//   border-top-right-radius: 70%;
-//   border-bottom-right-radius: 70%;
-//   border-bottom-left-radius: 80%;
-//   cursor: pointer;
-// }
-// .circle-one:hover {
-//   color: #ffffff;
-//   background: #decced;
-//   border: 1px solid #a590c1;
-//   border-right: none;
-// }
+
 .side-bg {
   position: absolute;
   z-index: -1;
   width: 15px;
   height: 95px;
-  background: url('/public/sideBg.png') no-repeat -14px 0;
+  background: url('/sideBg.png') no-repeat -14px 0;
   cursor: pointer;
 }
 .side-bg:hover {
@@ -161,7 +133,7 @@
   z-index: -1;
   width: 15px;
   height: 95px;
-  background: url('/public/sideBg-current.png') no-repeat -1px 0;
+  background: url('/sideBg-current.png') no-repeat -1px 0;
   transition: all 0.5s cubic-bezier(0.34, 1.25, 0.3, 1);
   transition-delay: 0.3s;
 }