From b0e2bf29dd96e7100f06b27997a6d4c6c3630374 Mon Sep 17 00:00:00 2001
From: litian <C21AF165>
Date: 星期一, 02 九月 2024 20:16:44 +0800
Subject: [PATCH] ceshi

---
 pages/digitalCourses/digitalCoursesDetails/index.wxml |   39 ++++++++++++++++++++++++++++++++++-----
 1 files changed, 34 insertions(+), 5 deletions(-)

diff --git a/pages/digitalCourses/digitalCoursesDetails/index.wxml b/pages/digitalCourses/digitalCoursesDetails/index.wxml
index 725c141..0952578 100644
--- a/pages/digitalCourses/digitalCoursesDetails/index.wxml
+++ b/pages/digitalCourses/digitalCoursesDetails/index.wxml
@@ -94,15 +94,16 @@
           <view class="course-content">
             <view class="certificateChart">
               <view class="chart" bind:tap="onClick1">
-                <image src="/static/images/certificate/szkc.jpg" mode="" />
+                <image src="https://jsek.bnuic.com/home/certificate/szkc.jpg" mode="" />
               </view>
               <view class="chart" bind:tap="onClick2">
-                <image src="/static/images/certificate/kczs.jpg" mode="" />
+                <image src="https://jsek.bnuic.com/home/certificate/kczs.jpg" mode="" />
               </view>
             </view>
           </view>
-          <!-- <view id="pubCertificate" wx:if="pubCertificateHide">
-            <image src="/static/images/certificate/szkc.jpg" mode="" class="bgImg" />
+          <canvas canvas-id="share"></canvas>
+          <view id="pubCertificate" wx:if="pubCertificateHide">
+            <image src="https://jsek.bnuic.com/home/certificate/szkc.jpg" mode="" class="bgImg" />
             <view class="certificateInfo">
               <view class="bookName">{{digitalsData.name}}</view>
               <view class="author">{{digitalsData.courseLeader || '-' }}</view>
@@ -113,7 +114,7 @@
               <view class="website">{{website}}</view>
               <view class="codeBox"></view>
             </view>
-          </view> -->
+          </view>
         </t-tab-panel>
         <t-tab-panel icon="{{ tabValue == '2' ? courseLearningClick : courseLearning}}" label="璇剧▼瀛︿範" value="2">
           <view class="course-content">
@@ -123,10 +124,38 @@
             </view>
             <view class="list-box">
               <view wx:if="{{selectActive == 'learn'}}">
+                <view wx:if="{{relationTextBook}}" class="textBook">
+                  <view class="textTile">
+                    <image src="/static/images/bookService/detail/shuzijiaocai.png" mode="" class="leftImg" />
+                    <view>鏁板瓧鏁欐潗</view>
+                  </view>
+                  <view class="reabtn" bind:tap="readTextBook">
+                    <image src="/static/images/digitalCourses/shidu@2x.png" class="readImage"></image>
+                    <view>{{isTextBookBuy ? '闃呰' : '璇曠湅'}}</view>
+                  </view>
+                </view>
                 <tree id="test-tree" openIds="{{openTeachids}}" bookInfo="{{digitalsData}}" treeList="{{learnList}}">
                 </tree>
               </view>
               <view wx:if="{{selectActive == 'test'}}">
+                <view class="testBtnBox">
+                  <view class="textTile">鍏眥{}}涓�</view>
+                  <view class="note-btn">
+                    <t-button theme="primary" class="make-note" bind:tap="goMycollect" data-answerType="errorQuestion" style="width: 220rpx">
+                      <view slot="content" class="btn-content">
+                        <image src="/static/images/bookService/detail/cuoti.png" />
+                        <text class="note-btn-text">鎴戠殑閿欓</text>
+                      </view>
+                    </t-button>
+                    <t-button theme="primary" class="make-note" bind:tap="goMycollect" data-answerType="collectQuestion" style="width: 220rpx;margin-left:10rpx;">
+                      <view slot="content" class="btn-content">
+                        <image src="/static/images/bookService/detail/wodeshoucang.png" />
+                        <text class="note-btn-text">鎴戠殑鏀惰棌</text>
+                      </view>
+                    </t-button>
+
+                  </view>
+                </view>
                 <testTree id="tree" openIds="{{openTeachids}}" bookInfo="{{digitalsData}}" tab="{{tab}}" treeList="{{testList}}"></testTree>
               </view>
             </view>

--
Gitblit v1.9.1