Commit 8c223690 authored by wuwangwolihui's avatar wuwangwolihui

营地2.0-修改

parent 1fa0a6be
...@@ -9,13 +9,16 @@ ...@@ -9,13 +9,16 @@
<el-image :src="item.activityCover" fit="cover"/> <el-image :src="item.activityCover" fit="cover"/>
</div> </div>
<div class="right"> <div class="right">
<div> <div class="item_title">{{item.name}}</div>
<div class="item_title">{{item.schoolName}}</div> <div class="sign-box" v-if="item.activityLabel">
<div class="item_tag">{{item.activityLabel}}</div> <div class="sign"
<div class="item_time">活动时间:{{formatYMD(item.activityStartTime)}} v-for="(item2, index2) in item.activityLabel.split(',')"
{{formatYMD(item.activityEndTime)}} :key="index2">{{item2}}
</div> </div>
</div> </div>
<div class="item_time">活动时间:{{formatYMD(item.activityStartTime)}}
{{formatYMD(item.activityEndTime)}}
</div>
</div> </div>
</div> </div>
</el-card> </el-card>
...@@ -58,7 +61,9 @@ ...@@ -58,7 +61,9 @@
}) })
}, },
toSignUp(code) { toSignUp(code) {
console.log(code) if(this.type==5){
return false;
}
this.$store.commit('setIndexIdentity', code) this.$store.commit('setIndexIdentity', code)
this.$router.push('/signUp/undefined?code=' + code) this.$router.push('/signUp/undefined?code=' + code)
} }
...@@ -120,19 +125,34 @@ ...@@ -120,19 +125,34 @@
.right { .right {
flex: 1; flex: 1;
display: flex; display: flex;
align-items: center; flex-flow: column;
justify-content: space-around;
.item_title { .item_title {
font-size: 15px; font-size: 15px;
} }
.item_tag { .sign-box {
font-size: 10px; font-size: 10px;
background-color: #F2F2F2; display: inline-block;
width: fit-content; margin-right: 10px;
padding: 3px;
border-radius: 7px; &:last-child {
margin: 20px 0; margin-right: 0;
}
.sign {
display: inline-block;
padding: 0 10px;
border-radius: 4px;
background-color: #eeeeee;
margin: 5px 10px 5px 0;
line-height: 25px;
&:last-child {
margin-right: 0;
}
}
} }
.item_time { .item_time {
......
...@@ -69,11 +69,11 @@ ...@@ -69,11 +69,11 @@
:label="item.lableId" :label="item.lableId"
border>{{item.lableName}} border>{{item.lableName}}
</el-checkbox> </el-checkbox>
<div class="btn-area">
<el-button @click="resetHandle">重置</el-button>
<el-button @click="searchHandle">确定</el-button>
</div>
</el-checkbox-group> </el-checkbox-group>
<div class="btn-area">
<el-button @click="resetHandle">重置</el-button>
<el-button @click="searchHandle">确定</el-button>
</div>
</div> </div>
</div> </div>
</div> </div>
...@@ -394,12 +394,14 @@ ...@@ -394,12 +394,14 @@
.content-item { .content-item {
display: flex; display: flex;
flex-flow: row; flex-flow: row;
align-items: center; /*align-items: center;*/
line-height: 36px; line-height: 36px;
margin: 15px 0; margin: 15px 0;
.content-item-tit { .content-item-tit {
width: 140px; width: 140px;
height: 36px;
line-height: 36px;
text-align: center; text-align: center;
font-size: 16px; font-size: 16px;
background-color: #f5f5f5; background-color: #f5f5f5;
...@@ -407,7 +409,8 @@ ...@@ -407,7 +409,8 @@
} }
::v-deep .el-checkbox-group { ::v-deep .el-checkbox-group {
height: 36px; flex: 1;
/*height: 36px;*/
line-height: 36px; line-height: 36px;
} }
...@@ -472,13 +475,13 @@ ...@@ -472,13 +475,13 @@
} }
.btn-area { .btn-area {
/*margin-left: 130px;*/ display: inline-block;
.el-button { .el-button {
height: 36px; height: 36px;
color: #333333; color: #333333;
border-color: #333333; border-color: #333333;
background-color: #ffffff; background-color: #ffffff;
margin-left: 15px; margin-left: 30px;
&:hover { &:hover {
color: var(--all_color); color: var(--all_color);
......
...@@ -260,9 +260,9 @@ ...@@ -260,9 +260,9 @@
}).then((res) => { }).then((res) => {
console.log(res, "passwordCode"); console.log(res, "passwordCode");
if (res.data.code != 200) { if (res.data.code != 200) {
return this.$message.error(res.data.message); return this.$message.error(res.data.msg);
} }
this.$message.success(res.data.message); this.$message.success(res.data.msg);
this.codeTime = res.data.data.now * 1000; this.codeTime = res.data.data.now * 1000;
// console.log(this.codeTime) // console.log(this.codeTime)
window.localStorage.setItem("register_code_time", window.localStorage.setItem("register_code_time",
...@@ -285,9 +285,8 @@ ...@@ -285,9 +285,8 @@
}).then((res) => { }).then((res) => {
console.log(res); console.log(res);
if (res.data.code != 200) { if (res.data.code != 200) {
return this.$message.error(res.data.message); return this.$message.error(res.data.msg);
} }
// this.$message.success(res.data.message);
// token存储 // token存储
this.$store.commit('login', res.data.token); this.$store.commit('login', res.data.token);
window.localStorage.setItem("index-phone-all", this.registerForm.phone); window.localStorage.setItem("index-phone-all", this.registerForm.phone);
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
<div class="signUp"> <div class="signUp">
<div class="content"> <div class="content">
<div class=""> <div class="">
<i class="el-icon-arrow-left back-arrow" @click="backArrow()"/>
<div <div
class="lastBtn" class="lastBtn"
v-show=" v-show="
...@@ -21,7 +22,6 @@ ...@@ -21,7 +22,6 @@
<div v-else class="signUp_titile">营地报名</div> <div v-else class="signUp_titile">营地报名</div>
</div> </div>
</div> </div>
<div> <div>
<Breadcrumb :statusNum="status"></Breadcrumb> <Breadcrumb :statusNum="status"></Breadcrumb>
</div> </div>
...@@ -229,6 +229,12 @@ ...@@ -229,6 +229,12 @@
}, },
}, },
methods: { methods: {
// 箭头返回按钮
backArrow(){
let root = document.querySelector(":root");
root.style.setProperty("--color", "#4FACFE");
this.$router.push('/myInfo/signUpList');
},
// 营地通知 详情内容 // 营地通知 详情内容
// toMsgDetail() { // toMsgDetail() {
// this.dialogVisibleList = false; // this.dialogVisibleList = false;
...@@ -424,7 +430,22 @@ ...@@ -424,7 +430,22 @@
} }
.content { .content {
padding: 50px 55px; position: relative;
padding: 70px 55px 50px;
.back-arrow.el-icon-arrow-left {
position: absolute;
left: 10px;
top: 10px;
color: #12141c;
font-weight: bold;
font-size: 40px;
&:hover {
color: var(--color);
cursor: pointer;
}
}
} }
} }
......
...@@ -270,9 +270,9 @@ ...@@ -270,9 +270,9 @@
}).then((res) => { }).then((res) => {
console.log(res, "passwordCode"); console.log(res, "passwordCode");
if (res.data.code != 200) { if (res.data.code != 200) {
return this.$message.error(res.data.message); return this.$message.error(res.data.msg);
} }
this.$message.success(res.data.message); this.$message.success(res.data.msg);
this.codeTime = res.data.data.now * 1000; this.codeTime = res.data.data.now * 1000;
// console.log(this.codeTime) // console.log(this.codeTime)
let code = this.$store.state.indexIdentity; let code = this.$store.state.indexIdentity;
...@@ -296,9 +296,9 @@ ...@@ -296,9 +296,9 @@
}).then((res) => { }).then((res) => {
console.log(res); console.log(res);
if (res.data.code != 200) { if (res.data.code != 200) {
return this.$message.error(res.data.message); return this.$message.error(res.data.msg);
} }
// this.$message.success(res.data.message); // this.$message.success(res.data.msg);
let code = this.$store.state.indexIdentity; let code = this.$store.state.indexIdentity;
// token存储 // token存储
this.$store.commit('login', res.data.token); this.$store.commit('login', res.data.token);
......
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