完善页面细节
This commit is contained in:
@@ -1,22 +1,23 @@
|
||||
<template>
|
||||
<view class="admin-page">
|
||||
<view class="admin-sections">
|
||||
<!-- 提示栏 -->
|
||||
<view class="alert-info">
|
||||
<text class="alert-text">温馨提示:检查更新需要授权码,请先授权后再检查更新!</text>
|
||||
</view>
|
||||
|
||||
<!-- 选项卡 -->
|
||||
<view class="admin-tabs">
|
||||
<view
|
||||
v-for="tab in tabs"
|
||||
:key="tab.value"
|
||||
:class="['tab-item', activeTab === tab.value ? 'active' : '']"
|
||||
@click="activeTab = tab.value"
|
||||
>
|
||||
<text class="tab-label">{{ tab.label }}</text>
|
||||
<AdminLayout current-page="maintain_security_upgrade">
|
||||
<view class="admin-page">
|
||||
<view class="admin-sections">
|
||||
<!-- 提示栏 -->
|
||||
<view class="alert-info">
|
||||
<text class="alert-text">温馨提示:检查更新需要授权码,请先授权后再检查更新!</text>
|
||||
</view>
|
||||
|
||||
<!-- 选项卡 -->
|
||||
<view class="admin-tabs">
|
||||
<view
|
||||
v-for="tab in tabs"
|
||||
:key="tab.value"
|
||||
:class="['tab-item', activeTab === tab.value ? 'active' : '']"
|
||||
@click="activeTab = tab.value"
|
||||
>
|
||||
<text class="tab-label">{{ tab.label }}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- 升级内容 -->
|
||||
<view v-if="activeTab === 'upgrade'" class="admin-card">
|
||||
@@ -55,13 +56,14 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
</view>
|
||||
</AdminLayout>
|
||||
</template>
|
||||
|
||||
<script setup lang="uts">
|
||||
import { ref } from 'vue'
|
||||
import AdminLayout from '@/layouts/admin/AdminLayout.uvue'
|
||||
|
||||
const activeTab = ref('upgrade')
|
||||
const tabs = [
|
||||
@@ -87,7 +89,9 @@ function checkUpdates() {
|
||||
<style scoped lang="scss">
|
||||
.admin-page {
|
||||
/* 使用 Layout 的背景和内边距 */
|
||||
min-height: 100vh;
|
||||
padding: 0;
|
||||
background-color: transparent;
|
||||
min-height: auto;
|
||||
}
|
||||
|
||||
.alert-info {
|
||||
|
||||
Reference in New Issue
Block a user