qujingdidetail.wxml 1.4 KB
<!-- 取景地详情 -->
<view class="qujingtailbox" wx:if="{{qujingtail}}">
	<view class="qujingbox">
		<view class="qujingimg" wx:for="{{qujingdetail.image_arr}}" wx:key="index">
			<image src="{{item}}"></image>
			<image src="/img/gifimg.png" class="shipintop"></image>
			<image src="/img/gifimg.png" class="shipinbot"></image>
		</view>
	</view>
	<view class="wrodbox">
		<view class="worditem" wx:for="{{qujingdetail.all_keyword}}" bindtap="searchword" data-word="{{item}}">{{item}}</view>
	</view>
	<view class="qujingdetail">
		<rich-text nodes="{{qujingdetail.content}}"></rich-text>
	</view>
	<view class="mapbox">
		<map id="map" longitude="{{qujingdetail.lng}}" latitude="{{qujingdetail.lat}}" scale="14" bindcontroltap="controltap" markers="{{markers}}" bindmarkertap="markertap" bindcalloutta="markertap" bindpoitap="markertap" data-lat="{{qujingdetail.lat}}" data-lng="{{qujingdetail.lng}}" polyline="{{polyline}}" bindregionchange="regionchange" show-location></map>
	</view>
</view>

<!-- 取景地列表 -->
<view class="qujingtaillist" wx:else>
<view class="nodata" wx:if="{{qujinglistarr.length==0}}">暂无数据</view>
	<view class="qujingbox" wx:else>
		<view class="qujingimg" wx:for="{{qujinglistarr}}" wx:key="index" bindtap="getqujingtail" data-id="{{item.id}}"> 
			<image src="{{item.image}}"></image>
			<image src="/img/shipin.png" class="shipintop"></image>
			<image src="/img/shipin.png" class="shipinbot"></image>
		</view>
	</view>
</view>