Commit 4b439e0f authored by 杨梦雪's avatar 杨梦雪

11

parent d8cc1979
...@@ -200,7 +200,7 @@ export default { ...@@ -200,7 +200,7 @@ export default {
margin: 24px 0; margin: 24px 0;
} }
:nth-child(3) { :nth-child(3) {
margin: 0 0 150px 0; margin: 0 0 50px 0;
} }
} }
} }
......
...@@ -200,7 +200,7 @@ export default { ...@@ -200,7 +200,7 @@ export default {
color: #12141c; color: #12141c;
line-height: 24px; line-height: 24px;
justify-content: space-between; justify-content: space-between;
margin: 43px 0 110px 0; margin: 43px 0 0 0;
span { span {
color: #60194a; color: #60194a;
} }
......
...@@ -909,23 +909,21 @@ export default { ...@@ -909,23 +909,21 @@ export default {
}, },
//删除图片 //删除图片
handleRemove(file) { handleRemove(file) {
console.log(file, "1111"); // console.log(file, "file");
let getfile = file.url;
// console.log(savefile.match(/^(?:[^\/]|\/\/)*/),'222222');//获取域名
const str = getfile.split(
"https://yingdi-achievement.oss-cn-beijing.aliyuncs.com/"
); //https://yingdi-achievement.oss-cn-beijing.aliyuncs.com/进行分割,
// console.log(str, "str");
const savefile = str[1];
// console.log(savefile, "savefile");
// delete this.fileList[idx];
this.$confirm("此操作将永久删除该文件, 是否继续?", "提示", { this.$confirm("此操作将永久删除该文件, 是否继续?", "提示", {
confirmButtonText: "确定", confirmButtonText: "确定",
cancelButtonText: "取消", cancelButtonText: "取消",
type: "warning", type: "warning",
}) })
.then(() => { .then(() => {
let getfile = file.url;
// console.log(savefile.match(/^(?:[^\/]|\/\/)*/),'222222');//获取域名
let str = getfile.split(
"https://yingdi-achievement.oss-cn-beijing.aliyuncs.com/"
); //https://yingdi-achievement.oss-cn-beijing.aliyuncs.com/进行分割,
// console.log(str, "str");
let savefile = str[1];
// console.log(savefile, "savefile");
delPic({ object: savefile }).then((res) => { delPic({ object: savefile }).then((res) => {
// console.log(res, "delpic"); // console.log(res, "delpic");
if (res.data.code != 200) { if (res.data.code != 200) {
...@@ -935,7 +933,7 @@ export default { ...@@ -935,7 +933,7 @@ export default {
// console.log(item.url == file.url); // console.log(item.url == file.url);
if (item.url == file.url) { if (item.url == file.url) {
this.fileList.splice(idx, 1); this.fileList.splice(idx, 1);
const code = this.$store.state.indexIdentity; let code = this.$store.state.indexIdentity;
window.localStorage.setItem( window.localStorage.setItem(
"sign_up_file_" + "sign_up_file_" +
window.localStorage.getItem("phone" + code) + window.localStorage.getItem("phone" + code) +
......
...@@ -28,7 +28,13 @@ ...@@ -28,7 +28,13 @@
</div> </div>
<div class="camp_right" ref="rightBox"> <div class="camp_right" ref="rightBox">
<router-view @getStatus="getStatus" /> <router-view
@getStatus="getStatus"
/>
</div> </div>
</div> </div>
</div> </div>
...@@ -51,6 +57,7 @@ export default { ...@@ -51,6 +57,7 @@ export default {
Header, Header,
Footer, Footer,
}, },
// props:{}
data() { data() {
return { return {
index: 0, index: 0,
...@@ -91,7 +98,7 @@ export default { ...@@ -91,7 +98,7 @@ export default {
created() { created() {
// this.ToSignUp(this.index); // this.ToSignUp(this.index);
this.getStatus(); this.getStatus();
// this.$refs.child.signUpInit();
}, },
mounted() { mounted() {
window.addEventListener("scroll", this.handleScrollX, true); window.addEventListener("scroll", this.handleScrollX, true);
...@@ -103,7 +110,7 @@ export default { ...@@ -103,7 +110,7 @@ export default {
}, },
methods: { methods: {
getStatus(val) { getStatus(val) {
// console.log(val, "index_type"); console.log(val, "index_type");
this.index_status = val; this.index_status = val;
this.ToSignUp(this.campindex_type); this.ToSignUp(this.campindex_type);
}, },
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<div class="content"> <div class="content">
<div class="signUp_titile">营地报名</div> <div class="signUp_titile">营地报名</div>
<div> <div>
<Breadcrumb :statusNum="status"> </Breadcrumb> <Breadcrumb :statusNum="status" > </Breadcrumb>
</div> </div>
</div> </div>
<Confirm v-if="type == 'examInfo'" @getstatus="statuss"></Confirm> <Confirm v-if="type == 'examInfo'" @getstatus="statuss"></Confirm>
......
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