style: 调整测试页面和组件示例页面样式

This commit is contained in:
张传龙
2022-03-20 17:33:07 +08:00
parent 4f78bcb77c
commit ff2c25ff75
7 changed files with 16 additions and 17 deletions

View File

@@ -13,5 +13,7 @@ const handleDelete = function () {
</script>
<template>
<n-button @click="handleDelete">删除</n-button>
<div p24>
<n-button type="error" @click="handleDelete">删除</n-button>
</div>
</template>

View File

@@ -16,5 +16,7 @@ onDeactivated(() => {
</script>
<template>
<n-gradient-text gradient="linear-gradient(90deg, red 0%, green 50%, blue 100%)"> 注意查看提示语 </n-gradient-text>
<div p24>
<n-gradient-text gradient="linear-gradient(90deg, red 0%, green 50%, blue 100%)"> 注意查看提示语 </n-gradient-text>
</div>
</template>

View File

@@ -12,5 +12,7 @@ function handleLogin() {
</script>
<template>
<n-button @click="handleLogin">点击登陆</n-button>
<div p24>
<n-button type="primary" @click="handleLogin">点击登陆</n-button>
</div>
</template>

View File

@@ -1,6 +1,6 @@
<template>
<div>
<div class="content-box">
<div p24>
<div p20 bg="#fff">
<p text-12>测试12px</p>
<p text-13>测试13px</p>
<p text-14>测试14px</p>
@@ -13,11 +13,3 @@
</div>
</div>
</template>
<style lang="scss" scoped>
.content-box {
background-color: #fff;
border-radius: 15px;
padding: 20px;
}
</style>