Commit 2d5d6537 authored by ‘yangmengxue’'s avatar ‘yangmengxue’

11

parent 65fb88fe
......@@ -239,111 +239,6 @@
// 报名流程提示
.referInfoTips {
position: absolute;
right: 1%;
top: 45%;
color: var(--color);
i {
font-size: 26px;
cursor: pointer;
}
}
.vertical-steps {
position: absolute;
right: 4%;
top: 22%;
width: 280px;
margin: 0 auto;
background-color: #f8f8f8;
padding: 30px 20px 20px;
border-radius: 8px;
.vertical-steps-title {
text-align: center;
margin-bottom: 20px;
font-weight: 600;
font-size: 18px;
}
}
.step {
display: flex;
margin-bottom: 10px;
position: relative;
.step-number {
width: 20px;
height: 20px;
border-radius: 50%;
background-color: #ddd;
color: #666;
display: flex;
align-items: center;
justify-content: center;
font-size: 12px;
margin-right: 15px;
flex-shrink: 0;
position: relative;
z-index: 2;
border: 2px solid white;
box-shadow:
0 4px 12px rgba(24, 144, 255, 0.3),
/* 主阴影 */
inset 0 2px 4px rgba(255, 255, 255, 0.3),
/* 内阴影 */
0 0 0 4px rgba(24, 144, 255, 0.1);
/* 外发光效果 */
}
.step-number {
background-color: var(--color);
color: white;
}
.step-content {
padding: 5px 0;
display: flex;
/* 向左三角形 */
.triangle-left {
width: 0;
height: 0;
border-top: 6px solid transparent;
border-right: 12px solid #ffffff;
border-bottom: 6px solid transparent;
}
.step-title {
color: #333;
font-size: 12px;
background-color: #ffffff;
width: 182px;
height: 30px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 6px;
position: relative;
top: -8px;
}
}
.connector {
position: absolute;
left: 11px;
top: 24px;
bottom: -30px;
width: 2px;
border-left: 1.5px dotted var(--color);
z-index: 1;
}
}
// 下载附件
.annex {
>div{
......
......@@ -23,6 +23,30 @@
/>
</div>
</div>
<!-- 报名流程提示 -->
<div
class="vertical-steps"
v-if="isShowStepsTips && (status == 0 || status == 2)"
>
<div class="vertical-steps-title">报名流程</div>
<div class="vertical_close" @click="toShowSteps">
<i class="el-icon-close"></i>
</div>
<div v-for="(item, index) in steps" :key="item">
<div class="step">
<div class="step-number">{{ index + 1 }}</div>
<div class="step-content">
<div class="triangle-left"></div>
<div class="step-title">{{ item }}</div>
</div>
<div class="connector" v-if="index != 5"></div>
</div>
</div>
</div>
<div class="referInfoTips" @click="toShowSteps">
<i class="el-icon-question"></i>
</div>
</div>
</template>
......@@ -35,6 +59,16 @@ export default {
return {
status: this.statusNum,
bCList: [],
// 报名流程提示
steps: [
"登录报名系统",
"提交报名信息,等待审核",
"收到审核短信,登录系统缴费",
"上传缴费截图,等待审核",
"收到审核短信,登录系统",
"下载入营通知书,完成报名",
],
isShowStepsTips: false,
};
},
created() {
......@@ -82,11 +116,15 @@ export default {
},
watch: {
statusNum(val) {
// console.log(val, "statusNum");
console.log(val, "statusNum");
this.status = val;
},
},
methods: {},
methods: {
toShowSteps() {
this.isShowStepsTips = !this.isShowStepsTips;
},
},
};
</script>
......@@ -94,6 +132,114 @@ export default {
.flex {
display: flex;
}
// 报名流程提示
.referInfoTips {
// position: absolute;
// right: 1%;
// top: 45%;
margin-left: 20px;
color: var(--color);
i {
font-size: 26px;
cursor: pointer;
}
}
.vertical-steps {
position: absolute;
right: 2%;
top: 9.5%;
// width: 280px;
margin: 0 auto;
background-color: #f8f8f8;
padding: 30px 20px 20px;
border-radius: 8px;
z-index: 99;
.vertical-steps-title {
text-align: center;
margin-bottom: 20px;
font-weight: 600;
font-size: 18px;
}
.vertical_close {
position: absolute;
right: 4%;
top: 2%;
cursor: pointer;
}
}
.step {
display: flex;
margin-bottom: 10px;
position: relative;
.step-number {
width: 20px;
height: 20px;
border-radius: 50%;
background-color: #ddd;
color: #666;
display: flex;
align-items: center;
justify-content: center;
font-size: 12px;
margin-right: 15px;
flex-shrink: 0;
position: relative;
z-index: 2;
border: 2px solid white;
box-shadow: 0 4px 12px rgba(24, 144, 255, 0.3),
/* 主阴影 */ inset 0 2px 4px rgba(255, 255, 255, 0.3),
/* 内阴影 */ 0 0 0 4px rgba(24, 144, 255, 0.1);
/* 外发光效果 */
}
.step-number {
background-color: var(--color);
color: white;
}
.step-content {
padding: 5px 0;
display: flex;
/* 向左三角形 */
.triangle-left {
width: 0;
height: 0;
border-top: 6px solid transparent;
border-right: 12px solid #ffffff;
border-bottom: 6px solid transparent;
}
.step-title {
color: #333;
font-size: 12px;
background-color: #ffffff;
width: 182px;
height: 30px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 6px;
position: relative;
top: -8px;
}
}
.connector {
position: absolute;
left: 11px;
top: 24px;
bottom: -30px;
width: 2px;
border-left: 1.5px dotted var(--color);
z-index: 1;
}
}
.speed-bg-color {
background-color: var(--color) !important;
......
......@@ -6,14 +6,18 @@
<i class="icon-icon"></i>
</div>
<!-- {{!this.examine_status == 1}} -->
<div v-if="this.examine_status==0">同学你好,你的报名资料已提交</div>
<div v-if="this.examine_status == 0">
<div v-if="this.examine_status == 0 || this.examine_status == 3">
同学你好,你的报名资料已提交
</div>
<div v-if="this.examine_status == 0 || this.examine_status == 3">
请等待工作人员审核,审核结果将于以短信形式发送到报名手机号,请注意查收。
</div>
<div v-if="this.examine_status == 1">
同学你好,你的材料已经通过审核,请点击“下一步”完成报名
</div>
<div v-if="this.examine_status == 2">同学你好,你的申请材料未能通过审核。原因是:{{ this.examine_reason }}</div>
<div v-if="this.examine_status == 2">
同学你好,你的申请材料未能通过审核。原因是:{{ this.examine_reason }}
</div>
<div class="btn" v-show="this.examine_status == 2">
<el-button @click="Lasting()">上一步</el-button>
</div>
......@@ -25,92 +29,90 @@
</template>
<script>
/* eslint-disable */
/* eslint-disable */
import {signBack, signUpInit} from "r/index/signUp";
import { signBack, signUpInit } from "r/index/signUp";
export default {
name: "Pass",
data() {
return {
examine_status: window.localStorage.getItem(
"examine_status" + this.$store.state.indexIdentity
),
examine_reason: window.localStorage.getItem(
"examine_reason" + this.$store.state.indexIdentity
),
signBackStatus: "",
};
},
created() {
},
export default {
name: "Pass",
data() {
return {
examine_status: window.localStorage.getItem(
"examine_status" + this.$store.state.indexIdentity
),
examine_reason: window.localStorage.getItem(
"examine_reason" + this.$store.state.indexIdentity
),
signBackStatus: "",
};
},
created() {},
watch: {},
methods: {
Lasting() {
signBack({}).then((res) => {
if (res.data.code != 200) {
return this.$message.error(res.data.msg);
}
this.signBackStatus = res.data.status;
this.$emit("getstatus", res.data.status);
this.$message.success(res.data.msg);
});
},
paying() {
this.$emit("is_next", 1);
},
watch: {},
methods: {
Lasting() {
signBack({}).then((res) => {
if (res.data.code != 200) {
return this.$message.error(res.data.msg);
}
this.signBackStatus = res.data.status;
this.$emit("getstatus", res.data.status);
this.$message.success(res.data.msg);
});
},
paying() {
this.$emit("is_next", 1);
},
};
},
};
</script>
<style lang="scss" scoped>
@import "a/scss/btn";
@import "a/scss/index";
@import "a/style";
@import "a/scss/btn";
@import "a/scss/index";
@import "a/style";
@font-face {
font-family: "icomoon";
src: url("../../../assets/fonts/icomoon.eot?dcunb6");
src: url("../../../assets/fonts/icomoon.eot?dcunb6#iefix") format("embedded-opentype"),
@font-face {
font-family: "icomoon";
src: url("../../../assets/fonts/icomoon.eot?dcunb6");
src: url("../../../assets/fonts/icomoon.eot?dcunb6#iefix")
format("embedded-opentype"),
url("../../../assets/fonts/icomoon.ttf?dcunb6") format("truetype"),
url("../../../assets/fonts/icomoon.woff?dcunb6") format("woff"),
url("../../../assets/fonts/icomoon.svg?dcunb6#icomoon") format("svg");
font-weight: normal;
font-style: normal;
font-display: block;
}
font-weight: normal;
font-style: normal;
font-display: block;
}
.btn {
padding-bottom: 0 !important;
}
.btn {
padding-bottom: 0 !important;
}
.pass {
padding: 0 56px 65px 56px;
.pass {
padding: 0 56px 65px 56px;
.p_content {
i {
font-size: 100px;
color: var(--color);
}
.p_content {
i {
font-size: 100px;
color: var(--color);
}
div {
text-align: center;
font-size: 16px;
font-weight: 500;
color: #666666;
line-height: 18px;
}
div {
text-align: center;
font-size: 16px;
font-weight: 500;
color: #666666;
line-height: 18px;
}
:nth-child(2) {
margin: 24px 0;
}
:nth-child(2) {
margin: 24px 0;
}
:nth-child(3) {
margin: 0 0 50px 0;
}
:nth-child(3) {
margin: 0 0 50px 0;
}
}
}
</style>
......@@ -1336,23 +1336,7 @@
<!-- 多形式报名邀请码报错弹框 -->
<cueDialog :dialogVisible="cueDialogVisible" :msg="msg"></cueDialog>
<!-- 报名流程提示 -->
<div class="vertical-steps" v-if="isShowStepsTips">
<div class="vertical-steps-title">报名流程</div>
<div v-for="(item, index) in steps" :key="item">
<div class="step">
<div class="step-number">{{ index + 1 }}</div>
<div class="step-content">
<div class="triangle-left"></div>
<div class="step-title">{{ item }}</div>
</div>
<div class="connector" v-if="index != 5"></div>
</div>
</div>
</div>
<div class="referInfoTips" @click="toShowSteps">
<i class="el-icon-question"></i>
</div>
</div>
</template>
......@@ -1843,16 +1827,6 @@ export default {
resultPicture: "",
disabled: false, //限制输入框
isOffline: false, //活动形式是否包含线下字段
// 报名流程提示
steps: [
"登录报名系统",
"提交报名信息,等待审核",
"收到审核短信,登录系统缴费",
"上传缴费截图,等待审核",
"收到审核短信,登录系统",
"下载入营通知书,完成报名",
],
isShowStepsTips: false,
// 下载附件
annexList: [],
};
......@@ -2033,9 +2007,7 @@ export default {
});
});
},
toShowSteps() {
this.isShowStepsTips = !this.isShowStepsTips;
},
// 判断证件类型-证件号是否需要校验
// IDtypeRule(val) {
// if (val == "大陆居民身份证") {
......
......@@ -23,6 +23,7 @@
</div>
<div>
<Breadcrumb :statusNum="status"></Breadcrumb>
</div>
</div>
<Confirm v-if="type == 'examInfo'" @getstatus="statuss"></Confirm>
......@@ -31,9 +32,10 @@
@getstatus="statuss"
:invitation_code="invitation_code"
></Invitation>
<ReferInfo v-else-if="type == 'referInfo'"
@getstatus="statuss"
:invitation_code="invitation_code"
<ReferInfo
v-else-if="type == 'referInfo'"
@getstatus="statuss"
:invitation_code="invitation_code"
></ReferInfo>
<Pass
v-else-if="type == 'check'"
......@@ -116,7 +118,9 @@
&emsp;&emsp;希望广大师生以营地招生简章为准,不要轻信有关宣传,以免自身利益受损。如遇类似上述情况,可发送邮件至service@campcenter.cn反映核实。特此声明!
</div>
<div class="btn">
<el-button type="primary" @click="dialogVisible = false">确 定</el-button>
<el-button type="primary" @click="dialogVisible = false"
>确 定</el-button
>
</div>
</el-dialog>
......@@ -150,405 +154,424 @@
</template>
<script>
/* eslint-disable */
import {HREF_URL} from "@/config/server";
import Breadcrumb from "c/breadcrumb";
import Confirm from "c/index/SignUp/confirm";
import Invitation from "c/index/SignUp/invitation";
import ReferInfo from "c/index/SignUp/referInfo";
import Pass from "c/index/SignUp/pass";
import Paying from "c/index/SignUp/paying";
import Success from "c/index/SignUp/success";
import {signUpInit, signBack} from "r/index/signUp";
import store from '@/store'
/* eslint-disable */
import { HREF_URL } from "@/config/server";
import Breadcrumb from "c/breadcrumb";
import Confirm from "c/index/SignUp/confirm";
import Invitation from "c/index/SignUp/invitation";
import ReferInfo from "c/index/SignUp/referInfo";
import Pass from "c/index/SignUp/pass";
import Paying from "c/index/SignUp/paying";
import Success from "c/index/SignUp/success";
import { signUpInit, signBack } from "r/index/signUp";
import store from "@/store";
export default {
name: "signUp",
components: {
Breadcrumb,
Confirm,
Invitation,
ReferInfo,
Pass,
Paying,
Success,
},
data() {
return {
type: "examInfo",
status: "", //进度
doubt_code: window.localStorage.getItem(
"doubt_code" + this.$store.state.indexIdentity
),
doubt_info: window.localStorage.getItem(
"doubt_info" + this.$store.state.indexIdentity
),
doubt_check: window.localStorage.getItem(
"doubt_check" + this.$store.state.indexIdentity
),
status_val: "",
getExamine: "",
isNexts: "",
signBackStatus: "",
invitation_code: "", //邀请码
dialogVisible: false, //营地声明弹窗
yingdiHref: "", //营地声明链接
dialogVisibleList: true, //营地通知列表弹窗
checked: false, //不再提示(选框)
export default {
name: "signUp",
components: {
Breadcrumb,
Confirm,
Invitation,
ReferInfo,
Pass,
Paying,
Success,
};
},
created() {
this.yingdiHref =
"http://ying.testgate.cn/b4ce2ee5068848e1a91ab7d5de34ba90";
this.type = this.$route.params.type;
let camp_statement = window.localStorage.getItem(
"camp_statement" + this.$store.state.indexIdentity
);
if (!camp_statement) {
this.dialogVisible = true; //营地通知列表弹窗
window.localStorage.setItem(
"camp_statement" + this.$store.state.indexIdentity,
"1"
);
}
// this.statuss();
this.signUpInit();
},
watch: {
$route: {
handler(val) {
const that = this;
if (val.path.indexOf("signUp") != -1) {
that.type = val.params.type;
}
},
deep: true,
},
data() {
return {
type: "examInfo",
status: "", //进度
doubt_code: window.localStorage.getItem(
"doubt_code" + this.$store.state.indexIdentity
),
doubt_info: window.localStorage.getItem(
"doubt_info" + this.$store.state.indexIdentity
),
doubt_check: window.localStorage.getItem(
"doubt_check" + this.$store.state.indexIdentity
),
status_val: "",
getExamine: "",
isNexts: "",
signBackStatus: "",
invitation_code: "", //邀请码
dialogVisible: false, //营地声明弹窗
yingdiHref: "", //营地声明链接
dialogVisibleList: true, //营地通知列表弹窗
checked: false, //不再提示(选框)
};
status(val) {
// console.log(val, "status");
},
created() {
this.yingdiHref =
"http://ying.testgate.cn/b4ce2ee5068848e1a91ab7d5de34ba90";
this.type = this.$route.params.type;
let camp_statement = window.localStorage.getItem(
"camp_statement" + this.$store.state.indexIdentity
);
if (!camp_statement) {
this.dialogVisible = true; //营地通知列表弹窗
window.localStorage.setItem("camp_statement" + this.$store.state.indexIdentity,
"1"
);
}
// this.statuss();
this.signUpInit();
},
methods: {
// 营地通知 详情内容
// toMsgDetail() {
// this.dialogVisibleList = false;
// this.dialogVisible = true;
// },
// 返回营地通知列表
// toBackList() {
// this.dialogVisibleList = true;
// this.dialogVisible = false;
// },
// 上一步回退
lasStep() {
signBack({}).then((res) => {
if (res.data.code != 200) {
return this.$message.error(res.data.msg);
}
this.signBackStatus = res.data.status;
this.signUpInit(this.signBackStatus);
this.$message.success(res.data.msg);
});
},
watch: {
$route: {
handler(val) {
const that = this;
if (val.path.indexOf("signUp") != -1) {
that.type = val.params.type;
}
},
deep: true,
},
status(val) {
// console.log(val, "status");
},
is_nextevent(val) {
this.isNexts = val;
this.signUpInit(this.status_val);
},
methods: {
// 营地通知 详情内容
// toMsgDetail() {
// this.dialogVisibleList = false;
// this.dialogVisible = true;
// },
// 返回营地通知列表
// toBackList() {
// this.dialogVisibleList = true;
// this.dialogVisible = false;
// },
// 上一步回退
lasStep() {
signBack({}).then((res) => {
if (res.data.code != 200) {
return this.$message.error(res.data.msg);
// 点击下一步,触发父组件方法
statuss(val) {
this.status_val = val;
this.signUpInit(this.status_val);
},
// status=4,跳到审核页面;status=3时,根据doubt_check做判断
signUpInit(status_val = null) {
signUpInit({}).then((res) => {
if (res.data.code != 200) {
return this.$message.error(res.data.msg);
}
// 点击下一步传值给status,更新
if (status_val && status_val != null && status_val != "") {
this.status = status_val;
} else {
this.status = res.data.status;
}
// doubt_code,doubt_info,doubt_check。0为不填写,1为填写
if (this.status == 0) {
this.type = "examInfo";
} else if (this.status == 1) {
// 是否填写邀请码
console.log(this.doubt_code);
if (this.doubt_code == 0) {
this.type = "referInfo";
this.status = 2;
} else {
this.type = "invitation";
this.status = 1;
}
this.signBackStatus = res.data.status;
this.signUpInit(this.signBackStatus);
this.$message.success(res.data.msg);
});
},
is_nextevent(val) {
this.isNexts = val;
this.signUpInit(this.status_val);
},
// 点击下一步,触发父组件方法
statuss(val) {
this.status_val = val;
this.signUpInit(this.status_val);
},
// status=4,跳到审核页面;status=3时,根据doubt_check做判断
signUpInit(status_val = null) {
signUpInit({}).then((res) => {
if (res.data.code != 200) {
return this.$message.error(res.data.msg);
} else if (this.status == 2) {
// 是否填写个人资料
if (this.doubt_info == 0) {
this.type = "check";
this.status = 3;
} else {
this.type = "referInfo";
this.status = 2;
}
// 点击下一步传值给status,更新
if (status_val && status_val != null && status_val != "") {
this.status = status_val;
} else if (this.status == 3) {
// 是否审核个人资料
if (this.doubt_check == 0) {
this.type = "pay";
this.status = 4;
} else {
this.status = res.data.status;
this.type = "check";
this.status = 3;
}
// doubt_code,doubt_info,doubt_check。0为不填写,1为填写
if (this.status == 0) {
this.type = "examInfo";
} else if (this.status == 1) {
// 是否填写邀请码
console.log(this.doubt_code)
if (this.doubt_code == 0) {
this.type = "referInfo";
this.status = 2;
} else {
this.type = "invitation";
this.status = 1;
}
} else if (this.status == 2) {
// 是否填写个人资料
if (this.doubt_info == 0) {
this.type = "check";
this.status = 3;
} else {
this.type = "referInfo";
this.status = 2;
}
} else if (this.status == 3) {
// 是否审核个人资料
if (this.doubt_check == 0) {
} else if (this.status == 4) {
this.type = "check";
this.status = 3;
if (this.isNexts == 1) {
if (res.data.examine_status == 1) {
this.type = "pay";
this.status = 4;
} else {
this.type = "check";
this.status = 3;
}
} else if (this.status == 4) {
this.type = "check";
this.status = 3;
if (this.isNexts == 1) {
if (res.data.examine_status == 1) {
this.type = "pay";
this.status = 4;
} else if (res.data.examine_status == 2) {
this.type = "referInfo";
this.status = 2;
}
} else if (res.data.examine_status == 2) {
this.type = "referInfo";
this.status = 2;
}
} else if (this.status == 5) {
this.type = "pay";
} else if (this.status == 6) {
this.type = "success";
}
this.$emit("getStatus", this.type);
this.invitation_code = res.data.invitation_code; //填写的邀请码回显需要
//订单支付金额
let code = this.$store.state.indexIdentity;
window.localStorage.setItem("has_amount" + code, res.data.has_amount);
window.localStorage.setItem("campsite_id" + code, res.data.campsite_id);
window.localStorage.setItem("order_no" + code, res.data.order_no);
window.localStorage.setItem("examine_status" + code,
res.data.examine_status
); //返回错误原因
window.localStorage.setItem("examine_reason" + code,
res.data.examine_reason
); //资料审核状态
// 回显上传的相关资料图片
const aPath1 = res.data.transcripts;
const aPath2 = res.data.achievementCertificate;
const aPath3 = res.data.safetyNotices;
const aPath4 = res.data.achievement_path;
if (aPath1) {
let arr = aPath1.split(",");
let fileList = [];
fileList = arr.map((item) => {
let obj = {
url: item,
};
return obj;
});
window.localStorage.setItem("sign_up_file1_" +
} else if (this.status == 5) {
this.type = "pay";
} else if (this.status == 6) {
this.type = "success";
}
this.$emit("getStatus", this.type);
this.invitation_code = res.data.invitation_code; //填写的邀请码回显需要
//订单支付金额
let code = this.$store.state.indexIdentity;
window.localStorage.setItem("has_amount" + code, res.data.has_amount);
window.localStorage.setItem("campsite_id" + code, res.data.campsite_id);
window.localStorage.setItem("order_no" + code, res.data.order_no);
window.localStorage.setItem(
"examine_status" + code,
res.data.examine_status
); //返回错误原因
window.localStorage.setItem(
"examine_reason" + code,
res.data.examine_reason
); //资料审核状态
// 回显上传的相关资料图片
const aPath1 = res.data.transcripts;
const aPath2 = res.data.achievementCertificate;
const aPath3 = res.data.safetyNotices;
const aPath4 = res.data.achievement_path;
if (aPath1) {
let arr = aPath1.split(",");
let fileList = [];
fileList = arr.map((item) => {
let obj = {
url: item,
};
return obj;
});
window.localStorage.setItem(
"sign_up_file1_" +
window.localStorage.getItem("index-phone-all") +
code,
JSON.stringify(fileList)
); //上传的图片
}
if (aPath2) {
let arr = aPath2.split(",");
console.log(arr)
let fileList = [];
fileList = arr.map((item) => {
let obj = {
url: item,
};
return obj;
});
window.localStorage.setItem("sign_up_file2_" +
JSON.stringify(fileList)
); //上传的图片
}
if (aPath2) {
let arr = aPath2.split(",");
console.log(arr);
let fileList = [];
fileList = arr.map((item) => {
let obj = {
url: item,
};
return obj;
});
window.localStorage.setItem(
"sign_up_file2_" +
window.localStorage.getItem("index-phone-all") +
code,
JSON.stringify(fileList)
); //上传的图片
}
if (aPath3) {
let arr = aPath3.split(",");
let fileList = [];
fileList = arr.map((item) => {
let obj = {
url: item,
};
return obj;
});
window.localStorage.setItem("sign_up_file3_" +
JSON.stringify(fileList)
); //上传的图片
}
if (aPath3) {
let arr = aPath3.split(",");
let fileList = [];
fileList = arr.map((item) => {
let obj = {
url: item,
};
return obj;
});
window.localStorage.setItem(
"sign_up_file3_" +
window.localStorage.getItem("index-phone-all") +
code,
JSON.stringify(fileList)
); //上传的图片
}
if (aPath4) {
let arr = aPath4.split(",");
let fileList = [];
fileList = arr.map((item) => {
let obj = {
url: item,
};
return obj;
});
window.localStorage.setItem("sign_up_file4_" +
JSON.stringify(fileList)
); //上传的图片
}
if (aPath4) {
let arr = aPath4.split(",");
let fileList = [];
fileList = arr.map((item) => {
let obj = {
url: item,
};
return obj;
});
window.localStorage.setItem(
"sign_up_file4_" +
window.localStorage.getItem("index-phone-all") +
code,
JSON.stringify(fileList)
); //上传的图片
}
// 银行截图
const bank_Path = res.data.bank_info;
if (bank_Path != null) {
let arr = bank_Path.split(",");
let fileList = [];
fileList = arr.map((item) => {
let obj = {
url: item,
};
return obj;
});
window.localStorage.setItem("sign_up_payfile_" + window.localStorage.getItem("index-phone-all") + code,
JSON.stringify(fileList)
); //上传的图片
} else {
window.localStorage.setItem("sign_up_payfile_" + window.localStorage.getItem("index-phone-all") + code,
"[]"
);
}
//多活動形式
window.localStorage.setItem("multiform_id" + code, res.data.multiform_id);
//vuex-个人信息
store.state.signUpInfo = res.data
});
},
JSON.stringify(fileList)
); //上传的图片
}
// 银行截图
const bank_Path = res.data.bank_info;
if (bank_Path != null) {
let arr = bank_Path.split(",");
let fileList = [];
fileList = arr.map((item) => {
let obj = {
url: item,
};
return obj;
});
window.localStorage.setItem(
"sign_up_payfile_" +
window.localStorage.getItem("index-phone-all") +
code,
JSON.stringify(fileList)
); //上传的图片
} else {
window.localStorage.setItem(
"sign_up_payfile_" +
window.localStorage.getItem("index-phone-all") +
code,
"[]"
);
}
//多活動形式
window.localStorage.setItem(
"multiform_id" + code,
res.data.multiform_id
);
//vuex-个人信息
store.state.signUpInfo = res.data;
});
},
};
},
};
</script>
<style lang="scss">
@import "a/scss/lastBtn";
@import "a/scss/lastBtn";
.flex {
display: flex;
}
.flex {
display: flex;
}
.item {
margin-top: 10px;
margin-right: 40px;
}
.item {
margin-top: 10px;
margin-right: 40px;
}
.el-dialog__wrapper {
transition-duration: 0.3s;
.el-dialog__wrapper {
transition-duration: 0.3s;
}
.btn {
text-align: center;
// padding-bottom: 224px;
.el-button {
width: 120px;
height: 35px;
border-radius: 4px;
border-color: var(--color);
background: var(--color);
opacity: 0.8;
line-height: 35px;
text-align: center;
color: #fff;
font-size: 16px;
padding: 0;
margin: 30px 0 0 0;
}
}
.btn {
.signUp {
/*background: #ffffff;*/
/*width: 856px;*/
.signUp_titile {
font-size: 24px;
font-weight: 500;
color: #1b1419;
line-height: 24px;
margin-bottom: 40px;
text-align: center;
// padding-bottom: 224px;
.el-button {
width: 120px;
height: 35px;
border-radius: 4px;
border-color: var(--color);
background: var(--color);
opacity: 0.8;
line-height: 35px;
text-align: center;
color: #fff;
font-size: 16px;
padding: 0;
margin: 30px 0 0 0;
}
}
.signUp {
/*background: #ffffff;*/
/*width: 856px;*/
.signUp_titile {
.content {
padding: 70px 55px 50px;
}
}
// 营地通知列表
.infoList {
.el-dialog__header {
margin: 30px 20px 0 20px;
.el-dialog__title {
font-size: 24px;
font-weight: 500;
color: #1b1419;
line-height: 24px;
margin-bottom: 40px;
text-align: center;
}
}
.content {
padding: 70px 55px 50px;
}
.el-dialog__body {
padding: 0;
}
// 营地通知列表
.infoList {
.el-dialog__header {
margin: 30px 20px 0 20px;
div {
// font-size: 16px;
line-height: 27px;
}
.el-dialog__title {
font-size: 24px;
}
}
.msg {
background-color: #f2f2f2;
padding: 10px 15px;
.el-dialog__body {
padding: 0;
.title {
width: 100%;
font-size: 17px;
font-weight: 600;
}
div {
// font-size: 16px;
line-height: 27px;
.time {
font-size: 15px;
color: #a9a9a9;
}
.msg {
background-color: #f2f2f2;
padding: 10px 15px;
.title {
width: 100%;
font-size: 17px;
font-weight: 600;
}
.time {
font-size: 15px;
color: #a9a9a9;
}
.msg_content {
font-size: 15px;
white-space: nowrap;
text-overflow: ellipsis;
-o-text-overflow: ellipsis;
overflow: hidden;
}
.msg_content {
font-size: 15px;
white-space: nowrap;
text-overflow: ellipsis;
-o-text-overflow: ellipsis;
overflow: hidden;
}
}
}
// 营地通知声明
.info {
.el-dialog__header {
margin: 30px 20px 0 20px;
// 营地通知声明
.info {
.el-dialog__header {
margin: 30px 20px 0 20px;
.el-dialog__title {
font-size: 24px;
}
.el-dialog__title {
font-size: 24px;
}
}
.el-dialog__body {
padding: 0 25px 25px 30px;
}
.el-dialog__body {
padding: 0 25px 25px 30px;
}
div {
font-size: 17px;
line-height: 30px;
}
div {
font-size: 17px;
line-height: 30px;
}
.time {
text-align: center;
font-size: 15px;
color: #a9a9a9;
}
.time {
text-align: center;
font-size: 15px;
color: #a9a9a9;
}
}
</style>
<style lang="scss" scoped>
@import "a/scss/dialog";
@import "a/scss/dialog";
</style>
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