소스 검색

按钮变大

bobo 3 년 전
부모
커밋
c7e032d944
2개의 변경된 파일2개의 추가작업 그리고 3개의 파일을 삭제
  1. 0 1
      components/topbar.js
  2. 2 2
      components/topbar.wxss

+ 0 - 1
components/topbar.js

@@ -45,7 +45,6 @@ Component({
                 })
                 return
             }
-            const url =getCurrentPages()[getCurrentPages().length-2].route
             wx.navigateBack({
                 delta: -1
             })

+ 2 - 2
components/topbar.wxss

@@ -8,8 +8,8 @@
 }
 
 .topbar .back {
-    width: 36rpx;
-    height: 36rpx;
+    width: 40rpx;
+    height: 40rpx;
     position: absolute;
     left: 0;
     top: 0;