Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
campSite
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杨梦雪
campSite
Commits
a4491f33
Commit
a4491f33
authored
Nov 02, 2022
by
杨梦雪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
通知
parent
aeebc80f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
16 deletions
+33
-16
src/assets/img/notify.png
src/assets/img/notify.png
+0
-0
src/config/server.js
src/config/server.js
+6
-6
src/views/index/recruit/Index.vue
src/views/index/recruit/Index.vue
+27
-10
No files found.
src/assets/img/notify.png
0 → 100644
View file @
a4491f33
6.18 KB
src/config/server.js
View file @
a4491f33
...
...
@@ -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
src/views/index/recruit/Index.vue
View file @
a4491f33
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment