|
@@ -0,0 +1,101 @@
|
|
|
+
|
|
|
+
|
|
|
+<template>
|
|
|
+ <div class="page" >
|
|
|
+
|
|
|
+ <div class="content" align="center">
|
|
|
+ <h1 style="margin-left:-23%;margin-top: 8%;display: inline-block">注册农业试验评价系统</h1>
|
|
|
+ <span style="font-size: 15px;display: inline-block;margin-left: 5px">(企业专属)</span>
|
|
|
+ <div style="border-bottom:1px solid black ;width: 80%;margin-top:2% " >
|
|
|
+ +86
|
|
|
+ <input style="border:none;width: 94%;height:30px;font-size: 15px;outline: none" name="phone" type="text" placeholder="请输入注册手机号">
|
|
|
+ </div>
|
|
|
+ <div style="border-bottom:1px solid black ;width: 80%;margin-top: 5%" >
|
|
|
+ <input style="border:none;width: 80%;height:30px;font-size: 15px;outline: none" name="text" type="text" placeholder="请输入6位验证码">
|
|
|
+<!-- <el-button slot="append" style="width: 20%;height: 30px ;background-color: white" >获取验证码</el-button>-->
|
|
|
+ <el-button type="text" style="width: 20%;height: 30px ;padding-left: 40px;color:#b3b3b3 ">获取验证码</el-button>
|
|
|
+ </div>
|
|
|
+ <div style="border-bottom:1px solid black ;width: 80%;margin-top: 6%">
|
|
|
+ <input
|
|
|
+ :type="showPassword? 'text' : 'password'"
|
|
|
+ style="border:none;width: 96%;height:30px;font-size: 15px;outline: none"
|
|
|
+ name="password"
|
|
|
+ placeholder="设置密码"
|
|
|
+ />
|
|
|
+ <i class="el-icon-view" style="font-size: 20px" @click="togglePasswordVisibility"></i>
|
|
|
+ </div>
|
|
|
+ <el-button class="gradient-button">立即注册</el-button>
|
|
|
+ <div align="left" style="margin-left: 10%;margin-top: 4%">
|
|
|
+ <el-checkbox v-model="checked" style="">我已阅读并同意蚯蚓农服 <a href="" style="color: #00afff">许可协议</a> 和 <a href="" style="color: #00afff">隐私政策</a></el-checkbox>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+</template>
|
|
|
+<script>
|
|
|
+import Index from "@/views/index.vue";
|
|
|
+
|
|
|
+export default {
|
|
|
+ components: {Index},
|
|
|
+ data() {
|
|
|
+ return {
|
|
|
+ showPassword: false,
|
|
|
+ radio: '1',
|
|
|
+ checked: false,
|
|
|
+ ruleForm: {
|
|
|
+ phone: '',
|
|
|
+ text: '',
|
|
|
+ password: ''
|
|
|
+ },
|
|
|
+ };
|
|
|
+ },
|
|
|
+ methods: {
|
|
|
+ togglePasswordVisibility() {
|
|
|
+ this.showPassword =!this.showPassword;
|
|
|
+ },
|
|
|
+ },
|
|
|
+}
|
|
|
+</script>
|
|
|
+<style >
|
|
|
+.page {
|
|
|
+ background-color: rgba(242, 242, 242, 1);
|
|
|
+ position: relative;
|
|
|
+ width: 1920px;
|
|
|
+ height: 100vh;
|
|
|
+ overflow: hidden;
|
|
|
+}
|
|
|
+
|
|
|
+.content{
|
|
|
+ width: 36%;
|
|
|
+ height: 50vh;
|
|
|
+ background: white;
|
|
|
+ margin-left: auto;
|
|
|
+ margin-right: auto;
|
|
|
+ margin-top: 25vh;
|
|
|
+}
|
|
|
+.gradient-button {
|
|
|
+ margin-top: 6%;
|
|
|
+ width: 80%;
|
|
|
+ height: 12%;
|
|
|
+ color: white;
|
|
|
+ font-size: 16px;
|
|
|
+ background: linear-gradient(to bottom, #9aecfd, #99e2d9); /* 这里设置了从红色到橙色的渐变,你可以根据需要调整颜色 */
|
|
|
+}
|
|
|
+.el-checkbox__inner:hover{
|
|
|
+ border-color: #00c0bf;
|
|
|
+}
|
|
|
+.el-checkbox__input.is-checked .el-checkbox__inner {
|
|
|
+ background-color: #00c0bf;
|
|
|
+ border-color: #00c0bf;
|
|
|
+}
|
|
|
+.el-checkbox__inner{
|
|
|
+}
|
|
|
+.el-checkbox__label {
|
|
|
+ color: #b3b3b3; /* 设置颜色为初始颜色,即不改变字体颜色 */
|
|
|
+}
|
|
|
+.el-checkbox__input.is-checked + .el-checkbox__label {
|
|
|
+ color: #b3b3b3; /* 当复选框被选中时,字体颜色也保持不变 */
|
|
|
+}
|
|
|
+input::-webkit-input-placeholder {
|
|
|
+ color: #b3b3b3; /* 设置为你想要的颜色,这里以红色为例 */
|
|
|
+}
|
|
|
+</style>
|