From 9d5789148e866f95f86d975011a9ef39d534c807 Mon Sep 17 00:00:00 2001
From: 闫增涛 <1829501689@qq.com>
Date: 星期三, 17 七月 2024 17:37:19 +0800
Subject: [PATCH] 拼树结构优化

---
 pages/digitalCourses/digitalCoursesDetails/index.wxml |   21 ++++++++++++---------
 1 files changed, 12 insertions(+), 9 deletions(-)

diff --git a/pages/digitalCourses/digitalCoursesDetails/index.wxml b/pages/digitalCourses/digitalCoursesDetails/index.wxml
index 8ee6835..8768027 100644
--- a/pages/digitalCourses/digitalCoursesDetails/index.wxml
+++ b/pages/digitalCourses/digitalCoursesDetails/index.wxml
@@ -56,7 +56,8 @@
           <view class="course-content">
             <rich-text wx:if="{{digitalsData.content}}" nodes="{{digitalsData.content}}"></rich-text>
             <view wx:else="" class="noDataBox">
-              <t-empty icon="folder-open" description="鏆傛棤鏁版嵁" font-size="80" />
+              <!-- <t-empty icon="folder-open" description="鏆傛棤鏁版嵁" font-size="80" /> -->
+              <empty />
             </view>
           </view>
           <view class="rubricBox">
@@ -91,11 +92,11 @@
           </view>
           <view class="course-content">
             <view class="certificateChart">
-              <view class="chart">
-                <image src="" mode="" />
+              <view class="chart" bind:tap="onClick1">
+                <image src="/static/images/certificate/cbzs.jpg" mode="" />
               </view>
-              <view class="chart">
-                <image src="" mode="" />
+              <view class="chart" bind:tap="onClick2">
+                <image src="/static/images/certificate/rzzs.jpg" mode="" />
               </view>
             </view>
           </view>
@@ -108,11 +109,11 @@
             </view>
             <view class="list-box">
               <view wx:if="{{selectActive == 'learn'}}">
-                <tree id="test-tree" openIds="{{openTeachids}}" bookInfo="{{digitalsData}}" treeList="{{learnList}}" bind:goTest="goTest">
+                <tree id="test-tree" openIds="{{openTeachids}}" bookInfo="{{digitalsData}}" treeList="{{learnList}}">
                 </tree>
               </view>
               <view wx:if="{{selectActive == 'test'}}">
-                <testTree id="tree" openIds="{{openTeachids}}" bookInfo="{{digitalsData}}" tab="{{tab}}" treeList="{{testList}}" bind:goTest="goTest"></testTree>
+                <testTree id="tree" openIds="{{openTeachids}}" bookInfo="{{digitalsData}}" tab="{{tab}}" treeList="{{testList}}"></testTree>
               </view>
             </view>
           </view>
@@ -199,7 +200,7 @@
           <view class="dialog-title">瀛︿範璇佷功鐢宠</view>
           <view style="width: 100%; height: 2rpx; background-color: #F4F4F4;"></view>
           <view class="input-box">
-            <t-input class="input" borderless placeholder="璇疯緭鍏ョ湡瀹炲鍚�" value="{{input}}" bind:change="inputChange"></t-input>
+            <t-input class="input" borderless placeholder="璇疯緭鍏ョ湡瀹炲鍚�" value="{{userInfo.fullName}}" bind:change="onFullNameInput"></t-input>
           </view>
         </view>
         <view class="row-btn">
@@ -209,4 +210,6 @@
       </view>
     </view>
   </view>
-</view>
\ No newline at end of file
+</view>
+
+<t-image-viewer usingCustomNavbar deleteBtn="{{deleteBtn}}" closeBtn="{{closeBtn}}" showIndex="{{showIndex}}" visible="{{visible}}" images="{{images}}" bind:change="onChange" bind:close="onClose"></t-image-viewer>
\ No newline at end of file

--
Gitblit v1.9.1