rk
2025-09-22 cf2391a86bdea88196d49cd33949570f74c0985d
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
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
<template>
  <div class="contant">
    <CommonHeader :isLogined="false" />
    <div class="login-content">
      <div class="wrap">
        <div class="select-title">请选择注册账号类型</div>
        <div class="rigister-type">
          <div v-for="(item, index) in registerType" :key="index" class="register-item" :class="selectedType==index && 'type-selected'" @click="selectedType=index">
            <img :src="item.img" alt="">
            <div class="item-content">
              <div class="item-title">{{ item.title }}</div>
              <div class="item-sub-title">{{ item.subTitle }}</div>
            </div>
            <img v-if="selectedType==index" class="selected" src="@/assets/images/zhuce_ic_select@2x.png" alt="">
          </div>
        </div>
        <div class="loginBtn"><el-button @click="register">立即注册</el-button></div>
      </div>
      <div class="copyright">Copyright © 2022 - 2023 智能制造诊断综合服务平台. All Rights Reserved.  版权所有</div>
      <!-- <div class="copyright">Copyright © 2022 - 2023 合肥市智改数转诊断服务平台. All Rights Reserved.  版权所有</div> -->
    </div>
  </div>
</template>
 
<script>
import CommonHeader from '@/components/common/CommonHeader'
export default {
  name: 'Login',
  components: {
    CommonHeader
  },
  data () {
    return {
      registerType: [
        { img: require('@/assets/images/zhuce_ic_qiye@2x.png'), title: '企业入驻', subTitle: '需要准备企业营业执照、法人信息', type: '1', pathName: 'register'},
        { img: require('@/assets/images/zhuce_ic_fuwujigou@2x.png'), title: '服务机构入驻', subTitle: '需要准备企业营业执照、法人信息', type: '2', pathName: 'serviceRegister'},
        { img: require('@/assets/images/zhuce_ic_zonghefuwu@2x.png'), title: '综合服务单位入驻', subTitle: '需要准备企业营业执照、法人信息', type: '3', pathName: 'serviceRegister'},
        { img: require('@/assets/images/zhuce_ic_zj@2x.png'), title: '专家入驻', subTitle: '需要准备个人身份证信息', type: '4', pathName: 'exportRegister'},
      ],
      selectedType: 0
    }
  },
  methods: {
    register() {
      let temp = this.registerType[this.selectedType]
      // console.log(temp);
      this.$router.push({ name: temp.pathName, params:{ type: temp.type } })
    }
  }
}
</script>
 
<style scoped lang="scss">
@import "@/assets/style/variables.scss";
$input-gap: 30px;
.contant {
  height: 100%;
  background-color: #F3F7FA;
  
}
.login-content {
  height: calc(100% - 70px);
  background-image: url("../assets/images/login_bg.png");
  background-repeat: no-repeat;
  background-clip: content-box;
  background-position: center;
  position: relative;
}
.wrap {
  box-sizing: border-box;
  padding: 80px 30px;
  width: 1000px;
  height: 568px;
  background: #FFFFFF;
  box-shadow: 0px 20px 60px 0px rgba(0,0,0,0.11);
  border-radius: 8px;
  position: absolute;
  margin: auto;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  .select-title {
    text-align: center;
    height: 26px;
    font-size: 26px;
    font-weight: 600;
    color: #222222;
    line-height: 26px;
  }
  .rigister-type {
    margin-top: 50px;
    display: flex;
    flex-wrap: wrap;
    height: 240px;
    justify-content: space-between;
    .register-item {
      box-sizing: border-box;
      padding: 22px;
      display: flex;
      width: 460px;
      height: 110px;
      background: #F4F7FC;
      border-radius: 2px;
      border: 1px solid rgba(33,110,238,0.12);
      margin-bottom: 20px;
      .item-content {
        margin-top: 8px;
        margin-left: 12px;
        flex: 1;
        .item-title {
          height: 18px;
          font-size: 18px;
          font-weight: 600;
          color: #222222;
          line-height: 18px;
        }
        .item-sub-title {
          margin-top: 15px;
          height: 18px;
          font-size: 14px;
          font-weight: 400;
          color: #666666;
          line-height: 18px;
        }
      }
      .selected {
        width: 24px;
        height: 24px;
        margin: auto 0;
        background: #216EEE;
      }
    }
    .type-selected {
      background: #216EEE;
      .item-title {
        color: #fff !important;
      }
      .item-sub-title {
        color: #fff !important;
      }
      
    }
  }
}
.loginBtn {
  margin: 52px auto 0;
  width: 400px;
  .el-button {
    height: 35px;
    width: 100%;
    color: #fff;
    font-size: 12px;
    background: linear-gradient(130deg, $primary-title-start-color 0%, $primary-title-color 100%);
  }
}
.copyright {
  text-align: center;
  width: 100%;
  height: 12px;
  font-size: 12px;
  font-family: PingFangSC-Regular, PingFang SC;
  font-weight: 400;
  color: #828D9E;
  line-height: 12px;
  position: absolute;
  bottom: 20px;
}
.login-title {
  height: 14px;
  font-size: 14px;
  font-family: PingFangSC-Regular, PingFang SC;
  font-weight: 400;
  color: #222222;
  line-height: 14px;
 
}
.register {
  margin-top: 18px;
  height: 14px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  font-size: 12px;
  font-family: PingFangSC-Regular, PingFang SC;
  font-weight: 400;
  // color: #DFE2E8;
  color: #333;
  // font-weight: 600;
  line-height: 14px;
  
}
</style>