@@ -66,6 +66,17 @@ Page({
})
},
+ // 进入对应页面
+ goEnterPage(e){
+ let page = e.currentTarget.dataset.page;
+ let url = '';
+ if(page === "address"){
+ url="/pages/my/addressManage/addressManage"
+ }
+ wx.navigateTo({
+ url: url,
+ })
+ },
/**
* 生命周期函数--监听页面加载
*/
@@ -19,7 +19,7 @@
<text>待收货</text>
</view>
<view class="waistline"></view>
- <view class="navigation">
+ <view class="navigation" data-page="address" bindtap="goEnterPage">
<view class="left">
<image class="navIcon" src="/images/my/addressIcon.png" mode="widthFix"/>
<text class="name">地 址</text>