update: 新疆大屏
This commit is contained in:
+41
-19
@@ -16,21 +16,23 @@
|
||||
<div class="content-item-clock">
|
||||
<div>
|
||||
<span class="clock-text">今日打卡人数:</span>
|
||||
<span class="clock-num1">86人</span>
|
||||
<span class="clock-num1">{{ twoRList?.weightLossCountDay ? twoRList?.weightLossCountDay : '--' }}人</span>
|
||||
</div>
|
||||
<div>
|
||||
<span class="clock-text">异常人数:</span>
|
||||
<span class="clock-num2">86人</span>
|
||||
<span class="clock-num2">{{ twoRList?.weightLossAbnormalCountDay ? twoRList?.weightLossAbnormalCountDay : '--' }}人</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="content-item-clock" style="margin-bottom: 0">
|
||||
<div>
|
||||
<span class="clock-text">今日打卡人数:</span>
|
||||
<span class="clock-num1">86人</span>
|
||||
<span class="clock-text">本月打卡人数:</span>
|
||||
<span class="clock-num1">{{ twoRList?.weightLossCountMonth ? twoRList?.weightLossCountMonth : '--' }}人</span>
|
||||
</div>
|
||||
<div>
|
||||
<span class="clock-text">异常人数:</span>
|
||||
<span class="clock-num2">86人</span>
|
||||
<span class="clock-num2"
|
||||
>{{ twoRList?.weightLossAbnormalCountMonth ? twoRList?.weightLossAbnormalCountMonth : '--' }}人</span
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -39,28 +41,30 @@
|
||||
<div class="content-item-info">
|
||||
<div class="content-item-name" style="font-size: 16px">
|
||||
<div class="content-item-img">
|
||||
<img :src="WeightPng" alt="" />
|
||||
<img :src="FatPng" alt="" />
|
||||
</div>
|
||||
减重打卡
|
||||
血糖打卡
|
||||
</div>
|
||||
<div class="content-item-clock">
|
||||
<div>
|
||||
<span class="clock-text">今日打卡人数:</span>
|
||||
<span class="clock-num1">86人</span>
|
||||
<span class="clock-num1">{{ twoRList?.bloodSugarCountDay ? twoRList?.bloodSugarCountDay : '--' }}人</span>
|
||||
</div>
|
||||
<div>
|
||||
<span class="clock-text">异常人数:</span>
|
||||
<span class="clock-num2">86人</span>
|
||||
<span class="clock-num2">{{ twoRList?.bloodSugarAbnormalCountDay ? twoRList?.bloodSugarAbnormalCountDay : '--' }}人</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="content-item-clock" style="margin-bottom: 0">
|
||||
<div>
|
||||
<span class="clock-text">今日打卡人数:</span>
|
||||
<span class="clock-num1">86人</span>
|
||||
<span class="clock-text">本月打卡人数:</span>
|
||||
<span class="clock-num1">{{ twoRList?.bloodSugarCountMonth ? twoRList?.bloodSugarCountMonth : '--' }}人</span>
|
||||
</div>
|
||||
<div>
|
||||
<span class="clock-text">异常人数:</span>
|
||||
<span class="clock-num2">86人</span>
|
||||
<span class="clock-num2"
|
||||
>{{ twoRList?.bloodSugarAbnormalCountMonth ? twoRList?.bloodSugarAbnormalCountMonth : '--' }}人</span
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -69,28 +73,32 @@
|
||||
<div class="content-item-info">
|
||||
<div class="content-item-name" style="font-size: 16px">
|
||||
<div class="content-item-img">
|
||||
<img :src="WeightPng" alt="" />
|
||||
<img :src="BloodPng" alt="" />
|
||||
</div>
|
||||
减重打卡
|
||||
血压打卡
|
||||
</div>
|
||||
<div class="content-item-clock">
|
||||
<div>
|
||||
<span class="clock-text">今日打卡人数:</span>
|
||||
<span class="clock-num1">12386人</span>
|
||||
<span class="clock-num1">{{ twoRList?.bloodPressureCountDay ? twoRList?.bloodPressureCountDay : '--' }}人</span>
|
||||
</div>
|
||||
<div>
|
||||
<span class="clock-text">异常人数:</span>
|
||||
<span class="clock-num2">86人</span>
|
||||
<span class="clock-num2"
|
||||
>{{ twoRList?.bloodPressureAbnormalCountDay ? twoRList?.bloodPressureAbnormalCountDay : '--' }}人</span
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
<div class="content-item-clock" style="margin-bottom: 0">
|
||||
<div>
|
||||
<span class="clock-text">今日打卡人数:</span>
|
||||
<span class="clock-num1">86人</span>
|
||||
<span class="clock-text">本月打卡人数:</span>
|
||||
<span class="clock-num1">{{ twoRList?.bloodPressureCountMonth ? twoRList?.bloodPressureCountMonth : '--' }}人</span>
|
||||
</div>
|
||||
<div>
|
||||
<span class="clock-text">异常人数:</span>
|
||||
<span class="clock-num2">86人</span>
|
||||
<span class="clock-num2"
|
||||
>{{ twoRList?.bloodPressureAbnormalCountMonth ? twoRList?.bloodPressureAbnormalCountMonth : '--' }}人</span
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -102,6 +110,19 @@
|
||||
import WeightPng from '/@/assets/indexSun/weightClock.png';
|
||||
import FatPng from '/@/assets/indexSun/fatClock.png';
|
||||
import BloodPng from '/@/assets/indexSun/bloodClock.png';
|
||||
import { onMounted, ref } from 'vue';
|
||||
import { twoRApi } from '/@/views/indexSun/indexSun.api.ts';
|
||||
const twoRList = ref();
|
||||
onMounted(() => {
|
||||
getList();
|
||||
});
|
||||
function getList() {
|
||||
twoRApi({}).then((res) => {
|
||||
if (res.code == 200) {
|
||||
twoRList.value = res.result;
|
||||
}
|
||||
});
|
||||
}
|
||||
</script>
|
||||
<style lang="less" scoped>
|
||||
.two-r-box {
|
||||
@@ -173,6 +194,7 @@
|
||||
.clock-num1,
|
||||
.clock-num2 {
|
||||
font-size: 16px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.clock-num1 {
|
||||
color: #22e8ff;
|
||||
|
||||
Reference in New Issue
Block a user