From 827898a83f767ba0da7307eece1d4c1139f16aed Mon Sep 17 00:00:00 2001 From: gegeya Date: Wed, 12 Jul 2023 14:47:33 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A7=E7=A6=B9=E6=96=B0=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ant-design-vue-jeecg/src/assets/Frame@2x.png | Bin 0 -> 440 bytes .../src/assets/Group 14@2x.png | Bin 0 -> 1149 bytes .../src/assets/Group 14@2x1.png | Bin 0 -> 1077 bytes .../src/assets/Group 14@2x2.png | Bin 0 -> 1238 bytes .../src/assets/Group 20@2x.png | Bin 0 -> 4621 bytes .../src/assets/Group 37@2x3.png | Bin 0 -> 847 bytes .../src/components/menu/Contextmenu.vue | 20 +- .../src/config/router.config.js | 24 +- ant-design-vue-jeecg/src/permission.js | 1 + .../newLayout/module/Demo4NewLayoutList.vue | 242 +++++- .../src/views/newLayout/module/Main.vue | 146 ++++ .../src/views/newLayout/module/Msg.vue | 699 ++++++++++++++++++ 12 files changed, 1117 insertions(+), 15 deletions(-) create mode 100644 ant-design-vue-jeecg/src/assets/Frame@2x.png create mode 100644 ant-design-vue-jeecg/src/assets/Group 14@2x.png create mode 100644 ant-design-vue-jeecg/src/assets/Group 14@2x1.png create mode 100644 ant-design-vue-jeecg/src/assets/Group 14@2x2.png create mode 100644 ant-design-vue-jeecg/src/assets/Group 20@2x.png create mode 100644 ant-design-vue-jeecg/src/assets/Group 37@2x3.png create mode 100644 ant-design-vue-jeecg/src/views/newLayout/module/Main.vue create mode 100644 ant-design-vue-jeecg/src/views/newLayout/module/Msg.vue diff --git a/ant-design-vue-jeecg/src/assets/Frame@2x.png b/ant-design-vue-jeecg/src/assets/Frame@2x.png new file mode 100644 index 0000000000000000000000000000000000000000..346471cbebc526d72dcf6a9803068ca5c8c9fcff GIT binary patch literal 440 zcmV;p0Z0CcP)Px$a!Eu%R5(wyl+9JbKoo`V4FOr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U}S3jS-T74WOKYNt|X)DFk0 z&PFnU{S_4FtUY>IS6fDA0B#u3iv0yE5i6ZJg;Lg!s`IRLW(PG7qzmASA3oOTL_exv zCmv`GKEJ4EqS%_HVY+SCS~%zDIpg<}MZO3XL{&ph=aJ5qlOh4)=H&SaLybpC;`vTf P00000NkvXXu0mjfBYG)$ literal 0 HcmV?d00001 diff --git a/ant-design-vue-jeecg/src/assets/Group 14@2x1.png b/ant-design-vue-jeecg/src/assets/Group 14@2x1.png new file mode 100644 index 0000000000000000000000000000000000000000..8cc5139ebe5bff190fa29016a7c4358fe0c69aa9 GIT binary patch literal 1077 zcmV-51j_q~P)Px&?@2^KRA@u(nmtP+K^VuMSwt-qL~YcQ}?(S}$8l#m>)69$2)zzGoGSwJNL{Cpo(}3EMQpOtvs#2*eij|d>B_YJu27*cp z_|)y~ZAu8yVHn2ucY-TdDwSVE^z2hkh-@}1-vdfYS;%BE3482Ms9ILgqSVC11a)?H z*0l7^%?)jAY_L5+3zXkz$z+n&*4F&GRnKdI>gnmB_V#uB)-{1Fy>gwvEtE;PMeaa6CG$SJ;ba;434-XH% za9SLl1C>gpD4);!0-=KzC`2Eext{sDySv%BN(&V3&Q{Ayiu?O}Iy*a~>+9?2lwyq( zpp!PG0*vX~_2WPx{A)SAuS`0l&p8;NkloME&#Q-#pSTG$wE2+9CnqOsPBEZrZf>TQ zmX_#J0-%P5hNx63)wB$!kMrWtO4)ygLJx{~wad%Py3p=xv_WwknA;~b6x4xAehpcD zdwbijn>rsF$~g+=z`?;mDijLUY3DVmK`Rs{WuyU=#qP=h=XQ5@qbprtLgXft#Ov$p zN<6znhH5x(*XfbeQ>ZG($H$dAPE)yktz0gvB9GIwnvXLer_U!8M33_=R61h z!gPZSKRP<9)PZW4Zn#ZL^dY(s_E>N_0ih5~iIRouPulX-)YKI1?d>VE0T8BxDRCV0 zp{*LeIg5wTO2LOPIG$-H5(%XUq7akx(b17oZfk2xox^t|RRRV@b3R(cF{p;xs=vRV z#>U2!Z*l!9v{GE>4btxuimTSgQ3`h|r7RkTF+)VplVE_RTd6-pv^YCEyJRz1mbDOc zi%ut0`SI~_dTws+z%5EPo5h~=53X2Rpo9?~ literal 0 HcmV?d00001 diff --git a/ant-design-vue-jeecg/src/assets/Group 14@2x2.png b/ant-design-vue-jeecg/src/assets/Group 14@2x2.png new file mode 100644 index 0000000000000000000000000000000000000000..361a389d2e1d198e8d076b1ae60bbc78503fdb90 GIT binary patch literal 1238 zcmV;{1S$K8P)Px(kV!;ARA@u(nLA8VQ5?p<1H$4Xz<`62G%BQ+C=5Ol7x96M4s^FDt3t$0Ty#P= zHRxPvodp*MpSWmz#j1%#5hXqnU4-~pO6@UU{~lTk?LC)M3yGeDQ0UD)zx(~a|Kr}P zbZl)0P;mqczS8GZczjstOHFT~5m;~@U`mBw)hZornuJ2lA^-wX$y%jjjb{P12tuaM zsqk2@qB1%X2%xg64N67Iu9Qw6#n05R>YA9~-Wi|_RBT-vP;tBbK)OqHj$JhS&JSqm zDq!<*VB~O?fBOaCQ9tnGqrYp?r2uNX0KB^aOpXF|K>-LJ1ja7|(_ew)H{ksZJ1}RU zO~--cSK!%sptd;+w4nzW9V|0Y^$K83NUpx62Y5P=Rbks{;MoB1{ddT0L+7jz5xDuM z`@qUAg~Ku$1tt^TVRHuB*aK|r28MRdHZaZ3@9y<^gUqD2i>bLG4b5sXatPRVYWBu; z>wzyX#ABZyc!N1BL@0*r?lEBcn?T*|6Qh@1A#=U$F#)1+g9m_RtE2`k3Lrw#+{{4! zu3BD34;h76i|7%CiHr59VV8U!AM#hNojv4jQ-4SN2lCRZBnq)OvVE9Jyf*abwrn3Z zH7GOpxD-a7fT_LjiWEN<$m?N%Ky0qh2Y{*-V({yoUfRg_&Om#wNR@8b4OB0eY|9kO zQv$(^WBa(1Gbfe{lJHE%|pC;`hz~=xIv}9 zBm}IkSq3-T(W4|GBM?OYW|R?Z61NBJIM z%V3(@-ah9-Is>t}CN2VRhO(!nnOO*FaKFnL$lROp$wy1Kboynh1>^e%`Ft&GpZd-~ zW+uvQ4OECvLKw2#TO=E`N&>_ojE`N+Vv!^a3*~|Uanm=KrNeWv!J6L1&+Kb_G-ETy zIxEBt8KRMHnHahD#6%%BRRY;sn4)F@B(&6k<^fb^?j0%+I{rVEP*X0&+Z|cc_+4lXU{hm6|@9>pq@! ziC|?L@@;C1pJPg3dVz`)*6-k)fix!YQ-@U7SiE32hy(+uOy9N&p&O8nBQ+f|@3x92522Q% zIkB}C4WR?jAX3R*)ip8Y$0MG;nio(3zu1Che5ESR%z3;oAdM-gbV!9?kJxTr*jJ6M zs8mCdDLrGv-b1uU#!8* zoA5a literal 0 HcmV?d00001 diff --git a/ant-design-vue-jeecg/src/assets/Group 20@2x.png b/ant-design-vue-jeecg/src/assets/Group 20@2x.png new file mode 100644 index 0000000000000000000000000000000000000000..5e0248c5f33bf95093d9382b0272361b61ec1c3e GIT binary patch literal 4621 zcmV+o67ubdP)Px`$4Nv%RA@uhS_^PpS9M+c-1pbt*4L6_i(tz!`PfNJ2#%9b0;XxxU?3D2$`DdY zTj+$D{!2U9%?tyyGbC-((!d~-QkwEE&ECDcklV^ z-8uKYCq2u~AURGt)r{s!dgq>Z_u6Z(z4mz`yar$EhowDfaW^}8r*?ebJs(eOd=1`q zR&PPGTJ;JReSTPc;OniEcIN=c1nclDm!ox`{nPBoE72l;2gz4`=8^#)dQb-br>;DHhkrt*H#}c3IM~y z(thWiloyekoWtWMPJ{n_s|05zh2pxe2R_9JUk1}9aTX|6Mj|n9dFZpRjXu000KW9i zxX!=eSXMC8#x>WvtxGNm9$Dr_gW+jY1I4e2LEuRGQReEQ!XjTAtaoaa4TVB{lD3pX6DO}H{uVZe=o(HD4Q}~Tn zszPTwb`VerHF_eAc4l!q_8|B4^U_%;B3bnbHE&S6`n{^GsJGIZaK`0A8`1AIzlH8IMsBh!n@N+|Q4^>LALM%)w6qWig@OMgB4b=t>_s57ilC>#9)(|W7*SD$_4!htvk zfQPq8dosYMneoZkq&SRpcjDh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!_SV|`x^To_r`HD6uX*QIW7%!UM!Qc4SAz#(1cq#VnuA^YCHcYIg7V7cIH5JhwUM%8Drn6`YcRR;4Z+7|1weh#ctPHv zLkt@$1I*-%6|r9FJsXU8X0SEn;^3Vx2liM0x;UmErju@qlXDT zu2|TM)p5pwh)6|BL6aaXM;MB%EG0pzs{=imvdmI51-{#fX8;`e^8~=E08tcS?8G?j$`^UO6r#9tNDcJ&V4<}r7{`;& zV!}G)EvqvoLSfA+`j=M>Kz)PnY%VR3WcG_XLQm+`UBg8Yb7Ymjy2u0IgEz{Bnmt?C zIIuWiQ7;`|`Z~JOar{Y8EN~!@Z*Sz|BPAfF1zoDQDT`+R!Kyz)0Kp{`!uU|71{4vH zFXF`mqwpqLhjqnNlQ5f!JX(mz4u;Eo#y_o?ub=NMoWBqIhP)6(&nT=|jIpk6&~E>KlH3 zqy11As@uyUXLSTui4cR~72H~g2O$2miy8f0Dm%1TwOQv&+Rqirdp+_c0I(mjd^^WL zpX%|m0D&qVtlANpKSLxU^0$%-APMDv0ClxfQ(H?c%-aeD-c}4%akAjb<9R6@Ih82= z`A6xgR}BEa@t@sW?5XJN`^pu$DY9T2RcRmpTxEdw4(RJfX32nRiHkZ0p_WaGy$p!r z%PfFSVmgfzFeQjSQ(TKshE1aCTeA{ae5 zW{Ud`OKIah>7B1C0QJp(;|~hmlFa;}(X_A{Jd4)=XBB(X(lZ~K!G6``;s`nvz?<{g=gx-*ra z1*s$_(rKkST99eVBBh8VNca-qr;{0V|Ik9(K9|jB^$!wr*|2f#vUM^)lQO^F-IjcO z^8>W|LiefP_uwXbYbK?BGnGVtYZKDB3=*VpGzj<~u3bL+Q=rD@cvS&-r2(Js{%?Oz z`hpBT+MJQMW>fT#mtcd literal 0 HcmV?d00001 diff --git a/ant-design-vue-jeecg/src/assets/Group 37@2x3.png b/ant-design-vue-jeecg/src/assets/Group 37@2x3.png new file mode 100644 index 0000000000000000000000000000000000000000..21b7ff3710cdcabde9036de9ed010965028ffedf GIT binary patch literal 847 zcmV-V1F-ywP)Px&2}wjjRA@u(nlVq?Kp2MKGcyu93llb5JHXruen7$wG&4wTMp()OV;hORg+CB} z0MN{^FhMMqEU-3$g)F}6jX4?|`+R3#6b64%q$oN29>3rFeZJ%@WDqPs${zscF#YIb zFlY$r`)vTV>GQl2G~XXo6txKT4FJ>kJ|c=f3X;em_%tMv^3PPrq`ZdbHQ{-EadUG$ zgi;}WUrq%I=!h`A4mw?*c1-7>GCK&&o$5FNHC93QMv~Mhx z;+0=r>62y(#q=?a<6#N4vXXUm|4(fS#UqxNfv2Y=mL-%)3$THruf}_qC6r0k*+8XN zp(T`wQZzVCe0rK)eJWv2lrr&@P45Z<2S#W0U0moDI6I4rfvrQ=5~%3*wgV`hBJcL1 zZX-uWz}i~2ZrQgROHXkMUcJsQtR|LudTL@wj&a)2c~TR@XK6&>T1~f%DWH^^%%nXe z!3eam0d%{%awq}C)AAljIGv%@^t`RmNBIlAl2FQHY!zG;r1^+2$Hyj%JB9B6YBUjQ zozBm=Mpve{>0Q;2QFFB%r_X%i309vQh?486$v{+4MRl!=ZmL|RRHc-u0;c0CPgP2p zDquRU^3>Fn>O+VYfDV8!kg~u(wQe_zdYGB1b305)A{Q5H5aO5R_OCNfbs$7Tbi2J| zj$Zbqxp%l=m_H{_EfI#?QO%4OFe(;raO$HpR8xfE&%9Y)(-{Q&kn;PapvL@T43@u7 zT|lXLkGG!YA7ili`G+i@Swpoj80?E)uWt&FHE!s$C~8B94~a2asK1F)w(^fDwDf&? z^6SWWEtGmjfen%AVndurym=lXiW=hX?zfug&2BqC96qD){Cw>qU3phCOsD6~jW%B% Z^ABy`5W07S-B$nr002ovPDHLkV1gV>h1UQ8 literal 0 HcmV?d00001 diff --git a/ant-design-vue-jeecg/src/components/menu/Contextmenu.vue b/ant-design-vue-jeecg/src/components/menu/Contextmenu.vue index f88f7b4..f968012 100644 --- a/ant-design-vue-jeecg/src/components/menu/Contextmenu.vue +++ b/ant-design-vue-jeecg/src/components/menu/Contextmenu.vue @@ -43,7 +43,9 @@ export default { }, methods: { closeMenu (e) { - if (this.visible === true && ['menuitemicon', 'menuitem'].indexOf(e.target.getAttribute('role')) < 0) { + if (e.target.href && e.target.href.indexOf('dayu') > 0) { + window.open(e.target.href, '_blank') + } else if (this.visible === true && ['menuitemicon', 'menuitem'].indexOf(e.target.getAttribute('role')) < 0) { this.$emit('update:visible', false) } }, @@ -52,7 +54,7 @@ export default { this.top = e.clientY this.target = e.target }, - handleClick ({key}) { + handleClick ({ key }) { this.$emit('select', key, this.target) this.$emit('update:visible', false) } @@ -61,11 +63,11 @@ export default { diff --git a/ant-design-vue-jeecg/src/config/router.config.js b/ant-design-vue-jeecg/src/config/router.config.js index 87fa550..f6b1172 100644 --- a/ant-design-vue-jeecg/src/config/router.config.js +++ b/ant-design-vue-jeecg/src/config/router.config.js @@ -550,7 +550,7 @@ export const constantRouterMap = [ { path: '/atlas', - component: () => import(/* webpackChunkName: "fail" */ '@/views/xmtp/SeKnowAtlasList'), + component: () => import(/* webpackChunkName: "fail" */ '@/views/xmtp/SeKnowAtlasList'), }, //cms首页,免登录,单独访问页面 @@ -568,6 +568,28 @@ export const constantRouterMap = [ path: '/cms/detail',//这里是你需要设置新窗口打开的页面的路径 component: () => import('@/views/cms/pages/Detail/DetailView'), }, + { + path: '/newLayout/dayu',//这里是你需要设置新窗口打开的页面的路径 + redirect: '/home/lnfo', + component: () => import(/* webpackChunkName: "fail" */ '@/views/newLayout/module/Demo4NewLayoutList'), + children: [ + { + path: '/home/lnfo', + // name: '学生列表', + // iconChildClass: 'el-icon-watermelon', + component: () => import('@/views/newLayout/module/Main') + + }, + { + path: '/home/lnfos', + // name: '列表', + // iconChildClass: 'el-icon-watermelon', + component: () => import('@/views/newLayout/module/Msg') + + } + + ] + }, ] diff --git a/ant-design-vue-jeecg/src/permission.js b/ant-design-vue-jeecg/src/permission.js index d9de25c..e33b27a 100644 --- a/ant-design-vue-jeecg/src/permission.js +++ b/ant-design-vue-jeecg/src/permission.js @@ -29,6 +29,7 @@ const whiteList = [ '/cms/home', '/cms/major', '/cms/detail', + '/newLayout/dayu', ] // no redirect whitelist router.beforeEach((to, from, next) => { diff --git a/ant-design-vue-jeecg/src/views/newLayout/module/Demo4NewLayoutList.vue b/ant-design-vue-jeecg/src/views/newLayout/module/Demo4NewLayoutList.vue index ae92558..09e1ebf 100644 --- a/ant-design-vue-jeecg/src/views/newLayout/module/Demo4NewLayoutList.vue +++ b/ant-design-vue-jeecg/src/views/newLayout/module/Demo4NewLayoutList.vue @@ -1,13 +1,245 @@ + name: "Demo4NewLayoutList", + data () { + return { + show2: true,//图标文字的显示状态 + menus: [], + isCollapse: true, //保持折叠状态 + show: false,//保持文字的隐藏状态 + asideMenu: [ + { + path: '/home/lnfo', //地址 + label: '首页', // 菜单标识 + icon: 'menu', //图标选取的是element图表,然后拼接到上面 + }, + { + path: "/home/lnfos", + label: '视频管理', + icon: 'menu' + }, + { + path: "/user", + label: '用户管理', + icon: 'menu' + }, + ] + } + }, + methods: { + // popTimeline () { + // // 改变show的值true/false + // this.lesteps = !this.lesteps + // }, + handleOpen (key, keyPath) { + console.log(key, keyPath) + }, + handleClose (key, keyPath) { + console.log(key, keyPath) + }, + toggleCollapse () { + this.isCollapse = !this.isCollapse + // 改变show的值true/false + this.show = !this.show + // 改变show2的值true/false + this.show2 = !this.show2 + + }, + // 退出功能 + logout () { + console.log('退出') + // 清空token + // window.sessionStorage.clear() + // this.$router.push('/login') + }, - + diff --git a/ant-design-vue-jeecg/src/views/newLayout/module/Main.vue b/ant-design-vue-jeecg/src/views/newLayout/module/Main.vue new file mode 100644 index 0000000..a001688 --- /dev/null +++ b/ant-design-vue-jeecg/src/views/newLayout/module/Main.vue @@ -0,0 +1,146 @@ + + + + + \ No newline at end of file diff --git a/ant-design-vue-jeecg/src/views/newLayout/module/Msg.vue b/ant-design-vue-jeecg/src/views/newLayout/module/Msg.vue new file mode 100644 index 0000000..74b1261 --- /dev/null +++ b/ant-design-vue-jeecg/src/views/newLayout/module/Msg.vue @@ -0,0 +1,699 @@ + + + + + \ No newline at end of file