index.wxml 3.2 KB

1
  1. <view class="center"><navigator url="/pages/product/search"><view class="input-box flex"><view class=" input-content flex"><view class="iconfont iconsearch"></view><view class="input"><input disabled="{{true}}" placeholder="请输入搜索内容"/></view></view></view></navigator><view class="top"></view><view class="carousel"><swiper class="bor" autoplay="true" duration="400" interval="5000" 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}}"></image></swiper-item></block></swiper></view><view class="swiper-dot"><block wx:for="{{swiperLength}}" wx:for-item="item" wx:for-index="__i0__" wx:key="*this"><view class="{{['swiper-dots-item',(swiperCurrent===item)?'action':'']}}"></view></block></view><view class="cate-section"><view data-event-opts="{{[['tap',[['nav',['/pages/category/category']]]]]}}" class="cate-item" bindtap="__e"><image src="/static/icon/c3.png"></image><view class="cate-font">品牌介绍</view></view><view data-event-opts="{{[['tap',[['nav',['/pages/category/articleList']]]]]}}" class="cate-item" bindtap="__e"><image src="/static/icon/c5.png"></image><view class="cate-font">产品百科</view></view><view data-event-opts="{{[['tap',[['showPopup']]]]}}" class="cate-item" bindtap="__e"><image src="/static/icon/c7.png"></image><view class="cate-font">免费咨询</view></view><view class="cate-item"><image src="/static/icon/c8.png" data-event-opts="{{[['tap',[['nav',['/pages/index/vip']]]]]}}" bindtap="__e"></image><view class="cate-font">升级礼包</view></view></view><view class="xian"></view><view class="main"><view class="main-top flex"><view class="main-left"><view class="shu"></view><view class="main-title">热销推荐</view><view class="main-tip">在售精品</view></view></view><view class="list-box-h"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['navToDetailPage',['$0'],[[['dataList','',index]]]]]]]}}" class="guess-item" bindtap="__e"><image src="{{item.$orig.image}}"></image><view class="guess-box"><view class="title clamp2">{{''+item.$orig.store_name+''}}</view><view class="price-box flex"><view class="yuanprice">{{item.$orig.ot_price}}</view><image src="../../static/img/jiantou.png" mode></image><view class="jiang">{{"直降"+item.g0+"元"}}</view></view><view class="price">{{"¥"+item.$orig.price}}</view><view class="btn">立即购买</view></view></view></block></view></view><uni-popup class="vue-ref" vue-id="8dd740cc-1" type="center" data-ref="popup" bind:__l="__l" vue-slots="{{['default']}}"><view class="popup-box"><view class="img"><image src="../../static/img/img009.png" mode></image></view><view class="mian"><view class="delivery"><view class="title">已经为您定制专属客服</view><image src="../../static/img/img010.png" mode></image></view><view class="nocancel">{{"客服微信: "+text}}</view><view class="comfirm-box"><view data-event-opts="{{[['tap',[['cancel',['$event']]]]]}}" class="cancel" bindtap="__e">取消</view><view data-event-opts="{{[['tap',[['comfirm',['$0'],['text']]]]]}}" class="comfirm" bindtap="__e">复制微信</view></view></view></view></uni-popup></view>