|
@@ -3,7 +3,7 @@
|
|
|
<scroll-view class="scrollView" scroll-with-animation :scroll-into-view="topItem" scroll-y="true" @scroll="handleScroll">
|
|
|
<view class="main" id="top">
|
|
|
<view class="zero one">
|
|
|
- <input type="text" placeholder="搜索商品" @tap="toCommon('pagesHome/market/search')">
|
|
|
+ <input type="text" placeholder="搜索商品" @tap="toCommon('pagesHome/market/search')" placeholder-class="placss">
|
|
|
</view>
|
|
|
<view class="zero two">
|
|
|
<swiper class="swiper" circular :indicator-dots="true" indicator-color="#ffffff" indicator-active-color="#FB1438" :autoplay="true" :interval="3000" :duration="1000">
|
|
@@ -13,7 +13,7 @@
|
|
|
</swiper>
|
|
|
</view>
|
|
|
<view class="zero thr">
|
|
|
- <view class="list" v-for="(item,index) in btnList" :key="index">
|
|
|
+ <view class="list" v-for="(item,index) in btnList" :key="index" @tap="toCommon(item.route)">
|
|
|
<image class="image" :src="item.url" mode=""></image>
|
|
|
<view class="textOver name">
|
|
|
{{item.name}}
|
|
@@ -83,7 +83,7 @@
|
|
|
{
|
|
|
name: '商品分类',
|
|
|
url: require('@/static/logo.png'),
|
|
|
- route: ''
|
|
|
+ route: 'pagesHome/market/sort'
|
|
|
},
|
|
|
{
|
|
|
name: '首农专区',
|
|
@@ -278,6 +278,10 @@
|
|
|
padding: 1.5vw 0;
|
|
|
}
|
|
|
|
|
|
+ .placss {
|
|
|
+ color: var(--fffColor);
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
|
|
|
.two {
|