瀏覽代碼

按钮变大

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;