<view>
    <view class="header" style="position: relative;">
        <swiper circular="true" class="info-swiper" indicatorActiveColor="#ffffff" indicatorColor="rgba(235,237,240,0.3)" indicatorDots="true" style="height: {{swiperHeight}}px">
            <swiper-item wx:for="{{info.attachment}}" wx:for-index="i" wx:for-item="s" wx:key="i">
                <image bindload="load" class="swiper-item-img" mode="widthFix" src="{{s}}"></image>
            </swiper-item>
        </swiper>
        <view class=""></view>
        <swiper autoplay="true" circular="true" class="top-swiper" interval="5000" style="width:190px;" vertical="true" wx:if="{{formData.length>0}}">
            <swiper-item wx:for="{{formData}}" wx:for-index="i" wx:for-item="s" wx:key="i">
                <view>
                    <view class="swperitem van-swipe-item" data-v-87e7c3a0="" style="width: 190px; height: 28px; transform: translateY(0px);">
                        <image class="avatar" src="{{s.avatar}}"></image>
                        <view class="txt" data-v-87e7c3a0="">{{s.nickname}} 刚刚购买了本商品</view>
                    </view>
                </view>
            </swiper-item>
        </swiper>
        <view class="like" wx:if="{{info.num_views>0}}">{{info.num_views}}人喜欢</view>
    </view>
    <view>
        <view class="type-bar">
            <view class="lt">
                <view class="info-price">
                    <view class="count">
                        <view class="discount">
                            <view class="doller">¥ </view>
                            <view class="_price_free">{{info.price}}</view>
                        </view>
                        <view class="original">
                            <view>¥{{info.marketprice}}</view>
                        </view>
                    </view>
                </view>
            </view>
            <view class="rt" wx:if="{{info.status==1}}">
                <view> 距结束还剩 <view class="countdown">
                        <view class="day">{{day}}</view>
                        <view class="separator">天</view>
                        <view class="time-item">{{hour}}</view>
                        <view class="separator">:</view>
                        <view class="time-item">{{minute}}</view>
                        <view class="separator">:</view>
                        <view class="time-item">{{second}}</view>
                        <view class="separator"></view>
                    </view>
                </view>
            </view>
            <view class="rt" wx:if="{{info.status==-1||info.status==-2}}">
                <view class="time"> {{info.status==-1?'开始':'结束'}}时间 {{startTime[0]}} <view> {{startTime[1]}} </view>
                </view>
            </view>
        </view>
    </view>
</view>
