From a9bd2df4da1cf7b198db7bf2d67ce8adbbe89b32 Mon Sep 17 00:00:00 2001 From: yiming <m13691596795@163.com> Date: 星期四, 11 四月 2024 22:00:27 +0800 Subject: [PATCH] 音频播放bug --- pages/bookExhibitionList/index.wxml | 110 ++++++++++++++++++++++++++++++------------------------- 1 files changed, 60 insertions(+), 50 deletions(-) diff --git a/pages/bookExhibitionList/index.wxml b/pages/bookExhibitionList/index.wxml index 98383a3..283d5bf 100644 --- a/pages/bookExhibitionList/index.wxml +++ b/pages/bookExhibitionList/index.wxml @@ -1,34 +1,41 @@ <!--pages/bookExhibitionList/index.wxml--> <!-- 寮瑰嚭妗� 绂佹 --> -<t-toast id="t-toast" /> -<view class="outsideBigTitleBox"> - <view class="bigTitleBox"> - <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" /> +<import src="index.skeleton.wxml" /> +<template is="skeleton" wx:if="{{loading}}" /> + +<view hidden="{{hidden}}"> + + <t-toast id="t-toast" /> + + + <view class="outsideBigTitleBox"> + <view class="bigTitleBox"> + <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> - </view> - <view class="outsideMenuBox"> - <view class="menuBox"> - <t-dropdown-menu> - <t-dropdown-item options="{{product.options}}" value="{{product.value}}" bindchange="onChange" /> - <t-dropdown-item multiple="{{false}}" class="{{keynoteDisabled ? 'disableds' : ' '}}" disabled="{{keynoteDisabled}}" label=" 閲嶇偣椤圭洰" options="{{multipleSelect.options}}" value="{{multipleSelect.value}}" bindchange="handleMultipleSelect" multiple bind:confirm="handleConfirm" bind:reset="handleReset" show-overlay="{{true}}"> - </t-dropdown-item> + <view class="outsideMenuBox"> + <view class="menuBox"> + <t-dropdown-menu> + <t-dropdown-item options="{{product.options}}" value="{{product.value}}" bindchange="onChange" /> + <t-dropdown-item multiple="{{false}}" class="{{keynoteDisabled ? 'disableds' : ' '}}" disabled="{{keynoteDisabled}}" label=" 閲嶇偣椤圭洰" options="{{multipleSelect.options}}" value="{{multipleSelect.value}}" bindchange="handleMultipleSelect" multiple bind:confirm="handleConfirm" bind:reset="handleReset" show-overlay="{{true}}"> + </t-dropdown-item> - <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 class="outsideSortBox"> + </t-dropdown-menu> + <!-- <view class="outsideSortBox"> <view class="sortBox" bind:tap="onSwapRight"> <text>鎺掑簭</text> <view class="iconBox"> @@ -37,37 +44,40 @@ </view> </view> </view> --> - </view> - </view> -</view> - - - -<view class="assembleContent"> - <view class="titleBox"> - <view class="frameBox"></view> - <view class="titleTextBox"> - <image src="/static/images/bookExhibitionList/zhuantitaolun.png" mode="aspectFit" /> - </view> - </view> - - <scroll-view scroll-y="{{true}}" class="scrollViewBox" bindscrolltolower="onScrollToLower"> - <view class="outside"> - <view wx:if="{{!bookExhibitionList.length }}" class="noData"> - <t-empty icon="folder-open" description="鏆傛棤鏁版嵁" /> </view> - <view class="contentBox" wx:for="{{bookExhibitionList}}" wx:key="index" wx:for-item="item" wx:for-index="index" bindtap="onBookExhibitionDetails" data-item="{{item}}"> - <view class="imageBox"> - <image wx:if="{{item.icon}}" src="{{item.icon}}" mode="aspectFit" /> - <image wx:else src="/static/images/bookExhibitionList/banner.png" mode="aspectFit" /> + </view> + </view> + + + + <view class="assembleContent"> + <view class="titleBox"> + <view class="frameBox"></view> + <view class="titleTextBox"> + <image src="/static/images/bookExhibitionList/zhuantitaolun.png" mode="aspectFit" /> + </view> + </view> + + <scroll-view scroll-y="{{true}}" class="scrollViewBox" bindscrolltolower="onScrollToLower"> + <view class="outside"> + <view wx:if="{{!bookExhibitionList.length }}" class="noData"> + <t-empty icon="folder-open" description="鏆傛棤鏁版嵁" /> </view> - <view class="textBox" title="{{item.subtitleName}}"> <text>{{item.subtitleName}}</text></view> + <view class="contentBox" wx:for="{{bookExhibitionList}}" wx:key="index" wx:for-item="item" wx:for-index="index" bindtap="onBookExhibitionDetails" data-item="{{item}}"> + <view class="imageBox"> + <image wx:if="{{item.icon}}" src="{{item.icon}}" mode="aspectFit" /> + <image wx:else src="/static/images/bookExhibitionList/banner.png" mode="aspectFit" /> + </view> + <view class="textBox" title="{{item.subtitleName}}"> <text>{{item.subtitleName}}</text></view> + </view> </view> - </view> - <view class="bottom-box" wx:if="{{bookExhibitionList.length }}"> - <t-loading theme="circular" size="40rpx" class="wrapper" wx:if="{{isMore == true}}" /> - <text wx:if="{{isMore == false}}">娌℃湁鏇村浜�</text> - </view> - </scroll-view> + <view class="bottom-box" wx:if="{{bookExhibitionList.length }}"> + <t-loading theme="circular" size="40rpx" class="wrapper" wx:if="{{isMore == true}}" /> + <text wx:if="{{isMore == false}}">娌℃湁鏇村浜�</text> + </view> + </scroll-view> + + </view> + </view> \ No newline at end of file -- Gitblit v1.9.1