|
- <template>
- <div>
- <div class="box">
- <div class="list">
- <div class="regsit">
- <button class="noreg" @click="Agrireg">农户注册</button>
- <button class="qyreg" @click="busireg">企业注册</button>
- </div>
- <!-- 企业注册 -->
- <div class="show" v-if="show">
- <div class="frames frame">
- <i class="icona icona1"></i>
- <span>主体类别:</span>
- <input type="text" class="subject" />
- <i class="arrows"></i>
- </div>
- <div class="frames frame">
- <i class="icona icona2"></i>
- <span>主体名称:</span>
- <input type="text" class="subject" />
- <!-- <i class="arrows"></i> -->
- </div>
- <div class="frames frame">
- <i class="icona icona3"></i>
- <span>负责人姓名:</span>
- <input type="text" class="subject subjectname" />
- <!-- <i class="arrows"></i> -->
- </div>
- <div class="frames frame">
- <i class="icona icona4"></i>
- <span>手机号码:</span>
- <input type="text" class="subject" />
- <!-- <i class="arrows"></i> -->
- </div>
- <div class="frames frame">
- <i class="icona icona5"></i>
- <span>验证码:</span>
- <input type="text" class="subject" />
- <i class="verification">获取验证码</i>
- </div>
- <div class="frames frame">
- <i class="icona icona6"></i>
- <span>用户名</span>
- <input type="text" class="subject" />
- <!-- <i class="arrows"></i> -->
- </div>
- <div class="frames frame">
- <i class="icona icona7"></i>
- <span>密码</span>
- <input type="text" class="subject" />
- <i class="arrows showh1"></i>
- </div>
- <div class="frames frame">
- <i class="icona icona8"></i>
- <span>确认密码</span>
- <input type="text" class="subject" />
- <i class="arrows showh2"></i>
- </div>
- </div>
- <!-- 农业注册 -->
- <div class="show" v-else>
- <div class="frames frame">
- <i class="icona icona3"></i>
- <span>农户:</span>
- <input type="text" class="subject" />
- <i class="arrows"></i>
- </div>
- <div class="frames frame">
- <i class="icona icona9"></i>
- <span>身份证:</span>
- <input type="text" class="subject" />
- <!-- <i class="arrows"></i> -->
- <div></div>
- </div>
-
- <div class="frames frame">
- <i class="icona icona4"></i>
- <span>手机号码:</span>
- <input type="text" class="subject subjectname" />
- <!-- <i class="arrows"></i> -->
- <div class="verify">
- <i class="verimg"></i>
- <span class="fapeasant">非本地农户</span>
- </div>
- </div>
-
- <div class="frames frame">
- <i class="icona icona1"></i>
- <span>验证码:</span>
- <input type="text" class="subject" />
- <i class="verification">获取验证码</i>
- </div>
- <div class="frames frame">
- <i class="icona icona1"></i>
- <span>用户名:</span>
- <input type="text" class="subject" />
- <!-- <i class="arrows"></i> -->
- </div>
- <div class="frames frame">
- <i class="icona icona7"></i>
- <span>密码</span>
- <input type="text" class="subject" />
- <i class="arrows showh1"></i>
- </div>
- <div class="frames frame">
- <i class="icona icona8"></i>
- <span>确认密码</span>
- <input type="text" class="subject" />
- <i class="arrows showh2"></i>
- </div>
- </div>
-
- <div class="loggoto">
- <button class="loggo">登录</button>
- </div>
- <div class="jumpreg">
- <input type="radio" class="dx" />
- <span>我已阅读并同意</span>
- <a href="#">《隐私政策》</a>和 <a href="#">《用户协议》</a><br />
- <span class="texta">*登录后请完善基础信息成为正式用户</span>
- </div>
- </div>
-
- </div>
- <tabbar></tabbar>
- </div>
- </template>
- <script>
- import tabbar from "./conter.vue";
- export default {
- components:{
- tabbar
- },
- name: "index",
- data() {
- return {
- show: true,
- };
- },
- methods:{
- //农业注册
- Agrireg(){
- if(this.show==true){
- return this
- }else{
- this.show=!this.show
- }
- } ,
- //企业注册
- busireg(){
- if(this.show==false){
- return this
- }else{
- this.show=!this.show
- }
- }
- }
- };
- </script>
- <style scoped lang="scss">
- .box {
- width: 100%;
- background: url("../../assets/images/Newbusinessentity/bj_01.jpg") no-repeat;
- height: 21.2rem;
- overflow: hidden;
- position: relative;
- background-size: 10.2rem;
- }
- .list {
- width: 9rem;
- height: 18rem;
- background: #ffffff;
- border-radius: 1rem;
- margin: 1rem auto;
- position: relative;
- .regsit {
- position: absolute;
- top: 0.5rem;
- left: 0.8rem;
- width: 7rem;
- height: 1.2rem;
-
- display: flex;
- justify-content: space-between;
- .noreg,
- .qyreg {
- font-size: 0.4rem;
- font-weight: bold;
- background: #ffffff;
- }
- .noreg {
- margin-left: 0.7rem;
- }
- }
- .frame {
- position: relative;
- background: #eeeeee;
- border-radius: 1rem;
- margin-top: 0.5rem;
- }
- //校验农户注册
- .verify {
- width: 3rem;
- position: absolute;
- right: 0.2rem;
- top: 0.8rem;
- .verimg {
- display: block;
- width: 0.4rem;
- height: 0.4rem;
- background: url('../../assets/images/Newbusinessentity/08_03.jpg') no-repeat;
- margin: 0.24rem 0rem 0rem 0.5rem
- }
- .fapeasant{
- color: red;
- font-size: 0.2rem;
- }
- }
- .frames {
- display: flex;
- top: 2rem;
- left: 0.6rem;
- height: 1rem;
- width: 8rem;
-
- span {
- position: absolute;
- left: 0.9rem;
- top: 0.22rem;
- color: #b0b0b0;
- font-size: 0.36rem;
- }
- .subject {
- background: #eeeeee;
- position: absolute;
- left: 2.5rem;
- top: 0.1rem;
- // background: pink;
- height: 0.8rem;
- width: 3rem;
- font-size: 0.36rem;
- color: #dbdbdb;
- }
- .subjectname {
- left: 2.8rem;
- }
- .icona {
- width: 0.5rem;
- height: 0.5rem;
-
- position: absolute;
- top: 0.29rem;
- left: 0.3rem;
- }
- .icona1 {
- background: url("../../assets/images/Newbusinessentity/layers_icon_125237.png")
- no-repeat;
- }
- .icona2 {
- background: url("../../assets/images/Newbusinessentity/home_icon_128501.png")
- no-repeat;
- }
- .icona3 {
- background: url("../../assets/images/Newbusinessentity/user_icon_125113.png")
- no-repeat;
- }
- .icona4 {
- background: url("../../assets/images/Newbusinessentity/phone_handset_icon_125195.png")
- no-repeat;
- }
- .icona5 {
- background: url("../../assets/images/Newbusinessentity/shield_icon_125161.png")
- no-repeat;
- }
- .icona6 {
- background: url("../../assets/images/Newbusinessentity/user_icon_1251132.png")
- no-repeat;
- }
- .icona7 {
- background: url("../../assets/images/Newbusinessentity/lock_icon_1252253.png")
- no-repeat;
- }
- .icona8 {
- background: url("../../assets/images/Newbusinessentity/lock_icon_1252253.png")
- no-repeat;
- }
-
- //农业注册
- .icona9 {
- background: url("../../assets/images/Newbusinessentity/licencse_icon_125234.png")
- no-repeat;
- }
-
- .arrows {
- width: 0.5rem;
- height: 0.5rem;
- background: url("../../assets/images/Newbusinessentity/21563.png")
- no-repeat;
- position: absolute;
- top: 0.36rem;
- right: 0.3rem;
- }
- .showh1 {
- background: url("../../assets/images/Newbusinessentity/showh_03.jpg")
- no-repeat;
- }
- .showh2 {
- background: url("../../assets/images/Newbusinessentity/view_show_icon_1248113.png")
- no-repeat;
- }
- .verification {
- width: 2.7rem;
- height: 0.76rem;
- color: #ffffff;
- font-size: 0.2rem;
- background: #75c757;
- border-radius: 0.3rem;
- position: absolute;
- right: 0.2rem;
- top: 0.1rem;
- text-align: center;
- line-height: 0.76rem;
- font-size: 0.35rem;
- }
- }
- .loggoto {
- position: relative;
- top: 1.4rem;
- .loggo {
- width: 6rem;
- height: 1rem;
- text-align: center;
- color: #ffffff;
- background: #41d25e;
- font-size: 0.4rem;
- position: absolute;
- left: 1.7rem;
- top: 1.6rem;
- border-radius: 0.4rem;
- }
- }
- .jumpreg {
- position: relative;
- top: 4.5rem;
- left: 1.2rem;
- font-weight: normal;
- font-size: 0.32rem;
- color: #858585;
-
- overflow: hidden;
- a {
- color: #3096ff;
- }
- .dx {
- border: #5bcc5b 0.2rem solid;
- background: #5bcc5b;
- color: #5bcc5b;
- }
- .texta {
- display: block;
- margin: 0.3rem 0 0 0.6rem;
- }
- }
- }
- </style>
|