Commit 2aaee418 authored by 李智书's avatar 李智书

Merge branch 'v_c_application_feature_1031' into 'develop'

V c application feature 1031

See merge request !25
parents 489f9403 ab9ea15a
...@@ -9,8 +9,8 @@ ...@@ -9,8 +9,8 @@
:src="ImgUrl+'xzf/h5/xia.png'" mode="aspectFit"></image> :src="ImgUrl+'xzf/h5/xia.png'" mode="aspectFit"></image>
</view> </view>
<view class="rowr"> <view class="rowr">
当前设备 <text class="text">{{storeInfo['onlineDeviceCnt']||0}}</text> 台,离线<text class="text" 当前设备 <text class="text" style="font-weight: bold;">{{storeInfo['onlineDeviceCnt']||0}}</text> 台,离线<text class="text"
style="color: #F65200 !important">{{storeInfo['offlineDeviceCnt']||0}}</text> style="color: #F65200 !important;font-weight: bold;">{{storeInfo['offlineDeviceCnt']||0}}</text>
</view> </view>
</view> </view>
<view class="warning" v-if="storeInfo['offlineDeviceCnt']>0"> <view class="warning" v-if="storeInfo['offlineDeviceCnt']>0">
...@@ -413,7 +413,7 @@ ...@@ -413,7 +413,7 @@
.line { .line {
width: 542rpx; width: 542rpx;
height: 1rpx; height: 0.5px;
background-color: #E2E2E2; background-color: #E2E2E2;
position: absolute; position: absolute;
bottom: -30rpx; bottom: -30rpx;
......
...@@ -15,8 +15,9 @@ ...@@ -15,8 +15,9 @@
:src="ImgUrl+'xzf/h5/xia.png'" mode="aspectFit"></image> :src="ImgUrl+'xzf/h5/xia.png'" mode="aspectFit"></image>
</view> </view>
<view class="rowr"> <view class="rowr">
当前设备 <text class="text">{{storeInfo['onlineDeviceCnt']||0}}</text> 台,离线<text class="text" 当前设备 <text class="text" style="font-weight: bold;">{{storeInfo['onlineDeviceCnt']||0}}</text>
style="color: #F65200 !important">{{storeInfo['offlineDeviceCnt']||0}}</text> 台,离线<text class="text"
style="color: #F65200 !important;font-weight: bold;">{{storeInfo['offlineDeviceCnt']||0}}</text>
</view> </view>
</view> </view>
<view class="warning" v-if="storeInfo['offlineDeviceCnt']>0"> <view class="warning" v-if="storeInfo['offlineDeviceCnt']>0">
...@@ -239,8 +240,9 @@ ...@@ -239,8 +240,9 @@
.dataList { .dataList {
width: 100%; width: 100%;
/* background: #FFFFFF; */ /* background: #FFFFFF; */
.dataitem:nth-child(1){ .dataitem:nth-child(1) {
border-top: 1rpx solid #E2E2E2; border-top: 1rpx solid #E2E2E2;
} }
...@@ -274,7 +276,7 @@ ...@@ -274,7 +276,7 @@
line-height: 44rpx; line-height: 44rpx;
position: absolute; position: absolute;
right: 52rpx; right: 22rpx;
} }
.row1 { .row1 {
...@@ -440,7 +442,7 @@ ...@@ -440,7 +442,7 @@
.line { .line {
width: 542rpx; width: 542rpx;
height: 0.5rpx; height: 0.5px;
background-color: #E2E2E2; background-color: #E2E2E2;
position: absolute; position: absolute;
bottom: -30rpx; bottom: -30rpx;
......
...@@ -17,9 +17,15 @@ ...@@ -17,9 +17,15 @@
</view> </view>
</view> </view>
<view class="devices_sn"> <view class="devices_sn">
SN:{{details['deviceId']||''}} SN:{{details['snCode']||''}}
</view> </view>
<view class="rowbox"> <view class="warning" v-if="onlineStatus=='offline'">
<image class="warnpng" style="width: 25rpx;height: 25rpx;margin-left: 25rpx;"
:src="ImgUrl+'xzf/h5/warnpng.png'">
</image>
<text style="display: inline-block;margin-left: 8rpx;">当前设备离线,无法统计准确数据,请尽快处理</text>
</view>
<view class="rowbox" :style="onlineStatus=='online'?'border-top: 1rpx solid #E2E2E2;':''">
<view class="rowl"> <view class="rowl">
<view class="rowltxt">交易笔数(笔)</view> <view class="rowltxt">交易笔数(笔)</view>
<view class="rowltxt2">{{totalCnt||0}}</view> <view class="rowltxt2">{{totalCnt||0}}</view>
...@@ -145,7 +151,7 @@ ...@@ -145,7 +151,7 @@
return return
} }
let jsonData = JSON.parse(JSON.stringify(data || {})) let jsonData = JSON.parse(JSON.stringify(data || {}))
this.onlineStatus = jsonData.data.onlineStatus || "offline" this.onlineStatus = jsonData.data['backData']['onlineStatus'] || "offline"
}, },
//设备流水 //设备流水
async DeviceFlows() { async DeviceFlows() {
...@@ -254,6 +260,7 @@ ...@@ -254,6 +260,7 @@
font-family: PingFangSC-Regular, PingFang SC; font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400; font-weight: 400;
color: #F65200; color: #F65200;
margin-top: 10rpx;
} }
.store_data_detail { .store_data_detail {
...@@ -270,6 +277,7 @@ ...@@ -270,6 +277,7 @@
/* background: #FFFFFF; */ /* background: #FFFFFF; */
.dataitem { .dataitem {
margin-left: 32rpx;
height: 154rpx; height: 154rpx;
display: flex; display: flex;
align-items: center; align-items: center;
...@@ -298,14 +306,14 @@ ...@@ -298,14 +306,14 @@
line-height: 44rpx; line-height: 44rpx;
position: absolute; position: absolute;
right: 52rpx; right: 25rpx;
} }
.row1 { .row1 {
display: flex; display: flex;
align-items: center; align-items: center;
width: 100%; width: 100%;
margin-left: 32rpx; // margin-left: 32rpx;
position: relative; position: relative;
} }
...@@ -318,7 +326,7 @@ ...@@ -318,7 +326,7 @@
font-weight: 400; font-weight: 400;
color: rgba(0, 0, 0, 0.35); color: rgba(0, 0, 0, 0.35);
line-height: 44rpx; line-height: 44rpx;
padding-left: 32rpx; // padding-left: 32rpx;
} }
} }
} }
...@@ -466,7 +474,7 @@ ...@@ -466,7 +474,7 @@
.line { .line {
width: 542rpx; width: 542rpx;
height: 1rpx; height: 0.5px;
background-color: #E2E2E2; background-color: #E2E2E2;
position: absolute; position: absolute;
bottom: -30rpx; bottom: -30rpx;
...@@ -491,6 +499,7 @@ ...@@ -491,6 +499,7 @@
padding-left: 18rpx; padding-left: 18rpx;
padding-right: 25rpx; padding-right: 25rpx;
justify-content: space-between; justify-content: space-between;
margin-top: 10rpx;
.rowltxt { .rowltxt {
height: 28rpx; height: 28rpx;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment