main #3

Merged
lucas merged 11 commits from zS/go-view-fetch:main into main 2025-08-21 20:23:25 +08:00
2 changed files with 5 additions and 5 deletions
Showing only changes of commit 350577b904 - Show all commits

View File

@ -44,7 +44,8 @@ export const option = {
fontStyle: 'normal',
paddingX: 40,
paddingY: -17,
letterSpacing: 2
letterSpacing: 2,
isShowButton: false
}
export default class Config extends PublicConfigClass implements CreateComponentType {

View File

@ -18,7 +18,7 @@
}">{{ option.title }}</span>
</div>
</div>
<div v-if="false" class="header-right-squares">
<div v-if="option.isShowButton" class="header-right-squares">
<!-- <div class="square" style="background-color: #2e69e0"></div>
<div class="square" style="background-color: #2e9bf0"></div>
<div class="square" style="background-color: #2ef0b3"></div> -->
@ -59,7 +59,6 @@
import { PropType, computed } from 'vue'
import { option as configOption } from './config'
import SmallBorder from '../SmallBorder/index.vue'
import { width } from 'dom-helpers'
const props = defineProps({
chartConfig: {
type: Object as PropType<{ option: typeof configOption }>,
@ -85,9 +84,9 @@ const getStatusColor = (status: string) => {
// background-color: #2066df;
color: #ffffff;
padding: 12px;
margin-top:5px;
margin-top: 5px;
box-sizing: border-box;
.header {
display: flex;
justify-content: space-between;