Commit 6296753c authored by chenqikuai's avatar chenqikuai

fix

parent 166ebc8f
......@@ -8,7 +8,9 @@
style="font-size: 12px; font-weight: 400; color: #353535"
class="flex items-center"
>
所有模板
<span @click="handleClickResetSearchValue" class="cursor-pointer"
>所有模板</span
>
<div v-show="type === 'sys' && searchOfSys !== ''">
<span>></span> <span style="color: #959595">搜索结果</span>
</div>
......@@ -242,6 +244,13 @@ export default defineComponent({
},
},
methods: {
handleClickResetSearchValue() {
if (this.type === "sys") {
this.searchOfSys = "";
} else {
this.searchOfPrivate = "";
}
},
formatTime,
async getpersonalList(id: number) {
const res = await $ajax({
......
<template>
<div class="category-add">
<syScrollBar height="300px" ref="syScrollBarRef">
<syScrollBar max-height="300px" ref="syScrollBarRef">
<div
v-for="(category, i) in categoryNames"
class="mb-3 flex pr-2 items-center"
......
......@@ -13,7 +13,7 @@
}"
>
<div
class="flex pr-2 whitespace-nowrap flex-nowrap"
class="flex pr-2 whitespace-nowrap flex-nowrap -mt-5"
style="border-bottom: 1px solid #f0f1f5"
>
<div class="tableHeader flex-grow">分类名称</div>
......@@ -38,8 +38,8 @@
style="border-bottom: 1px solid #f0f1f5"
>
<img
src="@/assets/img/move.svg"
class="mr-2 cursor-move"
src="@/assets/img/move-dot.png"
class="mr-2 h-3 cursor-move"
alt=""
srcset=""
/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment