11<template >
22 <div id =" CAMP" >
3+ <!-- <content-loader
4+ :width="800"
5+ :height="600"
6+ :speed="2"
7+ primaryColor="#ffafff"
8+ secondaryColor="#ecebeb"
9+ >
10+ <rect x="112" y="40" rx="3" ry="3" width="88" height="6" />
11+ <rect x="112" y="58" rx="3" ry="3" width="52" height="6" />
12+ <rect x="64" y="88" rx="3" ry="3" width="410" height="6" />
13+ <rect x="64" y="104" rx="3" ry="3" width="380" height="6" />
14+ <rect x="64" y="120" rx="3" ry="3" width="178" height="6" />
15+ <circle cx="20" cy="20" r="20" />
16+ </content-loader>-->
17+
318 <h1 >健康聲明表</h1 >
419 {{uuid}}
20+ <content-loader
21+ v-if =" skeleton==true"
22+ :width =" 1000"
23+ :height =" 600"
24+ :speed =" 3"
25+ primaryColor =" #000000"
26+ secondaryColor =" #ecebeb"
27+ >
28+ <rect x =" 17" y =" 23" rx =" 29" ry =" 29" width =" 310" height =" 310" />
29+ <rect x =" 346" y =" 102" rx =" 3" ry =" 3" width =" 288" height =" 26" />
30+ <rect x =" 345" y =" 132" rx =" 3" ry =" 3" width =" 288" height =" 8" />
31+ <rect x =" 346" y =" 146" rx =" 3" ry =" 3" width =" 288" height =" 26" />
32+ <rect x =" 346" y =" 176" rx =" 3" ry =" 3" width =" 288" height =" 8" />
33+ <rect x =" 346" y =" 190" rx =" 3" ry =" 3" width =" 288" height =" 26" />
34+ <rect x =" 346" y =" 221" rx =" 3" ry =" 3" width =" 288" height =" 8" />
35+ <rect x =" 350" y =" 245" rx =" 29" ry =" 29" width =" 87" height =" 87" />
36+ <rect x =" 448" y =" 245" rx =" 29" ry =" 29" width =" 87" height =" 87" />
37+ <rect x =" 543" y =" 244" rx =" 29" ry =" 29" width =" 87" height =" 87" />
38+ <rect x =" 345" y =" 63" rx =" 3" ry =" 3" width =" 121" height =" 26" />
39+ <rect x =" 511" y =" 63" rx =" 3" ry =" 3" width =" 121" height =" 26" />
40+ <rect x =" 347" y =" 26" rx =" 24" ry =" 24" width =" 288" height =" 26" />
41+ <rect x =" 27" y =" 439" rx =" 3" ry =" 3" width =" 288" height =" 26" />
42+ <rect x =" 26" y =" 469" rx =" 3" ry =" 3" width =" 288" height =" 8" />
43+ <rect x =" 27" y =" 483" rx =" 3" ry =" 3" width =" 288" height =" 26" />
44+ <rect x =" 27" y =" 513" rx =" 3" ry =" 3" width =" 288" height =" 8" />
45+ <rect x =" 27" y =" 527" rx =" 3" ry =" 3" width =" 288" height =" 26" />
46+ <rect x =" 27" y =" 558" rx =" 3" ry =" 3" width =" 288" height =" 8" />
47+ <rect x =" 31" y =" 582" rx =" 29" ry =" 29" width =" 87" height =" 87" />
48+ <rect x =" 129" y =" 582" rx =" 29" ry =" 29" width =" 87" height =" 87" />
49+ <rect x =" 224" y =" 581" rx =" 29" ry =" 29" width =" 87" height =" 87" />
50+ <rect x =" 26" y =" 400" rx =" 3" ry =" 3" width =" 121" height =" 26" />
51+ <rect x =" 192" y =" 400" rx =" 3" ry =" 3" width =" 121" height =" 26" />
52+ <rect x =" 28" y =" 363" rx =" 24" ry =" 24" width =" 288" height =" 26" />
53+ <rect x =" 344" y =" 364" rx =" 29" ry =" 29" width =" 310" height =" 310" />
54+ <rect x =" 669" y =" 18" rx =" 29" ry =" 29" width =" 310" height =" 310" />
55+ <rect x =" 679" y =" 434" rx =" 3" ry =" 3" width =" 288" height =" 26" />
56+ <rect x =" 678" y =" 464" rx =" 3" ry =" 3" width =" 288" height =" 8" />
57+ <rect x =" 679" y =" 478" rx =" 3" ry =" 3" width =" 288" height =" 26" />
58+ <rect x =" 679" y =" 508" rx =" 3" ry =" 3" width =" 288" height =" 8" />
59+ <rect x =" 679" y =" 522" rx =" 3" ry =" 3" width =" 288" height =" 26" />
60+ <rect x =" 679" y =" 553" rx =" 3" ry =" 3" width =" 288" height =" 8" />
61+ <rect x =" 683" y =" 577" rx =" 29" ry =" 29" width =" 87" height =" 87" />
62+ <rect x =" 781" y =" 577" rx =" 29" ry =" 29" width =" 87" height =" 87" />
63+ <rect x =" 876" y =" 576" rx =" 29" ry =" 29" width =" 87" height =" 87" />
64+ <rect x =" 678" y =" 395" rx =" 3" ry =" 3" width =" 121" height =" 26" />
65+ <rect x =" 844" y =" 395" rx =" 3" ry =" 3" width =" 121" height =" 26" />
66+ <rect x =" 680" y =" 358" rx =" 24" ry =" 24" width =" 288" height =" 26" />
67+ </content-loader >
568 <!-- <el-switch v-model="value" active-color="#13ce66" inactive-color="#ff4949"></el-switch> -->
6- <div v-if =" CardData!=[]" id =" HealthCardList" >
69+ <div v-if =" CardData!=[]" id =" HealthCardList" >
770 <!-- <HealthCard v-for="item in card" :key="item.date" v-bind:data="item" /> -->
871 <!-- <HealthCard v-for="item in card" :key="item.date" v-bind:data="item" /> -->
972 <HealthCard v-for =" item in CardData" :key =" item.date" v-bind:data =" item" />
64127<script >
65128import HealthForm from " ../components/HealthForm.vue" ;
66129import HealthCard from " ../components/HealthCard.vue" ;
130+ import { ContentLoader } from " vue-content-loader" ;
67131
68132export default {
69133 name: " CAMP" ,
70134 components: {
71135 HealthForm,
72136 HealthCard,
137+ ContentLoader,
73138 },
74139 created () {
75140 if (this .selectTemplate == " healthDeclaration" ) {
@@ -150,6 +215,9 @@ export default {
150215 // this.fillData();
151216 console .log (" porcessing change" , this .porcessing );
152217 },
218+ skeleton : function () {
219+ console .log (" skeleton change" , this .skeleton );
220+ },
153221 storageChartDatasets : function () {
154222 // console.log("bodyTemperature change", this.storageChartDatasets);
155223 // console.log("bodyTemperature change", this.storageChartDatasets);
@@ -168,6 +236,9 @@ export default {
168236 },
169237 },
170238 computed: {
239+ skeleton () {
240+ return this .$store .state .isLoading ;
241+ },
171242 storageChartLabels () {
172243 return this .$store .state .storeChartLabels ;
173244 },
0 commit comments