Browse Source

基本设置页面、侧边栏

zq-develop
zq 2 months ago
parent
commit
ff06941ea8
  1. 1
      src/assets/site/gexinghua.svg
  2. 1
      src/assets/site/sitebase.svg
  3. 1
      src/assets/site/sitebase_active.svg
  4. 1
      src/assets/site/siteh5.svg
  5. 1
      src/assets/site/sitesem.svg
  6. 38
      src/components/GroupFormBtns.vue
  7. 1
      src/components/PageTitle.vue
  8. 202
      src/components/SetLeftMenu.vue
  9. 46
      src/router/index.js
  10. 13
      src/style/theme/common.scss
  11. 2
      src/views/ConfigureServicePrices.vue
  12. 2
      src/views/Register.vue
  13. 315
      src/views/SiteBaseSetting.vue
  14. 52
      src/views/SitePersonalization.vue
  15. 59
      src/views/SiteSetting.vue

1
src/assets/site/gexinghua.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_166_43719"><rect x="0" y="0" width="16" height="16" rx="0"/></clipPath></defs><g clip-path="url(#master_svg0_166_43719)"><g><g><path d="M15.75,13.95L15.75,2.05Q15.75,1.304417,15.2228,0.77721Q14.6956,0.25,13.95,0.25L2.05,0.25Q1.304416,0.25,0.777208,0.777208Q0.25,1.304415,0.25,2.05L0.25,13.95Q0.25,14.6956,0.77721,15.2228Q1.304417,15.75,2.05,15.75L13.95,15.75Q14.6956,15.75,15.2228,15.2228Q15.75,14.6956,15.75,13.95ZM14.1621,1.8378649999999999Q14.25,1.925732,14.25,2.05L14.25,13.95Q14.25,14.25,13.95,14.25L2.05,14.25Q1.75,14.25,1.75,13.95L1.75,2.05Q1.75,1.75,2.05,1.75L13.95,1.75Q14.0743,1.75,14.1621,1.8378649999999999Z" fill-rule="evenodd" fill="#006AFF" fill-opacity="1"/></g><g><path d="M3.750000238418579,1Q3.750000238418579,0.9261315,3.764411238418579,0.853682Q3.778822238418579,0.7812330000000001,3.807090238418579,0.712987Q3.835359238418579,0.6447419999999999,3.876398238418579,0.583322Q3.917437238418579,0.521903,3.969670238418579,0.46967000000000003Q4.021903238418579,0.41743699999999995,4.083322238418579,0.376398Q4.144742238418579,0.33535899999999996,4.212987238418579,0.30709Q4.281233238418579,0.278822,4.353682238418579,0.26441099999999995Q4.426131738418579,0.25,4.500000238418579,0.25Q4.573868738418579,0.25,4.646318238418579,0.26441099999999995Q4.718767238418579,0.278822,4.787013238418579,0.30709Q4.855258238418579,0.33535899999999996,4.916678238418579,0.376398Q4.978097238418579,0.41743699999999995,5.030330238418579,0.46967000000000003Q5.0825632384185795,0.521903,5.123602238418579,0.583322Q5.164641238418579,0.6447419999999999,5.1929102384185795,0.712987Q5.221178238418579,0.7812330000000001,5.235589238418579,0.853682Q5.250000238418579,0.9261315,5.250000238418579,1L5.250000238418579,15Q5.250000238418579,15.0739,5.235589238418579,15.1463Q5.221178238418579,15.2188,5.1929102384185795,15.287Q5.164641238418579,15.3553,5.123602238418579,15.4167Q5.0825632384185795,15.4781,5.030330238418579,15.5303Q4.978097238418579,15.5826,4.916678238418579,15.6236Q4.855258238418579,15.6646,4.787013238418579,15.6929Q4.718767238418579,15.7212,4.646318238418579,15.7356Q4.573868738418579,15.75,4.500000238418579,15.75Q4.426131738418579,15.75,4.353682238418579,15.7356Q4.281233238418579,15.7212,4.212987238418579,15.6929Q4.144742238418579,15.6646,4.083322238418579,15.6236Q4.021903238418579,15.5826,3.969670238418579,15.5303Q3.917437238418579,15.4781,3.876398238418579,15.4167Q3.835359238418579,15.3553,3.807090238418579,15.287Q3.778822238418579,15.2188,3.764411238418579,15.1463Q3.750000238418579,15.0739,3.750000238418579,15L3.750000238418579,1Z" fill-rule="evenodd" fill="#006AFF" fill-opacity="1"/></g><g><path d="M1,4.52783203125L15,4.52783203125Q15.0739,4.52783203125,15.1463,4.54224303125Q15.2188,4.55665403125,15.287,4.58492203125Q15.3553,4.61319103125,15.4167,4.65423003125Q15.4781,4.69526903125,15.5303,4.74750203125Q15.5826,4.79973503125,15.6236,4.86115403125Q15.6646,4.92257403125,15.6929,4.99081903125Q15.7212,5.05906503125,15.7356,5.13151403125Q15.75,5.20396353125,15.75,5.27783203125Q15.75,5.35170053125,15.7356,5.42415003125Q15.7212,5.49659903125,15.6929,5.56484503125Q15.6646,5.63309003125,15.6236,5.69451003125Q15.5826,5.75592903125,15.5303,5.80816203125Q15.4781,5.86039503125,15.4167,5.90143403125Q15.3553,5.94247303125,15.287,5.97074203125Q15.2188,5.99901003125,15.1463,6.01342103125Q15.0739,6.02783203125,15,6.02783203125L1,6.02783203125Q0.9261315,6.02783203125,0.853682,6.01342103125Q0.7812330000000001,5.99901003125,0.712987,5.97074203125Q0.6447419999999999,5.94247303125,0.583322,5.90143403125Q0.521903,5.86039503125,0.46967000000000003,5.80816203125Q0.41743699999999995,5.75592903125,0.376398,5.69451003125Q0.33535899999999996,5.63309003125,0.30709,5.56484503125Q0.278822,5.49659903125,0.26441099999999995,5.42415003125Q0.25,5.35170053125,0.25,5.27783203125Q0.25,5.20396353125,0.26441099999999995,5.13151403125Q0.278822,5.05906503125,0.30709,4.99081903125Q0.33535899999999996,4.92257403125,0.376398,4.86115403125Q0.41743699999999995,4.79973503125,0.46967000000000003,4.74750203125Q0.521903,4.69526903125,0.583322,4.65423003125Q0.6447419999999999,4.61319103125,0.712987,4.58492203125Q0.7812330000000001,4.55665403125,0.853682,4.54224303125Q0.9261315,4.52783203125,1,4.52783203125Z" fill-rule="evenodd" fill="#006AFF" fill-opacity="1"/></g></g></g></svg>

After

Width:  |  Height:  |  Size: 4.4 KiB

1
src/assets/site/sitebase.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_166_43752"><rect x="0" y="0" width="16" height="16" rx="0"/></clipPath></defs><g clip-path="url(#master_svg0_166_43752)"><g><g><path d="M7.19444,5.66667L7.19444,1.777778Q7.19444,1.144952,6.74697,0.697479Q6.2995,0.25,5.66667,0.25L1.777778,0.25Q1.144951,0.25,0.697476,0.697476Q0.25,1.144951,0.25,1.777778L0.25,5.66667Q0.25,6.2995,0.697479,6.74697Q1.144952,7.19444,1.777778,7.19444L5.66667,7.19444Q6.2995,7.19444,6.74697,6.74697Q7.19444,6.2995,7.19444,5.66667ZM5.66667,1.75Q5.69444,1.75,5.69444,1.777778L5.69444,5.66667Q5.69444,5.69444,5.66667,5.69444L1.777778,5.69444Q1.75,5.69444,1.75,5.66667L1.75,1.777778Q1.75,1.75,1.777778,1.75L5.66667,1.75Z" fill-rule="evenodd" fill="#626573" fill-opacity="1"/></g><g><path d="M7.19444,14.2223340625L7.19444,10.3334420625Q7.19444,9.7006070625,6.74697,9.2531360625Q6.2995,8.8056640625,5.66667,8.8056640625L1.777778,8.8056640625Q1.144952,8.8056640625,0.697478,9.2531330625Q0.25,9.7006070625,0.25,10.3334420625L0.25,14.2223340625Q0.25,14.8551640625,0.697478,15.3026440625Q1.144951,15.7501040625,1.777778,15.7501040625L5.66667,15.7501040625Q6.2995,15.7501040625,6.74697,15.302634062500001Q7.19444,14.8551640625,7.19444,14.2223340625ZM5.66667,10.3056640625Q5.69444,10.3056640625,5.69444,10.3334420625L5.69444,14.2223340625Q5.69444,14.2501040625,5.66667,14.2501040625L1.777778,14.2501040625Q1.75,14.2501040625,1.75,14.2223340625L1.75,10.3334420625Q1.75,10.3056640625,1.777778,10.3056640625L5.66667,10.3056640625Z" fill-rule="evenodd" fill="#626573" fill-opacity="1"/></g><g><path d="M15.75694,5.66667L15.75694,1.777778Q15.75694,1.144952,15.309470000000001,0.697478Q14.862,0.25,14.22917,0.25L10.340278,0.25Q9.707442,0.25,9.259969,0.697478Q8.8125,1.144952,8.8125,1.777778L8.8125,5.66667Q8.8125,6.2995,9.259972,6.74697Q9.707443,7.19444,10.340278,7.19444L14.22917,7.19444Q14.862,7.19444,15.309470000000001,6.74697Q15.75694,6.2995,15.75694,5.66667ZM14.22917,1.75Q14.25694,1.75,14.25694,1.777778L14.25694,5.66667Q14.25694,5.69444,14.22917,5.69444L10.340278,5.69444Q10.3125,5.69444,10.3125,5.66667L10.3125,1.777778Q10.3125,1.75,10.340278,1.75L14.22917,1.75Z" fill-rule="evenodd" fill="#626573" fill-opacity="1"/></g><g><path d="M15.75694,14.2223340625L15.75694,10.3334420625Q15.75694,9.7006070625,15.309470000000001,9.2531350625Q14.862,8.8056640625,14.22917,8.8056640625L10.340278,8.8056640625Q9.707443,8.8056640625,9.259971,9.2531350625Q8.8125,9.7006070625,8.8125,10.3334420625L8.8125,14.2223340625Q8.8125,14.8551640625,9.259971,15.302634062500001Q9.707443,15.7501040625,10.340278,15.7501040625L14.22917,15.7501040625Q14.862,15.7501040625,15.309470000000001,15.302634062500001Q15.75694,14.8551640625,15.75694,14.2223340625ZM14.22917,10.3056640625Q14.25694,10.3056640625,14.25694,10.3334420625L14.25694,14.2223340625Q14.25694,14.2501040625,14.22917,14.2501040625L10.340278,14.2501040625Q10.3125,14.2501040625,10.3125,14.2223340625L10.3125,10.3334420625Q10.3125,10.3056640625,10.340278,10.3056640625L14.22917,10.3056640625Z" fill-rule="evenodd" fill="#626573" fill-opacity="1"/></g></g></g></svg>

After

Width:  |  Height:  |  Size: 3.1 KiB

1
src/assets/site/sitebase_active.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_166_44717"><rect x="0" y="0" width="16" height="16" rx="0"/></clipPath></defs><g clip-path="url(#master_svg0_166_44717)"><g><g><path d="M7.19444,5.66667L7.19444,1.777778Q7.19444,1.144952,6.74697,0.697479Q6.2995,0.25,5.66667,0.25L1.777778,0.25Q1.144951,0.25,0.697476,0.697476Q0.25,1.144951,0.25,1.777778L0.25,5.66667Q0.25,6.2995,0.697479,6.74697Q1.144952,7.19444,1.777778,7.19444L5.66667,7.19444Q6.2995,7.19444,6.74697,6.74697Q7.19444,6.2995,7.19444,5.66667ZM5.66667,1.75Q5.69444,1.75,5.69444,1.777778L5.69444,5.66667Q5.69444,5.69444,5.66667,5.69444L1.777778,5.69444Q1.75,5.69444,1.75,5.66667L1.75,1.777778Q1.75,1.75,1.777778,1.75L5.66667,1.75Z" fill-rule="evenodd" fill="#006AFF" fill-opacity="1"/></g><g><path d="M7.19444,14.2223340625L7.19444,10.3334420625Q7.19444,9.7006070625,6.74697,9.2531360625Q6.2995,8.8056640625,5.66667,8.8056640625L1.777778,8.8056640625Q1.144952,8.8056640625,0.697478,9.2531330625Q0.25,9.7006070625,0.25,10.3334420625L0.25,14.2223340625Q0.25,14.8551640625,0.697478,15.3026440625Q1.144951,15.7501040625,1.777778,15.7501040625L5.66667,15.7501040625Q6.2995,15.7501040625,6.74697,15.302634062500001Q7.19444,14.8551640625,7.19444,14.2223340625ZM5.66667,10.3056640625Q5.69444,10.3056640625,5.69444,10.3334420625L5.69444,14.2223340625Q5.69444,14.2501040625,5.66667,14.2501040625L1.777778,14.2501040625Q1.75,14.2501040625,1.75,14.2223340625L1.75,10.3334420625Q1.75,10.3056640625,1.777778,10.3056640625L5.66667,10.3056640625Z" fill-rule="evenodd" fill="#006AFF" fill-opacity="1"/></g><g><path d="M15.75694,5.66667L15.75694,1.777778Q15.75694,1.144952,15.309470000000001,0.697478Q14.862,0.25,14.22917,0.25L10.340278,0.25Q9.707442,0.25,9.259969,0.697478Q8.8125,1.144952,8.8125,1.777778L8.8125,5.66667Q8.8125,6.2995,9.259972,6.74697Q9.707443,7.19444,10.340278,7.19444L14.22917,7.19444Q14.862,7.19444,15.309470000000001,6.74697Q15.75694,6.2995,15.75694,5.66667ZM14.22917,1.75Q14.25694,1.75,14.25694,1.777778L14.25694,5.66667Q14.25694,5.69444,14.22917,5.69444L10.340278,5.69444Q10.3125,5.69444,10.3125,5.66667L10.3125,1.777778Q10.3125,1.75,10.340278,1.75L14.22917,1.75Z" fill-rule="evenodd" fill="#006AFF" fill-opacity="1"/></g><g><path d="M15.75694,14.2223340625L15.75694,10.3334420625Q15.75694,9.7006070625,15.309470000000001,9.2531350625Q14.862,8.8056640625,14.22917,8.8056640625L10.340278,8.8056640625Q9.707443,8.8056640625,9.259971,9.2531350625Q8.8125,9.7006070625,8.8125,10.3334420625L8.8125,14.2223340625Q8.8125,14.8551640625,9.259971,15.302634062500001Q9.707443,15.7501040625,10.340278,15.7501040625L14.22917,15.7501040625Q14.862,15.7501040625,15.309470000000001,15.302634062500001Q15.75694,14.8551640625,15.75694,14.2223340625ZM14.22917,10.3056640625Q14.25694,10.3056640625,14.25694,10.3334420625L14.25694,14.2223340625Q14.25694,14.2501040625,14.22917,14.2501040625L10.340278,14.2501040625Q10.3125,14.2501040625,10.3125,14.2223340625L10.3125,10.3334420625Q10.3125,10.3056640625,10.340278,10.3056640625L14.22917,10.3056640625Z" fill-rule="evenodd" fill="#006AFF" fill-opacity="1"/></g></g></g></svg>

After

Width:  |  Height:  |  Size: 3.1 KiB

1
src/assets/site/siteh5.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_166_43760"><rect x="0" y="0" width="16" height="16" rx="0"/></clipPath></defs><g clip-path="url(#master_svg0_166_43760)"><g><g><rect x="3" y="1" width="9.100001335144043" height="14.000000953674316" rx="2.1000001430511475" fill-opacity="0" stroke-opacity="1" stroke="#626573" fill="none" stroke-width="1.5"/></g><g><path d="M6.859375,2.3500001430511475Q6.7855065,2.3500001430511475,6.713057,2.3644111430511474Q6.640608,2.3788221430511474,6.572362,2.4070901430511475Q6.504117,2.4353591430511474,6.442697,2.4763981430511475Q6.381278,2.5174371430511475,6.329045,2.5696701430511473Q6.276812,2.6219031430511475,6.235773,2.6833221430511474Q6.194734,2.7447421430511474,6.166465,2.8129871430511475Q6.138197,2.8812331430511473,6.123786,2.9536821430511475Q6.109375,3.0261316430511473,6.109375,3.1000001430511475Q6.109375,3.1738686430511476,6.123786,3.2463181430511474Q6.138197,3.3187671430511476,6.166465,3.3870131430511474Q6.194734,3.4552581430511475,6.235773,3.5166781430511476Q6.276812,3.5780971430511475,6.329045,3.6303301430511477Q6.381278,3.6825631430511474,6.442697,3.7236021430511475Q6.504117,3.7646411430511475,6.572362,3.7929101430511474Q6.640608,3.8211781430511476,6.713057,3.8355891430511475Q6.7855065,3.8500001430511475,6.859375,3.8500001430511475L8.259375,3.8500001430511475Q8.333245,3.8500001430511475,8.405695,3.8355891430511475Q8.478145,3.8211781430511476,8.546385,3.7929101430511474Q8.614635,3.7646411430511475,8.676055,3.7236021430511475Q8.737475,3.6825631430511474,8.789705,3.6303301430511477Q8.841935,3.5780971430511475,8.882975,3.5166781430511476Q8.924015,3.4552581430511475,8.952285,3.3870131430511474Q8.980554999999999,3.3187671430511476,8.994965,3.2463181430511474Q9.009375,3.1738686430511476,9.009375,3.1000001430511475Q9.009375,3.0261316430511473,8.994965,2.9536821430511475Q8.980554999999999,2.8812331430511473,8.952285,2.8129871430511475Q8.924015,2.7447421430511474,8.882975,2.6833221430511474Q8.841935,2.6219031430511475,8.789705,2.5696701430511473Q8.737475,2.5174371430511475,8.676055,2.4763981430511475Q8.614635,2.4353591430511474,8.546385,2.4070901430511475Q8.478145,2.3788221430511474,8.405695,2.3644111430511474Q8.333245,2.3500001430511475,8.259375,2.3500001430511475L6.859375,2.3500001430511475Z" fill-rule="evenodd" fill="#626573" fill-opacity="1"/></g><g><path d="M6.1484375,12.150390625L8.9484375,12.150390625Q9.0223075,12.150390625,9.0947575,12.164801624999999Q9.1672075,12.179212625,9.2354475,12.207480625Q9.3036975,12.235749625,9.3651175,12.276788625Q9.4265375,12.317827625,9.4787675,12.370060625Q9.5309975,12.422293625,9.5720375,12.483712625Q9.6130775,12.545132625,9.6413475,12.613377625Q9.669617500000001,12.681623625,9.6840275,12.754072625Q9.6984375,12.826522125,9.6984375,12.900390625Q9.6984375,12.974259125,9.6840275,13.046708625Q9.669617500000001,13.119157625,9.6413475,13.187403625Q9.6130775,13.255648625,9.5720375,13.317068625Q9.5309975,13.378487625,9.4787675,13.430720625Q9.4265375,13.482953625,9.3651175,13.523992625Q9.3036975,13.565031625,9.2354475,13.593300625Q9.1672075,13.621568625,9.0947575,13.635979625000001Q9.0223075,13.650390625,8.9484375,13.650390625L6.1484375,13.650390625Q6.074569,13.650390625,6.0021195,13.635979625000001Q5.9296705,13.621568625,5.8614245,13.593300625Q5.7931795,13.565031625,5.7317595,13.523992625Q5.6703405,13.482953625,5.6181075,13.430720625Q5.5658745,13.378487625,5.5248355,13.317068625Q5.4837965,13.255648625,5.4555275,13.187403625Q5.4272595,13.119157625,5.4128485,13.046708625Q5.3984375,12.974259125,5.3984375,12.900390625Q5.3984375,12.826522125,5.4128485,12.754072625Q5.4272595,12.681623625,5.4555275,12.613377625Q5.4837965,12.545132625,5.5248355,12.483712625Q5.5658745,12.422293625,5.6181075,12.370060625Q5.6703405,12.317827625,5.7317595,12.276788625Q5.7931795,12.235749625,5.8614245,12.207480625Q5.9296705,12.179212625,6.0021195,12.164801624999999Q6.074569,12.150390625,6.1484375,12.150390625Z" fill-rule="evenodd" fill="#626573" fill-opacity="1"/></g></g></g></svg>

After

Width:  |  Height:  |  Size: 4.0 KiB

1
src/assets/site/sitesem.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_166_43691"><rect x="0" y="0" width="16" height="16" rx="0"/></clipPath></defs><g clip-path="url(#master_svg0_166_43691)"><g><g><g><g><path d="M11.329695765686036,14.874Q12.452475765686035,15.2827,13.535365765686034,14.7777Q14.618285765686036,14.2727,15.026945765686035,13.1499Q15.435605765686034,12.0272,14.930655765686035,10.94425L10.720725765686035,1.916034Q10.215735765686034,0.833132,9.092955765686035,0.424473Q7.970155765686036,0.01580999999999999,6.8872707656860355,0.520778Q5.804382765686035,1.0257423,5.395719765686035,2.14853Q4.987048765686035,3.27133,5.492038765686035,4.35422L9.701955765686035,13.3824Q10.206895765686035,14.4653,11.329695765686036,14.874ZM13.617405765686035,12.6369Q13.421245765686034,13.1758,12.901435765686035,13.4182Q12.381655765686034,13.6606,11.842725765686035,13.4645Q11.303795765686036,13.2683,11.061415765686036,12.7485L6.851485765686035,3.72026Q6.609099765686035,3.2005,6.805256765686035,2.6615599999999997Q7.001415765686035,2.12262,7.521205765686036,1.880236Q8.040985765686035,1.637855,8.579925765686035,1.834012Q9.118875765686035,2.03017,9.361265765686035,2.54996L13.571185765686035,11.5782Q13.813565765686036,12.098,13.617405765686035,12.6369Z" fill-rule="evenodd" fill="#626573" fill-opacity="1"/></g><g><path d="M6.75468860124588,2.6296176144485472Q6.82495860124588,2.4789256144485474,6.82495860124588,2.3126546144485474Q6.82495860124588,2.2387861144485472,6.8105486012458805,2.1663366144485474Q6.79613860124588,2.093887614448547,6.76786860124588,2.0256416144485474Q6.73959860124588,1.9573966144485473,6.69855860124588,1.8959766144485473Q6.65751860124588,1.8345576144485474,6.6052886012458805,1.7823246144485474Q6.55305860124588,1.7300916144485474,6.49163860124588,1.6890526144485474Q6.43021860124588,1.6480136144485473,6.36196860124588,1.6197446144485474Q6.29371860124588,1.5914766144485473,6.2212786012458805,1.5770656144485473Q6.14882860124588,1.5626546144485474,6.07495860124588,1.5626546144485474Q5.96787860124588,1.5626546144485474,5.86508860124588,1.5926176144485473Q5.7622886012458805,1.6225796144485474,5.67197860124588,1.6801116144485473Q5.58167860124588,1.7376426144485473,5.51107860124588,1.8181456144485475Q5.44047860124588,1.8986486144485473,5.39522860124588,1.9956916144485475L1.2224726012458802,10.944204614448548Q0.7175096012458801,12.027094614448547,1.12617160124588,13.149854614448547Q1.5348296012458802,14.272654614448548,2.61771960124588,14.777654614448547Q3.70064860124588,15.282654614448548,4.82342860124588,14.873954614448547Q5.9461986012458805,14.465254614448547,6.45117860124588,13.382354614448547L8.55612860124588,8.868274614448548Q8.62639860124588,8.717584614448548,8.62639860124588,8.551314614448547Q8.62638860124588,8.477444614448547,8.61197860124588,8.404994614448547Q8.59756860124588,8.332544614448548,8.56929860124588,8.264294614448549Q8.54103860124588,8.196054614448547,8.499998601245881,8.134634614448547Q8.458958601245879,8.073214614448547,8.406718601245881,8.020984614448547Q8.35448860124588,7.968744614448547,8.293068601245881,7.9277046144485475Q8.23164860124588,7.886674614448547,8.16340860124588,7.858404614448547Q8.095158601245881,7.830134614448547,8.022708601245881,7.8157246144485475Q7.9502586012458805,7.801314614448548,7.87639860124588,7.801314614448548Q7.76931860124588,7.801314614448548,7.66651860124588,7.831274614448548Q7.56372860124588,7.861234614448548,7.47341860124588,7.9187646144485475Q7.38310860124588,7.976304614448547,7.31250860124588,8.056804614448549Q7.24191860124588,8.137304614448547,7.19665860124588,8.234354614448549L7.19627860124588,8.235164614448546L5.09172860124588,12.748454614448548Q4.84932860124588,13.268254614448548,4.31038860124588,13.464454614448547Q3.77145860124588,13.660554614448547,3.25166860124588,13.418154614448547Q2.73186860124588,13.175854614448548,2.53571060124588,12.636854614448547Q2.33955360124588,12.097914614448547,2.58193460124588,11.578134614448548L6.7544986012458805,2.6300296144485475L6.75468860124588,2.6296176144485472L6.75468860124588,2.6296176144485472Z" fill-rule="evenodd" fill="#626573" fill-opacity="1"/></g><g transform="matrix(0.9063078165054321,0.4226182699203491,-0.4226182699203491,0.9063078165054321,4.204394275264349,-0.3114770241663791)"><ellipse cx="4.939301252365112" cy="11.461273908615112" rx="2.1346137523651123" ry="2.1346137523651123" fill-opacity="0" stroke-opacity="1" stroke="#626573" fill="none" stroke-width="1.5"/></g></g></g></g></g></svg>

After

Width:  |  Height:  |  Size: 4.5 KiB

38
src/components/GroupFormBtns.vue

@ -0,0 +1,38 @@
<template>
<div class="btns-wrap flex">
<GuipButton type="normal" size="medium" @click="cancelClick">取消</GuipButton>
<GuipButton type="primary" size="medium" @click="confirmClick">保存</GuipButton>
</div>
</template>
<script>
import GuipButton from '@/components/GuipButton.vue';
export default {
name: '',
props: [''],
components: {
GuipButton
},
data(){
return{
}
},
methods:{
cancelClick(){
this.$emit('cancel')
},
confirmClick(){
this.$emit('confirm')
}
}
}
</script>
<style scoped lang="scss">
.btns-wrap{
margin-top: 24px;
justify-content: flex-end;
}
</style>

1
src/components/PageTitle.vue

@ -34,6 +34,7 @@ export default {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
padding: 24px 12px; padding: 24px 12px;
box-sizing: border-box;
b { b {
/* headline/haeadline_3_bold */ /* headline/haeadline_3_bold */

202
src/components/SetLeftMenu.vue

@ -0,0 +1,202 @@
<template>
<aside class="sidebar">
<ul>
<li v-for="item in menuList" :key="item.path" >
<div :class="[$route.path == item.path ? 'active ceshi' : '', 'flex']" @click="gotoPath(item.path)">
<img v-if="$route.path == item.path" :src="item.imgActive" alt="">
<img v-else :src="item.img" alt="">
{{ item.name }}
</div>
<p :class="[$route.path != item.path ? 'not-point':'','flex']" v-for="item1 in item.list" :key="item1.name">{{ item1.name }}</p>
</li>
</ul>
</aside>
</template>
<script>
export default {
name: 'Sidebar',
props: {
menuItems: {
type: Array,
required: true
}
},
data() {
return {
menuList: [
{
name: '基本设置',
path: '/siteSetting/siteBaseSetting',
img: require('@/assets/site/sitebase.svg'),
imgActive: require('@/assets/site/sitebase_active.svg'),
list: [
{
name: '站点信息',
desc: ''
},
{
name: '域名设置',
desc: ''
},
{
name: '收款方式',
desc: ''
},
]
},
{
name: '个性化设置',
path: '/siteSetting/sitePersonalization',
img: require('@/assets/site/gexinghua.svg'),
imgActive: require('@/assets/site/sitebase_active.svg'),
list: [
{
name: '网页模板',
desc: ''
},
{
name: '客服设置',
desc: ''
},
{
name: '功能显隐',
desc: ''
},
{
name: '安全提交',
desc: ''
},
{
name: '初始订单数',
desc: ''
},
]
},
{
name: '移动端设置',
path: '/siteSetting/siteH5',
img: require('@/assets/site/siteh5.svg'),
imgActive: require('@/assets/site/sitebase_active.svg'),
list: [
{
name: '微信H5',
desc: ''
},
{
name: '小程序',
desc: ''
},
]
},
{
name: '营销推广',
path: '/siteSetting/siteSem',
img: require('@/assets/site/sitesem.svg'),
imgActive: require('@/assets/site/sitebase_active.svg'),
list: [
{
name: 'SEO设置',
desc: ''
},
{
name: 'SEM设置',
desc: ''
},
{
name: '访问统计',
desc: ''
},
]
}
]
}
},
mounted() {
console.log(this.$route.path, '---');
},
methods: {
gotoPath(path) {
this.$router.push(path)
},
activeArea(type){
console.log(type);
}
}
}
</script>
<style scoped lang="scss">
.sidebar {
width: 158px;
padding: 21px;
box-sizing: border-box;
background: #FFFFFF;
box-shadow: 0px 0px 11px 2px rgba(147, 147, 147, 0.11);
}
.ceshi{
animation: fadeInOut 2s infinite;
}
ul {
list-style: none;
padding: 0;
}
.not-point{
pointer-events: none; /* 阻止鼠标事件 */
opacity: 0.5; /* 可选,降低透明度以视觉上表示不可用 */
cursor: not-allowed; /* 改变鼠标光标样式,表示不可用 */
}
li {
margin-bottom: 10px;
div {
letter-spacing: 0.08em;
color: #1E2226;
margin: 11px 0;
cursor: pointer;
img{
margin-right: 6px;
}
}
p {
margin: 9px 0;
letter-spacing: 0.08em;
line-height: 18px;
color: #8A9099;
cursor: pointer;
&:hover{
color: #006AFF;
}
}
}
/* {
display: block;
padding: 8px 12px;
text-decoration: none;
color: #333;
border-radius: 4px;
} */
/*
:hover {
background: #e0e0e0;
} */
.active {
font-weight: bold;
letter-spacing: 0.08em;
color: #006AFF;
}
.item-active{
color: #006AFF;
}
/*
.exact-active {
background: #1976d2;
color: white;
} */
</style>

46
src/router/index.js

@ -6,11 +6,12 @@ import HomeView from '../views/HomeView.vue';
// import Franchise from '../views/Franchise.vue' // import Franchise from '../views/Franchise.vue'
Vue.use(VueRouter) Vue.use(VueRouter)
const whiteSlideList = ['/','/ui','/siteList'];//侧边导航白名单 const whiteSlideList = ['/', '/ui', '/siteList']; //侧边导航白名单
const whiteHeaderList = ['/','/ui','/register','/configureServicePrices','/siteList'];//头部导航白名单 const whiteHeaderList = ['/', '/ui', '/register', '/configureServicePrices', '/siteList','/siteSetting/siteBaseSetting','/siteSetting/sitePersonalization'
const whiteFooterList = ['/','/ui','/configureServicePrices'];//底部白名单 ,'/siteSetting/siteH5','/siteSetting/siteSem'
const routes = [ ]; //头部导航白名单
{ const whiteFooterList = ['/', '/ui', '/configureServicePrices']; //底部白名单
const routes = [{
path: '/', path: '/',
name: '首页', name: '首页',
component: HomeView, component: HomeView,
@ -22,7 +23,7 @@ const routes = [
// route level code-splitting // route level code-splitting
// this generates a separate chunk (about.[hash].js) for this route // this generates a separate chunk (about.[hash].js) for this route
// which is lazy-loaded when the route is visited. // which is lazy-loaded when the route is visited.
component: () => import(/* webpackChunkName: "register" */ '../views/Register.vue'), component: () => import( /* webpackChunkName: "register" */ '../views/Register.vue'),
children: [ // 这是子路由的定义开始 children: [ // 这是子路由的定义开始
// { // {
// path: '', // 当访问 /user 时,默认加载 UserProfile 组件 // path: '', // 当访问 /user 时,默认加载 UserProfile 组件
@ -42,27 +43,44 @@ const routes = [
// route level code-splitting // route level code-splitting
// this generates a separate chunk (about.[hash].js) for this route // this generates a separate chunk (about.[hash].js) for this route
// which is lazy-loaded when the route is visited. // which is lazy-loaded when the route is visited.
component: () => import(/* webpackChunkName: "ui" */ '../views/elementGroups.vue') component: () => import( /* webpackChunkName: "ui" */ '../views/elementGroups.vue')
}, },
{ {
path: '/franchise', path: '/franchise',
name: '加盟', name: '加盟',
component: () => import(/* webpackChunkName: "franchise" */ '../views/Franchise.vue') component: () => import( /* webpackChunkName: "franchise" */ '../views/Franchise.vue')
}, },
{ {
path: '/configureServicePrices', path: '/configureServicePrices',
name: '配置服务价格', name: '配置服务价格',
component: () => import(/* webpackChunkName: "franchise" */ '../views/ConfigureServicePrices.vue') component: () => import( /* webpackChunkName: "configureServicePrices" */ '../views/ConfigureServicePrices.vue')
}, },
{ {
path: '/siteList', path: '/siteList',
name: '站点列表', name: '站点列表',
component: () => import(/* webpackChunkName: "franchise" */ '../views/SiteList.vue') component: () => import( /* webpackChunkName: "siteList" */ '../views/SiteList.vue')
}, },
{ {
path: '/siteBaseSetting', path: '/siteSetting',
name: '站点基础设置', name: '站点设置',
component: () => import(/* webpackChunkName: "franchise" */ '../views/SiteBaseSetting.vue') component: () => import( /* webpackChunkName: "SiteSetting" */ '../views/SiteSetting.vue'),
children: [
{
path: '', // 默认子路由
redirect: () => import( /* webpackChunkName: "siteBaseSetting" */ '../views/SiteBaseSetting.vue') // 重定向到第一个页面
},
{
path: 'siteBaseSetting',
name: '站点基础设置',
component: () => import( /* webpackChunkName: "siteBaseSetting" */ '../views/SiteBaseSetting.vue'),
},
{
path: 'sitePersonalization',
name: '个性化设置',
component: () => import( /* webpackChunkName: "sitePersonalization" */ '../views/SitePersonalization.vue')
},
]
}, },
] ]
@ -72,7 +90,7 @@ const router = new VueRouter({
routes routes
}) })
router.beforeEach((to, from, next) => { router.beforeEach((to, from, next) => {
console.log(to.path,'to.path-----'); console.log(to.path, 'to.path-----');
if (whiteSlideList.includes(to.path)) { if (whiteSlideList.includes(to.path)) {
store.commit('SET_SIDEBAR', true); // 登录页面不显示侧边栏 store.commit('SET_SIDEBAR', true); // 登录页面不显示侧边栏
} else { } else {

13
src/style/theme/common.scss

@ -10,6 +10,19 @@ body {
padding: 0; padding: 0;
} }
} }
@keyframes fadeInOut {
0% {
opacity: 0;
}
50% {
opacity: 1;
}
100% {
opacity: 0;
}
}
.ellipsis{ .ellipsis{
} }

2
src/views/ConfigureServicePrices.vue

@ -144,7 +144,7 @@
</GuipFormItem> </GuipFormItem>
<div class="addStore flex"> <div class="addStore flex">
<img src="@/assets/addIcon.svg" alt="">添加商品 <img src="@/assets/addIcon.svg" alt="">添加宝贝
</div> </div>
</div> </div>
</div> </div>

2
src/views/Register.vue

@ -761,7 +761,7 @@ export default {
dialogVisible: false,// dialogVisible: false,//
showCancelButton: true, // showCancelButton: true, //
showCloseButton: true, // showCloseButton: true, //
activeStep: 3,// activeStep: 2,//
has_store: '1',// 0 has_store: '1',// 0
distribution_channel: '0',// 0 >0 distribution_channel: '0',// 0 >0
payment_method_list: [// payment_method_list: [//

315
src/views/SiteBaseSetting.vue

@ -0,0 +1,315 @@
<template>
<div class="site-setting-wrap min-flex">
<div class="siteMessage1 flex-common">
<h3>站点信息</h3>
<el-form :model="siteForm" :rules="siteFormrules" ref="formRef">
<div class="flex-wrap">
<div class="flex-left">
<GuipInput ref="GuipInput" column="column" label="站点简称" :maxlength="10" :showWordLimit="true"
desc="这是是右侧文案" v-model="siteForm.site_alias" prop="site_alias"
placeholder="仅自己区分站点销售渠道,客户看不到" />
<GuipInput ref="GuipInput" column="column" label="公司名称" desc="在站点首页底部“关于我们”展示"
v-model="siteForm.company_name" prop="company_name" placeholder="非必填" />
</div>
<div class="flex-line"></div>
<div class="flex-right">
<GuipInput ref="GuipInput" column="column" label="公司地址" desc="在站点首页底部“关于我们”展示"
v-model="siteForm.company_address" prop="company_address" placeholder="非必填" />
<GuipInput ref="GuipInput" column="column" label="公司电话" desc="在站点首页底部“关于我们”展示"
v-model="siteForm.company_phone" prop="company_phone" placeholder="非必填" />
</div>
</div>
</el-form>
<GroupFormBtns @cancel="cancelClick" @confirm="confirmClick('siteForm')" />
</div>
<div class="siteMessage2 flex-common">
<h3>站点信息</h3>
<el-form :model="siteForm1" :rules="siteFormrules1" ref="formRef">
<div class="flex-wrap">
<div class="flex-left">
<GuipFormItem column="column" class="mb24" label="域名来源" required="true">
<GuipRadio slot="formDom" v-model="siteForm1.domain_source" :options="domain_source"
prop="domain_source" @change="domain_radioChange" />
</GuipFormItem>
</div>
<div class="flex-line"></div>
<div class="flex-right">
<GuipFormItem column="column" label="域名设置" required="true">
<GuipInput slot="formDom" v-model="siteForm1.domain_set" placeholder="仅支持数字、字母">
<span slot="appendshow">.chachongz.com</span>
</GuipInput>
</GuipFormItem>
</div>
</div>
</el-form>
<GroupFormBtns @cancel="cancelClick" @confirm="confirmClick('siteForm1')" />
</div>
<div class="siteMessage3 flex-common">
<h3>店铺收款</h3>
<el-form :model="siteForm2" ref="formRef">
<div class="flex-wrap">
<div class="flex-left">
<GuipFormItem column="column" class="mb24">
<div slot="formLeft" class="form-top-icon">
<img src="@/assets/register/weixin.svg" style="width: 26px;height: 26px;"
alt=""><span>微信收款</span>
</div>
<CustomDropdown slot="formDom" v-model="siteForm1.weixin_pay" :options="options_weixin"
@change="changeSelectWeixin" placeholder="请选择" :options_null="options_weixin_null"
@changeNormal="changeNormalWeixin">
<!-- 自定义触发按钮 -->
<template #trigger>
<span v-if="selectedItemWeixin"
style="color: #1E2226;font-family: Microsoft YaHei UI;">{{
select_placeholder_weixin ? select_placeholder_weixin :
selectedItemWeixin.desc }}</span>
<span v-else>请选择</span>
</template>
<template #normal>
<div class="flex flex-between noraml-jump">
<div class="left">
<b>绑定新微信收款</b>
<p class="one">需要使用您公司的微信支付</p>
<p>需在微信商户平台-产品中心开通Native支付</p>
</div>
<div class="right">
<GuipButton type="primary" size="medium">前往绑定</GuipButton>
</div>
</div>
</template>
<!-- 自定义下拉选项 -->
<template #item="{ item }">
<div class="flex-between">
<div class="left">
<p class="one">{{ item.label }}</p>
<p>{{ item.desc }}</p>
</div>
<div class="right">
<img v-if="selectedItem.value == item.value"
src="../assets/register/drop-selected.svg" alt="">
</div>
</div>
</template>
</CustomDropdown>
</GuipFormItem>
<GuipFormItem column="column">
<div slot="formLeft" class="form-top-icon">
<img src="@/assets/register/zhifubao.svg" style="width: 26px;height: 26px;"
alt=""><span>支付宝收款</span>
</div>
<!-- <GuipSelect slot="formDom" v-model="siteForm2.zhifubao_pay" prop="zhifubao_pay"
:options="options_zhifubao" placeholder="未绑定支付宝收款" /> -->
<CustomDropdown slot="formDom" v-model="siteForm1.zhifubao_pay" :options="options_weixin"
@change="changeSelectWeixin" placeholder="请选择" :options_null="options_weixin_null"
@changeNormal="changeNormalWeixin">
<!-- 自定义触发按钮 -->
<template #trigger>
<span v-if="selectedItemWeixin"
style="color: #1E2226;font-family: Microsoft YaHei UI;">{{
select_placeholder_weixin ? select_placeholder_weixin :
selectedItemWeixin.desc }}</span>
<span v-else>请选择</span>
</template>
<template #normal>
<div class="flex flex-between noraml-jump">
<div class="left">
<b>绑定新支付宝收款</b>
<p class="one">需要使用您公司的支付宝支付</p>
<p>需在支付宝商户平台-产品中心开通Native支付</p>
</div>
<div class="right">
<GuipButton type="primary" size="medium">前往绑定</GuipButton>
</div>
</div>
</template>
<!-- 自定义下拉选项 -->
<template #item="{ item }">
<div class="flex-between">
<div class="left">
<p class="one">{{ item.label }}</p>
<p>{{ item.desc }}</p>
</div>
<div class="right">
<img v-if="selectedItem.value == item.value"
src="../assets/register/drop-selected.svg" alt="">
</div>
</div>
</template>
</CustomDropdown>
</GuipFormItem>
</div>
<div class="flex-line"></div>
<div class="flex-right">
<!-- <div>{{ input1 }}</div> -->
<div class="addStore flex">
<img src="@/assets/addIcon.svg" alt="">添加其他收款方式
</div>
</div>
</div>
</el-form>
<GroupFormBtns @cancel="cancelClick" @confirm="confirmClick('siteForm2')" />
</div>
</div>
</template>
<script>
// import GuipInput from '@/components/GuipInput.vue';
import store from '../store';
import { mapState } from 'vuex';
import GuipFormItem from '@/components/GuipFormItem.vue';
import GuipInput from '@/components/GuipInput.vue';
import GuipRadio from '@/components/GuipRadio.vue';
import CustomDropdown from '@/components/CustomDropdown.vue';
import GuipButton from '@/components/GuipButton.vue';
import GroupFormBtns from '@/components/GroupFormBtns.vue';
export default {
//
name: '',
props: [''],
components: {
GuipRadio,
GuipFormItem,
GuipInput,
CustomDropdown,
GuipButton,
GroupFormBtns
},
data() {
return {
siteForm: {
company_name: '',
company_address: '',
company_phone: '',
site_alias: '',
},
siteFormrules: {
site_alias: [
{ required: true, message: '请输入站点简称', trigger: 'blur' }
]
},
siteForm1: {
domain_set: '',
domain_source: '平台免费域名',
},
siteForm2: {
zhifubao_pay: '',
weixin_pay: '',
},
siteFormrules1: {
domain_source: [
{ required: true, message: '请输入站点简称', trigger: 'blur' }
]
},
domain_source: [
{ label: '平台免费域名', value: '平台免费域名', selectedLabel: "平台免费域名" },
{ label: '我自己有域名', value: '我自己有域名', selectedLabel: "我自己有域名" },
],
options_weixin_null: {
label: '暂无收款账号',
value: '暂时没有收款账号,我想稍后配置',
desc: '暂无收款账号,稍后配置'
},
select_placeholder_weixin: '暂无收款账号,稍后配置',
selectedItemWeixin: {},//
options_weixin: [],
options_zhifubao: [],
}
},
computed: {
...mapState(['pageTitle']) // VuexshowSidebar
},
mounted() {
store.commit('SET_PAGETITLE', '基本设置');
},
methods: {
changeNormalWeixin() {
},
changeSelectWeixin(item, flag) {
if (flag) {
this.select_placeholder_weixin = this.options_weixin_null.desc;
return
}
this.selectedItem = { ...item };
console.log(this.selectedItem, 'this.selectedItem====');
},
//
domain_radioChange(type) {
console.log(type, '--');
},
onSwitchChange(data) {
console.log(data, '---');
},
submitForm(form) {
console.log(form, '-----');
this.$refs.formRef.validate((valid) => {
console.log(this.form, '======formxinxi');
if (valid) {
alert('提交成功!');
} else {
return false;
}
});
},
cancelClick() {
console.log('quxiao');
},
confirmClick(type) {
console.log(type, '确认');
}
}
}
</script>
<style lang="scss">
.addStore {
margin-top: 12px;
border-radius: 4px;
opacity: 1;
/* text/text_white_2 */
border: 1px dashed #BABDC2;
padding: 15px 20px;
color: #626573;
justify-content: center;
img {
margin-right: 12px;
}
}
.site-setting-wrap{
width: 100%;
}
.siteMessage2{
margin: 12px 0;
}
.domain-wrap {
.domain-item {
margin-bottom: 10px;
}
.domain-item p:last-child {
padding-left: 23px;
color: #8A9099;
}
p {
text-align: left;
line-height: 18px;
margin-bottom: 8px;
}
.domain-box {
display: flex;
flex-direction: column;
justify-content: flex-start;
}
}
</style>

52
src/views/SitePersonalization.vue

@ -0,0 +1,52 @@
<template>
<div class="page-title-wrap min-flex">
</div>
</template>
<script>
// import GuipInput from '@/components/GuipInput.vue';
import { mapState } from 'vuex';
export default {
//
name: '',
props: [''],
components: {
// GuipInput,
},
data() {
return {
}
},
computed: {
...mapState(['pageTitle']) // VuexshowSidebar
},
methods: {
}
}
</script>
<style lang="scss">
.page-title-wrap {
width: 100%;
height: 72px;
/* 自动布局 */
display: flex;
flex-direction: column;
padding: 24px 12px;
box-sizing: border-box;
b {
/* headline/haeadline_3_bold */
font-family: Microsoft YaHei UI;
font-size: 18px;
font-weight: bold;
line-height: 24px;
letter-spacing: 0.06em;
font-variation-settings: "opsz" auto;
/* text/text_1 */
color: #1E2226;
display: inline-block;
text-align: left;
}
}
</style>

59
src/views/SiteSetting.vue

@ -0,0 +1,59 @@
<template>
<div class="siteSetting-wrap">
<SetLeftMenu :menu-items="menuItems" />
<!-- 主内容区域 -->
<main class="main-content">
<!-- 面包屑 位置 -->
<PageTitle />
<router-view></router-view>
<Footer></Footer>
</main>
</div>
</template>
<script>
// import SiteBaseSetting from './SiteBaseSetting.vue';
import PageTitle from '@/components/PageTitle.vue';
import Footer from '@/components/Footer.vue';
import SetLeftMenu from '@/components/SetLeftMenu.vue'
export default {
//
name: '',
props: [''],
components: {
PageTitle,
Footer,
SetLeftMenu,
// SiteBaseSetting
},
data() {
return {
menuItems: [
{ title: '页面1', path: '/siteSetting/siteBaseSetting' },
{ title: '页面2', path: '/siteSetting/sitePersonalization' },
{ title: '页面3', path: 'page3' }
]
}
}
}
</script>
<style scoped lang="scss">
.siteSetting-wrap {
display: flex;
height: 100%;
}
// .sidebar {
// width: 250px;
// background: #f5f5f5;
// padding: 20px;
// }
.main-content {
flex: 1;
padding: 12px;
overflow-y: auto;
}
</style>
Loading…
Cancel
Save