暗黑模式开关
This commit is contained in:
parent
c4d9ddee35
commit
bfa15c63af
@ -31,7 +31,7 @@
|
|||||||
class="relative flex-1 p-30px dark:bg-[var(--login-bg-color)] lt-sm:p-10px overflow-x-hidden overflow-y-auto"
|
class="relative flex-1 p-30px dark:bg-[var(--login-bg-color)] lt-sm:p-10px overflow-x-hidden overflow-y-auto"
|
||||||
>
|
>
|
||||||
<!-- 右上角的主题、语言选择 -->
|
<!-- 右上角的主题、语言选择 -->
|
||||||
<!-- <div
|
<div
|
||||||
class="flex items-center justify-between at-2xl:justify-end at-xl:justify-end"
|
class="flex items-center justify-between at-2xl:justify-end at-xl:justify-end"
|
||||||
style="color: var(--el-text-color-primary)"
|
style="color: var(--el-text-color-primary)"
|
||||||
>
|
>
|
||||||
@ -41,9 +41,9 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="flex items-center justify-end space-x-10px h-48px">
|
<div class="flex items-center justify-end space-x-10px h-48px">
|
||||||
<ThemeSwitch />
|
<ThemeSwitch />
|
||||||
<LocaleDropdown />
|
<!-- <LocaleDropdown /> -->
|
||||||
</div>
|
</div>
|
||||||
</div> -->
|
</div>
|
||||||
<!-- 右边的登录界面 -->
|
<!-- 右边的登录界面 -->
|
||||||
<Transition appear enter-active-class="animate__animated animate__bounceInRight">
|
<Transition appear enter-active-class="animate__animated animate__bounceInRight">
|
||||||
<div
|
<div
|
||||||
|
@ -717,6 +717,8 @@ const dragEnd = (locationX, locationY, item, index) => {
|
|||||||
let x = Number(locationX) + Number(item.locationWidePx) / 2
|
let x = Number(locationX) + Number(item.locationWidePx) / 2
|
||||||
let y = Number(locationY) + Number(item.locationDeepPx) / 2
|
let y = Number(locationY) + Number(item.locationDeepPx) / 2
|
||||||
|
|
||||||
|
console.log(x, y)
|
||||||
|
|
||||||
if (x === item.locationX && y === item.locationY) return
|
if (x === item.locationX && y === item.locationY) return
|
||||||
let actualPoint = disposeEventPoint(x, y)
|
let actualPoint = disposeEventPoint(x, y)
|
||||||
state.allMapPointInfo[index].locationX = x
|
state.allMapPointInfo[index].locationX = x
|
||||||
|
Loading…
Reference in New Issue
Block a user