From b70e26c7be40ad4ccb971f3bbc0fbcb32fe82df1 Mon Sep 17 00:00:00 2001 From: litian <C21AF165> Date: 星期三, 03 四月 2024 17:14:20 +0800 Subject: [PATCH] 学习 --- pages/bibliographyList/index.wxml | 24 ++++++++++++++---------- 1 files changed, 14 insertions(+), 10 deletions(-) diff --git a/pages/bibliographyList/index.wxml b/pages/bibliographyList/index.wxml index e55f940..af18f5a 100644 --- a/pages/bibliographyList/index.wxml +++ b/pages/bibliographyList/index.wxml @@ -39,20 +39,18 @@ </view> <view wx:else class="outsideHigherBox"> - <view class="higherBox" wx:for="{{higherList}}" wx:key="index" wx:for-item="item" wx:for-index="index" bind:tap="downloadData" data-item="{{item}}"> + <view class="higherBox" wx:for="{{higherList}}" wx:key="index" wx:for-item="item" wx:for-index="index"> <view class="outsideHigherImageBox"> - <image class="higherImageBox" src="{{item.icon}}" mode="" /> - <view class="downloadIcon" data-item="{{item}}"> - - <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> - - </view> <view wx:if="{{higherList.length > 0}}" class="bottom-box"> <t-loading theme="circular" size="40rpx" class="wrapper" wx:if="{{isMore == true}}" /> @@ -112,6 +110,12 @@ <text wx:if="{{isMore == false}}">娌℃湁鏇村浜�</text> </view> </t-tab-panel> - </t-tabs> +</view> +<view class="dialogBox"> + <t-dialog visible="{{showWithInput}}" title="璇疯緭鍏ラ偖绠�" confirm-btn="纭畾" cancel-btn="鍙栨秷" bind:confirm="onConfirm" bind:cancel="closeDialog"> + + <t-input model:value="{{input}}" borderless class="dialog-input" clearable slot="content" placeholder="璇疯緭鍏ラ偖绠卞彿" placeholder-class="placeholder" bindchange="onEmailInput" /> + + </t-dialog> </view> \ No newline at end of file -- Gitblit v1.9.1