huangsijun
2025-09-22 a78c011de350b188afb03beb2f26a73f35f71986
1
<view class="{{['presale-product-wrap',$root.m0]}}" data-theme="{{$root.m1}}"><view class="top-box"><view class="index-search-box d-b-c" id="searchBox"><view class="index-search t-c flex-1"><label class="icon iconfont icon-sousuo _span"></label><input class="flex-1 ml10 f30 gray3" type="text" value="{{searchForm}}" placeholder-class="f24 gray6" placeholder="输入你要的商品" confirm-type="search" data-event-opts="{{[['confirm',[['search']]],['input',[['__set_model',['','searchForm','$event',[]]]]]]}}" bindconfirm="__e" bindinput="__e"/></view><view data-event-opts="{{[['tap',[['gotoPage',['/pages/order/myorder']]]]]}}" class="f26" bindtap="__e">我的预定</view></view></view><block wx:if="{{!loading}}"><view class="presale-list-wrap"><scroll-view class="scroll-Y" style="{{('height:'+scrollviewHigh+'px;')}}" scroll-y="true" lower-threshold="50" data-event-opts="{{[['scrolltolower',[['scrolltolowerFunc',['$event']]]]]}}" bindscrolltolower="__e"><view class="diy-banner-box pt20 mb20 pr square"><swiper class="swiper" autoplay="{{true}}" interval="{{3000}}" duration="{{500}}" data-event-opts="{{[['change',[['changeSwiper',['$event']]]]]}}" bindchange="__e"><block wx:for="{{banner}}" wx:for-item="item" wx:for-index="index" wx:key="index"><swiper-item data-event-opts="{{[['tap',[['gotoPages',['$0'],[[['banner','',index]]]]]]]}}" bindtap="__e"><image src="{{item.file_path}}"></image></swiper-item></block></swiper><view class="swiper-dots ww100 d-s-c square"><block wx:for="{{banner}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="{{[current==index?'swiper-dot active':'swiper-dot']}}" style="{{(current==index?'background-color:#ffffff;':'')}}"></view></block></view></view><view class="list p-0-20"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item d-stretch"><view class="product-cover"><image src="{{item.$orig.product_image}}" mode="aspectFit"></image></view><view class="d-b-c d-c flex-1 ml26"><view class="product-title ww100">{{item.$orig.product.product_name}}</view><view class="d-s-c ww100"><countdown class="vue-ref-in-for" vue-id="{{'5b670997-1-'+index}}" color="#999999" timeSize="22rpx" config="{{item.a0}}" data-ref="countdown" data-event-opts="{{[['^returnVal',[['returnValFunc']]]]}}" bind:returnVal="__e" bind:__l="__l"></countdown></view><view class="ww100"><text class="dj-text">{{"定金:¥"+item.$orig.money}}</text><text class="ml20  gray6 f20">{{"尾款立减¥"+item.$orig.sku[0].advance_price}}</text></view><view class="slider-box ww100 d-b-c"><view><view class="f32 redF11"><text class="f16 fb">¥</text>{{item.g0+''}}</view><view class="f20 gray9">预估到手价</view></view><view class="right-btn ml30"><button type="primary" data-event-opts="{{[['tap',[['gotoDetail',['$0'],[[['listData','',index,'product.product_id']]]]]]]}}" bindtap="__e">抢购</button></view></view></view></view></block></view><block wx:if="{{$root.g1}}"><view class="d-c-c p30"><text class="iconfont icon-wushuju"></text><text class="cont">亲,暂无相关记录哦</text></view></block></scroll-view></view></block></view>