2023西安数博会CIM演示-【前端】-Web
AdaKing88
2023-08-21 bc03b832caa49bbcd2674fe4cae3701b5059bf95
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
<!--
 * @Description: 登录页面
 * @Author: 王旭
 * @Date: 2022-03-07 17:47:27
 * @LastEditTime: 2023-05-13 13:15:57
 * @LastEditors: LuLu
-->
<template>
  <div class="box">
    <div class="left">
      <div class="outer_ring">
        <div class="loop">
          <div class="logo"></div>
        </div>
      </div>
      <meteor-shower class="meteor_box"></meteor-shower>
    </div>
    <div class="right">
      <div class="logo_box">
        <!-- <img src="../../assets/img/login/logo.png" alt="" /> -->
      </div>
      <div class="title">{{ APP_NAME }}</div>
      <forms-box></forms-box>
    </div>
  </div>
</template>
 
<script>
import meteorShower from "../../components/meteorShower.vue";
import formsBox from "./modules/forms.vue";
export default {
  name: "Login",
  components: {
    meteorShower,
    formsBox,
  },
  data() {
    return {
      APP_NAME:APP_NAME
    };
  },
  methods: {},
  mounted() {},
  computed: {},
};
</script>
 
<style lang="less" scoped>
.box {
  width: 100%;
  height: 100%;
  background: url("../../assets/img/login/bg.png") no-repeat;
  background-position: center;
  background-size: 100% 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  box-sizing: border-box;
  padding: 40px 0;
  .left {
    width: 49%;
    height: 100%;
    background: url("../../assets/img/login/dz.png") no-repeat;
    background-position: center;
    background-size: 100% 100%;
    position: relative;
    .outer_ring {
      margin: 0 auto;
      width: 76%;
      height: 76%;
      background: url("../../assets/img/login/tuoyuan.png") no-repeat;
      background-size: contain;
      background-position: center center;
      position: relative;
      .loop {
        width: 70%;
        height: 70%;
        background: url("../../assets/img/login/waihuan.png") no-repeat;
        background-size: contain;
        background-position: center center;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-43%, -43%);
        display: flex;
        align-items: center;
        justify-content: center;
        .logo {
          width: 58%;
          height: 58%;
          background: url("../../assets/img/firstpage/logo.png") no-repeat;
          background-size: contain;
          background-position: center center;
        }
      }
    }
    .meteor_box {
      position: absolute;
      left: 0;
      bottom: 0;
      // width: 100%;
      height: 40%;
    }
  }
  .right {
    width: 30%;
    height: 100%;
    background: url("../../assets/img/login/juxin.png") no-repeat;
    background-position: center;
    background-size: 100% 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    .logo_box {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      padding-bottom: 10px;
      img {
        width: 50%;
      }
    }
    .title {
      text-align: center;
      font-size: 46px;
      font-weight: bold;
      color: #f0fafe;
      text-shadow: 0px 0px 79px #00a6e2;
      background: linear-gradient(0deg, #46aef7 0%, #1dd5e6 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      margin-bottom: 40px;
    }
  }
}
 
/*自定义动画类----顺时针旋转(使用这个动画的时候才设置动画执行时间)*/
@keyframes changeright {
  0% {
    -webkit-transform: rotate(0deg);
  }
 
  50% {
    -webkit-transform: rotate(180deg);
  }
 
  100% {
    -webkit-transform: rotate(360deg);
  }
}
@keyframes changeleft {
  0% {
    -webkit-transform: rotate(0deg);
  }
 
  50% {
    -webkit-transform: rotate(-180deg);
  }
 
  100% {
    -webkit-transform: rotate(-360deg);
  }
}
</style>