Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
ssr-pc
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tangjiale
ssr-pc
Commits
f505c0d3
Commit
f505c0d3
authored
Mar 17, 2023
by
tangjiale
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新代码
parent
30eb1a57
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
35 deletions
+11
-35
nuxt.config.js
nuxt.config.js
+4
-4
index.vue
pages/index.vue
+0
-0
type.js
ssr/csScreen/type.js
+0
-29
index.js
ssr/index.js
+7
-2
No files found.
nuxt.config.js
View file @
f505c0d3
...
...
@@ -43,10 +43,10 @@ module.exports = {
extendRoutes
(
routes
)
{
return
[
...
routes
,
{
path
:
'/csScreen/:type(
\\
d+)/'
,
component
:
'~/ssr/csScreen/type.js'
},
//
{
//
path: '/csScreen/:type(\\d+)/',
//
component: '~/ssr/csScreen/type.js'
//
},
];
}
},
...
...
pages/
test
.vue
→
pages/
index
.vue
View file @
f505c0d3
File moved
ssr/csScreen/type.js
deleted
100644 → 0
View file @
30eb1a57
/*
* @Author: tangjiale
* @eMail: 932055106@qq.com
* @Date: 2022-09-28 15:35:02
* @LastEditors: tangjiale
* @LastEditTime: 2022-09-28 15:47:42
*/
import
container
from
'~/pages/screen'
container
.
head
=
function
()
{
const
titleList
=
[
''
,
''
,
'天心区'
,
'岳麓区'
,
'芙蓉区'
,
'雨花区'
,
'开福区'
,
'浏阳市'
]
return
{
title
:
`
${
titleList
[
this
.
type
]}
智慧体育监测平台`
,
meta
:
[
{
hid
:
'description'
,
name
:
'description'
,
content
:
`
${
titleList
[
this
.
type
]}
智慧体育监测平台`
,
},
{
name
:
'keywords'
,
content
:
`
${
titleList
[
this
.
type
]}
智慧体育监测平台`
,
}
],
link
:
[],
};
};
export
default
container
;
ssr/
test
.js
→
ssr/
index
.js
View file @
f505c0d3
import
container
from
'../pages/test'
;
/*
* @Author: 932055106@qq.com
* @Date: 2022-04-06 10:40:31
* @LastEditTime: 2023-03-17 16:51:41
*/
import
container
from
'../pages/index'
;
container
.
head
=
function
()
{
return
{
title
:
`
${
this
.
ip
[
0
]}
- 小本体育`
,
title
:
`
${
this
.
ip
[
0
]
.
schName
}
- 小本体育`
,
meta
:
[
{
hid
:
'description'
,
...
...
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