From d7e794685c439cb820259813b5e826a0ea218914 Mon Sep 17 00:00:00 2001
From: 闫增涛 <1829501689@qq.com>
Date: 星期四, 19 九月 2024 16:45:40 +0800
Subject: [PATCH] bug修改

---
 pages/digitalCourses/digitalCoursesDetails/components/question/question.wxml |   77 ++++++++++++++++++++++++++++++++------
 1 files changed, 65 insertions(+), 12 deletions(-)

diff --git a/pages/digitalCourses/digitalCoursesDetails/components/question/question.wxml b/pages/digitalCourses/digitalCoursesDetails/components/question/question.wxml
index 2bed43b..4740712 100644
--- a/pages/digitalCourses/digitalCoursesDetails/components/question/question.wxml
+++ b/pages/digitalCourses/digitalCoursesDetails/components/question/question.wxml
@@ -1,7 +1,12 @@
 <view class="note">
   <view class="note-btn">
     <view>鍏眥{pageCount.total}}涓�</view>
-    <t-button theme="primary" class="make-note" bind:tap="openDialog" style="width: 240rpx">
+    <t-button
+      theme="primary"
+      class="make-note"
+      bind:tap="openDialog"
+      style="width: 240rpx"
+    >
       <view slot="content" class="btn-content">
         <image src="/static/images/digitalCourses/bianji.png" />
         <text class="note-btn-text">鎻愰棶</text>
@@ -9,8 +14,17 @@
     </t-button>
   </view>
   <view class="note-content">
-    <t-collapse value="{{activeValues}}" bind:change="handleChange" wx:if="{{!loading && onlineQuestionsList.length}}">
-      <t-collapse-panel value="{{item.id}}" expandIcon wx:for="{{onlineQuestionsList}}" wx:key="id">
+    <t-collapse
+      value="{{activeValues}}"
+      bind:change="handleChange"
+      wx:if="{{!loading && onlineQuestionsList.length}}"
+    >
+      <t-collapse-panel
+        value="{{item.id}}"
+        expandIcon
+        wx:for="{{onlineQuestionsList}}"
+        wx:key="id"
+      >
         <view slot="header" class="collapse-header">
           <view class="note-icon"></view>
           <view class="header-name">{{item.title}}</view>
@@ -24,7 +38,6 @@
       </t-collapse-panel>
     </t-collapse>
     <view wx:if="{{noList}}" class="noData">
-      <!-- <t-empty icon="folder-open" description="鏆傛棤鏁版嵁" /> -->
       <empty />
     </view>
   </view>
@@ -34,33 +47,73 @@
   </view>
 </view>
 <view class="loading-box" wx:if="{{loading}}">
-  <t-skeleton row-col="{{[1,1,1,1,1,1]}}" theme="paragraph" animation="gradient" loading="{{loading}}"></t-skeleton>
+  <t-skeleton
+    row-col="{{[1,1,1,1,1,1]}}"
+    theme="paragraph"
+    animation="gradient"
+    loading="{{loading}}"
+  ></t-skeleton>
 </view>
 
 <!-- 璁扮瑪璁板脊绐� -->
-<t-popup visible="{{showNoteDialog}}" bind:visible-change="onVisibleChange" placement="center">
+<t-popup
+  visible="{{showNoteDialog}}"
+  bind:visible-change="onVisibleChange"
+  placement="center"
+>
   <view class="popup">
     <view class="from-item">
       <view class="label"><text class="icon">*</text> 鑱旂郴浜猴細 </view>
       <view class="item-content">
-        <t-input placeholder="璇疯緭鍏ヨ仈绯讳汉" borderless value="{{userName}}" bindchange="bindTnputBlur" style="{{inputStyle}}" />
+        <t-input
+          placeholder="璇疯緭鍏ヨ仈绯讳汉"
+          borderless
+          value="{{userName}}"
+          bindchange="bindTnputBlur"
+          style="{{inputStyle}}"
+        />
       </view>
     </view>
     <view class="from-item">
       <view class="label"> <text class="icon">*</text>鑱旂郴鏂瑰紡锛� </view>
       <view class="item-content">
-        <t-input placeholder="杈撳叆鑱旂郴鏂瑰紡" borderless value="{{mannder}}" type="number" tips="{{phoneError ? '鎵嬫満鍙疯緭鍏ヤ笉姝g‘' : ''}}" bindchange="onPhoneInput" style="{{inputStyle}}" />
+        <t-input
+          placeholder="杈撳叆鑱旂郴鏂瑰紡"
+          borderless
+          value="{{mannder}}"
+          type="number"
+          tips="{{phoneError ? '鎵嬫満鍙疯緭鍏ヤ笉姝g‘' : ''}}"
+          bindchange="onPhoneInput"
+          style="{{inputStyle}}"
+        />
       </view>
     </view>
     <view class="from-item">
       <view class="label"> <text class="icon">*</text>鍙嶉鍐呭锛� </view>
       <view class="item-content">
-        <t-textarea placeholder="璇疯緭鍏ュ弽棣堝唴瀹�" value="{{content}}" disableDefaultPadding="{{true}}" autosize="{{true}}" maxlength="300" indicator bindchange="bindTextAreaBlur" style="{{inputStyle}}" />
+        <t-textarea
+          placeholder="璇疯緭鍏ュ弽棣堝唴瀹�"
+          value="{{content}}"
+          disableDefaultPadding="{{true}}"
+          autosize="{{true}}"
+          maxlength="300"
+          indicator
+          bindchange="bindTextAreaBlur"
+          style="{{inputStyle}}"
+        />
       </view>
     </view>
     <view class="submit-btn">
-      <t-button theme="primary" size="large" block bind:tap="confirmSuggest">鎻愪氦</t-button>
+      <t-button theme="primary" size="large" block bind:tap="confirmSuggest"
+        >鎻愪氦</t-button
+      >
     </view>
   </view>
-  <t-icon t-class="close-btn" name="close-circle" size="32" color="#fff" bind:tap="closeDialog" />
-</t-popup>
\ No newline at end of file
+  <t-icon
+    t-class="close-btn"
+    name="close-circle"
+    size="32"
+    color="#fff"
+    bind:tap="closeDialog"
+  />
+</t-popup>

--
Gitblit v1.9.1