Commit 145c3815 authored by 杨梦雪's avatar 杨梦雪

11

parent e288dd4a
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -45,7 +45,7 @@ export default {
// console.log(doubt_check, "doubt_check");
const newArr = [
{
name: "确认报名须知",
name: "确认报名",
status: 0,
},
{
......
......@@ -99,6 +99,7 @@ export default {
},
paying() {
console.log(111)
getWxConfig({
pay_type: 1,
}).then((res) => {
......@@ -143,6 +144,7 @@ export default {
this.confirmSignUpDialogFu = true;
} else if (this.status == 5) {
this.type = "pay";
this.confirmSignUpDialogFu = true;
} else if (this.status == 6) {
this.type = "success";
}
......
......@@ -266,11 +266,11 @@
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="中学联系电话" prop="school_phone">
<el-form-item label="中学联系人电话(手机)" prop="school_phone">
<el-input
ref="school_phone"
v-model="referForm.school_phone"
placeholder="填写中学联系电话"
placeholder="填写中学联系人电话(手机)"
size="small"
clearable
/>
......@@ -459,7 +459,7 @@ export default {
school_phone: [
{
required: true,
message: "中学联系电话不能为空!",
message: "中学联系人电话(手机)不能为空!",
trigger: "blur",
},
{ validator: validator.validatePhone, trigger: "blur" },
......@@ -542,7 +542,6 @@ export default {
// 上传的图片
dialogImageUrl: "",
dialogVisible: false,
fileList: [],
resultPicture: "",
dialogVisible: false,
......@@ -618,14 +617,14 @@ export default {
getTenYear() {
let nowDate = new Date();
let currentYear = nowDate.getFullYear();
// console.log(nowDate, currentYear);
console.log(nowDate, currentYear);
let yearArr = [];
let rxYearArr = [];
for (let i = 0; i < 22; i++) {
for (let i = 0; i < 42; i++) {
let year = currentYear - i;
yearArr.push(year);
}
// console.log(yearArr, "yearArr");
console.log(yearArr, "yearArr");
for (let i = 0; i < 10; i++) {
let year = currentYear - i;
rxYearArr.push(year);
......
......@@ -2,7 +2,7 @@
<div class="sucess">
<div class="p_content">
<div class="top">
<div class="p_title">恭喜你!成功报名2021历史学科暑假营</div>
<div class="p_title">恭喜你!成功报名</div>
<div>
<img src="@/assets/img/signUp/offer.png" alt="" />
</div>
......@@ -14,8 +14,7 @@
<div class="lips">
<div>提醒事项:</div>
<div>1、报名成功后,请及时下载入营通知书,并携带至营地。</div>
<div>2、如有退费诉求,请致电项目组工作人员:XXX-XXXXXXXXX。</div>
<div>报名成功后,请及时下载入营通知书,以便提前做好入营准备。</div>
</div>
</div>
</div>
......
......@@ -30,8 +30,8 @@ const routes = [{
component: () =>
import('v/index/login/Index.vue'),
children: [...indexLogin]
},
{
},
{
path: '/',
name: 'cerificateIndex',
meta: {
......@@ -41,26 +41,26 @@ const routes = [{
component: () =>
import('v/index/camp/Index.vue'),
children: [...indexCamp]
},
{
},
{
path: '/:code',
name: 'recruit',
meta: {
title: '招生简章'
title: ''
},
component: () =>
import('v/index/recruit/Index.vue')
},
{
},
{
path: "/404",
name: "notFound",
component: () =>
import('v/index/notFound.vue'),
}, {
}, {
path: "*", // 此处需特别注意置于最底部
redirect: "/404"
}
}
]
......@@ -106,6 +106,7 @@ function checkCam(code, cb) {
}
getCam(code).then((res) => {
console.log(res)
// if (res.data.code != 200) {
// Message({
// message: "请访问正确的营地链接地址",
......@@ -121,6 +122,7 @@ function checkCam(code, cb) {
// return false;
// }
// }
let root = document.querySelector(":root");
root.style.setProperty("--color", res.data.system_color);
root.style.setProperty("--bk_pic", res.data.background_picture); //当前营地的背景图
......
......@@ -65,6 +65,8 @@ export default {
let code =this.$store.state.indexIdentity
getCamInfo(code).then((res) => {
console.log(res, '33333')
console.log(res.data.name, 'res.name')
document.title = res.data.name
return false;
})
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment