mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-13 09:28:14 +08:00
75 lines
1.1 KiB
Vue
75 lines
1.1 KiB
Vue
<template>
|
|
<div class="test-box">
|
|
<h1>颜色测试</h1>
|
|
<div class="test-item">
|
|
<div class="test-1">
|
|
Box 1
|
|
<div class="test-2">
|
|
Box 2
|
|
<div class="test-3">
|
|
Box 3
|
|
<div class="test-4">Box 4</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
<script lang="ts" setup></script>
|
|
<style lang="css" scoped>
|
|
.test-box {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
.test-item {
|
|
padding: 10px;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.btn-list {
|
|
display: flex;
|
|
justify-content: flex-start;
|
|
margin-bottom: 20px;
|
|
gap: 10px;
|
|
}
|
|
|
|
.test-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 10px;
|
|
border-radius: 5px;
|
|
background: var(--tgc-btn-1);
|
|
color: var(--btn-text);
|
|
}
|
|
|
|
.test-1,
|
|
.test-2,
|
|
.test-3,
|
|
.test-4 {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 10px;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.test-1 {
|
|
background: var(--box-bg-1);
|
|
}
|
|
|
|
.test-2 {
|
|
background: var(--box-bg-2);
|
|
}
|
|
|
|
.test-3 {
|
|
background: var(--box-bg-3);
|
|
}
|
|
|
|
.test-4 {
|
|
background: var(--box-bg-4);
|
|
}
|
|
</style>
|