king
2025-04-02 9926a79ba29f3d6dba91b39253c82ee7fa9e7c0d
src/views/login/index.jsx
@@ -600,6 +600,20 @@
              res.menu_type = 'shutter'
            }
            let loginOtop = ''
            let loginOleft = ''
            let windowWidth = window.innerWidth
            let fix = null
            res.login_screen_offset && res.login_screen_offset.forEach(item => {
              if (!item.offset_x && !item.offset_y) return
              if (fix === null || Math.abs(windowWidth - item.resolution_width) < fix) {
                fix = Math.abs(windowWidth - item.resolution_width)
                loginOtop = item.offset_y + item.y_unit
                loginOleft = item.offset_x + item.x_unit
              }
            })
            let systemMsg = {
              favicon: res.titlelogo || '',
              platTitle: res.titleName || '',
@@ -617,8 +631,8 @@
              app_version: res.app_version,
              Member_Level: 0,
              appname: res.appname || '',
              loginOtop: res.loginOtop || '',
              loginOleft: res.loginOleft || ''
              loginOtop: loginOtop,
              loginOleft: loginOleft
            }
            if ([10, 20, 30, 40, 50, 60, 70, 80, 90, 100].includes(res.member_level)) {