Compare commits

..

No commits in common. "b02e418a7235d63fd888c4cf8ddeb345fea36fe1" and "17e72d0bd10e3f47c139e030089287e86c81d9dc" have entirely different histories.

1 changed files with 12 additions and 9 deletions

View File

@ -2,8 +2,8 @@
<view class="skinfo" @click="toDetail()"> <view class="skinfo" @click="toDetail()">
<view class="title"> <view class="title">
<view class="left"> <view class="left">
<u-icon name="file-text" color="#f59d29" size="20"></u-icon> <u-icon name="file-text" color="origin"></u-icon>
<text style="margin-left:5px">{{dataform.resName}}</text> <text>{{dataform.resName}}</text>
</view> </view>
<view class="right"> <view class="right">
{{tm}} {{tm}}
@ -13,7 +13,7 @@
<view class="" style="display: flex;"> <view class="" style="display: flex;">
<image src="../../static/c1.png" mode="" style="width:30%;height: 120px;"></image> <image src="../../static/c1.png" mode="" style="width:30%;height: 120px;"></image>
<view class="listItem"> <view class="listItem">
<view class="item-text" v-for="(v,k) of list" :key="k"> <view class="item-text" v-for="(v,k) of list">
<text>{{v}}</text>: <text>{{v}}</text>:
<text>{{dataform[k]}}</text> <text>{{dataform[k]}}</text>
</view> </view>
@ -42,16 +42,16 @@
data(){ data(){
return{ return{
list:{ list:{
"rz":'当前水位m', 'drp':'当前水位m',
"today":'今日雨量mm', 2:'今日雨量mm',
'flLowLimLev':'汛限水位m', 'flLowLimLev':'汛限水位m',
"demo":'比汛期m', 4:'比汛期m',
'wcrstel':'堰顶高程m', 'wcrstel':'堰顶高程m',
'crestElev':'坝顶高程m', 'crestElev':'坝顶高程m',
"24h":'24h预报mm', 7:'24h预报',
"yesterdayDrp":'昨日雨量mm', 8:'昨日雨量',
'totCap':'总库容m³', 'totCap':'总库容m³',
"cap":'蓄水量万m³' 10:'蓄水量万m³'
}, },
tm: moment().format('YYYY-MM-DD HH:mm:ss'), tm: moment().format('YYYY-MM-DD HH:mm:ss'),
dataform:{ dataform:{
@ -103,6 +103,9 @@
font-size: 16px; font-size: 16px;
display: flex; display: flex;
} }
.right{
}
} }
.content{ .content{