index.wxml 3.4 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"><view class="popup-dox"><image class="popup-logo" src="../../static/img/img009.png"></image><view class="pop-title">已为您定制专属客服</view><view>{{weixin}}</view><image class="popup-text" src="{{erweima}}" data-event-opts="{{[['longtap',[['bc_code',['$event']]]]]}}" bindlongtap="__e"></image><view data-event-opts="{{[['tap',[['copy',['$0'],['weixin']]]]]}}" class="btn" bindtap="__e">复制微信号</view><view class="pop-tip flex"><view class="weixin"><image src="../../static/img/weixin.png" mode></image></view><view>长按保存二维码</view></view></view></view><view data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="close_icon" bindtap="__e"><image src="../../static/img/Close.png"></image></view></uni-popup></view>