Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
quantum-blocks-h5
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
ui
quantum-blocks-h5
Commits
3a8f6b1a
Commit
3a8f6b1a
authored
Mar 30, 2021
by
郝聪敏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feature: 添加dns-prefetch
parent
a4d4cddf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
index.ts
app/web/component/layout/activity/index.ts
+2
-0
index.vue
app/web/component/layout/activity/index.vue
+2
-1
No files found.
app/web/component/layout/activity/index.ts
View file @
3a8f6b1a
...
...
@@ -7,6 +7,7 @@ import vConsole from 'vconsole';
import
{
release
}
from
'
@/.sentryclirc
'
;
import
'
@/service/qg.service
'
;
import
SaDirective
from
'
@qg/citrus-ui/src/helper/directives/saTrack.directive.js
'
;
import
config
from
'
@qg/citrus-ui/src/config/index.js
'
;
// 初始化sentry
if
(
process
.
env
.
SENTRY_ENV
!==
'
test
'
&&
process
.
env
.
NODE_ENV
===
'
production
'
)
{
...
...
@@ -44,6 +45,7 @@ export default class Layout extends Vue {
`<script src="https://activitystatic.lkbang.net/swiper/4.5.1/swiper.min.js"></script>`
,
`<script src="https://cdn.bootcss.com/axios/0.19.2/axios.min.js"></script>`
];
talosHost
:
string
=
config
.
kdspHost
;
get
title
()
{
return
this
.
pageInfo
.
title
||
'
羊小咩
'
;
...
...
app/web/component/layout/activity/index.vue
View file @
3a8f6b1a
...
...
@@ -7,6 +7,7 @@
<meta
http-equiv=
"content-type"
content=
"text/html;charset=utf-8"
>
<meta
name=
"viewport"
content=
"initial-scale=1, maximum-scale=1, user-scalable=no, minimal-ui"
>
<link
rel=
"shortcut icon"
href=
"/favicon.ico"
type=
"image/x-icon"
/>
<link
rel=
"dns-prefetch"
:href=
"talosHost"
/>
<!--
<link
rel=
"stylesheet"
href=
"/public/asset/css/reset.css"
>
-->
<!--
<link
rel=
"stylesheet"
type=
"text/css"
href=
"https://activitystatic.lkbang.net/swiper/4.5.1/css/swiper.min.css"
>
-->
</head>
...
...
@@ -176,7 +177,7 @@
*
:after
{
box-sizing
:
border-box
;
}
html
{
font-size
:
10vw
!important
;
font-family
:
-apple-system
,
BlinkMacSystemFont
,
'Helvetica Neue'
,
Helvetica
,
Segoe
UI
,
Arial
,
Roboto
,
'PingFang SC'
,
'Hiragino Sans GB'
,
'Microsoft Yahei'
,
sans-serif
;
...
...
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