|
@@ -0,0 +1,91 @@
|
|
|
+<template>
|
|
|
+ <div class="body">
|
|
|
+ <div class="info">
|
|
|
+ <div class="round">
|
|
|
+ <div class="colorRound" :style="{ backgroundColor: color }"></div>
|
|
|
+ </div>
|
|
|
+ <div class="text">{{ title }}</div>
|
|
|
+ </div>
|
|
|
+ <div class="line">
|
|
|
+ <div class="lines"></div>
|
|
|
+ </div>
|
|
|
+ <div class="dian">
|
|
|
+ <div class="lines"></div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+</template>
|
|
|
+
|
|
|
+<script lang="ts" setup>
|
|
|
+defineProps({
|
|
|
+ title: {
|
|
|
+ type: String,
|
|
|
+ default: "",
|
|
|
+ },
|
|
|
+ color: {
|
|
|
+ type: String,
|
|
|
+ default: "#5fe3ff",
|
|
|
+ },
|
|
|
+});
|
|
|
+</script>
|
|
|
+
|
|
|
+<style lang="scss" scoped>
|
|
|
+.body {
|
|
|
+ height: 3vh;
|
|
|
+ display: flex;
|
|
|
+ text-align: center;
|
|
|
+ width: 100%;
|
|
|
+ justify-content: space-between;
|
|
|
+ .info {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ .text {
|
|
|
+ color: white;
|
|
|
+ font-size: 2.5vh;
|
|
|
+ }
|
|
|
+ .round {
|
|
|
+ height: 2.4vh;
|
|
|
+ width: 2.4vh;
|
|
|
+ border-radius: 1.2vh;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ margin-right: 0.8vw;
|
|
|
+ border: 1px solid rgba(255, 255, 255, 0.3);
|
|
|
+ .colorRound {
|
|
|
+ height: 1.18vh;
|
|
|
+ width: 1.18vh;
|
|
|
+ border-radius: 0.59vh;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .line {
|
|
|
+ flex: 1;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ padding-left: 0.8vw;
|
|
|
+ .lines {
|
|
|
+ width: 100%;
|
|
|
+ border: 1px solid rgba(255, 255, 255, 0.2);
|
|
|
+ height: 0vh;
|
|
|
+ border-top: 0;
|
|
|
+ border-right: 0;
|
|
|
+ border-left: 0;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .dian {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ width: 0.5vw;
|
|
|
+ .lines {
|
|
|
+ width: 0.5vw;
|
|
|
+ border: 1px solid rgba(255, 255, 255, 1);
|
|
|
+ height: 0vh;
|
|
|
+ border-top: 0;
|
|
|
+ border-right: 0;
|
|
|
+ border-left: 0;
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+</style>
|