litian
2024-09-07 ce3a08b28c16f5cce2185167f8a9030ee16898ed
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>