|
@@ -1,14 +1,18 @@
|
|
|
<template>
|
|
|
<mobile-frame :frameStyle="frameStyle" @toPath="toPath">
|
|
|
- <scroll-view scroll-y="true" class="scroll-view" scroll-with-animation :scroll-top="scrollTop" @scroll="scroll" @scrolltolower="toPage">
|
|
|
+ <scroll-view scroll-y="true" class="scroll-view" scroll-with-animation :scroll-top="scrollTop" @scroll="scroll"
|
|
|
+ @scrolltolower="toPage">
|
|
|
<view class="list-scroll-view">
|
|
|
<view class="main">
|
|
|
<view class="zero one">
|
|
|
- <input type="text" placeholder="搜索商品" @tap="toCommon('pagesHome/market/search')" placeholder-class="placss">
|
|
|
+ <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">
|
|
|
- <swiper-item class="list" v-for="(item,index) in bannerList" :key="index" @tap="toBanner(item)">
|
|
|
+ <swiper class="swiper" circular :indicator-dots="true" indicator-color="#ffffff"
|
|
|
+ indicator-active-color="#FB1438" :autoplay="true" :interval="3000" :duration="1000">
|
|
|
+ <swiper-item class="list" v-for="(item,index) in bannerList" :key="index"
|
|
|
+ @tap="toBanner(item)">
|
|
|
<image class="image" :src="item.url&&item.url.length>0?item.url[0].url:''" mode="">
|
|
|
</image>
|
|
|
</swiper-item>
|
|
@@ -23,7 +27,8 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="zero four" v-if="recomList&&recomList.length>0">
|
|
|
- <view class="recomList" v-for="(item,index) in recomList" :key="index" v-if="item.list&&item.list.length>0">
|
|
|
+ <view class="recomList" v-for="(item,index) in recomList" :key="index"
|
|
|
+ v-if="item.list&&item.list.length>0">
|
|
|
<view class="list" v-for="(tag,indexs) in item.list" :key="indexs" @tap="toBuy(tag)">
|
|
|
<view class="list_1">
|
|
|
<view class="txt">
|
|
@@ -46,7 +51,8 @@
|
|
|
<view class="zero act">
|
|
|
<view class="list" v-for="(item,index) in platformactList" :key="index" @tap="toAct(item)">
|
|
|
<view class="img">
|
|
|
- <image class="image" :src="item.cover&&item.cover.length>0?item.cover[0].url:''" mode="">
|
|
|
+ <image class="image" :src="item.cover&&item.cover.length>0?item.cover[0].url:''"
|
|
|
+ mode="">
|
|
|
</image>
|
|
|
</view>
|
|
|
<view class="title" v-if="item.act_time.is_use=='0'">
|
|
@@ -75,6 +81,9 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
+ <view class="other">
|
|
|
+ <text class="act" v-for="(tag,index) in item.p_act" :key="index">{{tag}}</text>
|
|
|
+ </view>
|
|
|
<view class="acttags">
|
|
|
<text v-for="i in item.actTagsShow" :key="i">{{i.label}}</text>
|
|
|
</view>
|
|
@@ -538,6 +547,14 @@
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ .act {
|
|
|
+ font-size: 12px;
|
|
|
+ color: #FFA500;
|
|
|
+ border: 1px solid #FFA500;
|
|
|
+ border-radius: 5px;
|
|
|
+ padding: 0 1vw;
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
|
|
|
.acttags {
|