fix: repaire style

topwar
guofei 2024-10-17 14:27:53 +08:00
parent 1418128b0d
commit 86d150fb29
3 changed files with 23 additions and 18 deletions

View File

@ -48,26 +48,30 @@ var configMap = {
"ipad-h": {
bkg: ipadHPng,
rotate: true,
width: "458px",
height: "326px",
width: "658px",
height: "496px",
offsetv: "5px",
imgStyle: {
transform: 'rotate(-90deg) scale(1.4)',
transform: 'rotate(-90deg)',
width: "506px",
height: "688px",
},
styles: {
transform: "translate(-50%, -50%) scale(1.42)",
// transform: "translate(-50%, -50%) scale(1.42)",
}
},
"ipad-v": {
bkg: ipadHPng,
width: "326px",
height: "458px",
width: "486px",
height: "648px",
offsetv: "5px",
imgStyle: {
transform: 'scale(1.4)',
// transform: 'scale(1.4)',
width: "506px",
height: "688px",
},
styles: {
transform: "translate(-50%, -50%) scale(1.42)",
// transform: "translate(-50%, -50%) scale(1.42)",
}
},
};

View File

@ -1,5 +1,6 @@
// var BaseUrl = "https://api.soyootech.com/";
var BaseUrl = "api/";
var BaseUrl = "https://api.soyootech.com/";
// var BaseUrl = "api/";
export async function UserLogin(loginForm) {
try {
var response = await fetch(BaseUrl + "SoyooUser/previewlogin", {

View File

@ -1,12 +1,12 @@
const { createProxyMiddleware } = require("http-proxy-middleware");
module.exports = function (app) {
app.use(
"/api",
createProxyMiddleware({
target: "https://api.soyootech.com/",
changeOrigin: true,
pathRewrite: { "^/api": "" },
})
);
// app.use(
// "/api",
// createProxyMiddleware({
// target: "https://api.soyootech.com/",
// changeOrigin: true,
// pathRewrite: { "^/api": "" },
// })
// );
};