Authored by hongyong.zhao

随便逛逛逻辑添加-- reviewed byjingyou

@@ -69,7 +69,13 @@ Page({ @@ -69,7 +69,13 @@ Page({
69 .catch(error => { 69 .catch(error => {
70 console.log(error) 70 console.log(error)
71 }) 71 })
72 - } 72 + },
  73 +
  74 + lookAround: function () {
  75 + wx.navigateBack({
  76 + delta: getCurrentPages().length-1
  77 + })
  78 + },
73 79
74 80
75 }) 81 })
@@ -13,7 +13,7 @@ @@ -13,7 +13,7 @@
13 <text class="checkOrderText">{{checkOrderButtonText}}</text> 13 <text class="checkOrderText">{{checkOrderButtonText}}</text>
14 </view> 14 </view>
15 15
16 - <view> 16 + <view bindtap="lookAround">
17 <text class="lookAround">{{lookAround}}</text> 17 <text class="lookAround">{{lookAround}}</text>
18 </view> 18 </view>
19 19