From 843a1b1fafd87f3eb4afdb5fc5ec5e0f16bbeb2d Mon Sep 17 00:00:00 2001 From: xpz2018 <107107461@qq.com> Date: Tue, 30 Mar 2021 21:35:57 +0800 Subject: [PATCH] no message --- pages/home/index/index.js | 4 ---- pages/home/index/index.wxml | 4 ++-- pages/process/index/index.js | 4 ++++ pages/process/index/index.wxml | 26 +++++++++++++++++++++++++- 4 files changed, 31 insertions(+), 7 deletions(-) diff --git a/pages/home/index/index.js b/pages/home/index/index.js index b4716b8..d4fe542 100644 --- a/pages/home/index/index.js +++ b/pages/home/index/index.js @@ -1,7 +1,6 @@ // pages/stock/index.js import Dialog from '../../../components/dialog/dialog' import { finalizeToken } from "../../../api/user" -import { getBaseInfo } from "../../../api/saas" const util = require('../../../utils/util') const event = require('../../../utils/event') const storage = require('../../../utils/storage') @@ -36,9 +35,6 @@ Component({ onRestart: function () { this.setUserInfo() this.data.firstShow = true - getBaseInfo().then(result => { - }).catch(err => { - }) }, onEvent: function (message) { if (message.what == 82) { diff --git a/pages/home/index/index.wxml b/pages/home/index/index.wxml index b7bec00..47a517f 100644 --- a/pages/home/index/index.wxml +++ b/pages/home/index/index.wxml @@ -27,7 +27,7 @@ - + diff --git a/pages/process/index/index.js b/pages/process/index/index.js index 27fae45..8cbf016 100644 --- a/pages/process/index/index.js +++ b/pages/process/index/index.js @@ -61,6 +61,9 @@ Component({ orderList: function (e) { wx.navigateTo({ url: '/pages/process/order-list/index' }) }, + agentList: function (e) { + wx.navigateTo({ url: '/pages/process/agent-list/index' }) + }, checkList: function (e) { // if(!app.userInfo.isSaasPerssion){ // Dialog.alert({ title: '温馨提示', message: '您还不是纸通宝SAAS的授权客户,无法使用,如有疑问请联系相关客服人员。' }).then(() => { @@ -102,6 +105,7 @@ Component({ }).catch(err => { console.log(err) }) + }, showSheet: function(){ // this.setData({ show: true }) diff --git a/pages/process/index/index.wxml b/pages/process/index/index.wxml index c4e8fc9..94fe81b 100644 --- a/pages/process/index/index.wxml +++ b/pages/process/index/index.wxml @@ -98,9 +98,33 @@ --> - + + + + + 千鸟代付额度 + + + + + + 剩余代付额度 + + {{userInfo.availableCreditLine}} + 查看代付详情 + + + + + 待付款订单 + + {{userInfo.usedCreditLine}} + + + +