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

11

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