docs(projects): 添加书写规范文档

This commit is contained in:
Soybean
2021-11-03 00:25:01 +08:00
parent e5d9962a5a
commit d9fd91d137
15 changed files with 646 additions and 484 deletions

View File

@ -1,7 +1,5 @@
<template>
<span :style="{ color }">
{{ value }}
</span>
<span>{{ value }}</span>
</template>
<script lang="ts" setup>
import { ref, computed, onMounted, watch, watchEffect } from 'vue';
@ -48,10 +46,6 @@ const props = defineProps({
type: String,
default: '.'
},
color: {
type: String,
default: '#666'
},
useEasing: {
type: Boolean,
default: true

View File

@ -1,5 +1,5 @@
<template>
<div class="bg-light dark:bg-dark rounded-16px shadow-sm">
<div class="overflow-hidden shadow-sm rounded-16px bg-light dark:bg-dark">
<slot></slot>
</div>
</template>