<view class="container"><view class="carousel-section"><image class="home-top" src="../../static/img/home-top.png" mode="widthFix"></image><view class="search flex"><view data-event-opts="{{[['tap',[['clickSearch',['$event']]]]]}}" class="input-box flex" catchtap="__e"><view class=" input-content flex"><view class="iconfont iconsearch"></view><view class="input"><input type="text" disabled="{{true}}" value="输入关键字搜索"/></view></view></view></view><swiper class="carousel" autoplay="true" duration="400" interval="5000" indicator-dots="{{true}}" indicator-active-color="#FFFFFF" data-event-opts="{{[['change',[['swiperChange',['$event']]]]]}}" bindchange="__e"><block wx:for="{{carouselList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><swiper-item class="carousel-item"><image src="{{item.pic}}" mode="aspectFill" data-event-opts="{{[['tap',[['bannerNavToUrl',['$0'],[[['carouselList','',index]]]]]]]}}" bindtap="__e"></image></swiper-item></block></swiper></view><view class="top-tit"><block wx:if="{{userInfo&&userInfo.pay_count>0}}"><image src="../../static/icon/fgq.png" mode="widthFix"></image></block><block wx:else><image src="../../static/icon/bdq.png" mode="widthFix"></image></block></view><view class="good-wrap"><view class="good-img"><image src="{{goodList.image}}" mode></image><image src="../../static/img/goog-bg.png" mode></image></view><view class="good-tit clamp2">{{''+goodList.store_name+''}}</view><view class="price-btn flex"><view class="price flex"><view class="old-price">{{'原价￥'+(goodList.ot_price*1||'0')+''}}</view><block wx:if="{{userInfo&&userInfo.identity==1}}"><view class="new-price">{{''+(goodList.vip_repurchase*1||'0')+''}}</view></block><block wx:if="{{userInfo&&userInfo.identity==2}}"><view class="new-price">{{''+(goodList.agent_repurchase*1||'0')+''}}</view></block><block wx:if="{{!hasLogin||userInfo.identity==0}}"><view class="new-price">{{''+(goodList.price*1||'0')+''}}</view></block></view><view class="btn flex"><view data-event-opts="{{[['tap',[['navTo',['/pages/product/product?id='+goodList.id]]]]]}}" class="gobuy" bindtap="__e">去抢购</view><view data-event-opts="{{[['tap',[['getShow',['$0'],['goodList.id']]]]]}}" class="goshare" bindtap="__e">去分享</view></view></view><view style="height:25rpx;"></view></view><uni-popup class="vue-ref" vue-id="8dd740cc-1" type="center" data-ref="popupshare" bind:__l="__l" vue-slots="{{['default']}}"><view class="share-box"><image class="box-img" src="{{shareImage}}" mode data-event-opts="{{[['longpress',[['saveImg']]]]}}" bindlongpress="__e"></image></view></uni-popup></view>