소스 검색

按钮文字居中

James 4 년 전
부모
커밋
d39de3e8ea
1개의 변경된 파일2개의 추가작업 그리고 3개의 파일을 삭제
  1. 2 3
      src/pages/ruins-detail/index.vue

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

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