fix: ui
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 1m2s

This commit is contained in:
sexygoat
2026-04-25 14:46:43 +08:00
parent cb9f21e264
commit a6961fd74f
4 changed files with 12 additions and 14 deletions

View File

@@ -578,7 +578,7 @@ onMounted(async () => {
<template>
<view class="bg-page safe-area-bottom min-h-screen flex flex-col">
<!-- 搜索区域 -->
<view class="bg-white px-4 pt-4 pb-3">
<view class="bg-white px-4 pt-4 pb-3 mb-3">
<!-- 搜索框 -->
<view class="relative flex items-center">
<input
@@ -609,17 +609,17 @@ onMounted(async () => {
<!-- 筛选和类型切换 -->
<view class="flex items-center gap-2 mt-3 flex-wrap">
<view class="flex bg-[#f1f5f9] rounded-full p-0.5 flex-shrink-0">
<view class="flex bg-[#f1f5f9] rounded-full flex-shrink-0">
<view
class="px-3 py-1.5 rounded-full text-12px font-medium transition-all"
:class="activeTab === 'card' ? 'bg-white shadow-sm text-[#1e293b]' : 'text-[#64748b]'"
class="px-3 py-1.5 text-12px font-medium transition-all"
:class="activeTab === 'card' ? 'text-[#1e293b]' : 'text-[#64748b]'"
@click="changeTab('card')"
>
IoT卡
</view>
<view
class="px-3 py-1.5 rounded-full text-12px font-medium transition-all"
:class="activeTab === 'device' ? 'bg-white shadow-sm text-[#1e293b]' : 'text-[#64748b]'"
class="px-3 py-1.5 text-12px font-medium transition-all"
:class="activeTab === 'device' ? 'text-[#1e293b]' : 'text-[#64748b]'"
@click="changeTab('device')"
>
设备