refactor: update env configs, replace uni-ui and fix issues

- add VITE_CLIENT_ID environment variable to all .env files, adjust API and socket URLs across dev/staging/prod environments
- update request utility to use env var for client ID instead of hardcoded "6"
- refactor GoodDetail component: replace uni-icons with van-icon, switch markdown renderer to vue3-markdown-it
- refactor Calendar component: swap uni-popup for van-popup, remove deprecated SCSS styles, update markup and toast calls
- fix ImageSwiper: rename handler methods, update preview navigation to use vue router, remove redundant code
- correct margin class syntax in goods index page
This commit is contained in:
DEV_DSW
2026-05-28 10:18:04 +08:00
parent 4edf19ce0c
commit 9d0890b541
10 changed files with 54 additions and 152 deletions

View File

@@ -4,7 +4,7 @@
<div class="flex-1 overflow-y-auto" @scroll="handleScroll">
<ImageSwiper :border-radius="0" :height="300" :images="goodsData.commodityPhotoList" thumbnailBottom="42px" />
<div class="bg-white py-[20px] relative -mt-[30px] z-10 rounded-t-[28px]">
<div class="bg-white py-[20px] relative mt-[-30px] z-10 rounded-t-[28px]">
<!-- 商品信息组件 -->
<GoodInfo :goodsData="goodsData" />