|
@@ -1,5 +1,5 @@
|
|
<template>
|
|
<template>
|
|
- <view class="content" @click="closeDrawer">
|
|
|
|
|
|
+ <view class="content">
|
|
<!-- <third-comp :key="menuKey"></third-comp> -->
|
|
<!-- <third-comp :key="menuKey"></third-comp> -->
|
|
<view v-if="toggleSwitch==false">
|
|
<view v-if="toggleSwitch==false">
|
|
<view>
|
|
<view>
|
|
@@ -14,7 +14,7 @@
|
|
</block>
|
|
</block>
|
|
<block slot="right"></block>
|
|
<block slot="right"></block>
|
|
<block slot="content">{{ address }}</block>
|
|
<block slot="content">{{ address }}</block>
|
|
- <block slot="right"><view class="plus" @tap="" data-target="viewModal">+</view></block>
|
|
|
|
|
|
+ <block slot="right"><view class="plus" @tap="showModal" data-target="viewModal">+</view></block>
|
|
<!-- <block slot="right"><view class="plus" @tap="showModal" data-target="viewModal">+</view></block> -->
|
|
<!-- <block slot="right"><view class="plus" @tap="showModal" data-target="viewModal">+</view></block> -->
|
|
</cu-custom>
|
|
</cu-custom>
|
|
</view>
|
|
</view>
|
|
@@ -23,18 +23,19 @@
|
|
<!-- 地图组件 -->
|
|
<!-- 地图组件 -->
|
|
|
|
|
|
<div>
|
|
<div>
|
|
- <drawer ref="drawer"></drawer>
|
|
|
|
|
|
+ <drawer ref="drawer" @tap="closeDrawer"></drawer>
|
|
</div>
|
|
</div>
|
|
<div class="plusDrawer" @tap="hideModal">
|
|
<div class="plusDrawer" @tap="hideModal">
|
|
<plusDrawer ref="plusDrawer"></plusDrawer>
|
|
<plusDrawer ref="plusDrawer"></plusDrawer>
|
|
</div>
|
|
</div>
|
|
- <scroll-view scroll-y :class="modalName == 'viewModal' ? 'show' : ''">
|
|
|
|
- <view >
|
|
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ <view v-if="kg==true">
|
|
|
|
|
|
<!-- <div class="plusDrawer" @tap="hideModal"><plusDrawer ref="plusDrawer"></plusDrawer></div> -->
|
|
<!-- <div class="plusDrawer" @tap="hideModal"><plusDrawer ref="plusDrawer"></plusDrawer></div> -->
|
|
<view class="page-body">
|
|
<view class="page-body">
|
|
- <view class="page-section page-section-gap">
|
|
|
|
- <map style="width: 100%; height: 300px;"
|
|
|
|
|
|
+ <view class="page-section page-section-gap">
|
|
|
|
+ <map style="width: 100%; height: 300px;"
|
|
:controls="controls"
|
|
:controls="controls"
|
|
:circles="circles"
|
|
:circles="circles"
|
|
:polyline="polyline"
|
|
:polyline="polyline"
|
|
@@ -43,9 +44,9 @@
|
|
:longitude="longitude"
|
|
:longitude="longitude"
|
|
:markers="covers"
|
|
:markers="covers"
|
|
>
|
|
>
|
|
- <!--
|
|
|
|
|
|
+
|
|
<cover-view style="color: #000000;" > 经度:{{ mapEnd_1 }}</cover-view>
|
|
<cover-view style="color: #000000;" > 经度:{{ mapEnd_1 }}</cover-view>
|
|
- <cover-view style="color: #000000;"> 纬度:{{ mapEnd_2 }}</cover-view> -->
|
|
|
|
|
|
+ <cover-view style="color: #000000;"> 纬度:{{ mapEnd_2 }}</cover-view>
|
|
|
|
|
|
</map>
|
|
</map>
|
|
</view>
|
|
</view>
|
|
@@ -68,6 +69,7 @@
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view> -->
|
|
</view> -->
|
|
|
|
+ <scroll-view @tap="hideModal" scroll-y class="DrawerPage" :class="modalName == 'viewModal' ? 'show' : ''">
|
|
<!-- 个人信息组件 -->
|
|
<!-- 个人信息组件 -->
|
|
<view class="Personal_information_W">
|
|
<view class="Personal_information_W">
|
|
<view class="name">姓名:李占国</view>
|
|
<view class="name">姓名:李占国</view>
|
|
@@ -77,13 +79,13 @@
|
|
<view class="skills">技能:电力类,机械类</view>
|
|
<view class="skills">技能:电力类,机械类</view>
|
|
</view>
|
|
</view>
|
|
<!-- 历史曲线组件 -->
|
|
<!-- 历史曲线组件 -->
|
|
- <view class="curve">
|
|
|
|
|
|
+ <view class="curve" >
|
|
<view class="curve_l">健康情况</view>
|
|
<view class="curve_l">健康情况</view>
|
|
<view class="curve_r" @tap="common.navTo('/components/bracelet/braceletHistoryCurve?braceletCurve=' + braceletCurve)">历史曲线</view>
|
|
<view class="curve_r" @tap="common.navTo('/components/bracelet/braceletHistoryCurve?braceletCurve=' + braceletCurve)">历史曲线</view>
|
|
<div class="greater"></div>
|
|
<div class="greater"></div>
|
|
</view>
|
|
</view>
|
|
<!-- 健康详情组件 -->
|
|
<!-- 健康详情组件 -->
|
|
- <view class="healthy">
|
|
|
|
|
|
+ <view class="healthy" >
|
|
<view class="healthy_H">
|
|
<view class="healthy_H">
|
|
|
|
|
|
<view class="details_z">心跳频率:{{xtpl_computed}}<!-- ({{ bracelet[deviceName][targetName_xtpl][targetName_xtpl_size].value }}) --></view>
|
|
<view class="details_z">心跳频率:{{xtpl_computed}}<!-- ({{ bracelet[deviceName][targetName_xtpl][targetName_xtpl_size].value }}) --></view>
|
|
@@ -101,7 +103,7 @@
|
|
<view v-if="toggleSwitch==true">
|
|
<view v-if="toggleSwitch==true">
|
|
<WeatherProphethomepage ref="r1"></WeatherProphethomepage>
|
|
<WeatherProphethomepage ref="r1"></WeatherProphethomepage>
|
|
</view>
|
|
</view>
|
|
- <view class="DrawerClose" :class="modalName == 'viewModal' ? 'show' : ''" @tap="hideModal"><text class="cuIcon-pullright"></text></view>
|
|
|
|
|
|
+ <!-- <view class="DrawerClose" :class="modalName == 'viewModal' ? 'show' : ''" @tap="hideModal"><text class="cuIcon-pullright"></text></view> -->
|
|
</view>
|
|
</view>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -119,6 +121,8 @@ export default {
|
|
},
|
|
},
|
|
data: function() {
|
|
data: function() {
|
|
return {
|
|
return {
|
|
|
|
+ kg:true,
|
|
|
|
+ leftbarkg:false,
|
|
bs_computed:'',
|
|
bs_computed:'',
|
|
xtpl_computed:'',
|
|
xtpl_computed:'',
|
|
ssxy_computed:'',
|
|
ssxy_computed:'',
|
|
@@ -177,7 +181,7 @@ export default {
|
|
targetdetail: { targetdetail_target: '', targetdetail_curve: '', targetdetail_histogram: ''}, */
|
|
targetdetail: { targetdetail_target: '', targetdetail_curve: '', targetdetail_histogram: ''}, */
|
|
targetName: '日发电量',
|
|
targetName: '日发电量',
|
|
targetUnit: '万kwh',
|
|
targetUnit: '万kwh',
|
|
- kg:true,
|
|
|
|
|
|
+
|
|
bool:true,
|
|
bool:true,
|
|
pld: '',
|
|
pld: '',
|
|
ssxy: '',
|
|
ssxy: '',
|
|
@@ -571,9 +575,11 @@ export default {
|
|
this.$forceUpdate();
|
|
this.$forceUpdate();
|
|
},
|
|
},
|
|
openDrawer: function() {
|
|
openDrawer: function() {
|
|
|
|
+ this.kg=false;
|
|
this.$refs.drawer.openDrawer(250, this.drawerList, this.inconList);
|
|
this.$refs.drawer.openDrawer(250, this.drawerList, this.inconList);
|
|
},
|
|
},
|
|
closeDrawer: function() {
|
|
closeDrawer: function() {
|
|
|
|
+
|
|
this.drawerIsShow = false;
|
|
this.drawerIsShow = false;
|
|
},
|
|
},
|
|
pushWindPowerStationNameToSessionStorage(windpowerstationName) {
|
|
pushWindPowerStationNameToSessionStorage(windpowerstationName) {
|
|
@@ -586,7 +592,14 @@ export default {
|
|
uni.getStorageSync('windpowerstationName');
|
|
uni.getStorageSync('windpowerstationName');
|
|
return uni.getStorageSync('windpowerstationName');
|
|
return uni.getStorageSync('windpowerstationName');
|
|
},
|
|
},
|
|
|
|
+ leftbar(){
|
|
|
|
+
|
|
|
|
+ this.kg=true;
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ },
|
|
onHide() {
|
|
onHide() {
|
|
|
|
+
|
|
this.$refs.drawer.closeDrawer();
|
|
this.$refs.drawer.closeDrawer();
|
|
this.hideModal();
|
|
this.hideModal();
|
|
},
|
|
},
|
|
@@ -600,9 +613,10 @@ export default {
|
|
this.$refs.plusDrawer.showModal(this.plusDrawerList, this.modalName);
|
|
this.$refs.plusDrawer.showModal(this.plusDrawerList, this.modalName);
|
|
},
|
|
},
|
|
hideModal() {
|
|
hideModal() {
|
|
- this.kg=true;
|
|
|
|
|
|
+ this.leftbar();
|
|
this.modalName = null;
|
|
this.modalName = null;
|
|
- this.$refs.plusDrawer.hideModal(this.modalName);
|
|
|
|
|
|
+ //this.$refs.plusDrawer.hideModal(this.modalName);
|
|
|
|
+
|
|
},
|
|
},
|
|
braceletData() {
|
|
braceletData() {
|
|
let _this = this;
|
|
let _this = this;
|