修改部分样式

This commit is contained in:
张成
2025-08-23 22:57:34 +08:00
parent 5a204862a7
commit 22ae0c7cc4
10 changed files with 937 additions and 108 deletions

95
src/pages/login/api .md Normal file
View File

@@ -0,0 +1,95 @@
// 授权接口
fetch("https://sit.light120.com/api/user/wx_auth", {
"headers": {
"accept": "application/json",
"accept-language": "zh-CN,zh;q=0.9",
"content-type": "application/json",
"priority": "u=1, i",
"sec-ch-ua": "\"Chromium\";v=\"134\", \"Not:A-Brand\";v=\"24\", \"Google Chrome\";v=\"134\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "empty",
"sec-fetch-mode": "cors",
"sec-fetch-site": "same-origin"
},
"referrer": "https://sit.light120.com/api/docs",
"referrerPolicy": "strict-origin-when-cross-origin",
"body": "{\n \"code\": \"string\"\n}",
"method": "POST",
"mode": "cors",
"credentials": "omit"
});
// 用户手机号一键登录登陆
fetch("https://sit.light120.com/api/user/phone_verify", {
"headers": {
"accept": "application/json",
"accept-language": "zh-CN,zh;q=0.9",
"content-type": "application/json",
"priority": "u=1, i",
"sec-ch-ua": "\"Chromium\";v=\"134\", \"Not:A-Brand\";v=\"24\", \"Google Chrome\";v=\"134\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "empty",
"sec-fetch-mode": "cors",
"sec-fetch-site": "same-origin"
},
"referrer": "https://sit.light120.com/api/docs",
"referrerPolicy": "strict-origin-when-cross-origin",
"body": "{\n \"code\": \"string\"\n}",
"method": "POST",
"mode": "cors",
"credentials": "omit"
});
// 发送短信
fetch("https://sit.light120.com/api/user/sms/send", {
"headers": {
"accept": "application/json",
"accept-language": "zh-CN,zh;q=0.9",
"content-type": "application/json",
"priority": "u=1, i",
"sec-ch-ua": "\"Chromium\";v=\"134\", \"Not:A-Brand\";v=\"24\", \"Google Chrome\";v=\"134\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "empty",
"sec-fetch-mode": "cors",
"sec-fetch-site": "same-origin"
},
"referrer": "https://sit.light120.com/api/docs",
"referrerPolicy": "strict-origin-when-cross-origin",
"body": "{\n \"phone\": \"13122585075\"\n}",
"method": "POST",
"mode": "cors",
"credentials": "omit"
});
// 验证验证码接口
fetch("https://sit.light120.com/api/user/sms/verify", {
"headers": {
"accept": "application/json",
"accept-language": "zh-CN,zh;q=0.9",
"content-type": "application/json",
"priority": "u=1, i",
"sec-ch-ua": "\"Chromium\";v=\"134\", \"Not:A-Brand\";v=\"24\", \"Google Chrome\";v=\"134\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "empty",
"sec-fetch-mode": "cors",
"sec-fetch-site": "same-origin"
},
"referrer": "https://sit.light120.com/api/docs",
"referrerPolicy": "strict-origin-when-cross-origin",
"body": "{\n \"phone\": \"13800138000\",\n \"code\": \"123456\"\n}",
"method": "POST",
"mode": "cors",
"credentials": "omit"
});