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

11

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