<view class = "overfolw wid100">
<view class = "floatL make-3-1">¥{{cell.price}}</view>
<view class = "floatR make-3-2" bindtap="but" data-goodsid="{{cell.id}}">立即预约</view>
</view>
but:function(e){
//console.log("预约管理")
var that = this;
var goodsId = e.currentTarget.dataset.goodsid;
console.log('goodsId:' + goodsId);
wx.request({
url: 'https://xxxxx',
data:{
but:goodsId
},
success:function(res){
console.log(res.data)//根据id的不同详情页的内容不同
wx.setStorageSync('make', res.data);
wx.navigateTo({
url: './ment/ment'
})
}
})
}