Commit 5089c424 authored by agping's avatar agping

商铺列表 修改

parent 80b5c64b
<template> <template>
<div class="min-height-list"> <div class="min-height-list">
<nav> <nav>
<div class="top-city-select-area flex-center">
<select @change="changeCity">
<option value="10001">上海市</option>
<option value="10002">杭州市</option>
</select>
</div>
<div class="nav-main"> <div class="nav-main">
<div v-for="(item, index) in mainData" :key="item.title" :class="{active:index === initTabNumMain}" @click="tabMain(index)">{{item.title}}</div> <div v-for="(item, index) in mainData" :key="item.title" :class="{active:index === initTabNumMain}" @click="tabMain(index)">{{item.title}}</div>
</div> </div>
...@@ -213,6 +219,11 @@ ...@@ -213,6 +219,11 @@
} }
}); });
},
changeCity(c) {
let _this = this;
console.log(c.target.value);
}, },
tabYeTai(index){ tabYeTai(index){
let _this = this; let _this = this;
...@@ -278,7 +289,7 @@ ...@@ -278,7 +289,7 @@
font-size: .46rem; font-size: .46rem;
top: 0; top: 0;
z-index:666 ; z-index:666 ;
color: #999999;
} }
nav>.nav-seat { nav>.nav-seat {
...@@ -292,6 +303,8 @@ ...@@ -292,6 +303,8 @@
nav>.nav-main>div.active { nav>.nav-main>div.active {
position: relative; position: relative;
color: #1A1A1A;
} }
nav>.nav-main>div.active::after { nav>.nav-main>div.active::after {
...@@ -474,4 +487,15 @@ ...@@ -474,4 +487,15 @@
background-color:#FFA029 ; background-color:#FFA029 ;
color: #fff; color: #fff;
} }
/*城市 筛选*/
.top-city-select-area {
position: fixed;
top: 0;
left: 0.18rem;
z-index: 668;
font-size: 0.28rem;
color: #1A1A1A;
width: 1.8rem;
}
</style> </style>
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 to comment