Browse Source

首页侧边栏增加配置

pull/119/head
zq 5 days ago
parent
commit
7b97b5a22d
  1. 1
      src/assets/menu/dashboards.svg
  2. 1
      src/assets/menu/finance.svg
  3. 1
      src/assets/menu/manualSubmission.svg
  4. 1
      src/assets/menu/operatingTools.svg
  5. 1
      src/assets/menu/privateBrand.svg
  6. 1
      src/assets/menu/safetyProtection.svg
  7. 1
      src/assets/menu/setCenter.svg
  8. 1
      src/assets/menu/support.svg
  9. 4
      src/components/SliderMenu.vue
  10. 2
      src/main.js

1
src/assets/menu/dashboards.svg

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="16" height="16" viewBox="0 0 16 16"><defs><clipPath id="master_svg0_854_028139"><rect x="0" y="0" width="16" height="16" rx="0"/></clipPath></defs><g clip-path="url(#master_svg0_854_028139)"><g><g><path d="M3.0513277,3.7542002L1.21527863,3.7542007Q0.58245233,3.7542,0.13497873999999999,4.2016685Q-0.31249994000000003,4.649141999999999,-0.31249994000000003,5.2819777L-0.3125,10.6596498Q-0.31249994000000003,11.292485,0.13497822999999998,11.739959Q0.5824523,12.187428,1.21527779,12.187428L3.0476639,12.187428Q3.5471158,12.965614,4.2781403000000005,13.735233Q6.1918702,15.749999,8.2152772,15.749999Q8.2891455,15.749998,8.361594199999999,15.735587Q8.4340434,15.721176,8.5022888,15.692907Q8.5705347,15.664639,8.6319542,15.623599Q8.6933746,15.58256,8.7456074,15.530327Q8.7978401,15.478094,8.8388796,15.416675Q8.8799191,15.355255,8.9081869,15.28701Q8.9364548,15.218764,8.9508657,15.146316Q8.9652767,15.073866,8.9652777,14.999999L8.9652777,1Q8.9652767,0.926131465,8.9508657,0.8536822900000001Q8.9364548,0.7812331299999999,8.908186,0.71298748Q8.8799181,0.6447418300000001,8.8388786,0.58332238Q8.7978401,0.52190292,8.7456074,0.46966993999999995Q8.6933746,0.41743702000000005,8.6319542,0.37639785000000003Q8.5705357,0.33535862000000005,8.5022898,0.30709034Q8.434043899999999,0.27882206,8.361594700000001,0.26441097Q8.2891455,0.24999987999999995,8.2152772,0.24999981999999998Q6.195529,0.25000005999999997,4.2824218,2.2311102Q3.5512307,2.9882921,3.0513277,3.7542002ZM3.4702501,5.2541995Q3.5689964,5.254199,3.6643779,5.2286401Q3.7597589,5.2030811,3.845274,5.1537046Q3.930789,5.1043282,4.000609600000001,5.0345001Q4.070429799999999,4.9646723,4.1197968,4.879152100000001Q4.5794473,4.0828784,5.3614397,3.2730896Q6.436821,2.159483,7.4652772,1.86008942L7.4652772,14.137605Q6.4397311,13.832908,5.3657198,12.702193Q4.5828819,11.878026,4.1224501,11.067111Q4.0733581,10.9806499,4.0034339,10.9099665Q3.9335101,10.839283,3.8475845,10.7892618Q3.7616587,10.7392397,3.6656673,10.7133341Q3.5696759,10.6874285,3.4702501,10.6874285L1.21527779,10.6874285Q1.1874998799999998,10.6874285,1.1874998799999998,10.6596498L1.18749994,5.2819777Q1.18749994,5.2542005,1.21527696,5.2542005L3.4702501,5.2541995Z" fill-rule="evenodd" fill="#626573" fill-opacity="1"/></g><g><path d="M11.838089230883789,3.9405791199999998Q12.262389720883789,4.31946817,12.599128830883789,4.78051341Q13.10074153088379,5.46730965,13.36802553088379,6.2760181Q13.644096630883789,7.1113126,13.644096630883789,7.999999799999999Q13.644096630883789,8.881012,13.37265613088379,9.709876099999999Q13.10984423088379,10.5123916,12.61613033088379,11.1960812Q12.273219410883788,11.6708593,11.838090600883788,12.0594196Q11.735003590883789,12.151474,11.605875370883789,12.200737Q11.476747170883788,12.25,11.338541030883789,12.25Q11.26467248788379,12.249999500000001,11.192223310883788,12.2355886Q11.119774150883789,12.2211771,11.05152851088379,12.1929088Q10.983282860883788,12.1646404,10.92186341088379,12.1236019Q10.86044395088379,12.0825624,10.808210970883788,12.0303297Q10.755978050883789,11.9780965,10.714938880883789,11.916677Q10.67389971088379,11.8552575,10.645631430883789,11.7870121Q10.617363150883788,11.718766200000001,10.602952120883788,11.6463175Q10.588541030883789,11.5738683,10.588541030883789,11.5Q10.588541030883789,11.3397751,10.654011370883788,11.1935377Q10.719481590883788,11.047299899999999,10.838991880883789,10.9405799L10.839974040883789,10.939703Q11.15299347088379,10.659993199999999,11.40013090188379,10.317818599999999Q12.14409649088379,9.2875829,12.14409649088379,7.999999799999999Q12.144096610883789,6.7007101,11.387809607883788,5.6652199Q11.144817920883789,5.33252895,10.839069630883788,5.05948925L10.83899304088379,5.05942088Q10.71948242088379,4.95270336,10.65401173088379,4.80646509Q10.588541030883789,4.66022685,10.588541030883789,4.5Q10.588541030883789,4.426131457,10.602952120883788,4.35368228Q10.617363150883788,4.28123312,10.645631430883789,4.21298748Q10.67389971088379,4.14474183,10.714938880883789,4.08332238Q10.755978050883789,4.02190292,10.808210970883788,3.96966994Q10.86044395088379,3.91743702,10.92186341088379,3.87639785Q10.983282860883788,3.83535868,11.05152851088379,3.8070904Q11.119774150883789,3.77882212,11.192223310883788,3.76441109Q11.26467248788379,3.75,11.338541030883789,3.75Q11.476746680883789,3.75,11.60587454088379,3.7992626400000002Q11.73500237088379,3.84852529,11.838089230883789,3.9405791199999998Z" fill-rule="evenodd" fill="#626573" fill-opacity="1"/></g></g></g></svg>

After

Width:  |  Height:  |  Size: 4.5 KiB

1
src/assets/menu/finance.svg

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 5.1 KiB

1
src/assets/menu/manualSubmission.svg

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 7.1 KiB

1
src/assets/menu/operatingTools.svg

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 6.3 KiB

1
src/assets/menu/privateBrand.svg

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="16" height="16" viewBox="0 0 16 16"><defs><clipPath id="master_svg0_854_028550"><rect x="0" y="0" width="16" height="16" rx="0"/></clipPath></defs><g clip-path="url(#master_svg0_854_028550)"><g><g><path d="M8.0062494,12.948874L2.75071341,15.666217Q2.68509674,15.700143,2.61412215,15.720616Q2.54314755,15.741089,2.469542503,15.747323Q2.395937461,15.753557,2.322530568,15.745312Q2.24912368,15.737066,2.17873591,15.714658Q2.1083481600000002,15.692249,2.04368451,15.65654Q1.9790208599999999,15.620831,1.92256629,15.573192Q1.86611176,15.525553,1.82003582,15.467815Q1.77395982,15.410079,1.7400330899999998,15.344463Q1.65625,15.182421,1.65625,15L1.65625,1.6999999300000002Q1.65625,1.09939003,2.08094507,0.6746950700000001Q2.50564003,0.25000012000000005,3.10624981,0.25000012000000005L12.90625,0.25Q13.506868,0.25,13.931562,0.6746982Q14.356249,1.099389844,14.356249,1.6999999300000002L14.356249,15Q14.356249,15.073868,14.341839,15.146317Q14.327427,15.218765,14.299158,15.287011Q14.270889,15.355257,14.229851,15.416676Q14.18881,15.478096,14.136578,15.530329Q14.084345,15.582561,14.022924,15.6236Q13.961506,15.664639,13.89326,15.692908Q13.825014,15.721176,13.752565,15.735588Q13.680117,15.749999,13.606249,15.75Q13.423828,15.75,13.261786,15.666217L8.0062494,12.948874ZM8.3507128,11.438337Q8.2708549,11.397047,8.1835022,11.3758Q8.096149,11.354554,8.0062494,11.354554Q7.9163494,11.354554,7.8289962,11.3758Q7.741643,11.397047,7.6617861,11.438337L3.15625,13.767898L3.15625,1.75000006L12.856249,1.75L12.856249,13.767898L8.3507128,11.438337Z" fill-rule="evenodd" fill="#626573" fill-opacity="1"/></g><g><path d="M5.1875,5.1484375L10.787500399999999,5.1484375Q10.861369100000001,5.1484375,10.933817900000001,5.16284859Q11.0062666,5.17725962,11.0745125,5.2055279Q11.1427579,5.23379618,11.2041769,5.27483535Q11.2655969,5.31587452,11.3178301,5.36810744Q11.3700628,5.42034042,11.4111023,5.48175988Q11.452141300000001,5.54317933,11.4804096,5.61142498Q11.5086784,5.67967062,11.5230894,5.75211978Q11.537500399999999,5.824568957,11.537500399999999,5.8984375Q11.537500399999999,5.972306043,11.5230894,6.04475522Q11.5086784,6.11720438,11.4804096,6.18545002Q11.452141300000001,6.25369567,11.4111023,6.31511512Q11.3700628,6.37653458,11.3178301,6.42876756Q11.2655969,6.48100048,11.2041769,6.52203965Q11.1427579,6.56307882,11.0745125,6.5913471Q11.0062666,6.61961538,10.933817900000001,6.63402641Q10.861369100000001,6.6484375,10.787500399999999,6.6484375L5.1875,6.6484375Q5.113631457,6.6484375,5.04118228,6.63402641Q4.96873312,6.61961538,4.90048748,6.5913471Q4.83224183,6.56307882,4.77082238,6.52203965Q4.70940292,6.48100048,4.65716994,6.42876756Q4.60493702,6.37653458,4.56389785,6.31511512Q4.52285868,6.25369567,4.4945904,6.18545002Q4.46632212,6.11720438,4.45191109,6.04475522Q4.4375,5.972306043,4.4375,5.8984375Q4.4375,5.824568957,4.45191109,5.75211978Q4.46632212,5.67967062,4.4945904,5.61142498Q4.52285868,5.54317933,4.56389785,5.48175988Q4.60493702,5.42034042,4.65716994,5.36810744Q4.70940292,5.31587452,4.77082238,5.27483535Q4.83224183,5.23379618,4.90048748,5.2055279Q4.96873312,5.17725962,5.04118228,5.16284859Q5.113631457,5.1484375,5.1875,5.1484375Z" fill-rule="evenodd" fill="#626573" fill-opacity="1"/></g></g></g></svg>

After

Width:  |  Height:  |  Size: 3.2 KiB

1
src/assets/menu/safetyProtection.svg

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 10 KiB

1
src/assets/menu/setCenter.svg

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 7.4 KiB

1
src/assets/menu/support.svg

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 7.0 KiB

4
src/components/SliderMenu.vue

@ -164,8 +164,8 @@ export default {
if (menuItem.path && this.$route.path !== menuItem.path) {
//menu external: true,
if(menuItem.external){
// location.href= menuItem.path
window.open(menuItem.path, '_blank')
location.href= this.$routerBaseApi + menuItem.path
// window.open(menuItem.path, '_blank')
return
}
this.$router.push(menuItem.path);

2
src/main.js

@ -46,7 +46,7 @@ function filterByPermission(data, targetPermission) {
return newItem;
});
}
Vue.prototype.$routerBaseApi = 'http://admin.pengda.checkcopy.com/';
// 复制
Vue.prototype.$copy = modernCopyToClipboard;
Vue.prototype.$filterByPermission = filterByPermission;

Loading…
Cancel
Save