From f4f23dafd5119d0c1d23fe376838e3cb44d2f32a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E4=BC=9F=E5=BA=9A?= Date: Tue, 25 Oct 2022 10:52:44 +0800 Subject: [PATCH] =?UTF-8?q?updata=EF=BC=9A=E8=8F=9C=E5=8D=95=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E6=A0=91=E5=BD=A2=E4=BA=A4=E4=BA=92=EF=BC=8C=E8=A1=A8?= =?UTF-8?q?=E5=8D=95=E4=BA=A4=E4=BA=92=EF=BC=8C=E5=AF=B9=E6=8E=A5=E9=83=A8?= =?UTF-8?q?=E5=88=86=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/js/bg_icon.js | 14 + src/bg-ui/bg-icon.vue | 2 +- src/page/main/config/dict/index.vue | 7 +- src/page/main/develop/menu/index.vue | 170 +++++++++--- src/page/main/develop/menu/menu-form.vue | 319 +++++++++++++++++++++++ 5 files changed, 477 insertions(+), 35 deletions(-) create mode 100644 src/assets/js/bg_icon.js create mode 100644 src/page/main/develop/menu/menu-form.vue diff --git a/src/assets/js/bg_icon.js b/src/assets/js/bg_icon.js new file mode 100644 index 0000000..12e9092 --- /dev/null +++ b/src/assets/js/bg_icon.js @@ -0,0 +1,14 @@ +var str = ''; + +var reg = /id\=\"([\S]*)\"/g + + + +var iconarr = str.match(reg) +var reg1 = /\"([\S]*)\"/g +var allIconArr = [] +allIconArr = iconarr.map(e => { + return e = e.replace('id="',"").replace(`\\`,"").replace(`"`,"") +}) + +export default allIconArr diff --git a/src/bg-ui/bg-icon.vue b/src/bg-ui/bg-icon.vue index 3d58400..97348ed 100644 --- a/src/bg-ui/bg-icon.vue +++ b/src/bg-ui/bg-icon.vue @@ -5,7 +5,7 @@ @@ -320,25 +429,24 @@ padding-left: 16px; color: #616f94; } .main_container { -padding: 15px; -height: 100%; -} -.table_container { -height: calc(100% - 30px); -overflow: auto; -} -.pagination_box { -position: sticky; -margin-top: 16px; -bottom: 0px; -background-color: #fff; -z-index: 1024; -height: 40px; -line-height: 40px; -padding-top: 8px; -} -.bg-pagination { -bottom: unset + height: 100%; } + + \ No newline at end of file diff --git a/src/page/main/develop/menu/menu-form.vue b/src/page/main/develop/menu/menu-form.vue new file mode 100644 index 0000000..ee97098 --- /dev/null +++ b/src/page/main/develop/menu/menu-form.vue @@ -0,0 +1,319 @@ + + + + + \ No newline at end of file -- 2.26.0