diff --git a/package-lock.json b/package-lock.json index 99d67cb..6e5f1b5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20,6 +20,7 @@ "vue-router": "^4.3.0" }, "devDependencies": { + "@types/node": "^26.2.0", "@types/qs": "^6.15.1", "@vitejs/plugin-vue": "^5.0.4", "sass": "^1.71.1", @@ -1280,6 +1281,16 @@ "@types/lodash": "*" } }, + "node_modules/@types/node": { + "version": "26.2.0", + "resolved": "https://registry.npmjs.org/@types/node/-/node-26.2.0.tgz", + "integrity": "sha512-5IviulTZeRNp2vAJ514cc/HUlY5nZ9fCbq9DMyC52BrhFZACo3nI0R7qBxhQmo/d27NFe96ur/b7Wwxklda+kg==", + "dev": true, + "license": "MIT", + "dependencies": { + "undici-types": "~8.3.0" + } + }, "node_modules/@types/qs": { "version": "6.15.1", "resolved": "https://registry.npmmirror.com/@types/qs/-/qs-6.15.1.tgz", @@ -2913,6 +2924,13 @@ "dev": true, "license": "MIT" }, + "node_modules/undici-types": { + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-8.3.0.tgz", + "integrity": "sha512-j375ScV60dom+YkPFIfTLcOiPxkN/buHz5GobjLhixFuANaNs3C9l4GmrWqejgXWJ7BbJcFYpTEUkS1Ge8bpZQ==", + "dev": true, + "license": "MIT" + }, "node_modules/unimport": { "version": "3.14.6", "resolved": "https://registry.npmmirror.com/unimport/-/unimport-3.14.6.tgz", diff --git a/package.json b/package.json index 072f5cc..30aa6e9 100644 --- a/package.json +++ b/package.json @@ -22,6 +22,7 @@ "vue-router": "^4.3.0" }, "devDependencies": { + "@types/node": "^26.2.0", "@types/qs": "^6.15.1", "@vitejs/plugin-vue": "^5.0.4", "sass": "^1.71.1", diff --git a/src/modules/other/information/InformationListView.vue b/src/modules/other/information/InformationListView.vue index 3280ac5..57f3353 100644 --- a/src/modules/other/information/InformationListView.vue +++ b/src/modules/other/information/InformationListView.vue @@ -1,13 +1,17 @@ - + + 新增资讯 + + + + + + + + 查询 + 重置 + + + + @limit-change="onLimitChange"> + + + + + 无图 + + + + + + 编辑 + | + 删除 + + + + + + + + + + + + + + + + + + + + + + 上传封面 + + 支持 JPG/PNG, 不超过 2MB + + + + + + + + 取消 + 保存 + + \ No newline at end of file +.rr-filters-row { display: flex; } +.rr-muted { color: var(--text-muted, #909399); font-size: 12px; } +.rr-actions { display: inline-flex; align-items: center; gap: 4px; } +.rr-actions__sep { color: var(--border, #e4e7ed); } +.upload-preview { max-width: 160px; max-height: 80px; object-fit: cover; border-radius: 6px; border: 1px solid var(--border, #e4e7ed); } +