|
@@ -1,5 +1,7 @@
|
|
|
<script setup lang="ts">
|
|
<script setup lang="ts">
|
|
|
import { ref } from 'vue'
|
|
import { ref } from 'vue'
|
|
|
|
|
+import BubbleLight from '../image/bubble_corner_colorful.png'
|
|
|
|
|
+import BubbleDark from '../image/bubble_corner_colorful_darkmode.png'
|
|
|
const props = defineProps({
|
|
const props = defineProps({
|
|
|
colorfulSrc: String,
|
|
colorfulSrc: String,
|
|
|
isshowexpression: Boolean,
|
|
isshowexpression: Boolean,
|
|
@@ -10,6 +12,7 @@ const emits = defineEmits(['submitDetails'])
|
|
|
const submitDetails = (val: any) => {
|
|
const submitDetails = (val: any) => {
|
|
|
emits('submitDetails', val)
|
|
emits('submitDetails', val)
|
|
|
}
|
|
}
|
|
|
|
|
+const theme = localStorage.getItem('theme')
|
|
|
</script>
|
|
</script>
|
|
|
<template>
|
|
<template>
|
|
|
<div class="colorfulflex">
|
|
<div class="colorfulflex">
|
|
@@ -18,7 +21,7 @@ const submitDetails = (val: any) => {
|
|
|
<img :src="props.colorfulSrc" />
|
|
<img :src="props.colorfulSrc" />
|
|
|
</div>
|
|
</div>
|
|
|
<div class="vector">
|
|
<div class="vector">
|
|
|
- <img class="vector_img" src="../image/bubble_corner_colorful.png" />
|
|
|
|
|
|
|
+ <img class="vector_img" :src="theme == 'light' ? BubbleLight : BubbleDark" />
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
<div v-if="props.isshowDetails" class="dialogcolorful submit">
|
|
<div v-if="props.isshowDetails" class="dialogcolorful submit">
|
|
@@ -38,7 +41,7 @@ const submitDetails = (val: any) => {
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="vector vector_submit">
|
|
<div class="vector vector_submit">
|
|
|
- <img class="vector_img" src="../image/bubble_corner_colorful.png" />
|
|
|
|
|
|
|
+ <img class="vector_img" :src="theme == 'light' ? BubbleLight : BubbleDark" />
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
@@ -62,7 +65,7 @@ const submitDetails = (val: any) => {
|
|
|
color: var(--tag-info-text-color);
|
|
color: var(--tag-info-text-color);
|
|
|
font-size: var(--font-size-4);
|
|
font-size: var(--font-size-4);
|
|
|
border-radius: var(--border-radius-12) var(--border-radius-12) 0 var(--border-radius-12);
|
|
border-radius: var(--border-radius-12) var(--border-radius-12) 0 var(--border-radius-12);
|
|
|
- background: linear-gradient(251deg, rgba(242, 244, 247) 0%, rgba(255, 237, 230) 100%);
|
|
|
|
|
|
|
+ background: var(--scoring-colurful-color);
|
|
|
padding: 8px;
|
|
padding: 8px;
|
|
|
width: 56px;
|
|
width: 56px;
|
|
|
height: 56px;
|
|
height: 56px;
|
|
@@ -108,4 +111,9 @@ const submitDetails = (val: any) => {
|
|
|
font-weight: 400;
|
|
font-weight: 400;
|
|
|
font-size: var(--font-size-3);
|
|
font-size: var(--font-size-3);
|
|
|
}
|
|
}
|
|
|
|
|
+.inputdetails {
|
|
|
|
|
+ background-color: var(--management-bg-bolor);
|
|
|
|
|
+ border-radius: 6px;
|
|
|
|
|
+ border-color: var(--border-color-1);
|
|
|
|
|
+}
|
|
|
</style>
|
|
</style>
|