待收货
This commit is contained in:
parent
d0e12335ea
commit
62eb95c156
@ -52,3 +52,6 @@
|
|||||||
- pages/undetermined/undetermined 代发货 <br>
|
- pages/undetermined/undetermined 代发货 <br>
|
||||||
- particulars/orderchooseaddr 地址
|
- particulars/orderchooseaddr 地址
|
||||||
- particulars/content 中间所有
|
- particulars/content 中间所有
|
||||||
|
- pages/receiving/receiving 待收货 <br>
|
||||||
|
- particulars/orderchooseaddr 地址
|
||||||
|
- particulars/content 中间所有
|
1
app.json
1
app.json
@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
"pages": [
|
"pages": [
|
||||||
|
"pages/receiving/receiving",
|
||||||
"pages/undetermined/undetermined",
|
"pages/undetermined/undetermined",
|
||||||
"pages/particulars/particulars",
|
"pages/particulars/particulars",
|
||||||
"pages/addaddress/addaddress",
|
"pages/addaddress/addaddress",
|
||||||
|
26
components/particulars/logistics/index.js
Normal file
26
components/particulars/logistics/index.js
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
Component({
|
||||||
|
properties: {
|
||||||
|
},
|
||||||
|
data: {
|
||||||
|
steps: [
|
||||||
|
{
|
||||||
|
text: '步骤一',
|
||||||
|
desc: '描述信息'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
text: '步骤二',
|
||||||
|
desc: '描述信息'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
text: '步骤三',
|
||||||
|
desc: '描述信息'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
text: '步骤四',
|
||||||
|
desc: '描述信息'
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
}
|
||||||
|
})
|
6
components/particulars/logistics/index.json
Normal file
6
components/particulars/logistics/index.json
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"component": true,
|
||||||
|
"usingComponents": {
|
||||||
|
"van-steps": "../utils/dist/steps/index"
|
||||||
|
}
|
||||||
|
}
|
17
components/particulars/logistics/index.scss
Normal file
17
components/particulars/logistics/index.scss
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
.logistics{
|
||||||
|
margin-top: 20rpx;
|
||||||
|
background-color: #fff;
|
||||||
|
.title{
|
||||||
|
height: 84rpx;
|
||||||
|
font-size: 28rpx;
|
||||||
|
color: #333;
|
||||||
|
line-height: 84rpx;
|
||||||
|
border-bottom: 2rpx solid #e5e5e5;
|
||||||
|
padding-left: 29rpx;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
.schedule{
|
||||||
|
width: 650rpx;
|
||||||
|
margin-left: 50rpx;
|
||||||
|
}
|
||||||
|
}
|
4
components/particulars/logistics/index.wxml
Normal file
4
components/particulars/logistics/index.wxml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<view class="logistics">
|
||||||
|
<view class="title">物流追踪</view>
|
||||||
|
<van-steps steps="{{ steps }}" active="{{ 1 }}" direction="vertical" active-color="#47C877" class="schedule" />
|
||||||
|
</view>
|
1
components/particulars/logistics/index.wxss
Normal file
1
components/particulars/logistics/index.wxss
Normal file
@ -0,0 +1 @@
|
|||||||
|
.logistics{margin-top:20rpx;background-color:#fff}.logistics .title{height:84rpx;font-size:28rpx;color:#333;line-height:84rpx;border-bottom:2rpx solid #e5e5e5;padding-left:29rpx;box-sizing:border-box}.logistics .schedule{width:650rpx;margin-left:50rpx}
|
66
pages/receiving/receiving.js
Normal file
66
pages/receiving/receiving.js
Normal file
@ -0,0 +1,66 @@
|
|||||||
|
// pages/receiving/receiving.js
|
||||||
|
Page({
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 页面的初始数据
|
||||||
|
*/
|
||||||
|
data: {
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 生命周期函数--监听页面加载
|
||||||
|
*/
|
||||||
|
onLoad: function (options) {
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 生命周期函数--监听页面初次渲染完成
|
||||||
|
*/
|
||||||
|
onReady: function () {
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 生命周期函数--监听页面显示
|
||||||
|
*/
|
||||||
|
onShow: function () {
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 生命周期函数--监听页面隐藏
|
||||||
|
*/
|
||||||
|
onHide: function () {
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 生命周期函数--监听页面卸载
|
||||||
|
*/
|
||||||
|
onUnload: function () {
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 页面相关事件处理函数--监听用户下拉动作
|
||||||
|
*/
|
||||||
|
onPullDownRefresh: function () {
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 页面上拉触底事件的处理函数
|
||||||
|
*/
|
||||||
|
onReachBottom: function () {
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 用户点击右上角分享
|
||||||
|
*/
|
||||||
|
onShareAppMessage: function () {
|
||||||
|
|
||||||
|
}
|
||||||
|
})
|
7
pages/receiving/receiving.json
Normal file
7
pages/receiving/receiving.json
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"usingComponents": {
|
||||||
|
"content":"../components/particulars/content/index",
|
||||||
|
"orderchooseaddr":"../components/particulars/orderchooseaddr/index",
|
||||||
|
"logistics":"../components/particulars/logistics/index"
|
||||||
|
}
|
||||||
|
}
|
7
pages/receiving/receiving.scss
Normal file
7
pages/receiving/receiving.scss
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
.box {
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
page {
|
||||||
|
background-color: #fbfbfb;
|
||||||
|
}
|
5
pages/receiving/receiving.wxml
Normal file
5
pages/receiving/receiving.wxml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
<view class="box">
|
||||||
|
<orderchooseaddr></orderchooseaddr>
|
||||||
|
<content></content>
|
||||||
|
<logistics></logistics>
|
||||||
|
</view>
|
1
pages/receiving/receiving.wxss
Normal file
1
pages/receiving/receiving.wxss
Normal file
@ -0,0 +1 @@
|
|||||||
|
page{background-color:#fbfbfb}
|
Loading…
x
Reference in New Issue
Block a user