card.wxml 963 B

1
  1. <view class="card flex data-v-941593a0"><view class="card-left data-v-941593a0"><image mode="aspectFill" src="{{item.image}}" alt class="_img data-v-941593a0"></image></view><view class="card-right flex-sub data-v-941593a0"><view class="card-title data-v-941593a0">{{item.attend_name}}</view><view class="text-gray text-sm flex justify-between data-v-941593a0"><text class="data-v-941593a0">{{item.day}}</text><text class="text-student data-v-941593a0">{{"¥"+item.money}}</text></view><view class="text-gray text-sm data-v-941593a0">{{item.grade_desc}}</view><view data-event-opts="{{[['tap',[['goDetail',['$0'],['item']]]]]}}" class="margin-top-sm data-v-941593a0" bindtap="__e"><block wx:if="{{item.enable}}"><button class="cu-btn round bg-student text-white button-hover data-v-941593a0">报课</button></block><block wx:else><button class="cu-btn round bg-grey button-hover text-white disabled data-v-941593a0">停止</button></block></view></view></view>