shoppingCart.wxml 2.8 KB

1
  1. <view class="page data-v-4b0902c5"><cu-custom vue-id="4479fb6e-1" isBack="{{true}}" class="data-v-4b0902c5" bind:__l="__l"></cu-custom><view class="header data-v-4b0902c5" style="{{'top:'+(topHeader+'px')+';'}}"><view class="header-title data-v-4b0902c5"><view class="header-title-main data-v-4b0902c5"><view class="margin-bottom-xs data-v-4b0902c5">{{title}}</view><view class="point data-v-4b0902c5"></view></view></view></view><scroll-view class="scroll-main data-v-4b0902c5" style="{{'height:'+('calc(100vh - 64px - '+topHeader+'px)')+';'}}" scroll-y="true"><view class="list data-v-4b0902c5"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="cu-card margin-bottom shadow data-v-4b0902c5"><view class="cu-item data-v-4b0902c5"><view class="card-header flex justify-between solid-bottom data-v-4b0902c5"><view class="data-v-4b0902c5">{{item.student_name}}</view><view class="data-v-4b0902c5"><text data-event-opts="{{[['tap',[['del',['$0',index],[[['list','',index]]]]]]]}}" class="cuIcon-delete text-red data-v-4b0902c5" bindtap="__e"></text></view></view><view class="card flex data-v-4b0902c5"><view class="card-left data-v-4b0902c5"><image class="card-image _img data-v-4b0902c5" mode="scaleToFill" src="{{item.image}}" alt></image></view><view class="card-right flex-sub margin-left-sm data-v-4b0902c5"><view class="card-title data-v-4b0902c5">{{item.class_attend_name}}</view><view class="text-price text-student text-xl margin-top-xs data-v-4b0902c5">{{item.price}}</view><view class="card-item data-v-4b0902c5"><text class="card-label data-v-4b0902c5">机构:</text><text class="card-text data-v-4b0902c5">{{item.agency_name||'-'}}</text></view><block wx:if="{{item.cate_type===0}}"><view class="card-item margin-top-xs data-v-4b0902c5"><text class="card-label data-v-4b0902c5">老师:</text><text class="card-text data-v-4b0902c5">{{item.teacher_name||'-'}}</text></view></block><view class="card-item margin-top-xs data-v-4b0902c5"><text class="card-label data-v-4b0902c5">总共:</text><text class="card-text data-v-4b0902c5">{{item.class_total||'-'}}</text></view><view class="card-item margin-top-xs data-v-4b0902c5"><text class="card-label data-v-4b0902c5">时间:</text><text class="card-text data-v-4b0902c5">{{item.week_limit||'-'}}</text></view></view></view><block wx:if="{{item.prop}}"><view class="card-footer margin-top-xs data-v-4b0902c5"><block wx:for="{{item.prop}}" wx:for-item="tag" wx:for-index="index" wx:key="index"><view class="cu-tag line-red data-v-4b0902c5">{{tag}}</view></block></view></block><view class="card-bottom margin-top-xs data-v-4b0902c5"><button data-event-opts="{{[['tap',[['pay',['$0'],[[['list','',index]]]]]]]}}" class="cu-btn round bg-student text-white data-v-4b0902c5" bindtap="__e">立即下单</button></view></view></view></block></view></scroll-view></view>