小程序样式更新

This commit is contained in:
liu
2026-08-31 15:43:01 +08:00
parent 130ef2c949
commit 9d893b4ed4
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -199,7 +199,7 @@ export default function ProductPage() {
try {
const res = await addItem(product.id, 1)
handleRowSync(product.id, { cart_id: res.id, cart_quantity: res.quantity })
Taro.showToast({ title: '已加入购物车', icon: 'success' })
// Taro.showToast({ title: '已加入购物车', icon: 'success' })
} catch {
}
+2 -2
View File
@@ -10,8 +10,8 @@ const LOGIN_PATH = '/pages/login/index'
/** 默认请求超时(ms */
const DEFAULT_TIMEOUT = 15000
/** 接口根地址(uploadFile 等原生请求同样使用) */
export const BASE_URL = "http://localhost:8000/index.php"
// export const BASE_URL = "https://purchase.henanklkj.com/index.php"
// export const BASE_URL = "http://localhost:8000/index.php"
export const BASE_URL = "https://purchase.henanklkj.com/index.php"
/**
* HTTP 状态码 → 错误提示映射