完善页面细节
This commit is contained in:
@@ -1,15 +1,16 @@
|
||||
<template>
|
||||
<view class="admin-page">
|
||||
<view class="admin-sections">
|
||||
<view class="admin-grid-2">
|
||||
<!-- 清除缓存 -->
|
||||
<view class="admin-card cache-card">
|
||||
<view class="cache-header">
|
||||
<text class="cache-title">清除缓存</text>
|
||||
<text class="cache-desc">清除系统的所有缓存</text>
|
||||
<AdminLayout currentPage="maintain-security-refresh-cache">
|
||||
<view class="admin-page">
|
||||
<view class="admin-sections">
|
||||
<view class="admin-grid-2">
|
||||
<!-- 清除缓存 -->
|
||||
<view class="admin-card cache-card">
|
||||
<view class="cache-header">
|
||||
<text class="cache-title">清除缓存</text>
|
||||
<text class="cache-desc">清除系统的所有缓存</text>
|
||||
</view>
|
||||
<button class="btn primary full" @click="onClearCache">立即清除</button>
|
||||
</view>
|
||||
<button class="btn primary full" @click="onClearCache">立即清除</button>
|
||||
</view>
|
||||
|
||||
<!-- 清除日志 -->
|
||||
<view class="admin-card cache-card">
|
||||
@@ -22,9 +23,12 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</AdminLayout>
|
||||
</template>
|
||||
|
||||
<script setup lang="uts">
|
||||
import AdminLayout from '@/layouts/admin/AdminLayout.uvue'
|
||||
|
||||
function onClearCache() {
|
||||
uni.showModal({
|
||||
title: '提示',
|
||||
@@ -53,7 +57,7 @@ function onClearLog() {
|
||||
<style scoped lang="scss">
|
||||
.admin-page {
|
||||
/* 使用 Layout 的背景和内边距 */
|
||||
min-height: 100vh;
|
||||
min-height: auto;
|
||||
}
|
||||
|
||||
.admin-grid-2 {
|
||||
|
||||
Reference in New Issue
Block a user