From ed3d56a93452734cbbc64726fa7bf8fcf1c43bd6 Mon Sep 17 00:00:00 2001 From: ZiuChen <457353192@qq.com> Date: Sun, 18 Sep 2022 09:35:19 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=B0=86=E9=80=9A=E7=9F=A5=E5=8D=A1?= =?UTF-8?q?=E7=89=87=E6=94=B9=E7=94=A8ElCard=E5=B1=95=E7=8E=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/cpns/ClipCard.vue | 59 ------------------------- src/data/notify.json | 2 +- src/style/cpns/clip-card.less | 81 ----------------------------------- src/style/index.less | 1 - src/views/Main.vue | 19 ++++++-- 5 files changed, 17 insertions(+), 145 deletions(-) delete mode 100644 src/cpns/ClipCard.vue delete mode 100644 src/style/cpns/clip-card.less diff --git a/src/cpns/ClipCard.vue b/src/cpns/ClipCard.vue deleted file mode 100644 index f705b27..0000000 --- a/src/cpns/ClipCard.vue +++ /dev/null @@ -1,59 +0,0 @@ - - - - - diff --git a/src/data/notify.json b/src/data/notify.json index a80a00c..2234074 100644 --- a/src/data/notify.json +++ b/src/data/notify.json @@ -1,5 +1,5 @@ { "title": "重要版本更新提示", - "content": "1. 如果你是第一次使用此插件, 请务必设置跟随主程序启动选项, 否则可能导致剪贴板记录丢失\n2. 插件内的收藏栏将在最近一个版本中移除, 届时点击收藏按钮将跳转到备忘快贴, 请尽快将已有数据保存, 使用备忘快贴代替\n3. 插件使用过程中遇到任何问题, 请到论坛发布页回帖或加入QQ群反馈", + "content": "1. 如果你是第一次使用此插件, 请务必设置跟随主程序启动选项, 否则可能导致剪贴板记录丢失
2. 插件内的收藏栏将在最近一个版本中移除, 届时点击收藏按钮将跳转到备忘快贴, 请尽快将已有数据保存, 使用备忘快贴代替
3. 插件使用过程中遇到任何问题, 请到论坛发布页回帖或加入QQ群反馈", "version": 1 } diff --git a/src/style/cpns/clip-card.less b/src/style/cpns/clip-card.less deleted file mode 100644 index ca212a2..0000000 --- a/src/style/cpns/clip-card.less +++ /dev/null @@ -1,81 +0,0 @@ -.clip-card { - position: absolute; - top: 10%; - left: 10%; - width: 80%; - height: 80%; - z-index: 500; - background-color: @bg-color; - border-radius: 10px; - box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5); - &-header { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 50px; - border-radius: 5px 5px 0px 0px; - background-color: @primary-color; - color: @bg-color; - display: flex; - align-items: center; - justify-content: space-between; - .clip-card-header-title { - margin-left: 25px; - font-size: 17px; - font-weight: 600; - } - .clip-card-header-operate { - display: flex; - align-items: center; - cursor: pointer; - margin: 20px; - .clip-card-header-operate-item { - margin-left: 10px; - cursor: pointer; - &:first-child { - margin-left: 0; - } - } - } - } - &-content { - position: absolute; - top: 50px; - left: 0; - overflow: auto; - padding: 30px; - color: @text-color; - .clip-card-content-item { - font-size: 15px; - margin-bottom: 10px; - &:last-child { - margin-bottom: 0; - } - } - } - &-footer { - position: absolute; - bottom: 0; - left: 0; - width: 100%; - height: 50px; - background-color: @primary-color; - color: @text-color; - display: flex; - align-items: center; - justify-content: space-between; - border-radius: 0px 0px 5px 5px; - .clip-card-footer-operate { - display: flex; - align-items: center; - .clip-card-footer-operate-item { - margin-left: 10px; - cursor: pointer; - &:first-child { - margin-left: 0; - } - } - } - } -} diff --git a/src/style/index.less b/src/style/index.less index 47802ad..adb2559 100644 --- a/src/style/index.less +++ b/src/style/index.less @@ -1,6 +1,5 @@ .import() { /* 导入全部涉及到变量的样式文件 */ - @import (multiple) './cpns/clip-card.less'; @import (multiple) './cpns/clip-float-btn.less'; @import (multiple) './cpns/clip-full-data.less'; @import (multiple) './cpns/clip-item-list.less'; diff --git a/src/views/Main.vue b/src/views/Main.vue index a7caa2a..4ffed48 100644 --- a/src/views/Main.vue +++ b/src/views/Main.vue @@ -1,6 +1,5 @@