-
Notifications
You must be signed in to change notification settings - Fork 9
/
index.vue
39 lines (38 loc) · 1.17 KB
/
index.vue
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<script setup lang="ts">
const bg = 'bg-[hsl(2.7,81.9%,69.6%)]'
const index = 1
const type = 'text'
const bool = true
</script>
<template>
<div class="flex aaa flex-col justify-center items-center">
<div text="4xl" class="rotate-180 i-carbon-campsite" :class="bg" />
<div class="border bg-blue-200 font-(light mono) ">
<div class="hover:(!bg-gray-400 text-white font-medium)" text="#6f4">
0123456789
</div>
</div>
<div :class="{ 'bg-blue': bool }" p-2>
class
</div>
<div class="p-1" :class="bool ? 'text-yellow-500 px-2.5' : ''">
{{ `index${index + 1}` }}
</div>
<div i-carbon-campsite inline-block color="blue" />
<div flex="~ col gap-2" border="2 blue">
<div text-center w-10 h-10 flex="1" text="red">
1
</div>
<div w-10 h-10 flex="1" text-blue>
2
</div>
</div>
<uni-easyinput />
<div class="bg-[url(https://static.runoob.com/images/demo/demo3.jpg)]" w-20 h-10>
bg-img
</div>
<div class="m-0.5 p-1 text-2xl" :class="bool ? '' : 'text-yellow-500 p-2.5'">
abckefghijklmnopqrstuvwxyz
</div>
</div>
</template>