From 7d8223a72b86c934aefb2b91e3e2d2099fa0adcf Mon Sep 17 00:00:00 2001 From: xpz2018 <107107461@qq.com> Date: Sat, 20 Feb 2021 14:57:59 +0800 Subject: [PATCH] no message --- pages/home/customer/index.js | 4 ++++ pages/message/index/index.js | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/pages/home/customer/index.js b/pages/home/customer/index.js index 3516c20..12f429e 100644 --- a/pages/home/customer/index.js +++ b/pages/home/customer/index.js @@ -15,6 +15,7 @@ Page({ top: 0, orderList: [], form: { + name: '', pageNum: 1, pageSize: 10 } @@ -77,6 +78,9 @@ Page({ util.showToast(err) }) }, + onChange({detail}) { + this.data.form.name = detail + }, onSearch:function(){ this.onRefreshList() } diff --git a/pages/message/index/index.js b/pages/message/index/index.js index 15be3eb..54c630a 100644 --- a/pages/message/index/index.js +++ b/pages/message/index/index.js @@ -116,10 +116,10 @@ Component({ }, lookItem: function (e) { var item = this.data.orderList[e.currentTarget.dataset.page][e.currentTarget.dataset.index] - wx.navigateTo({ url: '/pages/process/purchase-detail/index?id=' + item.id }) + wx.navigateTo({ url: '/pages/message/detail/index?id=' + item.id }) }, searchList: function(){ - wx.navigateTo({ url: '/pages/mall/search-list/index' }) + // wx.navigateTo({ url: '/pages/message/search-list/index' }) } } }) \ No newline at end of file