完善页面6

This commit is contained in:
2026-02-13 01:13:21 +08:00
parent 1b558e3117
commit da1075b9e9
15 changed files with 1331 additions and 22 deletions

View File

@@ -0,0 +1,70 @@
<template>
<view class="admin-page">
<view class="admin-card content-card">
<view class="tabs-row">
<view class="tab-item active">APP配置</view>
</view>
<view class="config-form">
<view class="form-item">
<text class="label">APPID</text>
<input class="form-input" value="wx277a269f3d736d67" />
<text class="tip">微信开放平台申请移动应用后给予的APPID</text>
</view>
<view class="form-item">
<text class="label">AppSecret</text>
<input class="form-input" value="bd08741a055c2ecac5826ff1c048464b" />
<text class="tip">微信开放平台申请移动应用后给予的AppSecret</text>
</view>
<view class="form-btns">
<button class="btn primary">提交</button>
</view>
</view>
</view>
</view>
</template>
<script setup lang="uts">
// APP配置逻辑
</script>
<style scoped>
.config-form {
padding: 40px 10%;
}
.form-item {
margin-bottom: 30px;
display: flex;
flex-direction: column;
}
.form-item .label {
font-weight: bold;
margin-bottom: 10px;
color: #303133;
}
.form-input {
border: 1px solid #dcdfe6;
padding: 10px 15px;
border-radius: 4px;
}
.tip {
font-size: 12px;
color: #909399;
margin-top: 8px;
}
.form-btns {
margin-top: 50px;
}
.btn.primary {
width: 80px;
background-color: #2d8cf0;
color: #fff;
}
</style>

View File

@@ -0,0 +1,38 @@
<template>
<view class="admin-page">
<view class="admin-card header-card">
<view class="title-row">
<text class="title">版本管理</text>
<button class="btn primary">添加版本</button>
</view>
</view>
<view class="admin-card content-card">
<view class="admin-table">
<view class="table-header">
<text class="cell">版本号</text>
<text class="cell">更新内容</text>
<text class="cell">强制更新</text>
<text class="cell">下载地址</text>
<text class="cell">创建时间</text>
<text class="cell actions">操作</text>
</view>
<view class="table-empty">
<text>暂无版本数据</text>
</view>
</view>
</view>
</view>
</template>
<script setup lang="uts">
// 版本管理逻辑
</script>
<style scoped>
.table-empty {
padding: 100px;
text-align: center;
color: #909399;
}
</style>