refactor: update icon system, fix login and add temp auth

refactor all icon map references from zniconsMap to iconsMap across the codebase
standardize icon import paths and add complete src/assets/fonts/znicons.ts definition file
fix login page query selector typo and replace hardcoded client ID with environment variable
add temporary auth token injection in request utility using env var
update ZnIcon documentation and development environment config
This commit is contained in:
DEV_DSW
2026-05-28 11:56:13 +08:00
parent 9d0890b541
commit 9af30b8b8a
12 changed files with 26 additions and 22 deletions

View File

@@ -12,7 +12,7 @@
<div class="border-box rounded-12 bg-white p-12 ml-12 mr-12 mb-40">
<div class="flex flex-items-center mb-8">
<uni-icons fontFamily="znicons" size="20" color="#333">
{{ zniconsMap["zn-refund"] }}
{{ iconsMap["zn-refund"] }}
</uni-icons>
<span class="font-size-14 font-600 color-171717 ml-8">
{{ refundTitle }}
@@ -29,7 +29,7 @@
<script setup>
import { ref, computed, watch } from "vue";
import { zniconsMap } from "@/static/fonts/znicons";
import { iconsMap } from "@/static/fonts/znicons";
// Props定义
const props = defineProps({