<!--pages/device/index.wxml-->
<view class="device">
<!-- <view class="equipment">
  <picker bindcolumnchange="bindcolumn" bindchange="bindeventChange" value="{{index}}" range="{{array}}">
					<view class="calculation_top">
						<view class="calculation_left">
             选择电站：
						</view>
            <view class="event">
						<view class="uni-input">{{array[index]}}</view>
							<t-icon name="chevron-right" size="40rpx" data-name="chevron-right"/>
            </view>
					</view>
				</picker>
</view> -->
<view class="device_box" wx:for="{{devicedata}}" wx:key="index">
<view class="device_and">
<view>
<text class="device_color">资产编码：</text> {{item.deviceId}}
</view>

<!-- <view class="device_latitude" data-id="{{item.deviceId}}" bind:tap="getLocation" wx:if="{{item.devicesLatitudelongitude.length==0||item.devicesLatitudelongitude==null}}">获取当前经纬度</view> -->
<!-- <view>{{accuracy}}</view>
<view class="device_latitude" data-id="{{item.deviceId}}" bind:tap="getLocation">获取当前经纬度</view> -->
</view>
<view class="device_content">
<text class="device_color">资产名称：</text> {{item.devicesName}}</view>
<view class="device_content">
<text class="device_color">设备所属：</text> {{item.powerstationName}} > {{item.regionName}}
</view>
<view class="device_content"><text class="device_color">经度：</text> {{item.devicesLatitudelongitude[0]||'--'}}</view>
<view class="device_content"><text class="device_color">纬度：</text> {{item.devicesLatitudelongitude[1]||'--'}}</view>
<view class="device_content">
<text class="device_color">设备地址：</text> {{item.devicesAddress}}
</view>
</view>


</view>