From feead902a64345472895b9d4d9a335574ab728ad Mon Sep 17 00:00:00 2001 From: yiming <m13691596795@163.com> Date: 星期三, 27 三月 2024 09:43:36 +0800 Subject: [PATCH] 书展bug --- pages/bibliographyList/index.wxml | 153 +++++++++++++++++++++++---------------------------- 1 files changed, 69 insertions(+), 84 deletions(-) diff --git a/pages/bibliographyList/index.wxml b/pages/bibliographyList/index.wxml index 83c7d6b..02c8e0d 100644 --- a/pages/bibliographyList/index.wxml +++ b/pages/bibliographyList/index.wxml @@ -1,101 +1,86 @@ <!--pages/bibliographyList/index.wxml--> +<view class="bibliographyListBox"> + <view class="titleBox"> + <view style="width: 100%; height: {{barHeight}}px; "></view> + <view class="nacigationBar" style="width: 70%; height: {{navBarHeight}}px;"> + <view> + <t-icon name="chevron-left" size="30" data-name="{{item}}" bind:click="goBack" /> + </view> - -<view style="width: 100%; height: {{barHeight}}px; "></view> -<view class="nacigationBar" style="width: 70%; height: {{navBarHeight}}px;"> - <view> - <t-icon name="chevron-left" size="30" data-name="{{item}}" bind:click="goBack" /> - </view> - - <view class="example-search"> - <t-search model:value="{{value}}" placeholder="璇疯緭鍏ヤ功鐩悕绉�" bind:submit="onSearchSubmit" /> - </view> - -</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> + <view class="example-search"> + <t-search model:value="{{value}}" placeholder="璇疯緭鍏ヤ功鐩悕绉�" bind:submit="onSearchSubmit" /> </view> </view> - <view class="bottom-box"> - <t-loading theme="circular" size="40rpx" class="wrapper" wx:if="{{isMore == true}}" /> - <text wx:if="{{isMore == false}}">娌℃湁鏇村浜�</text> - </view> - </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="outsideHigherImageBox"> - <image class="higherImageBox" src="{{item.icon}}" mode="" /> - <view class="downloadIcon" bind:tap="downloadData" data-item="{{item}}"> + </view> - <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="" /> + + + <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="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> </view> - <view class="higherTextBox">{{item.name}}</view> </view> + <view class="bottom-box"> + <t-loading theme="circular" size="40rpx" class="wrapper" wx:if="{{isMore == true}}" /> + <text wx:if="{{isMore == false}}">娌℃湁鏇村浜�</text> + </view> + </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="outsideHigherImageBox"> + <image class="higherImageBox" src="{{item.icon}}" mode="" /> + <view class="downloadIcon" bind:tap="downloadData" data-item="{{item}}"> - </view> - <view class="bottom-box"> - <t-loading theme="circular" size="40rpx" class="wrapper" wx:if="{{isMore == true}}" /> - <text wx:if="{{isMore == false}}">娌℃湁鏇村浜�</text> - </view> - - </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="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="" /> + <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> </view> - <view class="higherTextBox">{{item.name}}</view> + </view> + <view class="bottom-box"> + <t-loading theme="circular" size="40rpx" class="wrapper" wx:if="{{isMore == true}}" /> + <text wx:if="{{isMore == false}}">娌℃湁鏇村浜�</text> </view> - </view> - <view class="bottom-box"> - <t-loading theme="circular" size="40rpx" class="wrapper" wx:if="{{isMore == true}}" /> - <text wx:if="{{isMore == false}}">娌℃湁鏇村浜�</text> - </view> - </t-tab-panel> + </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="outsideHigherImageBox"> + <image class="higherImageBox" src="{{item.icon}}" mode="" /> + <view class="downloadIcon" bind:tap="downloadData" data-item="{{item}}"> -</t-tabs> \ No newline at end of file + <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> + </view> + + </view> + <view class="bottom-box"> + <t-loading theme="circular" size="40rpx" class="wrapper" wx:if="{{isMore == true}}" /> + <text wx:if="{{isMore == false}}">娌℃湁鏇村浜�</text> + </view> + </t-tab-panel> + + </t-tabs> +</view> \ No newline at end of file -- Gitblit v1.9.1