refactor(styles): 代码格式

ISSUES CLOSED: \
This commit is contained in:
Soybean
2022-05-28 12:30:17 +08:00
parent 07baac7cf8
commit 8f6d6ce3cb
107 changed files with 110 additions and 1 deletions

View File

@ -13,4 +13,5 @@ import { pkgJson } from './model';
const { devDependencies } = pkgJson;
</script>
<style scoped></style>

View File

@ -13,4 +13,5 @@ import { pkgJson } from './model';
const { dependencies } = pkgJson;
</script>
<style scoped></style>

View File

@ -23,4 +23,5 @@ import { pkgJson } from './model';
const { version } = pkgJson;
const latestBuildTime = PROJECT_BUILD_TIME;
</script>
<style scoped></style>

View File

@ -8,4 +8,5 @@
</template>
<script setup lang="ts"></script>
<style scoped></style>

View File

@ -10,4 +10,5 @@
<script setup lang="ts">
import { ProjectIntroduction, ProjectInfo, ProDependency, DevDependency } from './components';
</script>
<style scoped></style>

View File

@ -62,4 +62,5 @@ watch(
}
);
</script>
<style scoped></style>

View File

@ -5,4 +5,5 @@
</template>
<script setup lang="ts"></script>
<style scoped></style>

View File

@ -572,4 +572,5 @@ const buttonExample: ButtonExample[] = [
}
];
</script>
<style scoped></style>

View File

@ -38,4 +38,5 @@
</template>
<script setup lang="ts"></script>
<style scoped></style>

View File

@ -80,4 +80,5 @@ onMounted(() => {
getDataSource();
});
</script>
<style scoped></style>

View File

@ -134,4 +134,5 @@ const tableData: TableData[] = [
}
];
</script>
<style scoped></style>

View File

@ -21,4 +21,5 @@ const props = withDefaults(defineProps<Props>(), {
const gradientStyle = computed(() => `linear-gradient(to bottom right, ${props.startColor}, ${props.endColor})`);
</script>
<style scoped></style>

View File

@ -65,4 +65,5 @@ const cardData: CardData[] = [
}
];
</script>
<style scoped></style>

View File

@ -186,4 +186,5 @@ const { domRef: pieRef } = useEcharts(
darkMode
);
</script>
<style></style>
<style scoped></style>

View File

@ -9,4 +9,5 @@
<script lang="ts" setup>
import { TopChart, DataCard, BottomPart } from './components';
</script>
<style scoped></style>

View File

@ -44,4 +44,5 @@ const statisticData: StatisticData[] = [
}
];
</script>
<style scoped></style>

View File

@ -21,4 +21,5 @@ interface Props {
defineProps<Props>();
</script>
<style scoped></style>

View File

@ -38,4 +38,5 @@ function handleOpenSite() {
window.open(props.site, '_blank');
}
</script>
<style scoped></style>

View File

@ -141,4 +141,5 @@ const shortcuts: Shortcuts[] = [
{ id: 5, label: '图表', icon: 'mdi:chart-areaspline', iconColor: '#8aca6b' }
];
</script>
<style scoped></style>

View File

@ -4,7 +4,9 @@
<workbench-main />
</n-space>
</template>
<script lang="ts" setup>
import { WorkbenchHeader, WorkbenchMain } from './components';
</script>
<style scoped></style>

View File

@ -7,4 +7,5 @@
<script setup lang="ts">
const src = 'https://www.naiveui.com/zh-CN/os-theme/docs/introduction';
</script>
<style scoped></style>

View File

@ -7,4 +7,5 @@
<script setup lang="ts">
const src = 'https://vitejs.cn/';
</script>
<style scoped></style>

View File

@ -7,4 +7,5 @@
<script setup lang="ts">
const src = 'https://staging-cn.vuejs.org/';
</script>
<style scoped></style>

View File

@ -7,4 +7,5 @@
<script setup lang="ts">
const src = 'https://v3.cn.vuejs.org/';
</script>
<style scoped></style>

View File

@ -5,4 +5,5 @@
<script lang="ts" setup>
import { ExceptionBase } from '../../system-view/components';
</script>
<style scoped></style>

View File

@ -5,4 +5,5 @@
<script lang="ts" setup>
import { ExceptionBase } from '../../system-view/components';
</script>
<style scoped></style>

View File

@ -5,4 +5,5 @@
<script lang="ts" setup>
import { ExceptionBase } from '../../system-view/components';
</script>
<style scoped></style>

View File

@ -5,4 +5,5 @@
</template>
<script setup lang="ts"></script>
<style scoped></style>

View File

@ -5,4 +5,5 @@
</template>
<script setup lang="ts"></script>
<style scoped></style>

View File

@ -29,4 +29,5 @@ function handleCopy() {
window.$message?.success(`复制成功:${source.value}`);
}
</script>
<style scoped></style>

View File

@ -46,4 +46,5 @@ onUnmounted(() => {
stopHandle();
});
</script>
<style scoped></style>

View File

@ -32,6 +32,7 @@ onMounted(() => {
renderWangEditor();
});
</script>
<style scoped>
:deep(.w-e-toolbar) {
background: inherit !important;

View File

@ -50,4 +50,5 @@ const selectValue = ref('');
const customIcons = [CustomActivity, CustomAtSign, CustomCast, CustomChrome, CustomCopy, CustomWind];
</script>
<style scoped></style>

View File

@ -24,4 +24,5 @@ onMounted(() => {
renderBaiduMap();
});
</script>
<style scoped></style>

View File

@ -26,4 +26,5 @@ onMounted(() => {
renderBaiduMap();
});
</script>
<style scoped></style>

View File

@ -26,4 +26,5 @@ onMounted(() => {
renderBaiduMap();
});
</script>
<style scoped></style>

View File

@ -25,4 +25,5 @@ const maps: Map[] = [
{ id: 'tencent', label: '腾讯地图', component: TencentMap }
];
</script>
<style scoped></style>

View File

@ -35,4 +35,5 @@ function printImage() {
});
}
</script>
<style scoped></style>

View File

@ -113,4 +113,5 @@ const swiperExample: SwiperExample[] = [
}
];
</script>
<style scoped></style>

View File

@ -34,4 +34,5 @@ onUnmounted(() => {
destroyXgPlayer();
});
</script>
<style scoped></style>

View File

@ -25,4 +25,5 @@ defineProps<Props>();
const routeHomePath = routeName('root');
</script>
<style scoped></style>

View File

@ -57,4 +57,5 @@ function handleSubmit(e: MouseEvent) {
});
}
</script>
<style scoped></style>

View File

@ -76,4 +76,5 @@ function handleSubmit(e: MouseEvent) {
});
}
</script>
<style scoped></style>

View File

@ -37,4 +37,5 @@ withDefaults(defineProps<Props>(), {
endColor: '#120fc4'
});
</script>
<style scoped></style>

View File

@ -31,4 +31,5 @@ withDefaults(defineProps<Props>(), {
endColor: '#120fc4'
});
</script>
<style scoped></style>

View File

@ -24,4 +24,5 @@ const props = defineProps<Props>();
const lightColor = computed(() => getColorPalette(props.themeColor, 3));
const darkColor = computed(() => getColorPalette(props.themeColor, 6));
</script>
<style scoped></style>

View File

@ -43,4 +43,5 @@ function login(userName: string, password: string) {
emit('login', { userName, password });
}
</script>
<style scoped></style>

View File

@ -10,4 +10,5 @@
</template>
<script lang="ts" setup></script>
<style scoped></style>

View File

@ -75,4 +75,5 @@ function handleLoginOtherAccount(param: { userName: string; password: string })
login(userName, password);
}
</script>
<style scoped></style>

View File

@ -70,4 +70,5 @@ function handleSubmit(e: MouseEvent) {
});
}
</script>
<style scoped></style>

View File

@ -66,4 +66,5 @@ function handleSubmit(e: MouseEvent) {
});
}
</script>
<style scoped></style>

View File

@ -77,4 +77,5 @@ const bgColor = computed(() => {
return mixColor(COLOR_WHITE, theme.themeColor, ratio);
});
</script>
<style scoped></style>

View File

@ -5,4 +5,5 @@
<script lang="ts" setup>
import { ExceptionBase } from '../components';
</script>
<style scoped></style>

View File

@ -5,4 +5,5 @@
<script lang="ts" setup>
import { ExceptionBase } from '../components';
</script>
<style scoped></style>

View File

@ -5,4 +5,5 @@
<script lang="ts" setup>
import { ExceptionBase } from '../components';
</script>
<style scoped></style>

View File

@ -5,4 +5,5 @@
<script lang="ts" setup>
import { ExceptionBase } from '../components';
</script>
<style scoped></style>