|
@@ -33,7 +33,7 @@
|
|
<view class="timeimageshizhong" @tap="common.navTo('/components/weatherProphet/WeatherProphet')">
|
|
<view class="timeimageshizhong" @tap="common.navTo('/components/weatherProphet/WeatherProphet')">
|
|
<image src="../../static/picture/dafeng.png" style="width: 20px;height: 20px;margin-left: 10px;"></image>
|
|
<image src="../../static/picture/dafeng.png" style="width: 20px;height: 20px;margin-left: 10px;"></image>
|
|
</view>
|
|
</view>
|
|
- <view class="timeText">推荐时间:2020年4月15日 19:31</view>
|
|
+ <view class="timeText">推荐时间:{{dateNow}}</view>
|
|
<view class="timeIcon">
|
|
<view class="timeIcon">
|
|
<image src="../../static/picture/qingwhite.png" style="width: 25px;height: 25px;"></image>
|
|
<image src="../../static/picture/qingwhite.png" style="width: 25px;height: 25px;"></image>
|
|
</view>
|
|
</view>
|
|
@@ -953,10 +953,14 @@
|
|
},
|
|
},
|
|
|
|
|
|
module: true,
|
|
module: true,
|
|
- cardmodule: true
|
|
+ cardmodule: true,
|
|
|
|
+ dateNow:""
|
|
};
|
|
};
|
|
},
|
|
},
|
|
created: function() {
|
|
created: function() {
|
|
|
|
+
|
|
|
|
+ this.timeNow();
|
|
|
|
+
|
|
this.viewUserid();
|
|
this.viewUserid();
|
|
this.monitoringAuthority();
|
|
this.monitoringAuthority();
|
|
|
|
|
|
@@ -1009,7 +1013,13 @@
|
|
this.windPowerStationId =this.dataprocessing.getWindPowerStationId();
|
|
this.windPowerStationId =this.dataprocessing.getWindPowerStationId();
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
- viewUserid: function() {
|
|
+ timeNow(){
|
|
|
|
+ this.getTimeFormat();
|
|
|
|
+ this.dateNow = new Date().Format('yyyy年MM月dd hh:mm');
|
|
|
|
+ setTimeout(function() {
|
|
|
|
+ this.dateNow = new Date().Format('yyyy年MM月dd hh:mm');
|
|
|
|
+ }, 60000);
|
|
|
|
+ },viewUserid: function() {
|
|
let _this = this;
|
|
let _this = this;
|
|
_this.userid = uni.getStorageSync('userid')
|
|
_this.userid = uni.getStorageSync('userid')
|
|
//_this.userid = sessionStorage.getItem('userid');
|
|
//_this.userid = sessionStorage.getItem('userid');
|