diff --git a/ruoyi-ui/src/views/bookmark/index/index.vue b/ruoyi-ui/src/views/bookmark/index/index.vue index 455aafefe..219674c24 100644 --- a/ruoyi-ui/src/views/bookmark/index/index.vue +++ b/ruoyi-ui/src/views/bookmark/index/index.vue @@ -766,7 +766,7 @@ //if (treeNode.parentNode && treeNode.parentNode.id!=1) return; var switchObjspan = $("#" + treeNode.tId + "_span"); // onmouseout='removeHoverDoms(this)' //选中删除切换 - var editStr = ""; + var editStr = ""; switchObjspan.after(editStr); }, diff --git a/ruoyi-ui/src/views/bookmark/tag/usertag.vue b/ruoyi-ui/src/views/bookmark/tag/usertag.vue index a1252e41a..e4bc6e736 100644 --- a/ruoyi-ui/src/views/bookmark/tag/usertag.vue +++ b/ruoyi-ui/src/views/bookmark/tag/usertag.vue @@ -44,9 +44,17 @@
-
-
+
+
+ {{item.name}} + + + + + + +
@@ -65,7 +73,17 @@ - + + + + 取 消 + 确 定 + +
@@ -79,6 +97,7 @@ data: function () { return { + dialogVisible: false, msg:'暂无标签', tagList:[], total:0, @@ -87,13 +106,15 @@ pageSize: 8, name:undefined }, - + newName:'',//标签名称 addBkTAG:true,//添加书TAG searchBkTAG:true,//搜索TAG tagListShow:false,//TAGlist eidtTAGText:false,//我的TAG tagName:undefined,//新增书签 - 搜索的输入框 - tagNameCopy:''//用于提示 + tagNameCopy:'',//用于提示 + seen:false,//用于展示触碰显示操作按钮 + current:0,//用于展示触碰显示操作按钮 } }, created(){ @@ -101,6 +122,18 @@ that.listByUsers(); }, methods: { + updateTagOpen(id){ + this.dialogVisible = true; + console.log(id) + }, + handleClose(done) { + this.$confirm('确认关闭?') + .then(_ => { + done(); + }) + .catch(_ => {}); + }, + // 统一的表单重置 reset() { this.form = { @@ -126,8 +159,9 @@ this.tagList = null; this.total = 0; listByUserLike(this.tagParams).then(response => { - if (response.code === 200) { - this.tagList=response.rows; + if (response.code === 200) {1 + + this.tagList=response.rows; this.total = response.total; if (this.total == 0){ this.tagNameCopy = this.tagName; @@ -203,14 +237,23 @@ this.addBkTAG = true; this.searchBkTAG = true; }, - + enter(index){ + this.seen = true; + this.current = index; + }, + leave(){ + this.seen = false; + this.current = null; + }, } }