From abe52e53bee051e3f801d001c4de58d34a3fefd7 Mon Sep 17 00:00:00 2001
From: litian <C21AF165>
Date: 星期三, 23 十月 2024 09:54:09 +0800
Subject: [PATCH] wj

---
 packageBookService/pages/bookServices/detail/components/teachResource/index.wxml |   66 ++++++++++++++++++++++++---------
 1 files changed, 48 insertions(+), 18 deletions(-)

diff --git a/packageBookService/pages/bookServices/detail/components/teachResource/index.wxml b/packageBookService/pages/bookServices/detail/components/teachResource/index.wxml
index 2548bc6..f7ca042 100644
--- a/packageBookService/pages/bookServices/detail/components/teachResource/index.wxml
+++ b/packageBookService/pages/bookServices/detail/components/teachResource/index.wxml
@@ -1,23 +1,52 @@
-<view class="teach-btn" wx:if="{{false}}">
+<view class="teach-btn">
   <t-button
     theme="primary"
-    style="width: 120px; height: 36px"
-    class="btn-upload"
-    wx:if="{{false}}"
+    class="btn"
+    bind:tap="uploadBtn"
   >
-    <t-image
-      src="/static/images/bookService/detail/upload.png"
-      style="margin-top: 20rpx"
-    ></t-image>
-    <text>涓婁紶璧勬簮</text>
+    <view slot="content" class="btn-content">
+      <image
+        src="/static/images/bookService/detail/upload.png"
+        mode="aspectFit"
+      ></image>
+      <text>涓婁紶璧勬簮</text>
+    </view>
   </t-button>
-  <t-button theme="primary" style="width: 120px; height: 36px">
+  <!-- <t-button theme="primary" style="margin-left:20rpx" class="btn" bind:tap="mailbox">
+    <view slot="content" class="btn-content">
     <t-image src="/static/images/bookService/detail/download.png"></t-image>
-    鎵归噺涓嬭浇
-  </t-button>
+    <text>涓嬭浇鍒伴偖绠�</text>
+  </view>
+  </t-button> -->
 </view>
-<view
+
+<view wx:if="{{dialogBox}}"> 
+  <view class="popup-box" bindtap="closeDialog"></view>
+  <view class="info-center" style="top:40%;">
+    <view>
+      <view class="row-info">
+        <view class="body">
+          <view class="dialog-title">璇疯緭鍏ラ偖绠�</view>
+          <view class="input-box">
+            <t-input
+              class="input"
+              placeholder="璇疯緭鍏ラ偖绠卞彿"
+              value="{{input}}"
+              bind:change="inputChange"
+            ></t-input>
+          </view>
+        </view>
+        <view class="row-btn">
+          <view class="left-btn" bindtap="closeDialog">鍙栨秷</view>
+          <view class="right-btn" bindtap="confirmM">纭</view>
+        </view>
+      </view>
+    </view>
+  </view>
+</view>
+<!-- <view
   class="applyResult  {{applyState == 'none' ? 'applyNone' : applyState == 'Normal' ? 'applyPass' : applyState == 'WaitAudit' ? 'applying' :applyState == 'Reject' ? 'applyReject' :'' }}"
+  wx:if="{{treeList.length}}"
 >
   <view wx:if="{{applyState == 'WaitAudit'}}"
     >璧勬簮涓嬭浇鐢宠姝e湪瀹℃牳涓紝璇疯�愬績绛夊緟锛�</view
@@ -29,10 +58,8 @@
       ></view
     >
     <view style="display: flex; align-items: center; margin-top: 10rpx">
-      <text>涓嬭浇璧勬簮璇峰埌PC绔含甯圗璇�</text>
-      <t-button style="font-size: 24rpx; height: 50rpx" bind:tap="copy"
-        >澶嶅埗</t-button
-      >
+      <text>涓嬭浇璧勬簮璇峰埌PC绔含甯堟櫤鏁�</text>
+      <text bind:tap="copy" class="copy-text">澶嶅埗</text>
     </view>
   </view>
   <view wx:if="{{applyState == 'Reject'}}"
@@ -60,6 +87,9 @@
     >
   </view>
 </view>
+<view class="noData" wx:else>
+  <empty />
+</view> -->
 <!-- 鏈�氳繃鍘熷洜 -->
 <t-dialog
   visible="{{showRejectDialog}}"
@@ -72,6 +102,6 @@
     <text class="cause-title"
       >璧勬簮涓嬭浇鐢宠鏈�氳繃锛岃В鍐抽棶棰樺悗鍙偣鍑烩�滅敵璇封�濇寜閽噸鏂版彁浜ょ敵璇�</text
     >
-    <view class="cause-content">鍘熷洜:{{ rejectCause }}</view>
+    <view class="cause-content">鍘熷洜:{{ rejectCause || '-'}}</view>
   </view>
 </t-dialog>

--
Gitblit v1.9.1