完善页面6

This commit is contained in:
2026-02-26 09:50:58 +08:00
parent ff10f495ad
commit 9f5e94837a
8 changed files with 644 additions and 453 deletions

View File

@@ -85,14 +85,6 @@
</view>
<scroll-view class="drawer-body" :scroll-y="true">
<!-- 文章信息区块 -->
<view class="section-title">
<view class="title-inner active">
<text class="title-txt">文章信息</text>
<view class="title-line"></view>
</view>
</view>
<view class="form-grid">
<view class="form-row">
<view class="form-col">
@@ -111,15 +103,15 @@
</view>
</view>
<view class="form-row mt-20">
<view class="form-col">
<view class="form-row mt-20" style="position: relative; z-index: 10;">
<view class="form-col" style="position: relative; z-index: 11;">
<view class="label-box"><text class="required">*</text><text class="label-txt">文章分类:</text></view>
<view class="input-box z-20" style="position: relative;">
<view class="select-mock" @click.stop="toggleDropdown">
<text class="select-val">{{ formCategory || '请选择' }}</text>
<text class="arrow-down">▼</text>
</view>
<view v-if="dropdownVisible" class="dropdown-list" @click.stop="">
<view v-if="dropdownVisible" class="dropdown-list">
<view
v-for="(cat, index) in categoryList"
:key="index"
@@ -256,7 +248,6 @@ const selectCategory = (cat: string) => {
dropdownVisible.value = false
}
const handleAdd = () => {
let editorCtx: any = null
const onEditorReady = () => {
// @ts-ignore
@@ -285,6 +276,7 @@ const insertImage = () => {
})
}
const handleAdd = () => {
formTitle.value = ''
formAuthor.value = ''
formCategory.value = ''