瀏覽代碼

vip弹窗尺寸

liushengqiang 1 年之前
父節點
當前提交
c92e2f179a
共有 1 個文件被更改,包括 14 次插入17 次删除
  1. 14 17
      src/components/the-vip/index.module.less

+ 14 - 17
src/components/the-vip/index.module.less

@@ -1,54 +1,51 @@
 .container {
     position: relative;
-    width: 335px;
-    height: 298px;
+    width: 278px;
+    height: 250px;
     background: url('./icon_bg.png') no-repeat;
     background-size: 100%;
     display: flex;
     flex-direction: column;
-    padding-top: 56px;
+    padding-top: 50px;
 }
 
 .close {
     position: absolute;
     right: 0;
     top: 30px;
-    width: 30px;
-    height: 30px;
+    width: 24px;
+    height: 24px;
 }
 
 .title {
     margin-left: 14px;
-    width: 131px;
+    width: 108px;
     display: block;
 }
 
 .content {
     position: relative;
-    padding: 40px 20px 20px 20px;
-    font-size: 16px;
+    padding: 33px 13px 20px 13px;
+    font-size: 13px;
     font-weight: 400;
     color: #333333;
-    line-height: 22px;
+    line-height: 18px;
     z-index: 10;
 }
 
 .btns {
-    position: absolute;
-    bottom: 18px;
-    width: 50%;
-    left: 50%;
-    transform: translateX(-50%);
+    width: 159px;
+    margin: 0 auto;
     display: flex;
     flex-direction: column;
     justify-content: center;
-    font-size: 18px;
+    font-size: 16px;
     color: #777;
-    line-height: 26px;
+    line-height: 22px;
     text-align: center;
 
     img {
         width: 100%;
-        margin-bottom: 12px;
+        margin-bottom: 9px;
     }
 }