提交 52d117c4 authored 作者: lhh's avatar lhh

Merge branch 'kelley-h5' of…

Merge branch 'kelley-h5' of https://gitlab-pro.ezijing.com/ezijing-web/project-online-pc into kelley-h5
...@@ -36,7 +36,7 @@ import * as api from '@/api' ...@@ -36,7 +36,7 @@ import * as api from '@/api'
export default { export default {
data() { data() {
return { return {
ruleForm: { name: '', phone: '', project_id: '1001', channel: 19960 }, ruleForm: { name: '', phone: '', project_id: '1001', channel: localStorage.getItem('channel_num') || 19960 },
projectList: [ projectList: [
{ label: '金融工商管理硕士', value: '1000' }, { label: '金融工商管理硕士', value: '1000' },
{ label: '酒店及旅游业工商管理硕士', value: '1008' }, { label: '酒店及旅游业工商管理硕士', value: '1008' },
......
...@@ -2,9 +2,7 @@ ...@@ -2,9 +2,7 @@
<div class="right_bar"> <div class="right_bar">
<ul class="tab_btns"> <ul class="tab_btns">
<a href="/my/account"> <a href="/my/account">
<li <li class="service">
class="service"
>
<p>{{ $t('aside.apply') }}</p> <p>{{ $t('aside.apply') }}</p>
</li> </li>
</a> </a>
...@@ -56,11 +54,13 @@ ...@@ -56,11 +54,13 @@
</p> </p>
<p class="sendcode"> <p class="sendcode">
<el-input v-model="sendCode" :placeholder="$t('aside.code')" size="small"></el-input <el-input v-model="sendCode" :placeholder="$t('aside.code')" size="small"></el-input
><el-button class="btn" :disabled="isBtnDisabled" id="checkedCode" @click="getSendCode" ><el-button class="btn" :disabled="isBtnDisabled" id="checkedCode" @click="getSendCode">{{
>{{ $t('aside.codeBtn') }}</el-button $t('aside.codeBtn')
> }}</el-button>
</p>
<p>
<el-button style="width: 100%" @click="submitEnroll">{{ $t('aside.formBtn') }}</el-button>
</p> </p>
<p><el-button style="width: 100%" @click="submitEnroll">{{ $t('aside.formBtn') }}</el-button></p>
</div> </div>
<div class="wx_cont" v-show="tabBtnTarget === 'wx'"> <div class="wx_cont" v-show="tabBtnTarget === 'wx'">
<h5>{{ $t('aside.follow') }}</h5> <h5>{{ $t('aside.follow') }}</h5>
...@@ -137,7 +137,7 @@ export default { ...@@ -137,7 +137,7 @@ export default {
}, },
enrollQuery() { enrollQuery() {
const params = { const params = {
channel: 19960, channel: localStorage.getItem('channel_num') || 19960,
project_id: this.formInfo.newProjectId, project_id: this.formInfo.newProjectId,
name: this.formInfo.name, name: this.formInfo.name,
phone: this.formInfo.phone phone: this.formInfo.phone
...@@ -264,21 +264,21 @@ export default { ...@@ -264,21 +264,21 @@ export default {
li.enroll.active { li.enroll.active {
background-image: url(https://webapp-pub.ezijing.com/project/kelley/kefu11.png); background-image: url(https://webapp-pub.ezijing.com/project/kelley/kefu11.png);
} }
li.service{ li.service {
background-image: url(https://zws-imgs-pub.ezijing.com/static/public/d434fa0ffd77892273e63e6d694cff0a.png); background-image: url(https://zws-imgs-pub.ezijing.com/static/public/d434fa0ffd77892273e63e6d694cff0a.png);
} }
li.service{ li.service {
border-bottom: 1px solid #b8bcbf; border-bottom: 1px solid #b8bcbf;
cursor: pointer; cursor: pointer;
&:hover{ &:hover {
background-color: #af1b40; background-color: #af1b40;
p{ p {
color: #fff; color: #fff;
} }
background-image: url(https://zws-imgs-pub.ezijing.com/static/public/4cbef518113d24b392be80148e921abd.png); background-image: url(https://zws-imgs-pub.ezijing.com/static/public/4cbef518113d24b392be80148e921abd.png);
} }
} }
li.service.acitve{ li.service.acitve {
background-image: url(https://zws-imgs-pub.ezijing.com/static/public/4cbef518113d24b392be80148e921abd.png); background-image: url(https://zws-imgs-pub.ezijing.com/static/public/4cbef518113d24b392be80148e921abd.png);
} }
li.wx { li.wx {
......
...@@ -4,6 +4,11 @@ ...@@ -4,6 +4,11 @@
<script> <script>
import AppLayout from '@/components/layout' import AppLayout from '@/components/layout'
export default { export default {
components: { AppLayout } components: { AppLayout },
mounted() {
if (this.$route.query.channel_num) {
localStorage.setItem('channel_num', this.$route.query.channel_num)
}
}
} }
</script> </script>
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论