1 line
2.2 KiB
XML
1 line
2.2 KiB
XML
<view class="cate"><view class="cate-one row"><view class="aside"><scroll-view style="height:100%;" scroll-y="true" scroll-with-animation="true"><block a:for="{{cateList}}" a:for-item="item" a:for-index="index" a:key="index"><view data-event-opts="{{[['tap',[['changeActive',[index]]]]]}}" class="{{('one-item sm '+(index==selectIndex?'active bg-white':''))}}" onTap="__e"><text class="name">{{item.name}}</text><block a:if="{{index==selectIndex}}"><view class="active-line bg-default"></view></block></view></block></scroll-view></view><view class="main"><scroll-view style="height:100%;" scroll-y="true" scroll-with-animation="true" data-event-opts="{{[['scrollToLower',[['getGoodsSearchFun',['$event']]]]]}}" onScrollToLower="__e"><view class="main-wrap"><view class="goods"><view class="u-margin-top-32 bold-600">{{cateName}}</view><view class="u-margin-top-32"><view class="bg-white br16 row u-col-top u-margin-bottom-24" a:for="{{10}}" a:for-item="item" a:for-index="index" a:key="index"><view><u-image vue-id="{{'055bd258-1-'+index}}" src="{{cloudPath+'img/banner.png'}}" width="136" height="136" border-radius="16" onVueInit="__l"></u-image></view><view class="info"><view><view class="u-line-2 u-padding-top-10">{{"葱烩海鲜卷边披萨--"+index}}</view><view class="u-padding-top-44 row-between"><view class="row"><view class="primary"><price-format vue-id="{{'055bd258-2-'+index}}" price="{{12.9}}" subscriptSize="{{22}}" firstSize="{{34}}" secondSize="{{26}}" onVueInit="__l"></price-format></view><view class="u-margin-left-8"><price-format vue-id="{{'055bd258-3-'+index}}" lineThrough="{{true}}" color="#C0C0C0" subscriptSize="{{22}}" firstSize="{{22}}" secondSize="{{22}}" price="{{16.9}}" onVueInit="__l"></price-format></view></view></view></view><view class="column-end"><u-icon vue-id="{{'055bd258-4-'+index}}" name="plus-circle-fill" color="#254062" size="48" onVueInit="__l"></u-icon></view></view></view></view></view></view></scroll-view></view></view><view class="buy mx40 px40 br60 row-between"><view class="row"><u-image vue-id="055bd258-5" src="{{cloudPath+'img/icon_cart.png'}}" width="56" height="56" onVueInit="__l"></u-image><view class="text-fff u-margin-left-32">未选购商品</view></view><view class="text-999">去结算</view></view></view> |