Commit a4491f33 authored by 杨梦雪's avatar 杨梦雪

通知

parent aeebc80f
......@@ -12,11 +12,11 @@
// export const SERVER_WS_URL = 'wss://api1.testgate.cn' // websocket
// 正式
// export const SERVER_URL = "https://api.campcenter.cn/"; // 正式环境
// export const DEVELOPMENT_SERVER_URL = "https://api.campcenter.cn/"; //开发环境
// export const SERVER_WS_URL = "wss://api.campcenter.cn"; // websocket
export const SERVER_URL = "https://api.campcenter.cn/"; // 正式环境
export const DEVELOPMENT_SERVER_URL = "https://api.campcenter.cn/"; //开发环境
export const SERVER_WS_URL = "wss://api.campcenter.cn"; // websocket
// 测试
export const SERVER_URL = "https://ying-test.campcenter.cn"; // 正式环境
export const DEVELOPMENT_SERVER_URL = "https://ying-test.campcenter.cn/"; //开发环境
export const SERVER_WS_URL = "wss://ying-test.campcenter.cn"; // websocket
// export const SERVER_URL = "https://ying-test.campcenter.cn"; // 正式环境
// export const DEVELOPMENT_SERVER_URL = "https://ying-test.campcenter.cn/"; //开发环境
// export const SERVER_WS_URL = "wss://ying-test.campcenter.cn"; // websocket
......@@ -2,8 +2,15 @@
<div class="recruit">
<el-header height="104px">
<Header></Header>
<div class="notify flex">
<div class="flex">
<img class="notify_img" src="../../../assets/img/notify.png" alt="" />
</div>
<div >注意:本次活动报名有人数限制,当前剩余名额为40人</div>
</div>
<div class="bg-top"></div>
</el-header>
<div class="com-container content">
<div class="title">{{ info.name }}</div>
<!-- <div class="time">发布时间:{{ info.update_time }}</div> -->
......@@ -49,10 +56,7 @@
import Header from "@/components/index/Header.vue";
import Footer from "@/components/index/Footer.vue";
import {
getCamInfo
} from "r/index/login";
import { getCamInfo } from "r/index/login";
export default {
name: "recruit",
data() {
......@@ -62,14 +66,14 @@ export default {
},
created() {
this.info = this.$store.state.info;
let code =this.$store.state.indexIdentity
let code = this.$store.state.indexIdentity;
// console.log(code)
getCamInfo(code).then((res) => {
getCamInfo(code).then((res) => {
// console.log(res, '33333')
// console.log(res.data.name, 'res.name')
document.title = res.data.name
return false;
})
document.title = res.data.name;
return false;
});
},
methods: {
toLogin() {
......@@ -90,7 +94,9 @@ export default {
</script>
<style lang="scss">
@import "a/scss/common";
.flex {
display: flex;
}
.recruit {
font-family: PingFang SC;
.el-header {
......@@ -105,6 +111,17 @@ export default {
// // background-color: #f8f8f8;
// }
}
.notify {
background-color: #fbf8fb;
height: 38px;
align-items: center;
padding-left: 20px;
}
.notify_img {
width: 20px;
margin-right: 5px;
}
.content {
.title {
padding: 170px 0 20px 0;
......
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