zhengyiming
1 天以前 c0bcba49bef43b880978ff63b2ac00f1ba5c5c6a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<template>
  <PageLayoutWithBg :needAuth="false" class="login-page-layout">
    <template #navigationBar>
      <TransparentNavigationBar :title="title" :is-absolute="false"></TransparentNavigationBar>
    </template>
    <template #bg>
      <img :src="OssAssets.login.AuthBg" class="authorization-page-auth" />
    </template>
 
    <div class="authorization-page-title">欢迎使用生活缴费平台</div>
 
    <slot></slot>
  </PageLayoutWithBg>
</template>
 
<script setup lang="ts">
import { PageLayout, TransparentNavigationBar } from '@/components';
import { OssAssets } from '@life-payment/constants';
 
defineOptions({
  name: 'LoginPageLayout',
});
 
type Props = {
  title?: string;
};
 
const props = withDefaults(defineProps<Props>(), {
  title: '登录',
});
</script>
 
<style lang="scss">
@import '@/styles/common.scss';
 
.login-page-layout {
  .authorization-page-title {
    font-size: 60px;
    color: boleGetCssVar('text-color', 'primary');
    font-weight: bold;
    text-align: center;
    margin-bottom: 108px;
    margin-top: 136px;
    line-height: 84px;
    @include ellipsis;
  }
}
 
.authorization-page-auth {
  position: fixed;
  z-index: -1;
  top: 0;
  left: 0;
  width: 750px;
  height: 1624px;
  object-fit: cover;
}
</style>