| | |
| | | <t-loading theme="circular" size="40rpx" class="wrapper" /> |
| | | </view> |
| | | <view wx:if="{{epubObj.fileType == 'pdf' && !skeletonLoding}}" class="pdfBox"> |
| | | <view wx:for="{{pdfList}}" wx:key="index" wx:for-item="item" wx:for-index="index" class="pdfItem"> |
| | | <view |
| | | wx:for="{{pdfList}}" |
| | | wx:key="index" |
| | | wx:for-item="item" |
| | | wx:for-index="index" |
| | | class="pdfItem" |
| | | > |
| | | <image src="{{item}}" alt="" mode="widthFix"></image> |
| | | </view> |
| | | </view> |
| | | <web-view bind:message="drawBack" binderror="onError" bindload="onLoadWeb" src="{{src}}" id="webView" wx:if="{{epubObj.fileType !== 'pdf' && !skeletonLoding}}"></web-view> |
| | | <web-view |
| | | bind:message="drawBack" |
| | | binderror="onError" |
| | | bindload="onLoadWeb" |
| | | src="{{src}}" |
| | | id="webView" |
| | | wx:if="{{epubObj.fileType !== 'pdf' && !skeletonLoding}}" |
| | | ></web-view> |
| | | </view> |