-
- 平均睡眠时长:6小时30分
-
-
-
- 6.5h
- 深睡2.4小时 浅睡4.1小时
-
-
+
+
+ 平均睡眠时长:6小时30分
+
+
+
+ 6.5h
+ 深睡2.4小时 浅睡4.1小时
+
+
+
-
diff --git a/src/components/secondaryScreen/screen-right/screenRightHooks.ts b/src/components/secondaryScreen/screen-right/screenRightHooks.ts
index ac6cc25..c0f5473 100644
--- a/src/components/secondaryScreen/screen-right/screenRightHooks.ts
+++ b/src/components/secondaryScreen/screen-right/screenRightHooks.ts
@@ -13,7 +13,7 @@ export function sleepCharts() {
textStyle: {
color: '#ffffff'
},
- left: '60%',
+ left: '55%',
},
color: ['#14B3F8', '#6D7BEB', '#5451DC'],
xAxis: {
diff --git a/src/components/secondaryScreen/screen-right/threeR.vue b/src/components/secondaryScreen/screen-right/threeR.vue
index b436df9..c519039 100644
--- a/src/components/secondaryScreen/screen-right/threeR.vue
+++ b/src/components/secondaryScreen/screen-right/threeR.vue
@@ -2,9 +2,20 @@
-
+
+
+
+ {{ text }}
+
+
+
+
@@ -13,55 +24,53 @@ import {ref} from 'vue';
import PublicTitle from '/@/components/publicTitle.vue';
const tableInfo = ref({
- dataSource: [],
- columns: [],
+ dataSource: [
+ {
+ key: '1',
+ name: '胡彦斌',
+ age: 32,
+ address: '西湖区湖底公园1号',
+ },
+ {
+ key: '2',
+ name: '胡彦祖',
+ age: 42,
+ address: '西湖区湖底公园1号',
+ },
+ {
+ key: '3',
+ name: '胡彦祖',
+ age: 42,
+ address: '西湖区湖底公园1号',
+ },
+ ],
+ columns: [
+ {
+ title: '姓名',
+ dataIndex: 'name',
+ key: 'name',
+ align: 'center',
+ },
+ {
+ title: '年龄',
+ dataIndex: 'age',
+ key: 'age',
+ align: 'right',
+ },
+ {
+ title: '住址',
+ dataIndex: 'address',
+ key: 'address',
+ align: 'center',
+ slots: {customRender: 'address'}
+ },
+ ],
pagination: {
current: 1,
pageSize: 2,
- total: 20
- }
-})
-const dataSource = ref([
- {
- key: '1',
- name: '胡彦斌',
- age: 32,
- address: '西湖区湖底公园1号',
+ total: 2,
},
- {
- key: '2',
- name: '胡彦祖',
- age: 42,
- address: '西湖区湖底公园1号',
- },
- {
- key: '3',
- name: '胡彦祖',
- age: 42,
- address: '西湖区湖底公园1号',
- },
-]);
-
-const columns = ref([
- {
- title: '姓名',
- dataIndex: 'name',
- key: 'name',
- align: 'center',
- },
- {
- title: '年龄',
- dataIndex: 'age',
- key: 'age',
- align: 'right',
- },
- {
- title: '住址',
- dataIndex: 'address',
- key: 'address',
- align: 'center',
- },
-]);
+});
diff --git a/src/components/secondaryScreen/screen-right/twoR.vue b/src/components/secondaryScreen/screen-right/twoR.vue
index 35f52cb..6db8352 100644
--- a/src/components/secondaryScreen/screen-right/twoR.vue
+++ b/src/components/secondaryScreen/screen-right/twoR.vue
@@ -49,7 +49,7 @@
\ No newline at end of file
+