【改进】教程列表

This commit is contained in:
2025-11-03 23:23:30 +08:00
parent 3dcf9ca3ef
commit bfbb94481f

View File

@@ -85,6 +85,7 @@
<tr> <tr>
<th>名称</th> <th>名称</th>
<th>颜色</th> <th>颜色</th>
<th>置首</th>
<th style="width: 120px;">操作</th> <th style="width: 120px;">操作</th>
</tr> </tr>
</thead> </thead>
@@ -122,6 +123,11 @@
:style="{ backgroundColor: item.color || '#ffffff' }" :style="{ backgroundColor: item.color || '#ffffff' }"
></div> ></div>
</td> </td>
<td>
<span class="badge" :class="item.firstStatus === 1 ? 'bg-success' : 'bg-info'">
{{ item.firstStatus === 1 ? '置首' : '不置首' }}
</span>
</td>
<td> <td>
<div class="d-flex gap-1"> <div class="d-flex gap-1">
<button class="btn btn-sm btn-primary" @click="categoryQueryData(item)"> <button class="btn btn-sm btn-primary" @click="categoryQueryData(item)">
@@ -817,7 +823,7 @@
this.editor = new wangEditor(editorDom); this.editor = new wangEditor(editorDom);
// 编辑器配置 // 编辑器配置
this.editor.config.height = 400; // 高度 this.editor.config.height = 200; // 高度
this.editor.config.zIndex = 1050; // 层级(确保在模态框上方) this.editor.config.zIndex = 1050; // 层级(确保在模态框上方)
this.editor.config.uploadImgShowBase64 = true; // 图片以 Base64 格式保存(无需后端接口) this.editor.config.uploadImgShowBase64 = true; // 图片以 Base64 格式保存(无需后端接口)
this.editor.config.menus = [ this.editor.config.menus = [