<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">资源详情</view>
|
</view>
|
|
<view class="titleNameBox" wx:if="{{selectType != 'webpage'}}">
|
{{titleName}}
|
</view>
|
|
|
|
<view class="pictureBox" wx:if="{{selectType == 'picture'}}">
|
<image src="{{showData}}" mode="aspectFit" />
|
</view>
|
|
<view wx:if="{{selectType == 'zip'}}">
|
<view class="zipImageBox">
|
<image src="/static/images/document/zip200px.png" mode="aspectFill" />
|
</view>
|
|
|
<view class="button-example">
|
<t-button size="large" bind:tap="onDownloadButton">
|
<view class="text">
|
下载
|
</view>
|
</t-button>
|
</view>
|
</view>
|
|
|
<view wx:if="{{selectType == 'pdf' || selectType == 'document'}}">
|
<view wx:for="{{naturalResources}}" wx:key="index" wx:for-item="item" wx:for-index="index">
|
<image src="{{item}}" alt="" style="min-height: 550px;"></image>
|
<view class="divider">第 {{index + 1}} 页</view>
|
</view>
|
</view>
|
|
|
|
|
<web-view wx:if="{{selectType == 'webpage'}}" src="{{webpageSrc}}"></web-view>
|
<!-- <button bind:tap="handleTap">点位</button> -->
|