|
@@ -158,8 +158,6 @@ function pickFields(source, fields = ['content', 'enContent']) {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
onMounted(() => {
|
|
onMounted(() => {
|
|
|
- const hostParts = window.location.host.split('.')
|
|
|
|
|
- ho.value = hostParts.length > 1 ? hostParts[1] : ''
|
|
|
|
|
|
|
|
|
|
const accountInfo = userStore.accountInfo
|
|
const accountInfo = userStore.accountInfo
|
|
|
if (accountInfo?.rememberPassword) {
|
|
if (accountInfo?.rememberPassword) {
|
|
@@ -173,13 +171,12 @@ onMounted(() => {
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
const inputType = ref('password')
|
|
const inputType = ref('password')
|
|
|
-const ho = ref('')
|
|
|
|
|
</script>
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
|
<template>
|
|
|
<view class="login-page" :isHeaderFixed="true" :isLoginPage="true">
|
|
<view class="login-page" :isHeaderFixed="true" :isLoginPage="true">
|
|
|
|
|
|
|
|
-
|
|
|
|
|
|
|
+ <view class="fixed"/>
|
|
|
<view class="main-content">
|
|
<view class="main-content">
|
|
|
<cwg-match-media :min-width="991">
|
|
<cwg-match-media :min-width="991">
|
|
|
<view class="global-header-bar pc-header">
|
|
<view class="global-header-bar pc-header">
|
|
@@ -240,7 +237,7 @@ const ho = ref('')
|
|
|
<view class="account">
|
|
<view class="account">
|
|
|
<cwg-match-media :max-width="991">
|
|
<cwg-match-media :max-width="991">
|
|
|
<view class="company u-flex-y u-flex-y-center">
|
|
<view class="company u-flex-y u-flex-y-center">
|
|
|
- <image src="/static/images/logo.png" class="company-icon" mode="widthFix"></image>
|
|
|
|
|
|
|
+ <image src="/static/images/logo-full.svg" class="company-icon" mode="widthFix"></image>
|
|
|
</view>
|
|
</view>
|
|
|
</cwg-match-media>
|
|
</cwg-match-media>
|
|
|
<view class="title">
|
|
<view class="title">
|
|
@@ -323,6 +320,13 @@ const ho = ref('')
|
|
|
flex-direction: column;
|
|
flex-direction: column;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+.fixed {
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ height: var(--status-bar-height);
|
|
|
|
|
+ background-color: var(--color-white);
|
|
|
|
|
+ z-index: 9;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
.global-header-bar {
|
|
.global-header-bar {
|
|
|
width: 100%;
|
|
width: 100%;
|
|
|
height: px2rpx(60);
|
|
height: px2rpx(60);
|
|
@@ -351,6 +355,9 @@ const ho = ref('')
|
|
|
top: px2rpx(20);
|
|
top: px2rpx(20);
|
|
|
right: px2rpx(20);
|
|
right: px2rpx(20);
|
|
|
z-index: 10;
|
|
z-index: 10;
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ justify-content: flex-end;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.main-content {
|
|
.main-content {
|