243 lines
9.3 KiB
Plaintext
243 lines
9.3 KiB
Plaintext
<view>
|
|
<map class="map" id="map" scale="{{scale}}" latitude="{{initialLat}}" longitude="{{initialLon}}" markers="{{markers}}" style="width: 100%; height: {{height}}px;" bindmarkertap="getProjectListById" bindcallouttap="controltap" bindtap="checkMap" enable-building="{{true}}" enable-3D="{{true}}" subkey="YZOBZ-FI3KL-EMAP6-EQX5G-3M435-FBF75"></map>
|
|
<!--不行subKey使用这个...A2GBZ-AGALG-MP2QK-IJGFW-MRU36-4SF4O-->
|
|
</view>
|
|
<!-- 当掏钱了就解开这个封印将下面的封印上 -->
|
|
<!-- <view class="map_title">
|
|
{{logCompanyName}}
|
|
</view> -->
|
|
<view class="map_title" style="color: #2b345b;">
|
|
{{logCompanyName}}
|
|
</view>
|
|
|
|
|
|
<!-- 当掏钱了就解开这个封印将下面的封印上 -->
|
|
<!-- <view class="map_sel_top">
|
|
<view class="list_max">
|
|
<van-row gutter="5">
|
|
<van-col span="6">
|
|
<view class="list_min" bindtap="showPopup1">
|
|
<van-col span="17">
|
|
<view class="list_min_1">{{value1}}</view>
|
|
</van-col>
|
|
<van-col span="7">
|
|
<view class="list_min_2">
|
|
<image src="/images/bottom.png" class="list_bottom"></image>
|
|
</view>
|
|
</van-col>
|
|
</view>
|
|
</van-col>
|
|
|
|
|
|
<van-popup show="{{ show1 }}" bind:close="onClose" position="bottom">
|
|
<view class="map_list_info">
|
|
<van-picker show-toolbar default-index="{{1}}" columns="{{ sheng }}" bind:cancel="onCancel" bind:confirm="onChangeSheng"/>
|
|
</view>
|
|
</van-popup>
|
|
|
|
|
|
|
|
|
|
<van-col span="8">
|
|
<view class="list_min" bindtap="showPopup2">
|
|
<van-col span="19">
|
|
<view class="list_min_1">{{value2}}</view>
|
|
</van-col>
|
|
<van-col span="5">
|
|
<view class="list_min_2">
|
|
<image src="/images/bottom.png" class="list_bottom"></image>
|
|
</view>
|
|
</van-col>
|
|
</view>
|
|
</van-col>
|
|
<van-popup show="{{ show2 }}" bind:close="onClose" position="bottom">
|
|
<view class="map_list_info">
|
|
<van-picker show-toolbar columns="{{ cityArea }}" bind:confirm="onChangeShiQu" bind:cancel="onCancel" bind:change="onChange1"/>
|
|
</view>
|
|
</van-popup>
|
|
|
|
|
|
<van-col span="10">
|
|
<view class="list_min" bindtap="showTest" >
|
|
<van-col span="19">
|
|
<view class="list_min_1">{{value3}}</view>
|
|
</van-col>
|
|
<van-col span="5">
|
|
<view class="list_min_2">
|
|
<image src="/images/bottom.png" class="list_bottom"></image>
|
|
</view>
|
|
</van-col>
|
|
</view>
|
|
</van-col>
|
|
|
|
<van-popup position="bottom" show="{{ showTest }}" bind:close="onCloseTest">
|
|
<view class="all_name">
|
|
{{classA}}{{classB}}{{classC}}
|
|
</view>
|
|
<text class="queren" bindtap="queren">确认</text>
|
|
<view class="tab_max_tltie">
|
|
<text class="{{ Highlight1 }}" bindtap="tabTltie" id="1">集团公司</text>
|
|
<text class="{{ Highlight2 }}" wx:if="{{title2}}" bindtap="tabTltie" id="2" wx:key="title2">省公司</text>
|
|
<text class="{{ Highlight3 }}" wx:if="{{title3}}" bindtap="tabTltie" id="3" wx:key="title3">子公司</text>
|
|
</view>
|
|
<view class="max_tab_name" wx:if="{{flag1}}" wx:key="flag1">
|
|
<view class="font_color {{ index == nav1 ? 'active1' :' ' }}" wx:for="{{jt}}" wx:key="jt" data-index="{{index}}" bindtap="onclassA" data-name="{{item.text}}" data-id="{{item.id}}"> {{item.text}} </view>
|
|
</view>
|
|
<view class="max_tab_name" wx:if="{{flag2}}" wx:key="flag2">
|
|
<view class="font_color {{ index == nav2 ? 'active2' :' ' }}" wx:for="{{shengGs}}" wx:key="shengGs" data-index="{{index}}" bindtap="onclassB" data-name="{{item.text}}" data-id="{{item.id}}"> {{item.text}}</view>
|
|
</view>
|
|
<view class="max_tab_name" wx:if="{{flag3}}" wx:key="flag3">
|
|
<view class="font_color {{ index == nav3 ? 'active3' :' ' }}" wx:for="{{ziGs}}" wx:key="ziGs" data-index="{{index}}" bindtap="onclassC" data-name="{{item.text}}" data-id="{{item.id}}"> {{item.text}}</view>
|
|
</view>
|
|
</van-popup>
|
|
|
|
</van-row>
|
|
</view>
|
|
<view class="address {{class}}">
|
|
{{value1}}/{{value2}}/{{value3}}
|
|
</view>
|
|
</view> -->
|
|
|
|
<view class="map_sel_top">
|
|
<view class="list_max">
|
|
<van-row gutter="5">
|
|
<van-col span="6">
|
|
<view class="list_min" bindtap="showPopup1" >
|
|
<van-col span="17">
|
|
<view class="list_min_1">{{value1}}</view>
|
|
</van-col>
|
|
<van-col span="7">
|
|
<view class="list_min_2">
|
|
<image src="/images/bottom.png" class="list_bottom"></image>
|
|
</view>
|
|
</van-col>
|
|
</view>
|
|
</van-col>
|
|
|
|
|
|
<van-popup show="{{ show1 }}" bind:close="onClose" position="bottom">
|
|
<view class="map_list_info">
|
|
<van-picker show-toolbar default-index="{{1}}" columns="{{ sheng }}" bind:cancel="onCancel" bind:confirm="onChangeSheng"/>
|
|
</view>
|
|
</van-popup>
|
|
|
|
|
|
|
|
|
|
<van-col span="8">
|
|
<view class="list_min" bindtap="showPopup2">
|
|
<van-col span="19">
|
|
<view class="list_min_1">{{value2}}</view>
|
|
</van-col>
|
|
<van-col span="5">
|
|
<view class="list_min_2">
|
|
<image src="/images/bottom.png" class="list_bottom"></image>
|
|
</view>
|
|
</van-col>
|
|
</view>
|
|
</van-col>
|
|
<van-popup show="{{ show2 }}" bind:close="onClose" position="bottom">
|
|
<view class="map_list_info">
|
|
<van-picker show-toolbar columns="{{ cityArea }}" bind:confirm="onChangeShiQu" bind:cancel="onCancel" bind:change="onChange1"/>
|
|
</view>
|
|
</van-popup>
|
|
|
|
|
|
<van-col span="10">
|
|
<view class="list_min" bindtap="showTest" >
|
|
<van-col span="19">
|
|
<view class="list_min_1">{{value3}}</view>
|
|
</van-col>
|
|
<van-col span="5">
|
|
<view class="list_min_2">
|
|
<image src="/images/bottom.png" class="list_bottom"></image>
|
|
</view>
|
|
</van-col>
|
|
</view>
|
|
</van-col>
|
|
|
|
<van-popup position="bottom" show="{{ showTest }}" bind:close="onCloseTest">
|
|
<!-- <view class="all_name">
|
|
{{classA}}
|
|
</view> -->
|
|
<!-- <text class="queren" bindtap="queren">确认</text> -->
|
|
<!-- <view class="tab_max_tltie">
|
|
<text class="{{ Highlight1 }}" bindtap="tabTltie" id="1">集团公司</text>
|
|
<text class="{{ Highlight2 }}" wx:if="{{title2}}" bindtap="tabTltie" id="2" wx:key="title2">省公司</text>
|
|
<text class="{{ Highlight3 }}" wx:if="{{title3}}" bindtap="tabTltie" id="3" wx:key="title3">子公司</text>
|
|
</view> -->
|
|
<view class="max_tab_name" wx:if="{{flag1}}" wx:key="flag1">
|
|
<view class="font_color {{ index == nav1 ? 'active1' :' ' }}" wx:for="{{jt}}" wx:key="jt" data-index="{{index}}" bindtap="onclassA" data-name="{{item.text}}" data-id="{{item.id}}"> {{item.text}} </view>
|
|
</view>
|
|
<view class="max_tab_name" wx:if="{{flag2}}" wx:key="flag2">
|
|
<view class="font_color {{ index == nav2 ? 'active2' :' ' }}" wx:for="{{shengGs}}" wx:key="shengGs" data-index="{{index}}" bindtap="onclassB" data-name="{{item.text}}" data-id="{{item.id}}"> {{item.text}}</view>
|
|
</view>
|
|
<view class="max_tab_name" wx:if="{{flag3}}" wx:key="flag3">
|
|
<view class="font_color {{ index == nav3 ? 'active3' :' ' }}" wx:for="{{ziGs}}" wx:key="ziGs" data-index="{{index}}" bindtap="onclassC" data-name="{{item.text}}" data-id="{{item.id}}"> {{item.text}}</view>
|
|
</view>
|
|
</van-popup>
|
|
|
|
</van-row>
|
|
</view>
|
|
<view class="address {{class}}" style="color: #2b345b;">
|
|
{{value1}}/{{value2}}/{{value3}}
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
<view class="map_cilck_bottom">
|
|
<view class="map_bottom">
|
|
<view class="map_bottom_left">
|
|
<view class="map_left_min">
|
|
<view class="map_gc_name">当前预警项目数 <text>{{environCount}}</text></view>
|
|
<view class="map_yj_num">
|
|
<van-row>
|
|
<van-col span="8">
|
|
<view class="map_yj_num_1">
|
|
结构体:<text>{{monitoringCount}}</text>个
|
|
</view>
|
|
</van-col>
|
|
<van-col span="8">
|
|
<view class="map_yj_num_2">
|
|
视频:<text>{{videoNum}}</text>个
|
|
</view>
|
|
</van-col>
|
|
<van-col span="8">
|
|
<view class="map_yj_num_3">
|
|
机械:<text>{{mechanicsNum}}</text>个
|
|
</view>
|
|
</van-col>
|
|
</van-row>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="map_bottom_right" bindtap="checkDetailsSY">
|
|
<view class="map_btn">查看详情</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<!-- <view class="map_ding_wei" bindtap="selectUserLocation" data-type="1">
|
|
<image src="https://szgcwx.jhncidg.com/staticFiles/images/dingwei.png" ></image>
|
|
</view> -->
|
|
|
|
<!-- 当掏钱了就解开这个封印将下面的封印上 -->
|
|
<!-- <view class="map_list" bindtap="checkDetailsSY">
|
|
项目列表:<text>{{projectCount}}</text>
|
|
</view> -->
|
|
<view class="map_list" bindtap="checkDetailsSY" style="color: #fff;background-color: #2b345b;">
|
|
项目列表:<text>{{projectCount}}</text>
|
|
</view>
|
|
|
|
|
|
|
|
<van-overlay show="{{loadShow}}">
|
|
<view class="gif">
|
|
<image src="../../images/loding2.gif"></image>
|
|
<view>数据加载中!请稍后...</view>
|
|
</view>
|
|
</van-overlay>
|
|
|
|
|