1 |
- <view class="data-v-2f9de799"><cu-custom vue-id="06718834-1" isBack="{{true}}" title="一键报课" class="data-v-2f9de799" bind:__l="__l"></cu-custom><view class="VerticalBox data-v-2f9de799"><scroll-view class="VerticalNav nav data-v-2f9de799" style="{{('height:calc(100vh - 70px - '+topHeader+'px)')}}" scroll-y="{{true}}" scroll-with-animation="{{true}}" scroll-top="{{verticalNavTop}}"><block wx:for="{{attends}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="{{['cu-item data-v-2f9de799',index==tabCur?'text-green cur':'']}}" data-id="{{index}}" data-event-opts="{{[['tap',[['TabSelect',['$event']]]]]}}" bindtap="__e">{{''+weekList[index]+''}}</view></block></scroll-view><scroll-view class="VerticalMain padding-sm data-v-2f9de799" style="{{('height:calc(100vh - 70px - '+topHeader+'px)')}}" scroll-y="{{true}}" scroll-with-animation="{{true}}" scroll-into-view="{{'main-'+mainCur}}" data-event-opts="{{[['scroll',[['VerticalMain',['$event']]]]]}}" bindscroll="__e"><block wx:for="{{$root.l2}}" wx:for-item="attend" wx:for-index="i" wx:key="i"><radio-group data-event-opts="{{[['change',[['changeClass',['$event']]]]]}}" style="width:100%;" bindchange="__e" class="data-v-2f9de799"><block wx:for="{{attend.l1}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view hidden="{{!(i==mainCur)}}" class="cu-item bg-white padding margin-bottom-sm data-v-2f9de799" id="{{'main-'+index}}"><view class="cu-bar solid-bottom data-v-2f9de799"><view class="data-v-2f9de799"><label class="data-v-2f9de799"><view class="flex justify-between align-center data-v-2f9de799"><view class="data-v-2f9de799"><text class="data-v-2f9de799">{{item.$orig.attend_name}}</text></view><view class="data-v-2f9de799"><radio class="{{['cyan data-v-2f9de799',(!item.$orig.enable)?'disabled':'']}}" style="transform:scale(0.7);" value="{{item.$orig.class_attend_id}}" disabled="{{!item.$orig.enable}}" checked="{{item.g0}}"></radio></view></view></label></view></view><block wx:if="{{item.$orig.prop.length>0}}"><view class="data-v-2f9de799"><checkbox-group class="checkbox-group margin-top-xs data-v-2f9de799" data-id="{{item.$orig.class_attend_id}}" data-event-opts="{{[['change',[['propChange',['$event']]]]]}}" bindchange="__e"><block wx:for="{{item.l0}}" wx:for-item="prop" wx:for-index="__i0__" wx:key="id"><label class="data-v-2f9de799"><view class="data-v-2f9de799"><checkbox class="{{['cyan data-v-2f9de799',(!item.$orig.enable)?'disabled':'']}}" style="transform:scale(0.7);" value="{{prop.$orig.id}}" disabled="{{!item.$orig.enable}}" checked="{{checked_props[mainCur].class_attend_id===item.$orig.class_attend_id&&prop.g1}}"></checkbox>{{prop.$orig.name}}<text class="data-v-2f9de799">{{"¥"+prop.$orig.money}}</text></view></label></block></checkbox-group></view></block></view></block></radio-group></block></scroll-view></view><view class="static shadow data-v-2f9de799"><view class="static-order flex data-v-2f9de799"><shop-cart vue-id="06718834-2" class_attend_id="{{attend_id}}" class="data-v-2f9de799" bind:__l="__l"></shop-cart><button data-event-opts="{{[['tap',[['addCart',['$event']]]]]}}" class="cu-btn round bg-student text-white margin-left-xs data-v-2f9de799" bindtap="__e">报课</button></view></view></view>
|