zhengjei #21

Manually merged
asd merged 2 commits from zhengjei into master 2019-12-16 19:57:11 +08:00
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,7 +1,7 @@
{ {
"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

@ -14,7 +14,16 @@ Page({
onLoad: function(options) { onLoad: function(options) {
}, },
chooseaddr() {
wx.navigateTo({
url: "/pages/chooseaddr/chooseaddr"
})
},
todetail() {
wx.navigateTo({
url: "/pages/product/product"
})
},
/** /**
* 生命周期函数--监听页面初次渲染完成 * 生命周期函数--监听页面初次渲染完成
*/ */

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>