<view class="content"><view class="top-content"><view class="status_bar" style="{{'height:'+(statusBarHeight)+';'}}"></view><view class="top-title">健康商城</view><view class="search-cont"><view class="inner"><image class="icon-search" src="../../static/images/search.png" mode></image><input type="text" disabled="{{true}}" confirm-type="搜索" placeholder="输入药品名称" placeholder-style="font-size:28rpx;color:#BBBBBB;font-family: PingFang SC;" data-event-opts="{{[['tap',[['toSearch',['$event']]]]]}}" bindtap="__e"/></view></view></view><view class="medic-box" style="{{'height:'+(divHeight)+';'}}"><view class="cate-list"><block wx:for="{{cates}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['choseCate',['$0'],[[['cates','',index]]]]]]]}}" class="{{[cateSelect==item.cateId?'item active':'item']}}" bindtap="__e">{{item.cateName}}</view></block></view><view class="medic"><view class="banner-box"><swiper class="swiper" indicator-dots="{{true}}" circular="{{true}}" autoplay="{{true}}" interval="{{3000}}" duration="{{1000}}" indicator-color="rgba(255, 255, 255, 0.6)" indicator-active-color="#ffffff"><block wx:for="{{advs}}" wx:for-item="item" wx:for-index="index" wx:key="index"><swiper-item data-event-opts="{{[['tap',[['handleAdvClick',['$0'],[[['advs','',index]]]]]]]}}" class="swiper-item" bindtap="__e"><image src="{{item.imageUrl}}" mode></image></swiper-item></block></swiper></view><view class="medic-list"><view class="inner-list"><block wx:for="{{subCates}}" wx:for-item="subItem" wx:for-index="index"><view data-event-opts="{{[['tap',[['showProductList',['$0'],[[['subCates','',index]]]]]]]}}" class="definite" bindtap="__e"><view class="img-box"><image src="{{subItem.pic}}" mode="aspectFit"></image></view><view class="name ellipsis">{{subItem.cateName}}</view></view></block></view></view></view></view></view>