From d19d4d7523eaf8e0a0d00467681a55c0c49c2d3d Mon Sep 17 00:00:00 2001 From: yiming <m13691596795@163.com> Date: 星期三, 03 四月 2024 18:02:42 +0800 Subject: [PATCH] 书目 --- pages/bibliographyList/index.wxml | 21 ++++++++++++--------- 1 files changed, 12 insertions(+), 9 deletions(-) diff --git a/pages/bibliographyList/index.wxml b/pages/bibliographyList/index.wxml index af18f5a..a02fde7 100644 --- a/pages/bibliographyList/index.wxml +++ b/pages/bibliographyList/index.wxml @@ -68,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> @@ -93,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