PinPuYi.vue
This commit is contained in:
@ -1,10 +1,27 @@
|
|||||||
|
<!-- 频谱仪 -->
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import DeviceImage from './pin-pu-yi-bg.png';
|
import DeviceImage from './pin-pu-yi-bg.png';
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div class="relative">
|
||||||
<img :src="DeviceImage" alt="频谱仪设备照片" />
|
<img :src="DeviceImage" alt="频谱仪设备照片" />
|
||||||
|
<div class="absolute top-[115px] left-[768px] ppy-btns h-[415px]">
|
||||||
|
<!-- 左上角. 长的 -->
|
||||||
|
<div class="flex flex-col gap-y-[18px]">
|
||||||
|
<button class="ppy-btn w-[62px]!">Frequency<br />Channel</button>
|
||||||
|
<button class="ppy-btn w-[62px]!">#</button>
|
||||||
|
<button class="ppy-btn w-[62px]!">#</button>
|
||||||
|
<button class="ppy-btn w-[62px]!">#</button>
|
||||||
|
<button class="ppy-btn w-[62px]!">#</button>
|
||||||
|
</div>
|
||||||
|
<div class="flex flex-col gap-y-[16.5px] mt-[20px]">
|
||||||
|
<button class="ppy-btn">7</button>
|
||||||
|
<button class="ppy-btn">4</button>
|
||||||
|
<button class="ppy-btn">1</button>
|
||||||
|
<button class="ppy-btn">0</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@ -15,4 +32,18 @@ img {
|
|||||||
max-width: fit-content;
|
max-width: fit-content;
|
||||||
max-height: fit-content;
|
max-height: fit-content;
|
||||||
}
|
}
|
||||||
|
.ppy-btns {
|
||||||
|
box-shadow: 0 0 0 1px rgba(255, 0, 0, 0.5);
|
||||||
|
}
|
||||||
|
.ppy-btn {
|
||||||
|
height: 30px;
|
||||||
|
width: 36px;
|
||||||
|
border: 1px solid green;
|
||||||
|
overflow: hidden;
|
||||||
|
font-size: 10px;
|
||||||
|
text-align: left;
|
||||||
|
line-height: 1.2;
|
||||||
|
padding-left: 2px;
|
||||||
|
border-radius: 4px;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
Reference in New Issue
Block a user