2020-02-29 16:17:42 +08:00
|
|
|
# debug
|
2020-02-03 20:45:06 +08:00
|
|
|
Debug 用的。
|
2019-09-20 00:27:06 +08:00
|
|
|
```html
|
|
|
|
<div class="debug-zone"
|
|
|
|
n-light-theme-background-color-hint="#ececec"
|
2019-09-25 14:24:53 +08:00
|
|
|
n-dark-theme-background-color-hint="transparent"
|
2019-09-20 00:27:06 +08:00
|
|
|
>
|
|
|
|
<n-button
|
|
|
|
type="default"
|
|
|
|
round
|
|
|
|
>
|
2019-12-04 18:17:25 +08:00
|
|
|
<template v-slot:icon>
|
2020-05-30 00:29:18 +08:00
|
|
|
<cash-outline />
|
2019-12-04 18:17:25 +08:00
|
|
|
</template>
|
2019-09-20 00:27:06 +08:00
|
|
|
Default
|
|
|
|
</n-button>
|
|
|
|
<n-button
|
|
|
|
type="primary"
|
|
|
|
disabled
|
|
|
|
>
|
2019-12-04 18:17:25 +08:00
|
|
|
<template v-slot:icon>
|
2020-05-30 00:29:18 +08:00
|
|
|
<cash-outline />
|
2019-12-04 18:17:25 +08:00
|
|
|
</template>
|
2019-09-20 00:27:06 +08:00
|
|
|
Primary
|
|
|
|
</n-button>
|
|
|
|
<n-button
|
|
|
|
type="info"
|
2020-01-27 19:43:56 +08:00
|
|
|
icon-placement="right"
|
2019-09-20 00:27:06 +08:00
|
|
|
>
|
2019-12-04 18:17:25 +08:00
|
|
|
<template v-slot:icon>
|
2020-05-30 00:29:18 +08:00
|
|
|
<cash-outline />
|
2019-12-04 18:17:25 +08:00
|
|
|
</template>
|
2019-09-20 00:27:06 +08:00
|
|
|
Info
|
|
|
|
</n-button>
|
|
|
|
<n-button
|
|
|
|
type="warning"
|
|
|
|
>
|
2019-12-04 18:17:25 +08:00
|
|
|
<template v-slot:icon>
|
2020-05-30 00:29:18 +08:00
|
|
|
<cash-outline />
|
2019-12-04 18:17:25 +08:00
|
|
|
</template>
|
2019-09-20 00:27:06 +08:00
|
|
|
Warning
|
|
|
|
</n-button>
|
|
|
|
<n-button
|
|
|
|
type="success"
|
|
|
|
>
|
2019-12-04 18:17:25 +08:00
|
|
|
<template v-slot:icon>
|
2020-05-30 00:29:18 +08:00
|
|
|
<cash-outline />
|
2019-12-04 18:17:25 +08:00
|
|
|
</template>
|
2019-09-20 00:27:06 +08:00
|
|
|
Success
|
|
|
|
</n-button>
|
|
|
|
<n-button
|
|
|
|
type="error"
|
|
|
|
>
|
2019-12-04 18:17:25 +08:00
|
|
|
<template v-slot:icon>
|
2020-05-30 00:29:18 +08:00
|
|
|
<cash-outline />
|
2019-12-04 18:17:25 +08:00
|
|
|
</template>
|
2019-09-20 00:27:06 +08:00
|
|
|
Error
|
|
|
|
</n-button>
|
|
|
|
<n-button
|
|
|
|
type="default"
|
|
|
|
ghost
|
|
|
|
>
|
2019-12-04 18:17:25 +08:00
|
|
|
<template v-slot:icon>
|
2020-05-30 00:29:18 +08:00
|
|
|
<cash-outline />
|
2019-12-04 18:17:25 +08:00
|
|
|
</template>
|
2019-09-20 00:27:06 +08:00
|
|
|
Default
|
|
|
|
</n-button>
|
|
|
|
<n-button
|
|
|
|
type="primary"
|
|
|
|
ghost
|
|
|
|
round
|
|
|
|
>
|
2019-12-04 18:17:25 +08:00
|
|
|
<template v-slot:icon>
|
2020-05-30 00:29:18 +08:00
|
|
|
<cash-outline />
|
2019-12-04 18:17:25 +08:00
|
|
|
</template>
|
2019-09-20 00:27:06 +08:00
|
|
|
Primary
|
|
|
|
</n-button>
|
|
|
|
<n-button
|
|
|
|
type="info"
|
|
|
|
ghost
|
|
|
|
disabled
|
|
|
|
>
|
2019-12-04 18:17:25 +08:00
|
|
|
<template v-slot:icon>
|
2020-05-30 00:29:18 +08:00
|
|
|
<cash-outline />
|
2019-12-04 18:17:25 +08:00
|
|
|
</template>
|
2019-09-20 00:27:06 +08:00
|
|
|
Info
|
|
|
|
</n-button>
|
|
|
|
<n-button
|
|
|
|
type="warning"
|
|
|
|
ghost
|
2020-01-27 19:43:56 +08:00
|
|
|
icon-placement="right"
|
2019-09-20 00:27:06 +08:00
|
|
|
>
|
2019-12-04 18:17:25 +08:00
|
|
|
<template v-slot:icon>
|
2020-05-30 00:29:18 +08:00
|
|
|
<cash-outline />
|
2019-12-04 18:17:25 +08:00
|
|
|
</template>
|
2019-09-20 00:27:06 +08:00
|
|
|
Warning
|
|
|
|
</n-button>
|
|
|
|
<n-button
|
|
|
|
type="success"
|
|
|
|
ghost
|
|
|
|
>
|
2019-12-04 18:17:25 +08:00
|
|
|
<template v-slot:icon>
|
2020-05-30 00:29:18 +08:00
|
|
|
<cash-outline />
|
2019-12-04 18:17:25 +08:00
|
|
|
</template>
|
2019-09-20 00:27:06 +08:00
|
|
|
Success
|
|
|
|
</n-button>
|
|
|
|
<n-button
|
|
|
|
type="error"
|
|
|
|
ghost
|
|
|
|
>
|
2019-12-04 18:17:25 +08:00
|
|
|
<template v-slot:icon>
|
2020-05-30 00:29:18 +08:00
|
|
|
<cash-outline />
|
2019-12-04 18:17:25 +08:00
|
|
|
</template>
|
2019-09-20 00:27:06 +08:00
|
|
|
Error
|
|
|
|
</n-button>
|
|
|
|
<n-button
|
|
|
|
type="default"
|
|
|
|
loading
|
|
|
|
>
|
2019-12-04 18:17:25 +08:00
|
|
|
<template v-slot:icon>
|
2020-05-30 00:29:18 +08:00
|
|
|
<cash-outline />
|
2019-12-04 18:17:25 +08:00
|
|
|
</template>
|
2019-09-20 00:27:06 +08:00
|
|
|
Default
|
|
|
|
</n-button>
|
|
|
|
<n-button
|
|
|
|
type="primary"
|
|
|
|
loading
|
|
|
|
>
|
2019-12-04 18:17:25 +08:00
|
|
|
<template v-slot:icon>
|
2020-05-30 00:29:18 +08:00
|
|
|
<cash-outline />
|
2019-12-04 18:17:25 +08:00
|
|
|
</template>
|
2019-09-20 00:27:06 +08:00
|
|
|
Primary
|
|
|
|
</n-button>
|
|
|
|
<n-button
|
|
|
|
type="info"
|
|
|
|
loading
|
|
|
|
round
|
|
|
|
>
|
2019-12-04 18:17:25 +08:00
|
|
|
<template v-slot:icon>
|
2020-05-30 00:29:18 +08:00
|
|
|
<cash-outline />
|
2019-12-04 18:17:25 +08:00
|
|
|
</template>
|
2019-09-20 00:27:06 +08:00
|
|
|
Info
|
|
|
|
</n-button>
|
|
|
|
<n-button
|
|
|
|
type="warning"
|
|
|
|
loading
|
|
|
|
disabled
|
|
|
|
>
|
2019-12-04 18:17:25 +08:00
|
|
|
<template v-slot:icon>
|
2020-05-30 00:29:18 +08:00
|
|
|
<cash-outline />
|
2019-12-04 18:17:25 +08:00
|
|
|
</template>
|
2019-09-20 00:27:06 +08:00
|
|
|
Warning
|
|
|
|
</n-button>
|
|
|
|
<n-button
|
|
|
|
type="success"
|
|
|
|
loading
|
2020-01-27 19:43:56 +08:00
|
|
|
icon-placement="right"
|
2019-09-20 00:27:06 +08:00
|
|
|
>
|
2019-12-04 18:17:25 +08:00
|
|
|
<template v-slot:icon>
|
2020-05-30 00:29:18 +08:00
|
|
|
<cash-outline />
|
2019-12-04 18:17:25 +08:00
|
|
|
</template>
|
2019-09-20 00:27:06 +08:00
|
|
|
Success
|
|
|
|
</n-button>
|
|
|
|
<n-button
|
|
|
|
type="error"
|
|
|
|
loading
|
|
|
|
>
|
2019-12-04 18:17:25 +08:00
|
|
|
<template v-slot:icon>
|
2020-05-30 00:29:18 +08:00
|
|
|
<cash-outline />
|
2019-12-04 18:17:25 +08:00
|
|
|
</template>
|
2019-09-20 00:27:06 +08:00
|
|
|
Error
|
|
|
|
</n-button>
|
|
|
|
<n-button
|
|
|
|
type="default"
|
|
|
|
ghost
|
|
|
|
loading
|
|
|
|
>
|
2019-12-04 18:17:25 +08:00
|
|
|
<template v-slot:icon>
|
2020-05-30 00:29:18 +08:00
|
|
|
<cash-outline />
|
2019-12-04 18:17:25 +08:00
|
|
|
</template>
|
2019-09-20 00:27:06 +08:00
|
|
|
Default
|
|
|
|
</n-button>
|
|
|
|
<n-button
|
|
|
|
type="primary"
|
|
|
|
ghost
|
|
|
|
loading
|
|
|
|
>
|
2019-12-04 18:17:25 +08:00
|
|
|
<template v-slot:icon>
|
2020-05-30 00:29:18 +08:00
|
|
|
<cash-outline />
|
2019-12-04 18:17:25 +08:00
|
|
|
</template>
|
2019-09-20 00:27:06 +08:00
|
|
|
Primary
|
|
|
|
</n-button>
|
|
|
|
<n-button
|
|
|
|
type="info"
|
|
|
|
ghost
|
|
|
|
loading
|
|
|
|
>
|
2019-12-04 18:17:25 +08:00
|
|
|
<template v-slot:icon>
|
2020-05-30 00:29:18 +08:00
|
|
|
<cash-outline />
|
2019-12-04 18:17:25 +08:00
|
|
|
</template>
|
2019-09-20 00:27:06 +08:00
|
|
|
Info
|
|
|
|
</n-button>
|
|
|
|
<n-button
|
|
|
|
type="warning"
|
|
|
|
ghost
|
|
|
|
loading
|
|
|
|
round
|
|
|
|
>
|
2019-12-04 18:17:25 +08:00
|
|
|
<template v-slot:icon>
|
2020-05-30 00:29:18 +08:00
|
|
|
<cash-outline />
|
2019-12-04 18:17:25 +08:00
|
|
|
</template>
|
2019-09-20 00:27:06 +08:00
|
|
|
Warning
|
|
|
|
</n-button>
|
|
|
|
<n-button
|
|
|
|
type="success"
|
|
|
|
ghost
|
|
|
|
loading
|
|
|
|
disabled
|
|
|
|
>
|
2019-12-04 18:17:25 +08:00
|
|
|
<template v-slot:icon>
|
2020-05-30 00:29:18 +08:00
|
|
|
<cash-outline />
|
2019-12-04 18:17:25 +08:00
|
|
|
</template>
|
2019-09-20 00:27:06 +08:00
|
|
|
Success
|
|
|
|
</n-button>
|
|
|
|
<n-button
|
|
|
|
type="error"
|
|
|
|
ghost
|
|
|
|
loading
|
2020-01-27 19:43:56 +08:00
|
|
|
icon-placement="right"
|
2019-09-20 00:27:06 +08:00
|
|
|
>
|
2019-12-04 18:17:25 +08:00
|
|
|
<template v-slot:icon>
|
2020-05-30 00:29:18 +08:00
|
|
|
<cash-outline />
|
2019-12-04 18:17:25 +08:00
|
|
|
</template>
|
2019-09-20 00:27:06 +08:00
|
|
|
Error
|
|
|
|
</n-button>
|
|
|
|
<n-button
|
|
|
|
type="default"
|
|
|
|
round
|
|
|
|
block
|
|
|
|
>
|
2019-12-04 18:17:25 +08:00
|
|
|
<template v-slot:icon>
|
2020-05-30 00:29:18 +08:00
|
|
|
<cash-outline />
|
2019-12-04 18:17:25 +08:00
|
|
|
</template>
|
2019-09-20 00:27:06 +08:00
|
|
|
Default
|
|
|
|
</n-button>
|
|
|
|
<n-button
|
|
|
|
type="primary"
|
|
|
|
disabled
|
|
|
|
block
|
|
|
|
size="small"
|
|
|
|
>
|
2019-12-04 18:17:25 +08:00
|
|
|
<template v-slot:icon>
|
2020-05-30 00:29:18 +08:00
|
|
|
<cash-outline />
|
2019-12-04 18:17:25 +08:00
|
|
|
</template>
|
2019-09-20 00:27:06 +08:00
|
|
|
Primary
|
|
|
|
</n-button>
|
|
|
|
<n-button
|
|
|
|
type="info"
|
2020-01-27 19:43:56 +08:00
|
|
|
icon-placement="right"
|
2019-09-20 00:27:06 +08:00
|
|
|
block
|
|
|
|
size="large"
|
|
|
|
>
|
2019-12-04 18:17:25 +08:00
|
|
|
<template v-slot:icon>
|
2020-05-30 00:29:18 +08:00
|
|
|
<cash-outline />
|
2019-12-04 18:17:25 +08:00
|
|
|
</template>
|
2019-09-20 00:27:06 +08:00
|
|
|
Info
|
|
|
|
</n-button>
|
|
|
|
<n-button
|
|
|
|
type="warning"
|
|
|
|
block
|
|
|
|
ghost
|
|
|
|
>
|
2019-12-04 18:17:25 +08:00
|
|
|
<template v-slot:icon>
|
2020-05-30 00:29:18 +08:00
|
|
|
<cash-outline />
|
2019-12-04 18:17:25 +08:00
|
|
|
</template>
|
2019-09-20 00:27:06 +08:00
|
|
|
Warning
|
|
|
|
</n-button>
|
|
|
|
<n-button
|
|
|
|
type="success"
|
|
|
|
block
|
|
|
|
loading
|
|
|
|
>
|
2019-12-04 18:17:25 +08:00
|
|
|
<template v-slot:icon>
|
2020-05-30 00:29:18 +08:00
|
|
|
<cash-outline />
|
2019-12-04 18:17:25 +08:00
|
|
|
</template>
|
2019-09-20 00:27:06 +08:00
|
|
|
Success
|
|
|
|
</n-button>
|
|
|
|
<n-button
|
|
|
|
type="error"
|
|
|
|
block
|
|
|
|
>
|
2019-12-04 18:17:25 +08:00
|
|
|
<template v-slot:icon>
|
2020-05-30 00:29:18 +08:00
|
|
|
<cash-outline />
|
2019-12-04 18:17:25 +08:00
|
|
|
</template>
|
2019-09-20 00:27:06 +08:00
|
|
|
Error
|
|
|
|
</n-button>
|
|
|
|
<n-button
|
|
|
|
type="primary"
|
|
|
|
disabled
|
|
|
|
circle
|
|
|
|
size="small"
|
|
|
|
>
|
2019-12-04 18:17:25 +08:00
|
|
|
<template v-slot:icon>
|
2020-05-30 00:29:18 +08:00
|
|
|
<cash-outline />
|
2019-12-04 18:17:25 +08:00
|
|
|
</template>
|
2019-09-20 00:27:06 +08:00
|
|
|
Primary
|
|
|
|
</n-button>
|
|
|
|
<n-button
|
|
|
|
type="info"
|
2020-01-27 19:43:56 +08:00
|
|
|
icon-placement="right"
|
2019-09-20 00:27:06 +08:00
|
|
|
circle
|
|
|
|
size="large"
|
|
|
|
>
|
2019-12-04 18:17:25 +08:00
|
|
|
<template v-slot:icon>
|
2020-05-30 00:29:18 +08:00
|
|
|
<cash-outline />
|
2019-12-04 18:17:25 +08:00
|
|
|
</template>
|
2019-09-20 00:27:06 +08:00
|
|
|
Info
|
|
|
|
</n-button>
|
|
|
|
<n-button
|
|
|
|
type="warning"
|
|
|
|
circle
|
|
|
|
ghost
|
|
|
|
>
|
2019-12-04 18:17:25 +08:00
|
|
|
<template v-slot:icon>
|
2020-05-30 00:29:18 +08:00
|
|
|
<cash-outline />
|
2019-12-04 18:17:25 +08:00
|
|
|
</template>
|
2019-09-20 00:27:06 +08:00
|
|
|
Warning
|
|
|
|
</n-button>
|
|
|
|
<n-button
|
|
|
|
type="success"
|
|
|
|
circle
|
|
|
|
loading
|
|
|
|
>
|
2019-12-04 18:17:25 +08:00
|
|
|
<template v-slot:icon>
|
2020-05-30 00:29:18 +08:00
|
|
|
<cash-outline />
|
2019-12-04 18:17:25 +08:00
|
|
|
</template>
|
2019-09-20 00:27:06 +08:00
|
|
|
Success
|
|
|
|
</n-button>
|
|
|
|
<n-button
|
|
|
|
type="error"
|
|
|
|
circle
|
|
|
|
>
|
2019-12-04 18:17:25 +08:00
|
|
|
<template v-slot:icon>
|
2020-05-30 00:29:18 +08:00
|
|
|
<cash-outline />
|
2019-12-04 18:17:25 +08:00
|
|
|
</template>
|
2019-09-20 00:27:06 +08:00
|
|
|
Error
|
|
|
|
</n-button>
|
|
|
|
<n-button
|
|
|
|
type="error"
|
|
|
|
>
|
2019-12-04 18:17:25 +08:00
|
|
|
<template v-slot:icon>
|
2020-05-30 00:29:18 +08:00
|
|
|
<cash-outline />
|
2019-12-04 18:17:25 +08:00
|
|
|
</template>
|
2019-09-20 00:27:06 +08:00
|
|
|
Error
|
|
|
|
</n-button>
|
|
|
|
<n-button
|
|
|
|
type="error"
|
|
|
|
size="large"
|
2019-12-04 18:17:25 +08:00
|
|
|
>
|
|
|
|
<template v-slot:icon>
|
2020-05-30 00:29:18 +08:00
|
|
|
<cash-outline />
|
2019-12-04 18:17:25 +08:00
|
|
|
</template>
|
|
|
|
</n-button>
|
2019-09-20 00:27:06 +08:00
|
|
|
<n-button
|
|
|
|
type="error"
|
|
|
|
round
|
|
|
|
size="large"
|
2019-12-04 18:17:25 +08:00
|
|
|
>
|
|
|
|
<template v-slot:icon>
|
2020-05-30 00:29:18 +08:00
|
|
|
<cash-outline />
|
2019-12-04 18:17:25 +08:00
|
|
|
</template>
|
|
|
|
</n-button>
|
2019-09-20 00:27:06 +08:00
|
|
|
<n-button-group>
|
|
|
|
<n-button
|
|
|
|
type="default"
|
|
|
|
round
|
|
|
|
>
|
2019-12-04 18:17:25 +08:00
|
|
|
<template v-slot:icon>
|
2020-05-30 00:29:18 +08:00
|
|
|
<cash-outline />
|
2019-12-04 18:17:25 +08:00
|
|
|
</template>
|
2019-09-20 00:27:06 +08:00
|
|
|
Default
|
|
|
|
</n-button>
|
|
|
|
<n-button
|
|
|
|
type="primary"
|
|
|
|
disabled
|
|
|
|
>
|
2019-12-04 18:17:25 +08:00
|
|
|
<template v-slot:icon>
|
2020-05-30 00:29:18 +08:00
|
|
|
<cash-outline />
|
2019-12-04 18:17:25 +08:00
|
|
|
</template>
|
2019-09-20 00:27:06 +08:00
|
|
|
Primary
|
|
|
|
</n-button>
|
|
|
|
<n-button
|
|
|
|
type="info"
|
2020-01-27 19:43:56 +08:00
|
|
|
icon-placement="right"
|
2019-09-20 00:27:06 +08:00
|
|
|
>
|
2019-12-04 18:17:25 +08:00
|
|
|
<template v-slot:icon>
|
2020-05-30 00:29:18 +08:00
|
|
|
<cash-outline />
|
2019-12-04 18:17:25 +08:00
|
|
|
</template>
|
2019-09-20 00:27:06 +08:00
|
|
|
Info
|
|
|
|
</n-button>
|
|
|
|
<n-button
|
|
|
|
type="warning"
|
|
|
|
>
|
2019-12-04 18:17:25 +08:00
|
|
|
<template v-slot:icon>
|
2020-05-30 00:29:18 +08:00
|
|
|
<cash-outline />
|
2019-12-04 18:17:25 +08:00
|
|
|
</template>
|
2019-09-20 00:27:06 +08:00
|
|
|
Warning
|
|
|
|
</n-button>
|
|
|
|
</n-button-group>
|
|
|
|
<n-button-group vertical>
|
|
|
|
<n-button
|
|
|
|
type="default"
|
|
|
|
round
|
|
|
|
>
|
2019-12-04 18:17:25 +08:00
|
|
|
<template v-slot:icon>
|
2020-05-30 00:29:18 +08:00
|
|
|
<cash-outline />
|
2019-12-04 18:17:25 +08:00
|
|
|
</template>
|
2019-09-20 00:27:06 +08:00
|
|
|
Default
|
|
|
|
</n-button>
|
|
|
|
<n-button
|
|
|
|
type="primary"
|
|
|
|
disabled
|
|
|
|
>
|
2019-12-04 18:17:25 +08:00
|
|
|
<template v-slot:icon>
|
2020-05-30 00:29:18 +08:00
|
|
|
<cash-outline />
|
2019-12-04 18:17:25 +08:00
|
|
|
</template>
|
2019-09-20 00:27:06 +08:00
|
|
|
Primary
|
|
|
|
</n-button>
|
|
|
|
<n-button
|
|
|
|
type="info"
|
2020-01-27 19:43:56 +08:00
|
|
|
icon-placement="right"
|
2019-09-20 00:27:06 +08:00
|
|
|
>
|
2019-12-04 18:17:25 +08:00
|
|
|
<template v-slot:icon>
|
2020-05-30 00:29:18 +08:00
|
|
|
<cash-outline />
|
2019-12-04 18:17:25 +08:00
|
|
|
</template>
|
2019-09-20 00:27:06 +08:00
|
|
|
Info
|
|
|
|
</n-button>
|
|
|
|
<n-button
|
|
|
|
type="warning"
|
|
|
|
>
|
2019-12-04 18:17:25 +08:00
|
|
|
<template v-slot:icon>
|
2020-05-30 00:29:18 +08:00
|
|
|
<cash-outline />
|
2019-12-04 18:17:25 +08:00
|
|
|
</template>
|
2019-09-20 00:27:06 +08:00
|
|
|
Warning
|
|
|
|
</n-button>
|
|
|
|
</n-button-group>
|
2020-05-30 00:29:18 +08:00
|
|
|
<n-button text type="info" loading size="small">Info</n-button>
|
|
|
|
<n-button text type="success">Success</n-button>
|
|
|
|
<n-button text type="warning">Warning</n-button>
|
|
|
|
<n-button text type="error" icon-placement="right">
|
|
|
|
<template v-slot:icon>
|
|
|
|
<n-icon>
|
|
|
|
<cash-outline />
|
|
|
|
</n-icon>
|
|
|
|
</template>
|
|
|
|
Error
|
|
|
|
</n-button>
|
|
|
|
<n-button-group vertical>
|
|
|
|
<n-button
|
|
|
|
type="primary"
|
|
|
|
round
|
|
|
|
>
|
|
|
|
<template v-slot:icon>
|
|
|
|
<log-in-outline />
|
|
|
|
</template>
|
|
|
|
活着
|
|
|
|
</n-button>
|
|
|
|
<n-button
|
|
|
|
type="warning"
|
|
|
|
ghost
|
|
|
|
>
|
|
|
|
<template v-slot:icon>
|
|
|
|
<log-in-outline />
|
|
|
|
</template>
|
|
|
|
不多
|
|
|
|
</n-button>
|
|
|
|
<n-button
|
|
|
|
type="error"
|
|
|
|
>
|
|
|
|
<template v-slot:icon>
|
|
|
|
<log-in-outline />
|
|
|
|
</template>
|
|
|
|
不少
|
|
|
|
</n-button>
|
|
|
|
</n-button-group>
|
|
|
|
<n-button-group vertical size="large">
|
|
|
|
<n-button
|
|
|
|
type="success"
|
|
|
|
>
|
|
|
|
<template v-slot:icon>
|
|
|
|
<log-in-outline />
|
|
|
|
</template>
|
|
|
|
幸福
|
|
|
|
</n-button>
|
|
|
|
<n-button
|
|
|
|
type="info"
|
|
|
|
>
|
|
|
|
<template v-slot:icon>
|
|
|
|
<log-in-outline />
|
|
|
|
</template>
|
|
|
|
刚好
|
|
|
|
</n-button>
|
|
|
|
<n-button
|
|
|
|
type="error"
|
|
|
|
ghost
|
|
|
|
round
|
|
|
|
>
|
|
|
|
<template v-slot:icon>
|
|
|
|
<log-in-outline />
|
|
|
|
</template>
|
|
|
|
够用
|
|
|
|
</n-button>
|
|
|
|
</n-button-group>
|
|
|
|
<n-button-group size="small">
|
|
|
|
<n-button
|
|
|
|
type="default"
|
|
|
|
round
|
|
|
|
>
|
|
|
|
<template v-slot:icon>
|
|
|
|
<log-in-outline />
|
|
|
|
</template>
|
|
|
|
活着
|
|
|
|
</n-button>
|
|
|
|
<n-button
|
|
|
|
type="default"
|
|
|
|
>
|
|
|
|
<template v-slot:icon>
|
|
|
|
<log-in-outline />
|
|
|
|
</template>
|
|
|
|
其实
|
|
|
|
</n-button>
|
|
|
|
<n-button
|
|
|
|
type="default"
|
|
|
|
>
|
|
|
|
<template v-slot:icon>
|
|
|
|
<log-in-outline />
|
|
|
|
</template>
|
|
|
|
很好
|
|
|
|
</n-button>
|
|
|
|
</n-button-group>
|
|
|
|
<n-button-group>
|
|
|
|
<n-button
|
|
|
|
type="primary"
|
|
|
|
ghost
|
|
|
|
>
|
|
|
|
<template v-slot:icon>
|
|
|
|
<log-in-outline />
|
|
|
|
</template>
|
|
|
|
再吃
|
|
|
|
</n-button>
|
|
|
|
<n-button
|
|
|
|
ghost
|
|
|
|
type="primary"
|
|
|
|
>
|
|
|
|
<template v-slot:icon>
|
|
|
|
<log-in-outline />
|
|
|
|
</template>
|
|
|
|
一颗
|
|
|
|
</n-button>
|
|
|
|
<n-button
|
|
|
|
type="info"
|
|
|
|
round
|
|
|
|
>
|
|
|
|
<template v-slot:icon>
|
|
|
|
<log-in-outline />
|
|
|
|
</template>
|
|
|
|
苹果
|
|
|
|
</n-button>
|
|
|
|
</n-button-group>
|
2019-09-20 00:27:06 +08:00
|
|
|
</div>
|
2020-05-30 00:29:18 +08:00
|
|
|
|
2019-09-20 00:27:06 +08:00
|
|
|
```
|
|
|
|
```js
|
2020-05-30 00:29:18 +08:00
|
|
|
import cashOutline from 'naive-ui/lib/icons/cash-outline'
|
|
|
|
import logInOutline from 'naive-ui/lib/icons/log-in-outline'
|
2019-09-20 00:27:06 +08:00
|
|
|
|
2019-12-04 18:17:25 +08:00
|
|
|
export default {
|
|
|
|
components: {
|
2020-05-30 00:29:18 +08:00
|
|
|
cashOutline,
|
|
|
|
logInOutline
|
2019-12-04 18:17:25 +08:00
|
|
|
}
|
2019-09-20 00:27:06 +08:00
|
|
|
}
|
|
|
|
```
|
|
|
|
```css
|
|
|
|
.n-button {
|
|
|
|
margin-right: 12px;
|
|
|
|
margin-bottom: 8px;
|
|
|
|
}
|
|
|
|
.debug-zone {
|
|
|
|
border-radius: 4px;
|
|
|
|
background-color: transparent;
|
|
|
|
transition: background-color .3s ease-in-out;
|
|
|
|
}
|
|
|
|
.n-light-theme {
|
|
|
|
.debug-zone {
|
|
|
|
border-radius: 4px;
|
|
|
|
background-color: #ececec;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
```
|