classDetail.wxml 6.2 KB

1
  1. <view class="content data-v-71e077ba"><u-card vue-id="6ba1fee8-1" title="{{classInfo.name}}" show-foot="{{false}}" title-size="32" margin="0px 0px 10px 0px" head-style="{{cardStyle}}" class="data-v-71e077ba" bind:__l="__l" vue-slots="{{['body']}}"><view slot="body" class="data-v-71e077ba"><view class="class-info-text data-v-71e077ba"><u-icon vue-id="{{('6ba1fee8-2')+','+('6ba1fee8-1')}}" name="clock" class="data-v-71e077ba" bind:__l="__l"></u-icon>{{''+classInfo.classStartDate+" ~ "+classInfo.classEndDate+''}}</view><block wx:for="{{classInfo.classExtrasList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="class-info-text data-v-71e077ba"><u-icon style="visibility:hidden;" vue-id="{{('6ba1fee8-3-'+index)+','+('6ba1fee8-1')}}" name="calendar" class="data-v-71e077ba" bind:__l="__l"></u-icon><text class="data-v-71e077ba">{{item.week+" "+item.startTime+"-"+item.endTime}}</text></view></block><view class="class-info-text data-v-71e077ba"><u-icon vue-id="{{('6ba1fee8-4')+','+('6ba1fee8-1')}}" name="map" class="data-v-71e077ba" bind:__l="__l"></u-icon>{{''+classInfo.address+''}}</view></view></u-card><u-card vue-id="6ba1fee8-5" title="授课教练" show-foot="{{false}}" title-size="32" margin="0px 0px 10px 0px" head-style="{{cardStyle}}" class="data-v-71e077ba" bind:__l="__l" vue-slots="{{['body']}}"><view class="techaer-info-box data-v-71e077ba" slot="body"><u-image vue-id="{{('6ba1fee8-6')+','+('6ba1fee8-5')}}" src="{{classInfo.coachUrl}}" mode="aspectFill" width="80px" height="80px" border-radius="10px" class="data-v-71e077ba" bind:__l="__l"></u-image><view class="techaer-info data-v-71e077ba"><view class="class-info-title data-v-71e077ba">{{classInfo.coachName}}</view><view class="class-info-text data-v-71e077ba">{{classInfo.coachName}}</view></view></view></u-card><u-card vue-id="6ba1fee8-7" title="班级简介" title-size="32" show-foot="{{true}}" margin="0px 0px 10px 0px" head-style="{{cardStyle}}" class="data-v-71e077ba" bind:__l="__l" vue-slots="{{['body']}}"><view slot="body" class="data-v-71e077ba"><u-read-more vue-id="{{('6ba1fee8-8')+','+('6ba1fee8-7')}}" toggle="{{true}}" show-height="100" color="#333333" shadow-style="{{shadowStyle}}" class="data-v-71e077ba" bind:__l="__l" vue-slots="{{['default']}}"><view class="class-info-text data-v-71e077ba">{{classInfo.desc}}</view></u-read-more></view></u-card><u-card vue-id="6ba1fee8-9" title="班级近况" show-foot="{{false}}" title-size="32" margin="0px" head-style="{{cardStyle}}" class="data-v-71e077ba" bind:__l="__l" vue-slots="{{['body']}}"><view class="class-show-box data-v-71e077ba" slot="body"><block wx:for="{{classInfo.showList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="class-show-card data-v-71e077ba"><block wx:if="{{item.type==0}}"><u-image vue-id="{{('6ba1fee8-10-'+index)+','+('6ba1fee8-9')}}" src="{{item.url}}" mode="aspectFill" height="30vw" border-radius="10px" class="data-v-71e077ba" bind:__l="__l"></u-image></block><block wx:if="{{item.type==1}}"><view class="video-col data-v-71e077ba"><video src="{{item.url}}" object-fit="cover" controls="{{true}}" id="{{'video'+index}}" class="data-v-71e077ba"></video></view></block><view class="class-show-name data-v-71e077ba">{{item.name}}</view></view></block></view></u-card><u-popup bind:input="__e" vue-id="6ba1fee8-11" mode="bottom" border-radius="30" closeable="{{true}}" value="{{enlistShow}}" data-event-opts="{{[['^input',[['__set_model',['','enlistShow','$event',[]]]]]]}}" class="data-v-71e077ba" bind:__l="__l" vue-slots="{{['default']}}"><scroll-view class="student-box data-v-71e077ba" scroll-y="{{true}}"><block wx:for="{{studentList1}}" wx:for-item="item" wx:for-index="index" wx:key="index"><u-card vue-id="{{('6ba1fee8-12-'+index)+','+('6ba1fee8-11')}}" title="{{item.studentName}}" title-size="32" head-style="{{cardStyle}}" head-border-bottom="{{false}}" show-foot="{{false}}" margin="10px" borderRadius="20" data-event-opts="{{[['^click',[['enlistStudent',['$0'],[[['studentList1','',index]]]]]]]}}" bind:click="__e" class="data-v-71e077ba" bind:__l="__l" vue-slots="{{['body']}}"><view class="student-card data-v-71e077ba" slot="body"><view class="class-info-text data-v-71e077ba">{{"性别:"+item.sex+"  年龄:"+item.age}}</view></view></u-card></block></scroll-view><u-button vue-id="{{('6ba1fee8-13')+','+('6ba1fee8-11')}}" type="warning" shape="circle" ripple="{{true}}" custom-style="{{$root.a0}}" data-event-opts="{{[['^click',[['goToSubscribelForm']]]]}}" bind:click="__e" class="data-v-71e077ba" bind:__l="__l" vue-slots="{{['default']}}">新增学员</u-button></u-popup><u-popup bind:input="__e" vue-id="6ba1fee8-14" mode="bottom" border-radius="30" value="{{subscribeShow}}" data-event-opts="{{[['^input',[['__set_model',['','subscribeShow','$event',[]]]]]]}}" class="data-v-71e077ba" bind:__l="__l" vue-slots="{{['default']}}"><scroll-view class="student-box data-v-71e077ba" scroll-y="{{true}}"><block wx:for="{{studentList2}}" wx:for-item="item" wx:for-index="index" wx:key="index"><u-card vue-id="{{('6ba1fee8-15-'+index)+','+('6ba1fee8-14')}}" title="{{item.studentName}}" title-size="32" head-style="{{cardStyle}}" head-border-bottom="{{false}}" show-foot="{{false}}" margin="10px" borderRadius="20" data-event-opts="{{[['^click',[['subscribeStudent',['$0'],[[['studentList2','',index]]]]]]]}}" bind:click="__e" class="data-v-71e077ba" bind:__l="__l" vue-slots="{{['body']}}"><view class="student-card data-v-71e077ba" slot="body"><view class="class-info-text data-v-71e077ba">{{"性别:"+item.sex+"  年龄:"+item.age}}</view></view></u-card></block></scroll-view><u-button vue-id="{{('6ba1fee8-16')+','+('6ba1fee8-14')}}" type="warning" shape="circle" ripple="{{true}}" custom-style="{{$root.a1}}" data-event-opts="{{[['^click',[['goToSubscribelForm']]]]}}" bind:click="__e" class="data-v-71e077ba" bind:__l="__l" vue-slots="{{['default']}}">新增学员</u-button></u-popup><view class="handle-fix-box data-v-71e077ba"><u-button vue-id="6ba1fee8-17" type="warning" shape="circle" ripple="{{true}}" custom-style="{{customStyle}}" data-event-opts="{{[['^click',[['e0']]]]}}" bind:click="__e" class="data-v-71e077ba" bind:__l="__l" vue-slots="{{['default']}}">预约体验</u-button></view><u-top-tips vue-id="6ba1fee8-18" zIndex="100000" data-ref="uTips" class="data-v-71e077ba vue-ref" bind:__l="__l"></u-top-tips></view>