Merge branch 'zhengjei' of pplokijuhyg/deguodaigou into master

This commit is contained in:
asd 2019-12-16 19:57:11 +08:00
commit 9db2fb1c18
7 changed files with 82 additions and 67 deletions

View File

@ -1,8 +1,11 @@
Component({ Component({
properties: { properties: {},
}, data: {},
data: {
},
methods: { methods: {
todetail() {
wx.navigateTo({
url: "/pages/product/product"
})
}
} }
}) })

View File

@ -1,5 +1,5 @@
<scroll-view class="list" scroll-y="{{true}}" > <scroll-view class="list" scroll-y="{{true}}" >
<view class="commodity"> <view class="commodity" bindtap="todetail">
<view class="content"> <view class="content">
<image class="imgthumb "></image> <image class="imgthumb "></image>
<view class="introduce"> <view class="introduce">
@ -11,7 +11,7 @@
</view> </view>
</view> </view>
</view> </view>
<view class="commodity"> <view class="commodity" bindtap="todetail">
<view class="content"> <view class="content">
<image class="imgthumb "></image> <image class="imgthumb "></image>
<view class="introduce"> <view class="introduce">
@ -23,7 +23,7 @@
</view> </view>
</view> </view>
</view> </view>
<view class="commodity"> <view class="commodity" bindtap="todetail">
<view class="content"> <view class="content">
<image class="imgthumb "></image> <image class="imgthumb "></image>
<view class="introduce"> <view class="introduce">

View File

@ -1,8 +1,11 @@
Component({ Component({
properties: { properties: {},
}, data: {},
data: {
},
methods: { methods: {
todetail() {
wx.navigateTo({
url: "/pages/undetermined/undetermined"
})
}
} }
}) })

View File

@ -1,4 +1,4 @@
<view class="commodity"> <view class="commodity" bindtap="todetail">
<message></message> <message></message>
<view class="aggregate"> <view class="aggregate">
共计1件商品 合计: 共计1件商品 合计:

View File

@ -1,8 +1,8 @@
{ {
"component": true, "component": true,
"usingComponents": { "usingComponents": {
"commodity":"../commodity/index", "commodity": "../commodity",
"van-tab": "../utils/dist/tab/index", "van-tab": "../utils/dist/tab/index",
"van-tabs": "../utils/dist/tabs/index" "van-tabs": "../utils/dist/tabs/index"
} }
} }

View File

@ -1,66 +1,75 @@
// pages/undetermined/undetermined.js // pages/undetermined/undetermined.js
Page({ Page({
/** /**
* 页面的初始数据 * 页面的初始数据
*/ */
data: { data: {
}, },
/** /**
* 生命周期函数--监听页面加载 * 生命周期函数--监听页面加载
*/ */
onLoad: function (options) { onLoad: function(options) {
}, },
chooseaddr() {
wx.navigateTo({
url: "/pages/chooseaddr/chooseaddr"
})
},
todetail() {
wx.navigateTo({
url: "/pages/product/product"
})
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function() {
/** },
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
}, /**
* 生命周期函数--监听页面显示
*/
onShow: function() {
/** },
* 生命周期函数--监听页面显示
*/
onShow: function () {
}, /**
* 生命周期函数--监听页面隐藏
*/
onHide: function() {
/** },
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
}, /**
* 生命周期函数--监听页面卸载
*/
onUnload: function() {
/** },
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
}, /**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function() {
/** },
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
}, /**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function() {
/** },
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
}, /**
* 用户点击右上角分享
*/
onShareAppMessage: function() {
/** }
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
}) })

View File

@ -1,4 +1,4 @@
<view class="box"> <view class="box">
<orderchooseaddr></orderchooseaddr> <orderchooseaddr bindtap="chooseaddr"></orderchooseaddr>
<content></content> <content bindtap="todetail"></content>
</view> </view>