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/bookExhibitionDetails/index.wxml | 74 ++++++++++++++++++++----------------- 1 files changed, 40 insertions(+), 34 deletions(-) diff --git a/pages/bookExhibitionDetails/index.wxml b/pages/bookExhibitionDetails/index.wxml index f89c21d..17c5865 100644 --- a/pages/bookExhibitionDetails/index.wxml +++ b/pages/bookExhibitionDetails/index.wxml @@ -1,40 +1,46 @@ <!--pages/bookExhibitionDetails/index.wxml--> -<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="navbar-title">{{subtitleName}}</view> -</view> - -<view class="headBox"> - <view class="titleBox">{{bookName}}</view> - <view class="informationBox"> - <text class="informationNameBox">鍙戝竷浜�:{{bookCreator}}</text> - <text class="informationTimeBox">鍙戝竷鏃ユ湡锛歿{bookBeginDate}}</text> - - </view> -</view> +<import src="index.skeleton.wxml" /> +<template is="skeleton" wx:if="{{loading}}" /> - -<image class="partingBox" src="/static/images/bookExhibitionDetails/Parting.png" mode="aspectFill" /> -<view class="bannerBox"> - <image src="{{bookImage}}" mode="aspectFit" /> -</view> - - -<view class="textContent"> - <rich-text nodes="{{bookContent}}"></rich-text> - - <!-- <text>{{bookContent}}</text> --> -</view> -<view class="outsideBooksBox"> - <view class="booksBox" wx:for="{{bookExhibitionList}}" wx:key="index" wx:for-item="item" wx:for-index="index" data-item="{{item}}" bind:tap="onBookDetails"> - <view class="outsideBooksImageBox"> - <image class="booksImageBox" src="{{item.icon}}" mode="" /> +<view hidden="{{hidden}}"> + <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="booksTextBox"> <text>{{item.name}}</text></view> - <view class="boosAuthor">{{item.author}}</view> + <view class="navbar-title">{{subtitleName}}</view> + </view> + + <view class="headBox"> + <view class="titleBox">{{bookName}}</view> + <view class="informationBox"> + <text class="informationNameBox">鍙戝竷浜�:{{bookCreator}}</text> + <text class="informationTimeBox">鍙戝竷鏃ユ湡锛歿{bookBeginDate}}</text> + + </view> + </view> + + + + <image class="partingBox" src="/static/images/bookExhibitionDetails/Parting.png" mode="aspectFill" /> + <view class="bannerBox"> + <image src="{{bookImage}}" mode="aspectFit" /> + </view> + + + <view class="textContent"> + <rich-text nodes="{{bookContent}}"></rich-text> + + <!-- <text>{{bookContent}}</text> --> + </view> + <view class="outsideBooksBox"> + <view class="booksBox" wx:for="{{bookExhibitionList}}" wx:key="index" wx:for-item="item" wx:for-index="index" data-item="{{item}}" bind:tap="onBookDetails"> + <view class="outsideBooksImageBox"> + <image class="booksImageBox" src="{{item.icon}}" mode="" /> + </view> + <view class="booksTextBox"> <text>{{item.name}}</text></view> + <view class="boosAuthor">{{item.author}}</view> + </view> </view> </view> \ No newline at end of file -- Gitblit v1.9.1