Browse Source

修改样式

lex 9 months ago
parent
commit
2fd9c75f23

BIN
src/components/col-share/images/vip1.png


BIN
src/teacher/share-page/share-vip/images/icon-equity-bg.png


+ 8 - 5
src/views/member-center/index.module.less

@@ -319,7 +319,7 @@
   line-height: 18px;
 
   .discountAvatar {
-    margin-left: 15px;
+    margin-left: 12px;
     width: 34px;
     height: 34px;
     border-radius: 50%;
@@ -452,7 +452,7 @@
     top: -7px;
     width: 77px;
     height: 20px;
-    background: url('./new-images/icon-permanent.png') no-repeat center;
+    background: url('./new-images/icon-permanent1.png') no-repeat center;
     background-size: contain;
 
   }
@@ -537,7 +537,7 @@
     justify-content: space-between;
     padding: 0 20px;
     width: calc(100% - 32px);
-    margin: 0 16px;
+    margin: 0 0 0 16px;
     // margin: 0;
     min-height: 81px;
     border: 2px solid #0ED8B0;
@@ -545,13 +545,16 @@
 
     .iconPermanent {
       left: -2px;
+      background: url('./new-images/icon-permanent.png') no-repeat center;
+      background-size: contain;
     }
 
     .discountTag {
       position: absolute;
-      left: -2px;
+      right: -2px;
       top: -2px;
-      background: url('./new-images/icon_discount.png') no-repeat center;
+      left: auto;
+      background: url('./new-images/icon_discount2.png') no-repeat center;
       background-size: contain;
       width: 48px;
       height: 16px;

+ 1 - 1
src/views/member-center/index.tsx

@@ -171,7 +171,7 @@ export default defineComponent({
         window.scrollY ||
         window.pageYOffset ||
         document.documentElement.scrollTop
-      state.titleOpacity = height > 80 ? 1 : 0
+      state.titleOpacity = height > 30 ? 1 : 0
     })
 
     /** 切换购买类型 */

BIN
src/views/member-center/new-images/icon-permanent1.png


BIN
src/views/member-center/new-images/icon_discount2.png