制作订单详情页面
This commit is contained in:
@ -1 +1 @@
|
||||
<view class="cate"><view class="cate-one row"><view class="aside"><scroll-view style="height:100%;" scroll-y="true" scroll-with-animation="true"><view style="padding-bottom:200rpx;"><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></view></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">葱烩海鲜卷边披萨</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><u-popup onInput="__e" vue-id="055bd258-6" mode="bottom" border-radius="{{16}}" value="{{showCart}}" data-event-opts="{{[['^input',[['__set_model',['','showCart','$event',[]]]]]]}}" onVueInit="__l" vue-slots="{{['default']}}"><view style="max-height:800rpx;"><view class="px20 text-999 mt20">温馨提示:请适量点餐</view><view><scroll-view style="height:700rpx;" scroll-y="true" scroll-with-animation="true"><view class="row-start u-row-between u-padding-top-20 u-padding-bottom-20 px20" a:for="{{20}}" a:for-item="item" a:for-index="index"><view class="row-start"><view><u-image vue-id="{{('055bd258-7-'+index)+','+('055bd258-6')}}" src="{{cloudPath+'img/banner.png'}}" width="136" height="136" border-radius="16" onVueInit="__l"></u-image></view><view class="ml20"><view class="u-line-2 u-padding-top-10">葱烩海鲜卷边披萨</view><view class="primary u-padding-top-40"><price-format vue-id="{{('055bd258-8-'+index)+','+('055bd258-6')}}" price="{{12.9}}" subscriptSize="{{22}}" firstSize="{{34}}" secondSize="{{26}}" onVueInit="__l"></price-format></view></view></view><view><view class="u-text-right"><u-icon class="u-padding-top-10" vue-id="{{('055bd258-9-'+index)+','+('055bd258-6')}}" name="trash" size="32" onVueInit="__l"></u-icon></view><view class="u-padding-top-30"><u-number-box vue-id="{{('055bd258-10-'+index)+','+('055bd258-6')}}" min="1" value="{{numberVal}}" data-event-opts="{{[['^change',[['changeNumber']]],['^input',[['__set_model',['','numberVal','$event',[]]]]]]}}" onChange="__e" onInput="__e" onVueInit="__l"></u-number-box></view></view></view></scroll-view></view></view></u-popup></view>
|
||||
<view class="cate"><view class="cate-one row"><view class="aside"><scroll-view style="height:100%;" scroll-y="true" scroll-with-animation="true"><view style="padding-bottom:200rpx;"><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></view></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 data-event-opts="{{[['tap',[['toShop']]]]}}" class="bg-white br16 row u-col-top u-margin-bottom-24" onTap="__e" 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">葱烩海鲜卷边披萨</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><u-popup onInput="__e" vue-id="055bd258-6" mode="bottom" border-radius="{{16}}" value="{{showCart}}" data-event-opts="{{[['^input',[['__set_model',['','showCart','$event',[]]]]]]}}" onVueInit="__l" vue-slots="{{['default']}}"><view style="max-height:800rpx;"><view class="px20 text-999 mt20">温馨提示:请适量点餐</view><view><scroll-view style="height:700rpx;" scroll-y="true" scroll-with-animation="true"><view class="row-start u-row-between u-padding-top-20 u-padding-bottom-20 px20" a:for="{{20}}" a:for-item="item" a:for-index="index" a:key="index"><view class="row-start"><view><u-image vue-id="{{('055bd258-7-'+index)+','+('055bd258-6')}}" src="{{cloudPath+'img/banner.png'}}" width="136" height="136" border-radius="16" onVueInit="__l"></u-image></view><view class="ml20"><view class="u-line-2 u-padding-top-10">葱烩海鲜卷边披萨</view><view class="primary u-padding-top-40"><price-format vue-id="{{('055bd258-8-'+index)+','+('055bd258-6')}}" price="{{12.9}}" subscriptSize="{{22}}" firstSize="{{34}}" secondSize="{{26}}" onVueInit="__l"></price-format></view></view></view><view><view class="u-text-right"><u-icon class="u-padding-top-10" vue-id="{{('055bd258-9-'+index)+','+('055bd258-6')}}" name="trash" size="32" onVueInit="__l"></u-icon></view><view class="u-padding-top-30"><u-number-box vue-id="{{('055bd258-10-'+index)+','+('055bd258-6')}}" min="1" value="{{numberVal}}" data-event-opts="{{[['^change',[['changeNumber']]],['^input',[['__set_model',['','numberVal','$event',[]]]]]]}}" onChange="__e" onInput="__e" onVueInit="__l"></u-number-box></view></view></view></scroll-view></view></view></u-popup><shop-spec onClose="__e" onInput="__e" vue-id="055bd258-11" value="{{showSpec}}" data-event-opts="{{[['^close',[['e0']]],['^input',[['__set_model',['','showSpec','$event',[]]]]]]}}" onVueInit="__l"></shop-spec></view>
|
||||
Reference in New Issue
Block a user