Merge branch 'zhengjei' of pplokijuhyg/deguodaigou into master

This commit is contained in:
asd 2019-12-16 18:27:09 +08:00
commit 02ba16bbbc
19 changed files with 413 additions and 313 deletions

View File

@ -31,6 +31,21 @@
"navigationBarTitleText": "WeChat",
"navigationBarTextStyle": "black"
},
"tabBar": {
"list": [{
"pagePath": "pages/index/index",
"text": "首页"
}, {
"pagePath": "pages/classify/classify",
"text": "分类"
}, {
"pagePath": "pages/shopping/shopping",
"text": "购物车"
}, {
"pagePath": "pages/personal/personal",
"text": "我的"
}]
},
"style": "v2",
"sitemapLocation": "sitemap.json"
}

View File

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

View File

@ -1,4 +1,4 @@
<view class="commodity">
<view class="commodity" bindtap="gotodetail">
<view class="content">
<image class="imgthumb "></image>
<view class="introduce">

View File

@ -9,6 +9,7 @@
margin: 0 auto;
position: relative;
top: 64rpx;
left: 121rpx;
}
.shopname {
width: 273rpx;

View File

@ -11,6 +11,7 @@
margin: 0 auto;
position: relative;
top: 64rpx;
left: 121rpx;
}
.membershop .shopname {

View File

@ -18,6 +18,10 @@ Component({
* 组件的方法列表
*/
methods: {
sub() {
wx.navigateTo({
url: "/pages/order/order"
})
}
}
})

View File

@ -3,5 +3,5 @@
<text>总计</text>
<text class="pri">$0.00</text>
</view>
<view class="right">结算</view>
<view class="right" bindtap="sub">结算</view>
</view>

View File

@ -18,6 +18,10 @@ Component({
* 组件的方法列表
*/
methods: {
choose() {
wx.navigateTo({
url: "/pages/chooseaddr/chooseaddr"
})
}
}
})

View File

@ -1,4 +1,4 @@
<view class="orderchooseaddr">
<view class="orderchooseaddr" bindtap="choose">
<view class="left">
<view class="userinfo">
<text class="username">于于宇 15698857895</text>

View File

@ -11,56 +11,60 @@ Page({
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
onLoad: function(options) {
},
save() {
wx.navigateTo({
url: "/pages/chooseaddr/chooseaddr"
})
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
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

@ -6,5 +6,5 @@
<shuru left="街道地址" right="街道地址"></shuru>
<shuru left="邮政编码" right="邮政编码"></shuru>
<shuru left="身份证号" right="可为空,部分商品需要"></shuru>
<addradd text="保存地址" class="btn1"></addradd>
<addradd text="保存地址" class="btn1" bindtap="save"></addradd>
</view>

View File

@ -11,56 +11,60 @@ Page({
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
onLoad: function(options) {
},
add() {
wx.navigateTo({
url: "/pages/addaddress/addaddress"
})
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
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

@ -8,7 +8,7 @@
<view class="addr">
<address></address>
</view>
<view class="btn1">
<view class="btn1" bindtap="add">
<addradd text="添加地址"></addradd>
</view>
</view>

View File

@ -11,56 +11,92 @@ Page({
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
onLoad: function(options) {
},
toorder() {
wx.navigateTo({
url: "/pages/order/order"
})
},
toaddress() {
wx.navigateTo({
url: "/pages/chooseaddr/chooseaddr"
})
},
toserver() {
// wx.navigateTo({
// url: "/pages/order/order"
// })
},
tomember() {
wx.navigateTo({
url: "/pages/member/member"
})
},
toorder() {
wx.navigateTo({
url: "/pages/order/order"
})
},
toyue() {
wx.navigateTo({
url: "/pages/yue/yue"
})
},
toyongjin() {
wx.navigateTo({
url: "/pages/yongjin/yongjin"
})
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
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

@ -10,17 +10,34 @@
</view>
</view>
<view class="list">
<view class="option">
<view class="option" bindtap="toorder">
<view>我的订单</view>
<view>></view>
</view>
<view class="option">
<view>我的订单</view>
<view class="option" bindtap="toaddress">
<view>地址管理</view>
<view>></view>
</view>
<view class="option">
<view class="option" bindtap="toserver">
<view>在线客服</view>
<!-- <view><text style="font-size:28rpx;color:#999;">非会员 </text>></view> -->
</view>
<view class="option" bindtap="tomember">
<view>会员中心</view>
<view><text style="font-size:28rpx;color:#999;">非会员 </text>></view>
</view>
<view class="option" bindtap="toyue">
<view>我的余额</view>
<!-- <view><text style="font-size:28rpx;color:#999;">非会员 </text>></view> -->
</view>
<view class="option" bindtap="toyongjin">
<view>当前佣金</view>
<!-- <view><text style="font-size:28rpx;color:#999;">非会员 </text>></view> -->
</view>
<view class="option" bindtap="share">
<view>分 享</view>
<!-- <view><text style="font-size:28rpx;color:#999;">非会员 </text>></view> -->
</view>
</view>
</view>

View File

@ -11,56 +11,63 @@ Page({
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
onLoad: function(options) {
},
// goshop() {
// },
bindPickerChange(e) {
wx.switchTab({
url: '/pages/shopping/shopping'
})
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
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

@ -19,6 +19,6 @@
<text class="title">产品名称产品名称产品名称</text>
<text class="menery">$140,000</text>
<picker bindchange="bindPickerChange" value="{{index}}" range="{{array}}">
<view class="add">加入购物车</view>
<view class="add" >加入购物车</view>
</picker>
</view>

View File

@ -11,56 +11,60 @@ Page({
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
onLoad: function(options) {
},
sub() {
wx.navigateTo({
url: "/pages/orderconfirm/orderconfirm"
})
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
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

@ -19,7 +19,7 @@
</view>
<view class="right">
<text class="del">删除</text>
<text class="sub">结算</text>
<text class="sub" bindtap="sub">结算</text>
</view>
</view>
</view>