Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
dev
/
pingan-life-index-pro
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
e71323b4
authored
2020-01-20 10:57:55 +0800
by
simon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
默认提交
1 parent
7c06b389
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
7 deletions
babel.config.js
src/components/home/footer/footer.vue
src/main.js
src/styles/element-variables.scss
babel.config.js
View file @
e71323b
...
...
@@ -4,10 +4,19 @@ module.exports = {
],
sourceType
:
'unambiguous'
,
plugins
:
[
[
'import'
,
{
libraryName
:
'vant'
,
libraryDirectory
:
'es'
,
style
:
true
},
'vant'
]
[
'import'
,
{
libraryName
:
'vant'
,
libraryDirectory
:
'es'
,
style
:
true
},
'vant'
],
[
"component"
,
{
"libraryName"
:
"element-ui"
,
"styleLibraryName"
:
"theme-chalk"
}
]
]
}
...
...
src/components/home/footer/footer.vue
View file @
e71323b
...
...
@@ -51,11 +51,11 @@
<div
class=
"public"
>
<div
class=
"tit"
>
{{
$t
(
'footer.qrcode'
)
}}
</div>
<div
@
click=
"qrcodeVisible = !qrcodeVisible"
v-if=
"qrcodeVisible"
class=
"qrcode-wrap"
>
<img
@
mouseout=
"onOutHandler($event)"
src=
"@/assets/images/home/qrcode.png"
alt=
""
>
<img
@
mouseout=
"onOutHandler($event)"
src=
"@/assets/images/home/qrcode.png"
alt=
""
>
<div
class=
"c1"
>
{{
$t
(
'footer.qrcodeBot'
)
}}
</div>
</div>
<template
v-else
>
<img
@
click=
"qrcodeVisible = !qrcodeVisible"
@
mouseover=
"onOverHandler($event)"
@
mouseout=
"onOutHandler($event)"
class=
"icon pointer"
src=
"@/assets/images/home/footer-icon-1.png"
alt=
""
>
<img
@
click=
"qrcodeVisible = !qrcodeVisible"
@
mouseover=
"onOverHandler($event)"
@
mouseout=
"onOutHandler($event)"
class=
"icon pointer"
src=
"@/assets/images/home/footer-icon-1.png"
alt=
""
>
<img
class=
"icon pointer"
src=
"@/assets/images/home/footer-icon-2.png"
alt=
""
>
<img
class=
"icon pointer"
src=
"@/assets/images/home/footer-icon-3.png"
alt=
""
>
</
template
>
...
...
src/main.js
View file @
e71323b
...
...
@@ -23,6 +23,10 @@ import {
Vue
.
use
(
Collapse
).
use
(
CollapseItem
);
Vue
.
use
(
Icon
);
// import { Button } from 'element-ui';
// Vue.use(Button)
import
Mock
from
'./mock'
Mock
.
bootstrap
();
...
...
src/styles/element-variables.scss
0 → 100644
View file @
e71323b
$--color-primary
:
#f05a23
;
Please
register
or
sign in
to post a comment