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 |  110 +++++++++++++++++++++++++++++++++++++++++++++---------
 1 files changed, 91 insertions(+), 19 deletions(-)

diff --git a/packageBookService/pages/bookServices/detail/components/teachResource/index.wxml b/packageBookService/pages/bookServices/detail/components/teachResource/index.wxml
index 4bff572..f7ca042 100644
--- a/packageBookService/pages/bookServices/detail/components/teachResource/index.wxml
+++ b/packageBookService/pages/bookServices/detail/components/teachResource/index.wxml
@@ -1,35 +1,107 @@
-<view class="teach-btn" wx:if="{{false}}">
-  <t-button theme="primary" style="width: 120px; height: 36px" class="btn-upload" wx:if="{{false}}">
-    <t-image src="/static/images/bookService/detail/upload.png" style="margin-top: 20rpx"></t-image>
-    <text>涓婁紶璧勬簮</text>
+<view class="teach-btn">
+  <t-button
+    theme="primary"
+    class="btn"
+    bind:tap="uploadBtn"
+  >
+    <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 class="applyResult  {{applyState == 'none' ? 'applyNone' : applyState == 'Normal' ? 'applyPass' : applyState == 'WaitAudit' ? 'applying' :applyState == 'Reject' ? 'applyReject' :'' }}">
-  <view wx:if="{{applyState == 'WaitAudit'}}">璧勬簮涓嬭浇鐢宠姝e湪瀹℃牳涓紝璇疯�愬績绛夊緟锛�</view>
-  <view wx:if="{{applyState == 'Normal'}}">
+
+<view wx:if="{{dialogBox}}"> 
+  <view class="popup-box" bindtap="closeDialog"></view>
+  <view class="info-center" style="top:40%;">
     <view>
-      璧勬簮涓嬭浇鐢宠宸查�氳繃<text wx:if="{{deadline}}">锛屾湁鏁堟棩鏈熸埅鑷筹細{{ deadline }}</text></view>
-    <view style="display: flex; align-items: center; margin-top: 10rpx">
-      <text>涓嬭浇璧勬簮璇峰埌PC绔含甯堟櫤鏁�</text> <text bind:tap="copy" class="copy-text">澶嶅埗</text>
+      <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 wx:if="{{applyState == 'Reject'}}">璧勬簮涓嬭浇闇�瑕佺敵璇凤紝璇峰厛鐢宠骞剁瓑寰呭鏍搁�氳繃鍚庢柟鍙笅杞�</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
+  >
+  <view wx:if="{{applyState == 'Normal'}}">
+    <view>
+      璧勬簮涓嬭浇鐢宠宸查�氳繃<text wx:if="{{deadline}}"
+        >锛屾湁鏁堟棩鏈熸埅鑷筹細{{ deadline }}</text
+      ></view
+    >
+    <view style="display: flex; align-items: center; margin-top: 10rpx">
+      <text>涓嬭浇璧勬簮璇峰埌PC绔含甯堟櫤鏁�</text>
+      <text bind:tap="copy" class="copy-text">澶嶅埗</text>
+    </view>
+  </view>
+  <view wx:if="{{applyState == 'Reject'}}"
+    >璧勬簮涓嬭浇闇�瑕佺敵璇凤紝璇峰厛鐢宠骞剁瓑寰呭鏍搁�氳繃鍚庢柟鍙笅杞�</view
+  >
   <view wx:if="{{applyState == 'none'}}">
     璧勬簮涓嬭浇闇�瑕佺敵璇凤紝璇峰厛鐢宠骞剁瓑寰呭鏍搁�氳繃鍚庢柟鍙笅杞�
   </view>
   <view class="btn-box">
-    <t-button wx:if="{{applyState == 'Reject'}}" bind:tap="checkCause" style="height: 50rpx" class="rejectBtn" bind:tap="showDialog">鏌ョ湅鍘熷洜</t-button>
-    <t-button wx:if="{{applyState == 'none' || applyState == 'Reject'}}" theme="primary" bind:tap="applyResource" class="applyBtn" style="height: 50rpx">鐢宠</t-button>
+    <t-button
+      wx:if="{{applyState == 'Reject'}}"
+      bind:tap="checkCause"
+      style="height: 50rpx"
+      class="rejectBtn"
+      bind:tap="showDialog"
+      >鏌ョ湅鍘熷洜</t-button
+    >
+    <t-button
+      wx:if="{{applyState == 'none' || applyState == 'Reject'}}"
+      theme="primary"
+      bind:tap="applyResource"
+      class="applyBtn"
+      style="height: 50rpx"
+      >鐢宠</t-button
+    >
   </view>
 </view>
+<view class="noData" wx:else>
+  <empty />
+</view> -->
 <!-- 鏈�氳繃鍘熷洜 -->
-<t-dialog visible="{{showRejectDialog}}" title="鎻愮ず" confirm-btn="{{ confirmBtn }}" bind:confirm="closeDialog" class="notPassed">
+<t-dialog
+  visible="{{showRejectDialog}}"
+  title="鎻愮ず"
+  confirm-btn="{{ confirmBtn }}"
+  bind:confirm="closeDialog"
+  class="notPassed"
+>
   <view slot="content">
-    <text class="cause-title">璧勬簮涓嬭浇鐢宠鏈�氳繃锛岃В鍐抽棶棰樺悗鍙偣鍑烩�滅敵璇封�濇寜閽噸鏂版彁浜ょ敵璇�</text>
+    <text class="cause-title"
+      >璧勬簮涓嬭浇鐢宠鏈�氳繃锛岃В鍐抽棶棰樺悗鍙偣鍑烩�滅敵璇封�濇寜閽噸鏂版彁浜ょ敵璇�</text
+    >
     <view class="cause-content">鍘熷洜:{{ rejectCause || '-'}}</view>
   </view>
-</t-dialog>
\ No newline at end of file
+</t-dialog>

--
Gitblit v1.9.1