feat: 更新 API 请求参数与组件样式优化

- 在 account.js 和 member.js 中添加 loading 和 skipMessage 参数,提升 API 调用的用户体验。
- 在 ShowGoods.vue 中优化商品详情展示样式,增强可读性和交互性。
- 在 Cart.vue 中重构购物车商品列表结构,提升布局一致性。
- 在多个页面中修复了提示信息的内容,确保用户操作的清晰反馈。
This commit is contained in:
田香琪
2026-07-06 16:33:21 +08:00
parent e13ca6281d
commit 297bdd95dd
28 changed files with 689 additions and 259 deletions

View File

@@ -450,9 +450,14 @@ export default {
},
// 下架
lower() {
const reason = this.underForm.reason ? this.underForm.reason.trim() : "";
if (!reason) {
this.$Message.error("下架原因不能为空");
return;
}
let params = {
goodsId: this.id,
reason:this.underForm.reason
reason
};
lowGoods(params).then((res) => {
this.$Modal.remove();