.
.
.header
.main-
.form-
.form-container
.form-container
.form-container input[type="text"],
.form-container input[type="password"] {
width: 100%;
padding: 10px;
border: none;
border-radius: 5px;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}
.form-container input[type="submit"] {
width: 100%;
padding: 10px;
background-color: #333;
color: #ffffff;
border: none;
border-radius: 5px;
cursor: pointer;
}
.form-container input[type="submit"]:
升本人报名照片要求
寸照、近期、免冠、背景纯色。
照片要求const app = new Vue({
el: '#app',
data: {
username: '',
password: ''
},
methods: {
validate() {
if (!this.username || !this.password) {
alert('请输入用户名和密码');
}
},
submit() {
if (this.validate()) {
alert('报名成功');
}
}
}
});