From a4aaca98794a41d47960ec6c5cc25eaa658c847f Mon Sep 17 00:00:00 2001 From: xpz2018 <107107461@qq.com> Date: Tue, 23 Feb 2021 20:33:52 +0800 Subject: [PATCH] no message --- app.json | 2 + pages/client/factory-list/index.js | 66 ++++++++++++++++++++++++++++ pages/client/factory-list/index.json | 3 ++ pages/client/factory-list/index.wxml | 4 ++ pages/client/factory-list/index.wxss | 1 + pages/client/order-list/index.js | 66 ++++++++++++++++++++++++++++ pages/client/order-list/index.json | 3 ++ pages/client/order-list/index.wxml | 4 ++ pages/client/order-list/index.wxss | 1 + pages/client/workbench/index.js | 7 ++- 10 files changed, 153 insertions(+), 4 deletions(-) create mode 100644 pages/client/factory-list/index.js create mode 100644 pages/client/factory-list/index.json create mode 100644 pages/client/factory-list/index.wxml create mode 100644 pages/client/factory-list/index.wxss create mode 100644 pages/client/order-list/index.js create mode 100644 pages/client/order-list/index.json create mode 100644 pages/client/order-list/index.wxml create mode 100644 pages/client/order-list/index.wxss diff --git a/app.json b/app.json index 4f59e15..ca23d1b 100644 --- a/app.json +++ b/app.json @@ -18,6 +18,8 @@ "pages/message/detail/index", "pages/client/index/index", "pages/client/home/index", + "pages/client/order-list/index", + "pages/client/factory-list/index", "pages/client/bank-list/index", "pages/client/bank-add/index", "pages/client/withdrawal/index" diff --git a/pages/client/factory-list/index.js b/pages/client/factory-list/index.js new file mode 100644 index 0000000..0322bbb --- /dev/null +++ b/pages/client/factory-list/index.js @@ -0,0 +1,66 @@ +// pages/client/factory-list/index.js +Page({ + + /** + * 页面的初始数据 + */ + data: { + + }, + + /** + * 生命周期函数--监听页面加载 + */ + onLoad: function (options) { + + }, + + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onReady: function () { + + }, + + /** + * 生命周期函数--监听页面显示 + */ + onShow: function () { + + }, + + /** + * 生命周期函数--监听页面隐藏 + */ + onHide: function () { + + }, + + /** + * 生命周期函数--监听页面卸载 + */ + onUnload: function () { + + }, + + /** + * 页面相关事件处理函数--监听用户下拉动作 + */ + onPullDownRefresh: function () { + + }, + + /** + * 页面上拉触底事件的处理函数 + */ + onReachBottom: function () { + + }, + + /** + * 用户点击右上角分享 + */ + onShareAppMessage: function () { + + } +}) \ No newline at end of file diff --git a/pages/client/factory-list/index.json b/pages/client/factory-list/index.json new file mode 100644 index 0000000..8835af0 --- /dev/null +++ b/pages/client/factory-list/index.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/pages/client/factory-list/index.wxml b/pages/client/factory-list/index.wxml new file mode 100644 index 0000000..47c682b --- /dev/null +++ b/pages/client/factory-list/index.wxml @@ -0,0 +1,4 @@ + + + 我的打包厂 + diff --git a/pages/client/factory-list/index.wxss b/pages/client/factory-list/index.wxss new file mode 100644 index 0000000..7a7e36b --- /dev/null +++ b/pages/client/factory-list/index.wxss @@ -0,0 +1 @@ +/* pages/client/factory-list/index.wxss */ \ No newline at end of file diff --git a/pages/client/order-list/index.js b/pages/client/order-list/index.js new file mode 100644 index 0000000..7be100e --- /dev/null +++ b/pages/client/order-list/index.js @@ -0,0 +1,66 @@ +// pages/client/order-list/index.js +Page({ + + /** + * 页面的初始数据 + */ + data: { + + }, + + /** + * 生命周期函数--监听页面加载 + */ + onLoad: function (options) { + + }, + + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onReady: function () { + + }, + + /** + * 生命周期函数--监听页面显示 + */ + onShow: function () { + + }, + + /** + * 生命周期函数--监听页面隐藏 + */ + onHide: function () { + + }, + + /** + * 生命周期函数--监听页面卸载 + */ + onUnload: function () { + + }, + + /** + * 页面相关事件处理函数--监听用户下拉动作 + */ + onPullDownRefresh: function () { + + }, + + /** + * 页面上拉触底事件的处理函数 + */ + onReachBottom: function () { + + }, + + /** + * 用户点击右上角分享 + */ + onShareAppMessage: function () { + + } +}) \ No newline at end of file diff --git a/pages/client/order-list/index.json b/pages/client/order-list/index.json new file mode 100644 index 0000000..8835af0 --- /dev/null +++ b/pages/client/order-list/index.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/pages/client/order-list/index.wxml b/pages/client/order-list/index.wxml new file mode 100644 index 0000000..f90d553 --- /dev/null +++ b/pages/client/order-list/index.wxml @@ -0,0 +1,4 @@ + + + 订单列表 + diff --git a/pages/client/order-list/index.wxss b/pages/client/order-list/index.wxss new file mode 100644 index 0000000..9d805c3 --- /dev/null +++ b/pages/client/order-list/index.wxss @@ -0,0 +1 @@ +/* pages/client/order-list/index.wxss */ \ No newline at end of file diff --git a/pages/client/workbench/index.js b/pages/client/workbench/index.js index 6ba693a..7ba85e4 100644 --- a/pages/client/workbench/index.js +++ b/pages/client/workbench/index.js @@ -1,5 +1,4 @@ // pages/index/index.js -import Dialog from '../../../components/dialog/dialog' import { getStatisticsInfo } from "../../../api/saas" const event = require('../../../utils/event') const app = getApp() @@ -50,10 +49,10 @@ Component({ } }, orderList: function (e) { - if(e.currentTarget.dataset.status == 3){ - wx.navigateTo({ url: '/pages/process/payment-list/index?status=' + e.currentTarget.dataset.status }) + if(e.currentTarget.dataset.status == 1){ + wx.navigateTo({ url: '/pages/client/factory-list/index' }) } else { - wx.navigateTo({ url: '/pages/process/order-list/index?status=' + e.currentTarget.dataset.status }) + wx.navigateTo({ url: '/pages/client/order-list/index' }) } }, fetchStatisticsInfo: function(){