8c2be4ec by simon

移动端首页样式

1 parent c5677b06
......@@ -124,6 +124,10 @@ export default {
}
menuData.list = list;
this.$set(this, 'loginData', menuData);
},
// 点击立即报价
toQuote(){
}
},
beforeDestroy() {
......
......@@ -46,7 +46,7 @@
</div>
<!-- 报价 -->
<div class="main-func-quote" >
<div @click="toQuote" class="main-func-quote" >
{{$t('header.quote')}}
</div>
</div>
......
......@@ -805,9 +805,9 @@
}
&-cont {
.arrow {
margin: 0 8px;
}
// .arrow {
// margin: 0 8px;
// }
}
}
}
......@@ -950,17 +950,18 @@
}
}
}
}
.arrow {
transform: scale(0.5);
}
.arrow {
top: 25%;
transform: scale(0.5);
}
.arrow-left {
left: 0px;
}
.arrow-right {
right: 0px;
}
.arrow-left {
left: 0px;
}
.arrow-right {
right: 0px;
}
}
......
......@@ -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>
......