feat: complete huihui square avatar workflows

This commit is contained in:
stefanfeng
2026-07-24 14:04:21 +08:00
parent 2ef58a44b8
commit e3bda469bb
68 changed files with 8062 additions and 132 deletions

View File

@@ -1,6 +1,7 @@
server {
listen 80;
server_name _;
client_max_body_size 10m;
root /usr/share/nginx/html;
index index.html;

View File

@@ -48,6 +48,7 @@
<span class="page-title-bar">{{ currentTitle }}</span>
</div>
<div class="topbar-right">
<!-- 右上角消息通知组件暂时注释 -->
<div class="online-badge">
<span class="pulse"></span>
<span>{{ onlineUsers }} 在线</span>

View File

@@ -100,7 +100,7 @@ const filters = reactive({ keyword: '', interact_type: null, status: null, start
const typeMap = { comment: '评论', reply: '回复', like: '点赞', collect: '收藏', forward: '转发' }
const typeTagType = { comment: '', reply: 'info', like: 'success', collect: 'warning', forward: 'danger' }
const statusTagType = { 0: 'info', 1: 'success', 2: 'danger' }
const statusTagType = { 0: 'info', 1: 'success', 2: 'danger', 3: 'warning' }
function onDateChange(v) {
filters.start_date = v?.[0] || ''; filters.end_date = v?.[1] || ''
@@ -171,7 +171,7 @@ async function handleCancel(row) {
const res = await cancelInteraction(row.id)
if (res.code === 200 || res.code === 0) {
ElMessage.success('取消成功')
await loadInteractions()
await load()
} else {
ElMessage.error(res.message || '取消失败')
}