Browse Source

按钮文字居中

James 4 years ago
parent
commit
d39de3e8ea
1 changed files with 2 additions and 3 deletions
  1. 2 3
      src/pages/ruins-detail/index.vue

+ 2 - 3
src/pages/ruins-detail/index.vue

@@ -305,10 +305,9 @@ export default {
           }
           }
           .btn {
           .btn {
             width: 32%;
             width: 32%;
-            height: 80%;
-            line-height: 2.5rem;
+            height: 10vw;
+            line-height: 10vw;
             text-align: center;
             text-align: center;
-            // background: url(../../assets/images/btn-bg.png) no-repeat;
             background-size: 100% 100%;
             background-size: 100% 100%;
             cursor: pointer;
             cursor: pointer;
             font-size: 16px;
             font-size: 16px;