Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
ZhangJianFrontEnd
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
vue-project
ZhangJian
ZhangJianFrontEnd
Commits
a5eb89aa
Commit
a5eb89aa
authored
Jun 25, 2021
by
zsh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新基础包内容
parent
6a2c8003
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
18 deletions
+22
-18
App.vue
src/App.vue
+2
-15
index.vue
src/components/Header/index.vue
+19
-0
index.js
src/public/mixins/index.js
+1
-3
No files found.
src/App.vue
View file @
a5eb89aa
...
...
@@ -11,9 +11,7 @@ export default {
name
:
'app'
,
data
()
{
return
{
backgroundImage
:
{}
}
return
{}
},
created
()
{
...
...
@@ -25,18 +23,7 @@ export default {
window
.
addEventListener
(
'resize'
,
refreshScale
)
},
methods
:
{
/**
* @method initPage 页面初始化 - ajax请求示例
*/
async
initPage
()
{
this
.
backgroundImage
=
{
// background: 'url(../../static/images/bg.png) 0% 0% / 100%',
filter
:
'blur(0px)'
,
opacity
:
1
}
}
}
methods
:
{}
}
</
script
>
...
...
src/components/Header/index.vue
View file @
a5eb89aa
<
template
>
<header
id=
"header"
></header>
</
template
>
<
script
>
export
default
{
data
()
{
return
{}
},
created
()
{
window
.
vm
=
this
}
}
</
script
>
<
style
lang=
"less"
scoped
>
</
style
>
>
src/public/mixins/index.js
View file @
a5eb89aa
...
...
@@ -8,7 +8,5 @@ export default {
window
.
vm
=
this
},
beforeDestroy
()
{
}
beforeDestroy
()
{}
}
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