From db0fa2499fdd48f06723f155040a62dfdc5d25bd Mon Sep 17 00:00:00 2001 From: QYF-GitLab1 <1940665526@qq.com> Date: 星期四, 17 七月 2025 14:48:33 +0800 Subject: [PATCH] 专题活动 更多列表 提示 --- pages/specialDiscussion/index.js | 27 ++++++++++++++++++++++----- 1 files changed, 22 insertions(+), 5 deletions(-) diff --git a/pages/specialDiscussion/index.js b/pages/specialDiscussion/index.js index c46036b..00fdfd6 100644 --- a/pages/specialDiscussion/index.js +++ b/pages/specialDiscussion/index.js @@ -182,11 +182,28 @@ }); }, onLink(e) { - const item = e.currentTarget.dataset.item - console.log(item.jsek_link); - wx.navigateTo({ - url: '/pages/specialDiscussion/webView/index?link=' + item.jsek_link - }); + wx.showModal({ + title: '鎻愮ず', + content: '璇风Щ姝C绔煡鐪�', + showCancel: false, + confirmText: "鍏抽棴", + success: (res) => { + if (res.confirm) { + console.log('璇风Щ姝C绔煡鐪�') + } + } + }) + // const item = e.currentTarget.dataset.item + // // 缃戦〉绫诲瀷璺宠浆鍒扮綉鍧�澶嶅埗椤碉紝鍥犱负url浼犲弬涓嶈兘浼� 甯﹀弬鏁扮殑缃戠粶鍦板潃锛屾墍浠ユ澶勮鎶婄綉缁滃湴鍧�閲岀殑浼犲弬鎽樺嚭鏉ワ紝鏀惧埌url閲� + // let urlData = '' + // const flags = item.jsek_link.indexOf("?") + // if (flags > -1) { + // urlData = item.jsek_link.slice(flags + 1, item.jsek_link.length) + // } + // let url = '/packageBookService/pages/bookServices/linkPage/index' + // wx.navigateTo({ + // url: urlData ? url + `?path=${item.jsek_link.slice(0,flags)}` + '&' + urlData : url + `?path=${item.jsek_link}` + // }) }, async getCourseTypeListList() { const quer = { -- Gitblit v1.9.1