Commit 8d3b952c by 白宇

css 优化

parent 7934f85c
......@@ -73,7 +73,8 @@
.nav-item {
display: inline-block;
width: 1.14rem;
height: 1.85rem;
height: 1.65rem;
padding-top: .18rem;
margin-left: 0.42rem;
border-radius: 0.1rem;
overflow: hidden;
......
......@@ -69,7 +69,7 @@
margin-top: 0.35rem;
width: 100%;
white-space: nowrap;
height: 1.85rem;
height: 2.05rem;
overflow-y: hidden;
overflow-x: scroll;
-webkit-overflow-scrolling: touch;
......@@ -355,7 +355,8 @@
<div class="nav-item__iconbox">
<img :src="item.small_image" class="nav-item__icon" />
</div>
<div class="nav-item__mtitle">{{item.title}}</div>
<div class="nav-item__mtitle" style="padding-bottom:.2rem;">{{item.title}}</div>
</div>
</div>
......
......@@ -68,7 +68,8 @@
.nav-item{
display: inline-block;
width: 1.14rem;
height: 1.85rem;
height: 1.65rem;
padding-top: 0.18rem;
margin-left: 0.42rem;
border-radius: 0.1rem;
overflow: hidden;
......@@ -343,8 +344,7 @@
<body>
<!--:style="{backgroundImage:'url('+navs[activeIdx].bg_image+')'}"-->
<div id=app1>
<div id="app" class="page-wrap" v-if="loadReady" :class="{fixed:showPoster}" :style="{backgroundImage:'url(./images/show/fupin.png)'}">
<div id="app" class="page-wrap" v-if="loadReady" :class="{fixed:showPoster}" :style="{backgroundImage:'url(./images/show/fupin.png)'}">
<div class="nav-list">
<div class="nav-item" v-for="(item,idx) in navs" :key="idx" :class="{active:idx===activeIdx}" @click="setActive(idx,item)">
<div class="nav-item__iconbox">
......@@ -667,9 +667,7 @@ var vueInstance = new Vue({
{title:'客运',icon:'https://wzw2020.oss-cn-beijing.aliyuncs.com/icon/cart.png',icona:'https://wzw2020.oss-cn-beijing.aliyuncs.com/icon/cart-a.png',share_image:'https://wanda-static.bdideal.com/danzhai-holiday-test/danzhai-content-15993815184676.png',small_image:'https://wzw2020.oss-cn-beijing.aliyuncs.com/%E5%AE%A2%E8%BF%90.png',bg_image:'https://wzw2020.oss-cn-beijing.aliyuncs.com/bg.png',image:'./images/route/map.png'},
{title:'自驾',icon:'https://wzw2020.oss-cn-beijing.aliyuncs.com/icon/zijia.png',icona:'https://wzw2020.oss-cn-beijing.aliyuncs.com/icon/zijia-a.png',share_image:'https://wanda-static.bdideal.com/danzhai-holiday-test/danzhai-content-15993815184676.png',small_image:'https://wzw2020.oss-cn-beijing.aliyuncs.com/%E8%87%AA%E9%A9%BE.png',bg_image:'https://wzw2020.oss-cn-beijing.aliyuncs.com/bg.png',image:'./images/route/map.png'},
]
// console.log(this.navs)
this.contentList = await $get('/travel/desc').then(res=>res.data).catch(err=>{throw err})
this.refreshShareText()
// var idx = getQueryByString(location.href,'idx')
// if(!isNaN(idx) && idx>=0){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment