From bbd3feaa30f2d980eb55c17f8cb492eae4372b5b Mon Sep 17 00:00:00 2001
From: yiming <m13691596795@163.com>
Date: 星期一, 17 六月 2024 17:27:12 +0800
Subject: [PATCH] 专题讨论

---
 pages/digitalCourses/index.wxml |   65 +++++++++++++++-----------------
 1 files changed, 30 insertions(+), 35 deletions(-)

diff --git a/pages/digitalCourses/index.wxml b/pages/digitalCourses/index.wxml
index 3222dd1..ce0b8d8 100644
--- a/pages/digitalCourses/index.wxml
+++ b/pages/digitalCourses/index.wxml
@@ -25,47 +25,42 @@
         </view>
       </view>
 
+      <scroll-view scroll-y="{{true}}" class="outsideContentBox" bindscrolltolower="onScrollToLower">
+        <view class="ExternalInformationBox">
+          <view class="informationBox" wx:for="{{courseList}}" wx:key="index" wx:for-item="item" data-item="{{item}}" bind:tap="courseDetail">
 
-      <view class="ExternalInformationBox">
-        <view class="informationBox" wx:for="{{courseList}}" wx:key="index" wx:for-item="item" data-item="{{item}}" bind:tap="courseDetail">
-
-          <view class="book-img">
-            <image src="{{item.icon}}" mode="aspectFit" />
-          </view>
-
-          <view class="book-name">
-            {{item.name}}
-          </view>
-          <view class="viewCount">
-            {{item.viewCount }}娆$偣鍑�
-
-          </view>
-          <view class="author">
-            <view>
-              {{ item.courseLeader}}
+            <view class="book-img">
+              <image src="{{item.icon}}" mode="aspectFit" />
             </view>
-            <view>
-              {{ item.classHours}}璇炬椂
+
+            <view class="book-name">
+              {{item.name}}
             </view>
-          </view>
-          <view class="money">
-            <view wx:if="{{item.price != 0}}">锟{item.price }}</view>
-            <view wx:else> 鍏嶈垂</view>
-            <view>
-              <t-icon name="cart" size="16" />
+            <view class="viewCount">
+              {{item.viewCount }}娆$偣鍑�
+
+            </view>
+            <view class="author">
+              <view>
+                {{ item.courseLeader}}
+              </view>
+              <view>
+                {{ item.classHours}}璇炬椂
+              </view>
+            </view>
+            <view class="money">
+              <view wx:if="{{item.price != 0}}">锟{item.price }}</view>
+              <view wx:else> 鍏嶈垂</view>
+              <view>
+                <t-icon name="cart" size="16" />
+              </view>
             </view>
           </view>
         </view>
-      </view>
-      <view wx:if="{{courseList.length <= 0}}" class="noDataBox">
-
-        <t-empty icon="folder-open" description="鏆傛棤鏁版嵁" font-size="80" />
-
-
-      </view>
-
+        <view wx:if="{{courseList.length <= 0}}" class="noDataBox">
+          <t-empty icon="folder-open" description="鏆傛棤鏁版嵁" font-size="80" />
+        </view>
+      </scroll-view>
     </view>
-
   </t-tab-panel>
-
 </t-tabs>
\ No newline at end of file

--
Gitblit v1.9.1