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
7b0bf45f
authored
2019-11-04 16:27:41 +0800
by
joe
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
首頁還原、LOGO替換、菜單修正
1 parent
3d86d114
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
34 additions
and
27 deletions
src/App.vue
src/assets/images/home/header-logo-bak.png
src/assets/images/home/header-logo.png
src/common/lang/en.js
src/common/lang/tc.js
src/common/lang/zh.js
src/pages/index/index.js
src/pages/index/index.scss
src/pages/index/index.vue
src/App.vue
View file @
7b0bf45
...
...
@@ -312,7 +312,8 @@ textarea {
}
.box-w
{
max-width
:
1024px
;
//
max-width
:
1024px
;
max-width
:
950px
;
width
:
100%
;
margin
:
0
auto
;
}
...
...
src/assets/images/home/header-logo-bak.png
0 → 100644
View file @
7b0bf45
3.36 KB
src/assets/images/home/header-logo.png
View file @
7b0bf45
3.36 KB
|
W:
|
H:
4.97 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/common/lang/en.js
View file @
7b0bf45
...
...
@@ -13,14 +13,13 @@ module.exports = {
name
:
"login"
,
path
:
""
,
list
:
[{
name
:
"login"
,
path
:
"/login"
,
value
:
""
},
{
name
:
"register"
,
path
:
"/register"
,
value
:
""
},{
name
:
"login"
,
path
:
"/login"
,
value
:
""
},
{
name
:
"modify password"
,
...
...
src/common/lang/tc.js
View file @
7b0bf45
...
...
@@ -13,14 +13,13 @@ module.exports = {
name
:
"登入"
,
path
:
""
,
list
:
[{
name
:
"登入"
,
path
:
"/login"
,
value
:
""
},
{
name
:
"註冊"
,
path
:
"/register"
,
value
:
""
},{
name
:
"登入"
,
path
:
"/login"
,
value
:
""
},
{
name
:
"修改密碼"
,
...
...
src/common/lang/zh.js
View file @
7b0bf45
...
...
@@ -13,14 +13,13 @@ module.exports = {
name
:
"登陆"
,
path
:
""
,
list
:
[{
name
:
"登陆"
,
path
:
"/login"
,
value
:
""
},
{
name
:
"注册"
,
path
:
"/retister"
,
value
:
""
},{
name
:
"登陆"
,
path
:
"/login"
,
value
:
""
},
{
name
:
"修改密码"
,
...
...
src/pages/index/index.js
View file @
7b0bf45
...
...
@@ -9,10 +9,10 @@ export default {
return
{
key
:
'value'
,
swiperOption
:
{
//
navigation: {
//
nextEl: '.swiper-button-next',
//
prevEl: '.swiper-button-prev'
//
},
navigation
:
{
nextEl
:
'.swiper-button-next'
,
prevEl
:
'.swiper-button-prev'
},
pagination
:
{
el
:
'.swiper-pagination'
,
// renderBullet(index, className) {
...
...
src/pages/index/index.scss
View file @
7b0bf45
...
...
@@ -16,16 +16,23 @@
// banner 轮播
.banner-contaner
{
height
:
360px
;
// height: 360px;
// 匹配父容器
position
:
relative
;
width
:
100%
;
overflow
:
hidden
;
height
:
250px
;
}
.banner
{
// box-shadow: 0 0 1.75rem 0 rgba(255, 87, 0, 0.1);
position
:
absolute
;
left
:
50%
;
margin-left
:
-960px
;
// width: 1920px;
// margin-left: -960px;
top
:
0
;
width
:
1920px
;
width
:
1024px
;
margin-left
:
-512px
;
height
:
100%
;
overflow
:
hidden
;
&
-img
{
...
...
@@ -42,7 +49,9 @@
// width: auto;
text-align
:
center
;
justify-content
:
space-between
;
max-width
:
1200px
;
max-width
:
85
.333333rem
/*
1024
/
12
*/
;
// max-width: 1200px;
&
-item
{
...
...
src/pages/index/index.vue
View file @
7b0bf45
<
template
>
<div>
<div
class=
"content"
>
<div
class=
"banner-contaner"
>
<!-- banner 轮播 -->
<div
class=
"banner"
>
<swiper
:options=
"swiperOption"
>
<swiper-slide>
<img
class=
"banner-img"
src=
"@/assets/images/index/banner-01.jp
g"
>
<img
class=
"banner-img"
src=
"@/assets/images/index/banner.pn
g"
>
</swiper-slide>
<swiper-slide>
<img
class=
"banner-img"
src=
"@/assets/images/index/banner-02.jp
g"
>
<img
class=
"banner-img"
src=
"@/assets/images/index/banner.pn
g"
>
</swiper-slide>
<div
class=
"swiper-button-prev"
slot=
"button-prev"
></div>
<div
class=
"swiper-button-next"
slot=
"button-next"
></div>
...
...
@@ -17,7 +18,6 @@
</swiper>
</div>
</div>
<div
class=
"content"
>
<!-- 推荐产品 -->
<div
class=
"box recommend"
>
<div
class=
"recommend-item"
>
...
...
Please
register
or
sign in
to post a comment