From 2cd4ce19c8bd19f8e27c85ba88ef3ba0d00bbd13 Mon Sep 17 00:00:00 2001 From: FightingN <18300240052@163.com> Date: Thu, 16 Sep 2021 15:48:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A8=E6=80=81=E8=AE=BE=E7=BD=AE=E6=A0=87?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../subpages/workTodo/pages/index/index.js | 2 +- .../subpages/workTodo/pages/index/index.wxml | 3 ++- .../subpages/workTodo/pages/list/index.js | 5 +++++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/epdc-resident-mp-yushan/subpages/workTodo/pages/index/index.js b/epdc-resident-mp-yushan/subpages/workTodo/pages/index/index.js index 6aa1fa4..2d6c23f 100644 --- a/epdc-resident-mp-yushan/subpages/workTodo/pages/index/index.js +++ b/epdc-resident-mp-yushan/subpages/workTodo/pages/index/index.js @@ -66,7 +66,7 @@ Page({ }, goDetails(e) { wx.navigateTo({ - url: `/subpages/workTodo/pages/list/index?pid=${e.currentTarget.dataset.pid}`, + url: `/subpages/workTodo/pages/list/index?pid=${e.currentTarget.dataset.pid}&name=${e.currentTarget.dataset.name}`, }) }, toJoinVolunteerOrg() { diff --git a/epdc-resident-mp-yushan/subpages/workTodo/pages/index/index.wxml b/epdc-resident-mp-yushan/subpages/workTodo/pages/index/index.wxml index 8f03a9b..7092237 100644 --- a/epdc-resident-mp-yushan/subpages/workTodo/pages/index/index.wxml +++ b/epdc-resident-mp-yushan/subpages/workTodo/pages/index/index.wxml @@ -3,7 +3,8 @@ bindtap="goDetails" wx:key="index" wx:for="{{modulelist}}" - data-pid="{{item.id}}"> + data-pid="{{item.id}}" + data-name="{{item.name}}">