Commit 828e600f authored by zhanglw's avatar zhanglw

调整

parent daa51738
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
<el-row style="padding-top: 16px"> <el-row style="padding-top: 16px">
<el-col :span="2"><div class="area-title">地区选择</div></el-col> <el-col :span="2"><div class="area-title">地区选择</div></el-col>
<el-col :span="22" style="border: 1px solid rgba(0,0,0,0.12);"> <el-col :span="22" style="border: 1px solid rgba(0,0,0,0.12);">
<div v-for="(item,index) in areaOpts" :key="'a_'+index" class="area_item touch" :class="query.area===item.value?'active':''" @click="query.area=item">{{ item.label }}</div> <div v-for="(item,index) in areaOpts" :key="'a_'+index" class="area_item touch" :class="query.area===item.value?'active':''" @click="query.area=item.value">{{ item.label }}</div>
</el-col> </el-col>
</el-row> </el-row>
<el-row style="padding-top: 10px"> <el-row style="padding-top: 10px">
...@@ -340,10 +340,7 @@ export default { ...@@ -340,10 +340,7 @@ export default {
}, },
mounted() { mounted() {
this.$nextTick(() => { this.$nextTick(() => {
this.areaOpts = [{ value: undefined, label: '全部' }]
for (let i = 0; i < 34; i++) {
this.areaOpts.push({ value: '123', label: '山东' })
}
}) })
}, },
methods: { methods: {
......
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