From 3963ae3ae3ebc2908905bb1409799d7b883a802f Mon Sep 17 00:00:00 2001 From: yiming <m13691596795@163.com> Date: 星期三, 27 三月 2024 10:59:54 +0800 Subject: [PATCH] 书目bug --- pages/bibliographyList/index.wxml | 31 +++++++++++++++++-------------- 1 files changed, 17 insertions(+), 14 deletions(-) diff --git a/pages/bibliographyList/index.wxml b/pages/bibliographyList/index.wxml index 02c8e0d..8355c4b 100644 --- a/pages/bibliographyList/index.wxml +++ b/pages/bibliographyList/index.wxml @@ -1,4 +1,8 @@ <!--pages/bibliographyList/index.wxml--> +<view wx:if="{{downloadLoadin}}" class="loadinBox"> + <t-loading class="colors" theme="circular" size="70rpx" class="wrapper" /> + +</view> <view class="bibliographyListBox"> <view class="titleBox"> <view style="width: 100%; height: {{barHeight}}px; "></view> @@ -19,13 +23,13 @@ <t-tabs class="contentBox" defaultValue="{{0}}" bind:change="onTabsChange" bind:click="onTabsClick" t-class="custom-tabs" t-class-content="custom-panel"> <t-tab-panel label="楂樼瓑鏁欒偛({{higherTotal}})" value="0"> <view class="outsideHigherBox"> - <view class="higherBox" wx:for="{{higherList}}" wx:key="index" wx:for-item="item" wx:for-index="index"> + <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="outsideHigherImageBox"> <image class="higherImageBox" src="{{item.icon}}" mode="" /> - <view class="downloadIcon" bind:tap="downloadData" data-item="{{item}}"> + <view class="downloadIcon" data-item="{{item}}"> - <image wx:if="{{determine}}" class="download" src="/static/images/bibliographyList/downloadshiftin.png" mode="" /> - <image wx:else="" class="downloadshiftin" src="/static/images/bibliographyList/download.png" mode="" /> + <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> </view> @@ -40,13 +44,12 @@ </t-tab-panel> <t-tab-panel label="鑱屼笟鏁欒偛({{vocationalTotal}})" value="1"> <view class="outsideHigherBox"> - <view class="higherBox" wx:for="{{vocationalList}}" wx:key="index" wx:for-item="item" wx:for-index="index"> + <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" bind:tap="downloadData" data-item="{{item}}"> - - <image wx:if="{{determine}}" class="download" src="/static/images/bibliographyList/downloadshiftin.png" mode="" /> - <image wx:else="" class="downloadshiftin" src="/static/images/bibliographyList/download.png" 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> </view> @@ -62,13 +65,12 @@ </t-tab-panel> <t-tab-panel label="鏁欏笀鏁欒偛({{teacherTotal}})" value="2"> <view class="outsideHigherBox"> - <view class="higherBox" wx:for="{{teacherList}}" wx:key="index" wx:for-item="item" wx:for-index="index"> + <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" bind:tap="downloadData" data-item="{{item}}"> - - <image wx:if="{{determine}}" class="download" src="/static/images/bibliographyList/downloadshiftin.png" mode="" /> - <image wx:else="" class="downloadshiftin" src="/static/images/bibliographyList/download.png" 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> </view> @@ -80,6 +82,7 @@ <t-loading theme="circular" size="40rpx" class="wrapper" wx:if="{{isMore == true}}" /> <text wx:if="{{isMore == false}}">娌℃湁鏇村浜�</text> </view> + </t-tab-panel> </t-tabs> -- Gitblit v1.9.1