From ce3a08b28c16f5cce2185167f8a9030ee16898ed Mon Sep 17 00:00:00 2001 From: litian <C21AF165> Date: 星期六, 07 九月 2024 14:44:55 +0800 Subject: [PATCH] xiugai --- pages/bookExhibitionDetails/index.wxml | 91 +++++++++++++++++++++++++-------------------- 1 files changed, 51 insertions(+), 40 deletions(-) diff --git a/pages/bookExhibitionDetails/index.wxml b/pages/bookExhibitionDetails/index.wxml index 1a3528d..ec3a5f7 100644 --- a/pages/bookExhibitionDetails/index.wxml +++ b/pages/bookExhibitionDetails/index.wxml @@ -1,48 +1,59 @@ <!--pages/bookExhibitionDetails/index.wxml--> <import src="index.skeleton.wxml" /> -<template is="skeleton" wx:if="{{loading}}" /> +<template is="skeleton" wx:if="{{loading && hidden}}" /> -<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="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 hidden="{{!hidden && !loading}}" class="centerBox"> + <!-- <view class="tltiBox"> + <view style="width: 100%; height: {{barHeight}}px; "></view> + <view class="nacigationBar" style="width: 100%; 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> --> + + <view class="outsideHeadBox"> + + + <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 src="{{item.icon}}" mode="aspectFit" /> + </view> + <view class="booksTextBox"> <text>{{item.name}}</text></view> + <view class="boosAuthor">{{item.author}}</view> + </view> + </view> + <view wx:if="{{bookExhibitionList.length > 0}}" class="bottom-box"> + <t-loading theme="circular" size="40rpx" class="wrapper" wx:if="{{isMore == true}}" /> + <text wx:if="{{isMore == false}}">娌℃湁鏇村浜�</text> + </view> + </view> </view> \ No newline at end of file -- Gitblit v1.9.1