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

通知

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