style:样式重构

This commit is contained in:
2025-10-18 09:24:35 +08:00
parent 729eba5a3b
commit 179be8f8b0
30 changed files with 880 additions and 423 deletions
+40
View File
@@ -0,0 +1,40 @@
import request from '../http'
// 设备查询
export const getDeviceInfo = (deviceNo) => {
return request({
url: `/app/device/${deviceNo}`,
method: 'get',
})
}
// 立即租借
export const rentPowerBank = (deviceNo, phone) => {
return request({
url: `/app/device/rentPowerBank?deviceNo=${deviceNo}`,
method: 'post',
data: {
// deviceNo,
phone
}
})
}
// 确认支付并弹出风扇
export const confirmPaymentAndRent = (orderId) => {
console.log(`确认支付并弹出风扇, orderId: ${orderId}`)
return request({
url: `/app/device/confirmPaymentAndRent?orderId=${orderId}`,
method: 'GET'
})
}
// 强制打开空格子
export const forcefOpenEmptyGrid = (deviceNo) => {
console.log(`强制打开空格子, deviceNo: ${deviceNo}`)
return request({
url: `/app/device/forcef/${deviceNo}`,
method: 'post'
})
}