Files
lilishop-ui/im/package.json
pikachu1995@126.com 97e611c072 refactor(im): 重构聊天面板UI组件并修复多处交互问题
- 将头像组件从 dicebear 外链改为本地首字+底色生成,新增 avatarColor 工具函数
- 重构订单卡片(footPrint.vue)布局,优化商品与订单信息展示结构
- 重构店铺详情卡片(storeDetail.vue),统一信息行与评分行样式
- 移除消息气泡中的昵称时间行,调整气泡背景色与头像内边距
- 修复 face 变量名与全局组件 <face> 冲突导致头像URL被当作标签渲染
- 将 unload 事件监听替换为 pagehide,兼容 Chrome 弃用策略
- 修复搜索关键词未转义正则元字符导致输入特殊字符时抛异常
- 修复 WebSocket onMessage 对无 text 字段的推送消息误调用 JSON.parse
- 将 setup 中同步调用全局 mixin 方法移至 onMounted,避免代理未就绪
- 商品/订单图片统一添加 onerror 默认图兜底
- 聊天列表消息预览支持 emoji 图片渲染(textReplaceEmoji)
- 搜索框增加 clearable 属性及"没有找到相关好友"空态提示
- 锁定 element-plus 版本为 2.14.1 防止自动升级引入兼容问题
- 日期格式化分隔符由斜杠改为横杠
- 提现设置页新增提现规则说明字段,满足微信审核公示要求
2026-10-29 10:56:28 +08:00

71 lines
1.7 KiB
JSON

{
"name": "LiLi-IM",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "vue-cli-service serve",
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint"
},
"engines": {
"node": ">=16"
},
"dependencies": {
"@element-plus/icons-vue": "^2.3.2",
"axios": "^1.7.9",
"babel-plugin-prismjs": "^2.0.1",
"core-js": "^3.49.0",
"element-plus": "2.14.1",
"js-audio-recorder": "^1.0.6",
"js-base64": "^2.5.1",
"nprogress": "^0.2.0",
"pinia": "^4.0.3",
"prismjs": "^1.29.0",
"qs": "^6.9.4",
"svg-sprite-loader": "^5.0.0",
"vue": "^3.5.35",
"vue-cropper": "^1.1.1",
"vue-prism-editor": "2.0.0-alpha.2",
"vue-router": "^4.6.4",
"vue-virtual-scroller": "^3.0.4"
},
"devDependencies": {
"@vue/cli-plugin-babel": "^5.0.9",
"@vue/cli-plugin-eslint": "^5.0.9",
"@vue/cli-service": "^5.0.9",
"@vue/compiler-sfc": "^3.5.35",
"babel-eslint": "^10.1.0",
"compression-webpack-plugin": "^10.0.0",
"eslint": "^8.28.0",
"eslint-plugin-vue": "^9.22.0",
"less": "^4.2.0",
"less-loader": "^11.1.4",
"postcss": "^8.4.20",
"style-resources-loader": "^1.4.1",
"vue-cli-plugin-style-resources-loader": "^0.1.4",
"webpack": "^5.95.0"
},
"eslintConfig": {
"root": true,
"env": {
"node": true
},
"extends": [
"plugin:vue/vue3-essential",
"eslint:recommended"
],
"parserOptions": {
"parser": "babel-eslint"
},
"rules": {
"vue/component-api-style": ["warn", ["script-setup"]]
}
},
"browserslist": [
"> 1%",
"last 2 versions",
"not dead"
]
}