From 606018855ad2d5ad55f527b76e9652fdb58ed982 Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期一, 09 九月 2024 19:50:05 +0800 Subject: [PATCH] bug --- pages/digitalTextbooks/index.wxml | 66 +++++---------------------------- 1 files changed, 10 insertions(+), 56 deletions(-) diff --git a/pages/digitalTextbooks/index.wxml b/pages/digitalTextbooks/index.wxml index 4ae678c..81a7417 100644 --- a/pages/digitalTextbooks/index.wxml +++ b/pages/digitalTextbooks/index.wxml @@ -6,46 +6,20 @@ <view class="nacigationBar" style="width: 70%; height: {{navBarHeight}}px;"> <view class="back-icon"> <!-- <t-icon name="chevron-left" size="30" data-name="{{item}}" bind:click="goBack" /> --> - <image - src="/static/images/digitalTextbooks/chevron-left.png" - bind:tap="goBack" - mode="aspectFit" - /> + <image src="/static/images/digitalTextbooks/chevron-left.png" bind:tap="goBack" mode="aspectFit" /> </view> - <t-search - model:value="{{searchValue}}" - shape="round" - placeholder="璇疯緭鍏ユ暀鏉愬悕绉�/ISBN/浣滆��" - class="navBar-search" - style="width: 464rpx" - bind:submit="searchBook" - /> + <t-search model:value="{{searchValue}}" shape="round" placeholder="璇疯緭鍏ユ暀鏉愬悕绉�/ISBN/浣滆��" class="navBar-search" style="width: 464rpx" bind:submit="searchBook" /> </view> <view class="heardTab"> <view class="tabBox"> - <t-tabs - defaultValue="{{0}}" - bind:change="selectTab" - t-class="custom-tabs" - > - <t-tab-panel - wx:for="{{tabList}}" - wx:key="index" - wx:for-item="item" - label="{{item.name}}" - value="{{index}}" - style="{{tabPanelstyle}}" - > + <t-tabs defaultValue="{{0}}" bind:change="selectTab" t-class="custom-tabs"> + <t-tab-panel wx:for="{{tabList}}" wx:key="index" wx:for-item="item" label="{{item.name}}" value="{{index}}" style="{{tabPanelstyle}}"> </t-tab-panel> </t-tabs> </view> <view class="dropdown"> <t-dropdown-menu> - <t-dropdown-item - options="{{sorter.options}}" - default-value="{{sorter.value}}" - bindchange="onSort" - /> + <t-dropdown-item options="{{sorter.options}}" default-value="{{sorter.value}}" bindchange="onSort" /> </t-dropdown-menu> </view> </view> @@ -57,35 +31,15 @@ <view>鏁板瓧鏁欐潗鍒楄〃</view> </view> </view> - <scroll-view - scroll-y="{{true}}" - class="outsideContentBox" - bindscrolltolower="onScrollToLower" - > + <scroll-view scroll-y="{{true}}" class="outsideContentBox" bindscrolltolower="onScrollToLower"> <view class="bookContentBox"> - <view - class="external" - wx:for="{{digitalTextbooksData}}" - wx:key="index" - wx:for-item="item" - wx:for-index="index" - data-item="{{item}}" - bind:tap="jumpDetails" - > + <view class="external" wx:for="{{digitalTextbooksData}}" wx:key="index" wx:for-item="item" wx:for-index="index" data-item="{{item}}" bind:tap="jumpDetails"> <view class="amountClick"> - <t-icon - name="browse" - size="15" - data-name="{{item}}" - bind:click="goBack" - /> + <t-icon name="browse" size="15" data-name="{{item}}" bind:click="goBack" /> <view style="margin-left: 5rpx">{{item.viewCount}}</view> </view> <view class="imageBox"> - <image - src="{{item.icon ? item.icon : '/static/images/default-book-img.png'}}" - mode="" - /> + <image src="{{item.icon ? item.icon : '/static/images/digitalTextbooks/textBookIcon.png'}}" mode="" /> </view> <view class="bookName">{{item.name}}</view> <view class="information"> @@ -105,4 +59,4 @@ </view> </scroll-view> </view> -</view> +</view> \ No newline at end of file -- Gitblit v1.9.1