|
|
@@ -5,11 +5,16 @@
|
|
|
<text>{{reportDate}}</text>
|
|
|
<text>用户号:12345| SN:{{rsn}}</text>
|
|
|
</view> -->
|
|
|
-
|
|
|
+ <!-- <picker mode="date" bindchange="bindDateChange" class="picker" style="width: 40%;">
|
|
|
+ <view class="picker-placeholder">{{reportDate}}</view>
|
|
|
+ </picker>
|
|
|
+ <picker mode="time" bindchange="bindTimeChange" class="picker" style="width: 40%; margin-left: 4%;">
|
|
|
+ <view class="picker-placeholder">{{rgobed_time}}~{{routbed_time}}</view>
|
|
|
+ </picker> -->
|
|
|
<view wx:if="{{isLoading}}" class="loading-container">
|
|
|
<text class="loading-text">数据正在推送,请稍候...</text>
|
|
|
</view>
|
|
|
- <view class="picker-row">
|
|
|
+ <!-- <view class="picker-row">
|
|
|
|
|
|
<view class="picker-row_view">
|
|
|
<picker mode="selector" range-key="pos" range="{{sns}}" value="{{selectedIndex}}"
|
|
|
@@ -23,12 +28,7 @@
|
|
|
</view>
|
|
|
</picker>
|
|
|
</view>
|
|
|
- <!-- <picker mode="date" bindchange="bindDateChange" class="picker" style="width: 40%;">
|
|
|
- <view class="picker-placeholder">{{reportDate}}</view>
|
|
|
- </picker>
|
|
|
- <picker mode="time" bindchange="bindTimeChange" class="picker" style="width: 40%; margin-left: 4%;">
|
|
|
- <view class="picker-placeholder">{{rgobed_time}}~{{routbed_time}}</view>
|
|
|
- </picker> -->
|
|
|
+
|
|
|
<view class="picker_out">
|
|
|
<picker style="margin-left:0;" range="{{arrayFourth}}" value="{{valueFourth}}" range-key="text"
|
|
|
mode="multiSelector" bindchange="bindMultiPickerChange" bindcolumnchange="bindMultiPickerColumnChange">
|
|
|
@@ -45,8 +45,18 @@
|
|
|
</view>
|
|
|
</picker>
|
|
|
</view>
|
|
|
- </view>
|
|
|
+ </view> -->
|
|
|
|
|
|
+ <view class="top-bar-box">
|
|
|
+ <image class="data-image_c00_0" src="/subpages/images/ic_bg_room.png" mode="aspectFit"></image>
|
|
|
+ <text
|
|
|
+ class="data-text_c00_0">{{hotelname?(hotelname+'·'):''}}{{roomname?(roomname+'·'):''}}{{sns[selectedIndex].pos}}床</text>
|
|
|
+ <view class="top-bar-line"></view>
|
|
|
+ <image class="top-bar-icon" src="/subpages/images/ic_bg_date.png" mode="aspectFit"></image>
|
|
|
+ <text wx:if="{{!isToDay}}" class="top-bar-date">{{reportDate?reportDate:'无数据'}}</text>
|
|
|
+ <text class="top-bar-time">{{rgobed_time?rgobed_time:'无数据'}}~{{routbed_time?routbed_time:'无数据'}}</text>
|
|
|
+ <view wx:if="{{isToDay}}" style="flex: 0.45;"></view>
|
|
|
+ </view>
|
|
|
|
|
|
|
|
|
|
|
|
@@ -67,7 +77,7 @@
|
|
|
<text class="data-text_c00" bindtap="tvEntityIdChange" wx:else>推送电视 </text>
|
|
|
</view> -->
|
|
|
<!-- </view> -->
|
|
|
- <view class="separator_c00"></view>
|
|
|
+ <!-- <view class="separator_c00"></view> -->
|
|
|
|
|
|
<view class="circle-container-yh">
|
|
|
<view class="text-container-yh left-text-yh">
|
|
|
@@ -212,7 +222,7 @@
|
|
|
<view class="text-container_c4_top_left">
|
|
|
<text class="text_c4_left_top">温馨提醒</text>
|
|
|
</view>
|
|
|
- <image class="image_c4" src="/static/images/report/left_background_c4_new.png" />
|
|
|
+ <image class="image_c4" src="/subpages/images/left_background_c4_new.png" />
|
|
|
<view class="text-container_c4">
|
|
|
<text class="text_c4">本次睡眠,睡眠报告得分评比描述:<text class="text_c4_1">{{rscore_desc}}</text></text>
|
|
|
</view>
|
|
|
@@ -304,21 +314,7 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
- <view class="title-row_c6">
|
|
|
- <view class="title-left_c6">
|
|
|
- <image class="title-image_c6" src="/static/images/report/anwendu_new.png" mode="aspectFit"></image>
|
|
|
- <text class="title-text_c6">安稳度</text>
|
|
|
- <image class="header-image_comma" src="/static/images/report/comma_new.png" mode="aspectFit"
|
|
|
- data-index="4" data-subIndex="1" bindtap="toWarmReminder"></image>
|
|
|
- </view>
|
|
|
- <view class="title-right_c6">
|
|
|
- <!-- <text class="title-text-right_c6">右侧文本</text> -->
|
|
|
- <text class="title-text-right_c6_1">入睡时长</text>
|
|
|
- <text class="title-text-right_c6">{{rrs_duration.formattedHours}}<text
|
|
|
- class="text-line_c31-units">小时</text>{{rrs_duration.formattedMinutes}}<text
|
|
|
- class="text-line_c31-units">分钟</text></text>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
+
|
|
|
|
|
|
<!-- <view class="circle-container-yh">
|
|
|
<view class="text-container-yh left-text-yh">
|
|
|
@@ -363,18 +359,43 @@
|
|
|
<view class="container_6">
|
|
|
<view class="title-row_c6">
|
|
|
<view class="title-left_c6">
|
|
|
- <image class="title-image_c6" src="/static/images/report/lichuang_cishu_new.png" mode="aspectFit">
|
|
|
- </image>
|
|
|
- <text class="title-text_c6">离床次数</text>
|
|
|
+ <image class="title-image_c6" src="/static/images/report/anwendu_new.png" mode="aspectFit"></image>
|
|
|
+ <text class="title-text_c6">安稳度</text>
|
|
|
<image class="header-image_comma" src="/static/images/report/comma_new.png" mode="aspectFit"
|
|
|
- data-index="4" data-subIndex="2" bindtap="toWarmReminder"></image>
|
|
|
+ data-index="4" data-subIndex="1" bindtap="toWarmReminder"></image>
|
|
|
+ </view>
|
|
|
+ <!-- <view class="title-right_c6">
|
|
|
+ <text class="title-text-right_c6_1">入睡时长</text>
|
|
|
+ <text class="title-text-right_c6">{{rrs_duration.formattedHours}}<text
|
|
|
+ class="text-line_c31-units">小时</text>{{rrs_duration.formattedMinutes}}<text
|
|
|
+ class="text-line_c31-units">分钟</text></text>
|
|
|
+ </view> -->
|
|
|
+ </view>
|
|
|
+ <view class="separator_c00"></view>
|
|
|
+ <view class="title-row_c6">
|
|
|
+ <view class="title-left_c6">
|
|
|
+ <text class="title-text-right_c6_1" style="font-size: 28rpx;">入睡时长</text>
|
|
|
+ </view>
|
|
|
+ <view class="title-right_c6">
|
|
|
+ <text class="title-text-right_c6">{{rrs_duration.formattedHours}}<text
|
|
|
+ class="text-line_c31-units">小时</text>{{rrs_duration.formattedMinutes}}<text
|
|
|
+ class="text-line_c31-units">分钟</text></text>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="title-row_c6">
|
|
|
+ <view class="title-left_c6">
|
|
|
+ <!-- <image class="title-image_c6" src="/static/images/report/lichuang_cishu_new.png" mode="aspectFit">
|
|
|
+ </image> -->
|
|
|
+ <text class="title-text_c6" style="font-size: 28rpx;">离床次数</text>
|
|
|
+ <!-- <image class="header-image_comma" src="/static/images/report/comma_new.png" mode="aspectFit"
|
|
|
+ data-index="4" data-subIndex="2" bindtap="toWarmReminder"></image> -->
|
|
|
</view>
|
|
|
<view class="title-right_c6">
|
|
|
<text class="title-text-right_c6">{{routbed_count_value}}<text
|
|
|
class="text-line_c31-units">次</text></text>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <text class="sub-title">睡眠状态</text>
|
|
|
+ <!-- <text class="sub-title">睡眠状态</text> -->
|
|
|
|
|
|
<view class="card-h">
|
|
|
|
|
|
@@ -396,17 +417,17 @@
|
|
|
|
|
|
<view class="title-row_c6">
|
|
|
<view class="title-left_c6">
|
|
|
- <image class="title-image_c6" src="/static/images/report/tidong_cishu_new.png" mode="aspectFit"></image>
|
|
|
- <text class="title-text_c6">体动次数</text>
|
|
|
- <image class="header-image_comma" src="/static/images/report/comma_new.png" mode="aspectFit"
|
|
|
- data-index="4" data-subIndex="3" bindtap="toWarmReminder"></image>
|
|
|
+ <!-- <image class="title-image_c6" src="/static/images/report/tidong_cishu_new.png" mode="aspectFit"></image> -->
|
|
|
+ <text class="title-text_c6" style="font-size: 28rpx;">体动次数</text>
|
|
|
+ <!-- <image class="header-image_comma" src="/static/images/report/comma_new.png" mode="aspectFit"
|
|
|
+ data-index="4" data-subIndex="3" bindtap="toWarmReminder"></image> -->
|
|
|
</view>
|
|
|
<view class="title-right_c6">
|
|
|
<text class="title-text-right_c6">{{rmove_arrFrequency}}<text
|
|
|
class="text-line_c31-units">次</text></text>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <text class="sub-title">睡眠状态</text>
|
|
|
+ <!-- <text class="sub-title">睡眠状态</text> -->
|
|
|
<view class="card-h">
|
|
|
|
|
|
<view class="chart-left-box">
|
|
|
@@ -624,7 +645,7 @@
|
|
|
</view> -->
|
|
|
<view style="position: absolute;top: 0;left: 30rpx;right: 30rpx;bottom: 60rpx;border: 1rpx solid #EEEEEE;">
|
|
|
</view>
|
|
|
- <view class="echarts-container_c6" style="flex:1">
|
|
|
+ <view class="echarts-container_c6" style="flex:1;height: 390rpx;">
|
|
|
<ec-canvas id="chartTimeWaterfall-dom" canvas-id="mychart-time-waterfall"
|
|
|
ec="{{ ecTimeWaterfall }}"></ec-canvas>
|
|
|
</view>
|