Browse Source

no message

feature/v1.0
xpz2018 5 years ago
parent
commit
a4aaca9879
10 changed files with 153 additions and 4 deletions
  1. 2
      app.json
  2. 66
      pages/client/factory-list/index.js
  3. 3
      pages/client/factory-list/index.json
  4. 4
      pages/client/factory-list/index.wxml
  5. 1
      pages/client/factory-list/index.wxss
  6. 66
      pages/client/order-list/index.js
  7. 3
      pages/client/order-list/index.json
  8. 4
      pages/client/order-list/index.wxml
  9. 1
      pages/client/order-list/index.wxss
  10. 7
      pages/client/workbench/index.js

2
app.json

@ -18,6 +18,8 @@
"pages/message/detail/index", "pages/message/detail/index",
"pages/client/index/index", "pages/client/index/index",
"pages/client/home/index", "pages/client/home/index",
"pages/client/order-list/index",
"pages/client/factory-list/index",
"pages/client/bank-list/index", "pages/client/bank-list/index",
"pages/client/bank-add/index", "pages/client/bank-add/index",
"pages/client/withdrawal/index" "pages/client/withdrawal/index"

66
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 () {
}
})

3
pages/client/factory-list/index.json

@ -0,0 +1,3 @@
{
"usingComponents": {}
}

4
pages/client/factory-list/index.wxml

@ -0,0 +1,4 @@
<!--pages/client/factory-list/index.wxml-->
<cu-custom bgColor="bg-white" isBack="{{true}}">
<view slot="content">我的打包厂</view>
</cu-custom>

1
pages/client/factory-list/index.wxss

@ -0,0 +1 @@
/* pages/client/factory-list/index.wxss */

66
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 () {
}
})

3
pages/client/order-list/index.json

@ -0,0 +1,3 @@
{
"usingComponents": {}
}

4
pages/client/order-list/index.wxml

@ -0,0 +1,4 @@
<!--pages/client/order-list/index.wxml-->
<cu-custom bgColor="bg-white" isBack="{{true}}">
<view slot="content">订单列表</view>
</cu-custom>

1
pages/client/order-list/index.wxss

@ -0,0 +1 @@
/* pages/client/order-list/index.wxss */

7
pages/client/workbench/index.js

@ -1,5 +1,4 @@
// pages/index/index.js // pages/index/index.js
import Dialog from '../../../components/dialog/dialog'
import { getStatisticsInfo } from "../../../api/saas" import { getStatisticsInfo } from "../../../api/saas"
const event = require('../../../utils/event') const event = require('../../../utils/event')
const app = getApp() const app = getApp()
@ -50,10 +49,10 @@ Component({
} }
}, },
orderList: function (e) { 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 { } else {
wx.navigateTo({ url: '/pages/process/order-list/index?status=' + e.currentTarget.dataset.status })
wx.navigateTo({ url: '/pages/client/order-list/index' })
} }
}, },
fetchStatisticsInfo: function(){ fetchStatisticsInfo: function(){

Loading…
Cancel
Save