提交 65f7ea05 authored 作者: matian's avatar matian

项目优化

上级 c687cb38
...@@ -38,7 +38,7 @@ export default { ...@@ -38,7 +38,7 @@ export default {
tempRoute: {}, tempRoute: {},
navList: [ navList: [
{ title: '首页', path: '/index' }, { title: '首页', path: '/index' },
{ title: '专业设置', path: '/profession' }, { title: '儿童教育硕士', path: '/profession' },
{ title: '报名申请', path: '/my' }, { title: '报名申请', path: '/my' },
{ title: '最新动态', path: '/news' }, { title: '最新动态', path: '/news' },
{ title: '联系我们', path: '/contact' } { title: '联系我们', path: '/contact' }
......
...@@ -65,7 +65,7 @@ export default { ...@@ -65,7 +65,7 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.tab { .tab {
height: 40px; height: 40px;
background: #af1b40ff; background: #af1b40;
font-family: PingFangSC-Regular, PingFang SC; font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400; font-weight: 400;
color: #fff; color: #fff;
......
<template> <template>
<div <div class="section-form">
class="homepage_message" <div class="section-form-inner">
:style="{'min-height': leavheight + 'px', backgroundImage:'url(' + imgUrlBg + ')' }" <div class="form-box">
> <h2>报名咨询CU教育学(儿童)硕士</h2>
<div class="homepage_message-main"> <p>填写姓名 + 手机, 点击报名咨询</p>
<h3> <el-form :model="ruleForm" :rules="rules" ref="ruleForm">
<span>留下您的信息</span>
</h3>
<h5>紫荆教育学位顾问为您提供专业的服务</h5>
<div class="homepage_message_body">
<div class="body_img">
<img :src="imgUrl" alt />
</div>
<div class="body_input">
<el-form
:model="ruleForm"
:rules="rules"
ref="ruleForm"
label-width="0px"
class="demo-ruleForm"
>
<el-form-item prop="name"> <el-form-item prop="name">
<el-input v-model="ruleForm.name" placeholder="姓名"></el-input> <el-input v-model="ruleForm.name" placeholder="姓名"></el-input>
</el-form-item> </el-form-item>
...@@ -27,13 +12,12 @@ ...@@ -27,13 +12,12 @@
<el-input v-model="ruleForm.phone" placeholder="手机"></el-input> <el-input v-model="ruleForm.phone" placeholder="手机"></el-input>
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<el-button type="primary" :loading="isLoading" @click="submit">提交</el-button> <el-button type="primary" :loading="isLoading" @click="submit">报名咨询</el-button>
</el-form-item> </el-form-item>
</el-form> </el-form>
</div> </div>
</div> </div>
</div> </div>
</div>
</template> </template>
<script> <script>
...@@ -100,81 +84,63 @@ export default { ...@@ -100,81 +84,63 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.homepage_message { .section-form {
width: 100%;
position: relative; position: relative;
background-repeat: no-repeat;
background-size: cover;
display: flex; display: flex;
justify-content: center; justify-content: center;
.homepage_message-main { height: 554px;
width: 80%; background: url(@/assets/images/major-set/mz.png) no-repeat center;
background-repeat: no-repeat;
background-size: 100%;
}
.section-form-inner {
width: 70%;
margin: 0 auto; margin: 0 auto;
h3 { h2 {
margin-top: 80px; font-size: 26px;
font-family: SourceHanSansCN-Medium, SourceHanSansCN;
font-weight: 500;
color: #af1b40;
line-height: 40px;
letter-spacing: 5px;
text-align: center; text-align: center;
color: rgba(255, 255, 255, 1);
font-size: 40px;
font-family: PingFangSC-Medium, PingFang SC;
span {
display: inline-block;
position: relative;
&::before {
content: '';
position: absolute;
bottom: -4px;
height: 3px;
background: #ffffff;
width: 100%;
}
}
} }
h5 { p {
padding-top: 24px; margin-bottom: 30px;
font-size: 18px; font-size: 20px;
font-family: PingFangSC-Semibold, PingFang SC; font-family: SourceHanSansCN-Regular, SourceHanSansCN;
font-weight: 600; font-weight: 400;
opacity: 0.6; color: #777777;
color: rgba(255, 255, 255, 1); line-height: 30px;
letter-spacing: 2px;
text-align: center; text-align: center;
} }
.homepage_message_body { .form-box {
padding: 63px 0px 0px 0px; width: 450px;
display: flex; padding: 40px;
width: 100%; background-color: #fff;
.body_img { margin-top: 100px;
flex: 1; white-space: nowrap;
padding: 0px 30px;
}
.body_input {
flex: 1;
padding: 0px 30px;
.demo-ruleForm {
display: flex;
justify-content: space-between;
flex-direction: column;
height: 100%;
}
.el-input { .el-input {
max-width: 324px; width: 100%;
} }
::v-deep .el-input__inner { ::v-deep .el-input__inner {
border: 0px;
background: transparent; background: transparent;
border-bottom: 2px solid #fff; border: 0px;
border-bottom: 1px solid #000;
border-radius: 0px; border-radius: 0px;
padding: 0px; padding: 0px;
color: #fff; color: #333;
} }
::v-deep .el-button { ::v-deep .el-button {
width: 132px; margin-top: 20px;
height: 54px; color: #fff;
border-radius: 4px; background-color: #af1b40;
.el-icon-loading { border: 1px solid #af1b40;
color: #fff !important; width: 100%;
} height: 40px;
} border-radius: 0;
}
} }
} }
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论