-
![]()
+
+
@@ -21,9 +21,9 @@
import { ref, defineProps } from 'vue';
const props = defineProps({
- icon: {
- type: String,
- default: ''
+ iconType: {
+ type: Number,
+ default: 1
},
color: {
type: String,
@@ -43,11 +43,19 @@ const props = defineProps({
},
process: {
type: Number,
- default: 0.8
+ default: 0
}
});
const color = ref(props.color)
const bgColor = ref(props.bgColor)
+const iconSrc = ref('assets/imgs/icon/shbz1.png');
+if(props.iconType === 2) {
+ iconSrc.value = 'assets/imgs/icon/shbz2.png';
+} else if(props.iconType === 3) {
+ iconSrc.value = 'assets/imgs/icon/shbz3.png';
+} else if(props.iconType === 4) {
+ iconSrc.value = 'assets/imgs/icon/shbz4.png';
+}
@@ -55,10 +63,11 @@ const bgColor = ref(props.bgColor)
.container
display flex
.left
+ margin-top 5px
margin-right 10px
img
- width 50px
- height 50px
+ width 30px
+ height 30px
.right
display flex
flex-direction column
@@ -66,19 +75,19 @@ const bgColor = ref(props.bgColor)
display flex
justify-content space-between
align-items center
- height 22px
+ height 18px
margin 5px 0
.title
- font-size 16px
+ font-size 14px
.sub-title
font-size 12px
color v-bind(color)
.bottom
- width 300px
+ width 200px
.process
background-color v-bind(bgColor)
width 100%
- height 10px
+ height 6px
position relative
.value
background linear-gradient(90deg, v-bind(color), #FFF)
@@ -87,7 +96,7 @@ const bgColor = ref(props.bgColor)
top 0
left 0
width 120px
- height: 10px
+ height 6px
border-radius 0 5px 5px 0
\ No newline at end of file
diff --git a/src/module/ModuleBottom.vue b/src/module/ModuleBottom.vue
new file mode 100644
index 0000000..df3ff2c
--- /dev/null
+++ b/src/module/ModuleBottom.vue
@@ -0,0 +1,50 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/module/ModuleCenter.vue b/src/module/ModuleCenter.vue
new file mode 100644
index 0000000..e69de29
diff --git a/src/module/ModuleLeft1.vue b/src/module/ModuleLeft1.vue
new file mode 100644
index 0000000..70f294e
--- /dev/null
+++ b/src/module/ModuleLeft1.vue
@@ -0,0 +1,24 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/module/ModuleLeft2.vue b/src/module/ModuleLeft2.vue
new file mode 100644
index 0000000..9da45af
--- /dev/null
+++ b/src/module/ModuleLeft2.vue
@@ -0,0 +1,37 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/module/ModuleLeft3.vue b/src/module/ModuleLeft3.vue
new file mode 100644
index 0000000..e0369df
--- /dev/null
+++ b/src/module/ModuleLeft3.vue
@@ -0,0 +1,16 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/module/ModuleRight1.vue b/src/module/ModuleRight1.vue
new file mode 100644
index 0000000..01cb9a7
--- /dev/null
+++ b/src/module/ModuleRight1.vue
@@ -0,0 +1,16 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/module/ModuleRight2.vue b/src/module/ModuleRight2.vue
new file mode 100644
index 0000000..befe33b
--- /dev/null
+++ b/src/module/ModuleRight2.vue
@@ -0,0 +1,16 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/module/ModuleRight3.vue b/src/module/ModuleRight3.vue
new file mode 100644
index 0000000..044b27e
--- /dev/null
+++ b/src/module/ModuleRight3.vue
@@ -0,0 +1,16 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/module/card/ModuleCard1.vue b/src/module/card/ModuleCard1.vue
new file mode 100644
index 0000000..87ef1e3
--- /dev/null
+++ b/src/module/card/ModuleCard1.vue
@@ -0,0 +1,54 @@
+
+
+
+ {{ props.title }}
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/module/card/ModuleCard2.vue b/src/module/card/ModuleCard2.vue
new file mode 100644
index 0000000..d588d33
--- /dev/null
+++ b/src/module/card/ModuleCard2.vue
@@ -0,0 +1,55 @@
+
+
+
+ {{ props.title }}
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/module/card/ModuleCard3.vue b/src/module/card/ModuleCard3.vue
new file mode 100644
index 0000000..b09454d
--- /dev/null
+++ b/src/module/card/ModuleCard3.vue
@@ -0,0 +1,55 @@
+
+
+
+ {{ props.title }}
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/style.css b/src/style.css
index ac82c7e..2340bb3 100644
--- a/src/style.css
+++ b/src/style.css
@@ -10,7 +10,8 @@
}
html, body {
- height: 100%;
+ min-width: max-content;
+ height: max-content;
margin: 0;
padding: 0;
}