From 35158b78c2ed5b31a7cabd7af351b846ef539bf1 Mon Sep 17 00:00:00 2001 From: yvan.ni <765199919@qq.com> Date: Tue, 22 Dec 2020 14:34:16 +0800 Subject: [PATCH] 退款过滤器~~ --- pages/user/return_goods_info/fil.wxs | 9 +++++++++ pages/user/return_goods_list/fil.wxs | 9 +++++++++ 2 files changed, 18 insertions(+), 0 deletions(-) create mode 100644 pages/user/return_goods_info/fil.wxs create mode 100644 pages/user/return_goods_list/fil.wxs diff --git a/pages/user/return_goods_info/fil.wxs b/pages/user/return_goods_info/fil.wxs new file mode 100644 index 0000000..cb12b88 --- /dev/null +++ b/pages/user/return_goods_info/fil.wxs @@ -0,0 +1,9 @@ +function is_cancle(word){ + if(word.indexOf('客户取消')!==-1){ + return true; + } + return false; +} +module.exports = { + is_cancle:is_cancle +} \ No newline at end of file diff --git a/pages/user/return_goods_list/fil.wxs b/pages/user/return_goods_list/fil.wxs new file mode 100644 index 0000000..248e170 --- /dev/null +++ b/pages/user/return_goods_list/fil.wxs @@ -0,0 +1,9 @@ +function set_word(word){ + if(word.indexOf('客户取消')!==-1){ + return '客户取消'; + } + return '卖家已经拒绝退款'; +} +module.exports = { + set_word:set_word +} \ No newline at end of file -- libgit2 0.21.4