wjx 3 weeks ago
parent
commit
e70fa4a3fc

+ 1 - 0
src/assets/icons/svg/educate.svg

@@ -0,0 +1 @@
+<svg viewBox="64 64 896 896" focusable="false" data-icon="fund-view" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M791.3 1024H232.7C104.7 1024 0 919.3 0 791.3V232.8C0 104.7 104.7 0 232.7 0h558.5c128 0 232.7 104.7 232.7 232.7v558.5c0.1 128.1-104.6 232.8-232.6 232.8z" fill="#1296DB" p-id="14403"></path><path d="M797.8 427.7V531l21.7 21.7-45.3 47.2-45.9-45.8 31.4-28.6V444c-133.3 55-176.1 72.1-205.7 85.4-29.6 13.3-50.9 13.3-80.2 2.2-29.3-11.1-168.9-62-238.3-95.2-46.3-22.1-49.2-36.2 0.8-55 65.3-24.8 173.2-64.5 230.4-86.2 33.9-13.7 51.8-21.2 82.9-5.6 55.5 22.9 182.3 70.5 245.4 96.5 55 24.2 18.1 32 2.8 41.6M560.5 570.3c32.2-13.3 75.7-35.3 123.1-55.6v163.1S622.3 743 514.5 743c-116.1 0-178.8-65.2-178.8-65.2V525.6c36.6 14.9 77.7 27.7 127.4 44.8 30.7 10.8 69.6 14.6 97.4-0.1" fill="#FFFFFF" p-id="14404"></path></svg>

+ 1 - 0
src/assets/icons/svg/externalMaterial.svg

@@ -0,0 +1 @@
+<svg viewBox="64 64 896 896" focusable="false" data-icon="fund-view" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M213.48 64.22h597.04c99.5 0 149.26 49.75 149.26 149.26v597.04c0 99.5-49.75 149.26-149.26 149.26H213.48c-99.51 0-149.26-49.75-149.26-149.26V213.48c0-99.5 49.76-149.26 149.26-149.26z m0 0" fill="#4E6EF2" p-id="28675"></path><path d="M716.95 365.59H545.2L490.63 311H327.65c-10.66 0-19.46 8.77-19.46 19.46v342.73c0.04 10.73 8.73 19.42 19.46 19.46h389.3c10.66 0 19.46-8.77 19.46-19.46V385.05c0-10.68-8.77-19.46-19.46-19.46z" fill="#FFFFFF" p-id="28676"></path><path d="M599.34 523.54c0-10.57 6.5-20.06 16.37-23.87a96.02 96.02 0 0 0-10.48-25.31 25.563 25.563 0 0 1-28.51-5.25 25.54 25.54 0 0 1-5.23-28.51 96.352 96.352 0 0 0-25.3-10.45 25.593 25.593 0 0 1-23.88 16.45c-10.6-0.01-20.1-6.55-23.88-16.45a95.748 95.748 0 0 0-25.28 10.45 25.55 25.55 0 0 1-5.27 28.5c-7.49 7.49-18.83 9.59-28.5 5.26-4.65 7.81-8.17 16.3-10.48 25.31a25.613 25.613 0 0 1 16.48 23.86c0 10.94-6.86 20.18-16.48 23.88 2.3 9 5.85 17.49 10.48 25.28a25.557 25.557 0 0 1 28.53 5.25c7.49 7.51 9.57 18.87 5.21 28.54 7.81 4.63 16.3 8.18 25.3 10.45a25.617 25.617 0 0 1 23.88-16.46c10.92 0 20.18 6.86 23.88 16.46a95.049 95.049 0 0 0 25.28-10.45 25.559 25.559 0 0 1 5.24-28.5c7.48-7.5 18.82-9.6 28.49-5.29 4.66-7.79 8.2-16.28 10.51-25.28a25.591 25.591 0 0 1-16.36-23.87z m-75.51 41.65c-22.15 0-40.1-17.95-40.1-40.11 0-22.15 17.95-40.1 40.1-40.1s40.11 17.96 40.11 40.1c-0.01 22.15-17.96 40.11-40.11 40.11z" fill="#B9C8F9" p-id="28677"></path></svg>

+ 1 - 1
src/views/login.vue

@@ -139,7 +139,7 @@ export default {
         if (code) {
           this.dingdingLogin(code, state)
         } else if (token) {
-          this.$store.dispatch("SetToken", token).then(res => {
+          this.$store.dispatch("SetToken", encodeURIComponent(token)).then(res => {
             this.$router.push({ path: `/login?redirect=${this.redirect || '/index'}` });
           })
         }