From f52c21331fa71bd3ae6be41117f35cb54b076119 Mon Sep 17 00:00:00 2001
From: 闫增涛 <1829501689@qq.com>
Date: 星期三, 03 四月 2024 19:34:01 +0800
Subject: [PATCH] 添加复制功能

---
 pages/bibliographyList/index.wxml |   26 ++++++++++++++------------
 1 files changed, 14 insertions(+), 12 deletions(-)

diff --git a/pages/bibliographyList/index.wxml b/pages/bibliographyList/index.wxml
index 07af9b7..a02fde7 100644
--- a/pages/bibliographyList/index.wxml
+++ b/pages/bibliographyList/index.wxml
@@ -41,14 +41,13 @@
       <view wx:else class="outsideHigherBox">
         <view class="higherBox" wx:for="{{higherList}}" wx:key="index" wx:for-item="item" wx:for-index="index">
           <view class="outsideHigherImageBox">
-            <view class="higherImageBox" bind:tap="downloadData" data-item="{{item}}">
-              <image src="{{item.icon}}" mode="aspectFill" />
+            <view class="higherImageBox">
+              <image data-item="{{item}}" bind:tap="downloadData" src="{{item.icon}}" mode="aspectFill" />
               <view class="downloadIcon" data-item="{{item}}" data-key="showWithInput" bind:tap="mailbox">
                 <image wx:if="{{determine}}" class="download" src="/static/images/bibliographyList/email-click.png" mode="aspectFit" />
                 <image wx:else="" class="downloadshiftin" src="/static/images/bibliographyList/email.png" mode="aspectFit" />
               </view>
             </view>
-
           </view>
           <view class="higherTextBox">{{item.name}}</view>
         </view>
@@ -69,10 +68,12 @@
       <view wx:else class="outsideHigherBox">
         <view class="higherBox" wx:for="{{vocationalList}}" wx:key="index" wx:for-item="item" wx:for-index="index" bind:tap="downloadData" data-item="{{item}}">
           <view class="outsideHigherImageBox">
-            <image class="higherImageBox" src="{{item.icon}}" mode="" />
-            <view class="downloadIcon">
-              <image wx:if="{{determine}}" class="download" src="/static/images/bibliographyList/email-click.png" mode="" />
-              <image wx:else="" class="downloadshiftin" src="/static/images/bibliographyList/email.png" mode="" />
+            <view class="higherImageBox">
+              <image data-item="{{item}}" bind:tap="downloadData" src="{{item.icon}}" mode="aspectFill" />
+              <view class="downloadIcon" data-item="{{item}}" data-key="showWithInput" bind:tap="mailbox">
+                <image wx:if="{{determine}}" class="download" src="/static/images/bibliographyList/email-click.png" mode="aspectFit" />
+                <image wx:else="" class="downloadshiftin" src="/static/images/bibliographyList/email.png" mode="aspectFit" />
+              </view>
             </view>
           </view>
 
@@ -94,13 +95,14 @@
       <view wx:else class="outsideHigherBox">
         <view class="higherBox" wx:for="{{teacherList}}" wx:key="index" wx:for-item="item" wx:for-index="index" data-item="{{item}}" bind:tap="downloadData">
           <view class="outsideHigherImageBox">
-            <image class="higherImageBox" src="{{item.icon}}" mode="" />
-            <view class="downloadIcon">
-              <image wx:if="{{determine}}" class="download" src="/static/images/bibliographyList/email-click.png" mode="" />
-              <image wx:else="" class="downloadshiftin" src="/static/images/bibliographyList/email.png" mode="" />
+            <view class="higherImageBox">
+              <image data-item="{{item}}" bind:tap="downloadData" src="{{item.icon}}" mode="aspectFill" />
+              <view class="downloadIcon" data-item="{{item}}" data-key="showWithInput" bind:tap="mailbox">
+                <image wx:if="{{determine}}" class="download" src="/static/images/bibliographyList/email-click.png" mode="aspectFit" />
+                <image wx:else="" class="downloadshiftin" src="/static/images/bibliographyList/email.png" mode="aspectFit" />
+              </view>
             </view>
           </view>
-
           <view class="higherTextBox">{{item.name}}</view>
         </view>
 

--
Gitblit v1.9.1