From fba71ba1ae5030cb1a20f54f29fb06ad97060297 Mon Sep 17 00:00:00 2001 From: litian <C21AF165> Date: 星期五, 20 九月 2024 18:37:19 +0800 Subject: [PATCH] zs --- pages/digitalTextbooks/digitalTextbooksDetails/index.js | 17 +++++++++++------ 1 files changed, 11 insertions(+), 6 deletions(-) diff --git a/pages/digitalTextbooks/digitalTextbooksDetails/index.js b/pages/digitalTextbooks/digitalTextbooksDetails/index.js index acd91b7..d2eb58f 100644 --- a/pages/digitalTextbooks/digitalTextbooksDetails/index.js +++ b/pages/digitalTextbooks/digitalTextbooksDetails/index.js @@ -200,9 +200,8 @@ /** * 鐢ㄦ埛鐐瑰嚮鍙充笂瑙掑垎浜� */ - onShareAppMessage() { - - }, + onShareAppMessage() {}, + onShareTimeline() {}, digitalTextbooksDetailsGet(digitalId) { @@ -415,7 +414,7 @@ Toast({ context: this, selector: "#t-toast", - message: "璇ヤ功宸插湪璐墿杞︼紝璇峰嬁閲嶅娣诲姞", + message: "璇ユ暀鏉愬凡鍦ㄨ喘鐗╄溅锛岃鍕块噸澶嶆坊鍔�", theme: "warning", direction: "column", }); @@ -528,7 +527,6 @@ }, onTabClick(e) { - // debugger console.log(e); let tab = e.currentTarget.dataset.tab; @@ -839,6 +837,10 @@ }, confirmM() { + let currentDate = new Date() + let year = currentDate.getFullYear() + let month = currentDate.getMonth() + 1 + let day = currentDate.getDate() if (this.data.userInfo.fullName) { if (this.data.pictureMd5 == '') { wx.showToast({ @@ -856,8 +858,11 @@ author: this.data.digitalsData.author, ISBN: this.data.digitalsData.isbn, publicationDate: this.data.digitalsData.publicationDate, + publicationDate: this.data.digitalsData.publicationDate, + userName: this.data.userInfo.fullName, userPicture: this.data.pictureMd5, - certificate: this.data.rzzsImg + studyTime: this.data.digitalsData.beginDate + '-' + year + '-' + month + '-' + day, + website: this.data.website } data = { topicIdOrRefCode: 'applyTextbookCertificate', -- Gitblit v1.9.1