From f5932f85898de7284c9f16d314b4a1c572b31c73 Mon Sep 17 00:00:00 2001 From: yiming <m13691596795@163.com> Date: 星期五, 21 六月 2024 11:51:16 +0800 Subject: [PATCH] 视频 --- pages/digitalTextbooks/digitalTextbooksDetails/index.js | 57 +++++++++++++++++++++++++++++++++++---------------------- 1 files changed, 35 insertions(+), 22 deletions(-) diff --git a/pages/digitalTextbooks/digitalTextbooksDetails/index.js b/pages/digitalTextbooks/digitalTextbooksDetails/index.js index 927748f..ba85f02 100644 --- a/pages/digitalTextbooks/digitalTextbooksDetails/index.js +++ b/pages/digitalTextbooks/digitalTextbooksDetails/index.js @@ -28,7 +28,7 @@ name: "/static/images/digitalTextbooks/jibenxinxi-t@2x.png", }, briefIconClick: { - name: "/static/images/digitalTextbooks/jibenxinxi @2x.png", + name: "/static/images/digitalTextbooks/jibenxinxi-t-click@3x.png", }, eBookIcon: { name: "/static/images/digitalTextbooks/zuozhejianjie-t@2x.png", @@ -40,26 +40,26 @@ name: "/static/images/digitalTextbooks/zuozhejianjie-t@2x.png", }, teachResourcesClickIcon: { - name: "/static/images/digitalTextbooks/zuozhejianjie@2x.png", + name: "/static/images/digitalTextbooks/zuozhejianjie-t-click@3x.png", }, learnResourceIcon: { name: "/static/images/digitalTextbooks/shengshu-t@2x.png", }, learnResourceClickIcon: { - name: "/static/images/digitalTextbooks/zhengshu@2x.png", + name: "/static/images/digitalTextbooks/zhengshu-t-click@3x.png", }, testResourceIocn: { - name: "/static/images/digitalTextbooks/link-t@2x.png", + name: "/static/images/digitalTextbooks/link-t@3x.png", }, testResourceClickIocn: { - name: "/static/images/digitalTextbooks/Link@2x.png", + name: "/static/images/digitalTextbooks/link-t-click@3x.png", }, catalogue: { - name: "/static/images/digitalTextbooks/mulu@2x.png", + name: "/static/images/digitalTextbooks/mulu-t@3x.png", }, catalogueClickIcon: { - name: "/static/images/digitalTextbooks/mulu@2x.png", + name: "/static/images/digitalTextbooks/mulu-t-click@3x.png", }, }, @@ -68,17 +68,11 @@ * 鐢熷懡鍛ㄦ湡鍑芥暟--鐩戝惉椤甸潰鍔犺浇 */ onLoad(options) { - console.log(options.id); + console.log(options); this.setData({ digitalTextId: options.id }) this.digitalTextbooksDetailsGet(this.data.digitalTextId) - - - - - - }, // 鏍煎紡鍖栨棩鏈� // 鏍煎紡鍖栨棩鏈� @@ -254,6 +248,7 @@ }); // this.onCe() + }) }, @@ -323,12 +318,22 @@ }, onCorrelationBook(e) { - - const item = e.currentTarget.dataset.item console.log(item); - this.digitalTextbooksDetailsGet(item.id) + // const event = { + // detail: { + // value: "brief" + // } + // } + // this.onTabsChange(event) + // this.digitalTextbooksDetailsGet(item.id) + this.onLoad({ + id: item.id + }) + + + }, // 鍥句功娣诲姞璐墿杞� async addBookShopcCar() { @@ -632,12 +637,20 @@ }) } } + }, + // 鎴戣寤鸿 + suggestBtn() { + // 妫�鏌ョ櫥褰曠姸鎬� + const token = wx.getStorageSync(app.config.tokenKey); + console.log(465); - - - - - } + const child = this.selectComponent("#suggest-component"); + // if (token) + // // child.showDialog(); + // this.setData({ + // showIndex: '1' + // }) + }, }) \ No newline at end of file -- Gitblit v1.9.1