From afa97d5f4e0ed176a556d9fe04d4655e005e6991 Mon Sep 17 00:00:00 2001 From: yiming <m13691596795@163.com> Date: 星期四, 13 六月 2024 18:39:40 +0800 Subject: [PATCH] 数字课程 --- pages/digitalTextbooks/digitalTextbooksDetails/index.js | 39 ++++++++++++++++++++++----------------- 1 files changed, 22 insertions(+), 17 deletions(-) diff --git a/pages/digitalTextbooks/digitalTextbooksDetails/index.js b/pages/digitalTextbooks/digitalTextbooksDetails/index.js index 927748f..55b7beb 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() { -- Gitblit v1.9.1