| | |
| | | <!--pages/bookServices/detail/index.wxml--> |
| | | <import src="index.skeleton.wxml" /> |
| | | <template is="skeleton" wx:if="{{pageLoading}}" /> |
| | | |
| | | <!-- pageLoading --> |
| | | <!--导航区域 --> |
| | | |
| | | <suggest-dialog |
| | | class="suggest-dialog" |
| | | showIndex="{{showIndex}}" |
| | | bookIcon="{{bookDetail.icon}}" |
| | | bookName="{{bookDetail.name}}" |
| | | ></suggest-dialog> |
| | | <!-- <popup showIndex="{{showIndex}}"></popup> --> |
| | | <view class="page-bookService" wx:if="{{!pageLoading}}"> |
| | | <view style="width: 100%; height: {{barHeight}}px; "></view> |
| | | <view class="nacigationBar" style="width: 70%; height: {{navBarHeight}}px;"> |
| | | <!-- <view style="width: 100%; height: {{barHeight}}px; "></view> |
| | | <view class="nacigationBar" style="width: 100%; height: {{navBarHeight}}px;"> |
| | | <view> |
| | | <t-icon |
| | | name="chevron-left" |
| | |
| | | bind:click="goBack" |
| | | /> |
| | | </view> |
| | | <view class="navbar-title">{{options.name}}</view> |
| | | </view> |
| | | <view class="navbar-title" style="width: 100%"> |
| | | <text>{{options.name}}</text> |
| | | </view> |
| | | </view> --> |
| | | <t-toast id="t-toast" /> |
| | | <scroll-view |
| | | scroll-y="{{true}}" |
| | |
| | | <image |
| | | loading="" |
| | | src="{{bookDetail.icon ? bookDetail.icon : '/static/images/default-book-img.png'}}" |
| | | mode="aspectFill" |
| | | mode="aspectFit" |
| | | aria-label="{{bookDetail.name}}" |
| | | /> |
| | | </view> |
| | |
| | | <view class="li-title">丛书名:</view> |
| | | <view class="li-content">{{bookDetail.seriesName}}</view> |
| | | </view> |
| | | <view class="message-li"> |
| | | <view class="li-title" wx:if="{{bookDetail.author}}">作者:</view> |
| | | <view class="message-li" wx:if="{{bookDetail.author}}"> |
| | | <view class="li-title">作者:</view> |
| | | <view class="li-content">{{bookDetail.author}}</view> |
| | | </view> |
| | | <view class="message-li" wx:if="{{bookDetail.isbn}}"> |
| | | <view class="li-title">ISBN:</view> |
| | | <view class="li-content">{{bookDetail.isbn}}</view> |
| | | </view> |
| | | <view class="message-li"> |
| | | <view class="li-title" wx:if="{{bookDetail.publicationDate}}" |
| | | >出版时间:</view |
| | | > |
| | | <view class="message-li" wx:if="{{bookDetail.publicationDate}}"> |
| | | <view class="li-title">出版时间:</view> |
| | | <view class="li-content">{{bookDetail.publicationDate}}</view> |
| | | </view> |
| | | <view |
| | | class="message-li" |
| | | wx:if="{{bookDetail.class}}" |
| | | wx:if="{{bookClass.length}}" |
| | | style="height: 80rpx" |
| | | > |
| | | <view class="li-title">图书分类:</view> |
| | | <view class="class-name showTow">{{bookDetail.class}}</view> |
| | | <view class="class-name showTow">{{bookClass}}</view> |
| | | </view> |
| | | </view> |
| | | <image |
| | |
| | | bind:handleTree="handleTree" |
| | | openTeachids="{{openTeachids}}" |
| | | wx:if="{{teach.length}}" |
| | | isShoppingCart="isShoppingCart" |
| | | bind:updateCloudLearning="updateCloudLearning" |
| | | ></tree> |
| | | </view> |
| | | <t-loading |
| | | <!-- <t-loading |
| | | theme="circular" |
| | | size="60rpx" |
| | | class="loading" |
| | | loading="{{loading }}" |
| | | /> |
| | | /> --> |
| | | <view wx:if="{{loading}}" style="width: 100%; height: min-content"> |
| | | <t-skeleton |
| | | row-col="{{rowCol}}" |
| | | theme="paragraph" |
| | | animation="gradient" |
| | | loading="{{loading}}" |
| | | ></t-skeleton> |
| | | </view> |
| | | <view wx:if="{{noResources}}" class="noData"> |
| | | <t-empty icon="folder-open" description="暂无数据" /> |
| | | </view> |