|
@@ -29,25 +29,25 @@
|
|
|
<scroll-view :scroll-top="scrollTop" scroll-y="true" class="filter-menu-left scroll-Y"
|
|
|
@scrolltoupper="upper" @scrolltolower="lower" @scroll="scroll">
|
|
|
<view id="demo1" class="scroll-view-item uni-bg-red menu-item"
|
|
|
- :class="current == index ? 'act-left-menu' : ''" v-for="(item,index) of menuList"
|
|
|
+ :class="current == index ? 'act-left-menu' : ''" v-for="(item,index) of menuList" :key="index"
|
|
|
@click.stop='handlerSelectLMenu(item,index)'>{{ item.name }}
|
|
|
</view>
|
|
|
</scroll-view>
|
|
|
<scroll-view :scroll-top="scrollTop" scroll-y="true" class="filter-menu-right scroll-Y"
|
|
|
@scrolltoupper="upper" @scrolltolower="lower" @scroll="scroll">
|
|
|
- <view id="demo1" class="scroll-view-item uni-bg-red" v-for="item of 15">
|
|
|
+ <view id="demo1" class="scroll-view-item uni-bg-red" v-for="item of 15" :key="item">
|
|
|
<view class="menu-right-title">洗车</view>
|
|
|
<view class="menu-right-contentbox">
|
|
|
- <span class="menu-item" v-for="item of 7">测试</span>
|
|
|
+ <span class="menu-item" v-for="item of 7" :key="item">测试</span>
|
|
|
</view>
|
|
|
</view>
|
|
|
</scroll-view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="filter2" v-show="filterType == 2">
|
|
|
- <view class="" @tap="sellerListFillter(1)">离我最近</view>
|
|
|
- <view class="" @tap="sellerListFillter(2)">好评优先</view>
|
|
|
- <view class=""@tap="sellerListFillter(3)">销量优先</view>
|
|
|
+ <view @tap="sellerListFillter(1)">离我最近</view>
|
|
|
+ <view @tap="sellerListFillter(2)">好评优先</view>
|
|
|
+ <view @tap="sellerListFillter(3)">销量优先</view>
|
|
|
</view>s
|
|
|
</view>
|
|
|
</view>
|
|
@@ -59,7 +59,7 @@
|
|
|
<image class="img" :src="item.logo" mode="aspectFit"></image>
|
|
|
</view>
|
|
|
<view class="item-right">
|
|
|
- <view class="">
|
|
|
+ <view>
|
|
|
<view class="item-title">
|
|
|
<view class="tag">常去</view>
|
|
|
<view class="title">{{`${item.name}(${item.address})`}}</view>
|
|
@@ -87,7 +87,7 @@
|
|
|
<script>
|
|
|
import { getSellerList } from '@/api/business.js';
|
|
|
import { getCurrentLocation } from '@/api/home.js';
|
|
|
- import { mapState } from 'vuex';
|
|
|
+ import { mapState } from 'vuex';
|
|
|
export default {
|
|
|
async mounted() {
|
|
|
let data = {
|