login.vue
1.54 KB
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
<template>
<view>
<view class="login-content">
<view>
<image class="logo" src="/static/logo.png"></image>
<view>
<view class="title">{{appName}}</view>
<view class="title-msg">{{apptitle}}</view>
</view>
</view>
<view class="uni-common-mt paddinglr30">
<view class="uni-form-item uni-column">
<input class="uni-input" type="text" v-model="username" placeholder="请输入用户名" />
</view>
<view class="uni-form-item uni-column">
<input class="uni-input" password type="text" v-model="password" placeholder="请输入密码" />
</view>
</view>
<view class="paddinglr30 uni-common-mt">
<button type="primary" @click="login">登录</button>
</view>
<view class="uni-common-mt login-foot">
点击”登录“,即表示你同意《商户用户协议》
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
appName: '江阴慧停车',
apptitle: '江阴慧停车·智慧便捷',
username:'',
password:'',
}
},
methods: {
login(){
}
}
}
</script>
<style lang="scss">
.page {
width: 100%;
height: 100%;
display: flex;
justify-content: center;
position: relative;
}
.login-content {
background-color: #f6f6f6;
text-align: center;
height: 100vh;
}
.logo {
height: 200upx;
width: 200upx;
margin-top: 200upx;
}
.title {
font-size: 32upx;
color: #000;
font-weight: 400;
}
.title-msg {
font-size: 26upx;
color: #8d8d8d;
}
.login-foot{
font-size: 26upx;
}
</style>