Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
98 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,44 @@ | ||
<script setup lang="ts"> | ||
const bg = 'bg-[hsl(2.7,81.9%,69.6%)]' | ||
const index = 1 | ||
const type = 'text' | ||
const customClass = 'text-red' | ||
const bool = true | ||
</script> | ||
|
||
<template> | ||
<div class="flex aaa flex-col justify-center items-center"> | ||
<div text="green-500 4xl" class="rotate-180 i-carbon-campsite" :class="bool ? bg : ''" /> | ||
<div class="border bg-blue-200 px-2 transition-all bg-red-500 font-(light mono)" h20> | ||
<div class="text-green-200/50 hover:(!bg-gray-400 text-white font-medium)"> | ||
<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="p-1" :class="bool ? 'text-yellow-500' : ''"> | ||
<div :class="{ 'bg-blue': bool }" p-2 :hover-class="['!bg-green']"> | ||
class="hover:bg-green" | ||
</div> | ||
<div class="p-1" :class="bool ? 'text-yellow-500 px-2.5' : ''"> | ||
{{ `index${index + 1}` }} | ||
</div> | ||
<div class="grid-cols-[0.7fr_repeat(7,1fr)]" flex="~ col"> | ||
<div w-10 h-10 flex="1"> | ||
<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"> | ||
<div w-10 h-10 flex="1" text-blue> | ||
2 | ||
</div> | ||
</div> | ||
|
||
<button /> | ||
<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> | ||
<!-- eslint-disable-next-line vue/prefer-separate-static-class --> | ||
<view :class="['underline', customClass]"> | ||
aaa | ||
</view> | ||
</div> | ||
</template> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters