1234567891011121314151617181920 |
- <!--pagesPublic/pages/tdcr/details/detail.wxml-->
- <view class="main" style="background-image: url({{imgPath}}/index/bg.png);">
- <view class="header" style="height: {{headerStyle.height}}px;line-height: {{headerStyle.height}}px;margin-top: {{headerStyle.top}}px;">{{title}}</view>
- <view class="map-content" style="background-image: url({{imgPath}}/details/map-border.png);">
- <map class="map" enable-satellite="true" longitude="{{map.longitude}}" latitude="{{map.latitude}}"></map>
- </view>
- <view class="tab">
- <view class="tab-item" wx:for="{{tabs}}" style="{{tabActive == index ? 'background-image: url(' + imgPath + '/details/tab-bg.png);' : ''}}" data-index="{{index}}" bindtap="tabEvent">{{item.label}}</view>
- </view>
- <view class="content" style="background-image: url({{imgPath}}/details/content-bg.png);">
- <include wx:if="{{tabActive == 0}}" src="./wxml/survey.wxml"/>
- <include wx:if="{{tabActive == 1}}" src="./wxml/info.wxml"/>
- <include wx:if="{{tabActive == 2}}" src="./wxml/periphery.wxml"/>
- <include wx:if="{{tabActive == 3}}" src="./wxml/other.wxml"/>
- </view>
- <view class="bottom-btn" style="background-image: url({{imgPath}}/details/btn-bg.png);">
- <image src="{{imgPath}}/details/icon-phone.png"/>
- <text>与我联系</text>
- </view>
- </view>
|