From 9f1e740e07085a7fc74defe5d63bcc4818aab69e Mon Sep 17 00:00:00 2001 From: yiming <m13691596795@163.com> Date: 星期四, 29 二月 2024 18:49:37 +0800 Subject: [PATCH] zhang --- pages/bibliographyList/index.wxml | 39 ++++++++++++++++++++++++++++++++++++--- 1 files changed, 36 insertions(+), 3 deletions(-) diff --git a/pages/bibliographyList/index.wxml b/pages/bibliographyList/index.wxml index 18f91df..f837d93 100644 --- a/pages/bibliographyList/index.wxml +++ b/pages/bibliographyList/index.wxml @@ -1,12 +1,41 @@ <!--pages/bibliographyList/index.wxml--> +<view class="example-search"> + <t-search model:value="{{value}}" placeholder="鎼滅储棰勮鏂囨" bind:submit="onSearchSubmit" /> +</view> + + + + +<!--鐘舵�佹爮楂樺害 --> +<!-- <view style="width: 100%; height:{{BarHeight}}px;"></view> +<view style="width: 70%; height:{{navBarHeight}}px;"> + <view style="position: relative; padding-top: 10rpx;"> + <view class="iconfont icon-sousuo search_icones"></view> + <input class="nav_input" model:value="{{ name }}" placeholder-class="placeholder_class" maxlength="30" bindfocus="bindfocus" bindconfirm="doSearch" placeholder="杈撳叆鍏呯數绔�" /> + </view> +</view> --> + + + + + + + + + + <t-tabs 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="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> </view> <view class="higherTextBox">{{item.name}}</view> @@ -20,10 +49,10 @@ <view class="higherBox" wx:for="{{vocationalList}}" wx:key="index" wx:for-item="item" wx:for-index="index"> <view class="outsideHigherImageBox"> <image class="higherImageBox" src="{{item.icon}}" mode="" /> - <view class="downloadIcon"> + <view class="downloadIcon" bind:tap="downloadData" data-item="{{item}}"> - <image class="download" src="/static/images/bibliographyList/download.png" mode="" /> - <image class="downloadshiftin" src="/static/images/bibliographyList/downloadshiftin.png" mode="" /> + <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> </view> @@ -39,7 +68,11 @@ <view class="higherBox" wx:for="{{teacherList}}" wx:key="index" wx:for-item="item" wx:for-index="index"> <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> </view> <view class="higherTextBox">{{item.name}}</view> -- Gitblit v1.9.1