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
8c2be4ec
authored
2020-05-18 10:22:22 +0800
by
simon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
移动端首页样式
1 parent
c5677b06
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
6 deletions
src/components/home/header/header.js
src/components/home/header/header.vue
src/pages/index/index.scss
src/pages/index/index.vue
src/components/home/header/header.js
View file @
8c2be4e
...
...
@@ -124,6 +124,10 @@ export default {
}
menuData
.
list
=
list
;
this
.
$set
(
this
,
'loginData'
,
menuData
);
},
// 点击立即报价
toQuote
(){
}
},
beforeDestroy
()
{
...
...
src/components/home/header/header.vue
View file @
8c2be4e
...
...
@@ -46,7 +46,7 @@
</div>
<!-- 报价 -->
<div
class=
"main-func-quote"
>
<div
@
click=
"toQuote"
class=
"main-func-quote"
>
{{
$t
(
'header.quote'
)
}}
</div>
</div>
...
...
src/pages/index/index.scss
View file @
8c2be4e
...
...
@@ -805,9 +805,9 @@
}
&
-cont
{
.arrow
{
margin
:
0
8px
;
}
//
.arrow {
//
margin: 0 8px;
//
}
}
}
}
...
...
@@ -950,8 +950,10 @@
}
}
}
}
.arrow
{
top
:
25%
;
transform
:
scale
(
0
.5
);
}
...
...
@@ -962,7 +964,6 @@
right
:
0px
;
}
}
}
.quote-btn
{
font-size
:
$fontSize-M2
;
...
...
src/pages/index/index.vue
View file @
8c2be4e
...
...
@@ -41,7 +41,7 @@
<!-- 导航菜单切换 -->
<div
class=
"nav-tab"
>
<div
class=
"nav-tab-item"
:class=
"
{ 'nav-tab-item-act': item.index == curTab.index,'nav-tab-item-
single
':dataList.length
<
=1 }" :style="'width: calc(1200px / ' + dataList.length + ');'" @click="onTabHandler(item)" v-html="item.tabName" v-for="item in dataList" :key="item.id">
{{
item
.
tabName
}}
</div>
<div
class=
"nav-tab-item"
:class=
"
{ 'nav-tab-item-act': item.index == curTab.index,'nav-tab-item-
act
':dataList.length
<
=1 }" :style="'width: calc(1200px / ' + dataList.length + ');'" @click="onTabHandler(item)" v-html="item.tabName" v-for="item in dataList" :key="item.id">
{{
item
.
tabName
}}
</div>
<!--
<div
class=
"nav-tab-item"
:class=
"
{ 'nav-tab-item-act': item.index == curTab.index }" :style="'width: calc(100% / ' + dataList.length + '); '+ (index == dataList.length-1 ?'':'width:50%;') +' '" @click="onTabHandler(item)" v-html="item.tabName" v-for="item in dataList" :key="item.id">
{{
item
.
tabName
}}
</div>
-->
</div>
...
...
Please
register
or
sign in
to post a comment