Browse Source

fix:未登录下提示按钮的样式

sunshine1130 4 years ago
parent
commit
22a5acd8a3
2 changed files with 10 additions and 5 deletions
  1. 8 4
      pages/person/person.scss
  2. 2 1
      pages/person/person.wxss

+ 8 - 4
pages/person/person.scss

@@ -12,7 +12,7 @@
             .user-name {
                 position: relative;
                 margin-top: 10rpx;
-               
+
 
                 .next {
                     width: 35rpx;
@@ -49,23 +49,27 @@
         border-bottom: 1px solid #ebeef5;
         background-size: cover;
         position: relative;
+
         .login-btn {
             background-color: rgba($color: #000000, $alpha: 0);
-            height: 200px;
             position: absolute;
             line-height: 100px;
             top: 14%;
             font-weight: 400;
             letter-spacing: 5rpx;
+            line-height: 88px;
+            text-align: left;
         }
-        .next{
+
+        .next {
             width: 50rpx;
             height: 50rpx;
             position: absolute;
             top: 122rpx;
             right: 385rpx;
         }
-        .defult-user{
+
+        .defult-user {
             width: 150rpx;
             height: 150rpx;
             position: absolute;

+ 2 - 1
pages/person/person.wxss

@@ -51,12 +51,13 @@
 
 .container .user-login .login-btn {
   background-color: transparent;
-  height: 200px;
   position: absolute;
   line-height: 100px;
   top: 14%;
   font-weight: 400;
   letter-spacing: 5rpx;
+  line-height: 88px;
+  text-align: left;
 }
 
 .container .user-login .next {