openMember.wxml 7.0 KB

1
  1. <view class="content data-v-8df83678"><block wx:if="{{memberCardList.length}}"><block wx:for="{{memberCardList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="card-list data-v-8df83678"><view class="card-label data-v-8df83678" style="height:20rpx;">{{"卡名: "+item.typeValue}}</view><view class="card-label data-v-8df83678">{{"使用时间: "+item.startDate+"~"+item.endDate}}</view><view class="card-num data-v-8df83678">{{"¥"+item.sellingPrice}}</view><view class="card-icon iconfont iconzu4931 data-v-8df83678"></view></view></block></block><u-form style="width:100%;float:left;" vue-id="677934c2-1" model="{{form}}" label-width="140" class="data-v-8df83678" bind:__l="__l" vue-slots="{{['default']}}"><u-form-item vue-id="{{('677934c2-2')+','+('677934c2-1')}}" label="学员姓名" right-icon="{{studentEdit?'arrow-right':''}}" required="{{true}}" data-event-opts="{{[['tap',[['e0']]]]}}" bindtap="__e" class="data-v-8df83678" bind:__l="__l" vue-slots="{{['default']}}"><text class="data-v-8df83678">{{studentName}}</text></u-form-item><u-form-item vue-id="{{('677934c2-3')+','+('677934c2-1')}}" label="优惠金额" right-icon="arrow-right" data-event-opts="{{[['tap',[['handleCouponClick',['$event']]]]]}}" bindtap="__e" class="data-v-8df83678" bind:__l="__l" vue-slots="{{['default']}}"><text class="data-v-8df83678">{{'¥'+discountsAmount||0}}</text></u-form-item><u-form-item vue-id="{{('677934c2-4')+','+('677934c2-1')}}" label="实际金额" class="data-v-8df83678" bind:__l="__l" vue-slots="{{['default']}}"><text class="data-v-8df83678">{{''+('¥'+(discountsAmount?getRealPrice:realPayAmount))}}</text></u-form-item><u-form-item vue-id="{{('677934c2-5')+','+('677934c2-1')}}" label="家长名称" required="{{true}}" class="data-v-8df83678" bind:__l="__l" vue-slots="{{['default']}}"><u-input bind:input="__e" vue-id="{{('677934c2-6')+','+('677934c2-5')}}" placeholder="请输入家长姓名" value="{{form.parentName}}" data-event-opts="{{[['^input',[['__set_model',['$0','parentName','$event',[]],['form']]]]]}}" class="data-v-8df83678" bind:__l="__l"></u-input></u-form-item><u-form-item vue-id="{{('677934c2-7')+','+('677934c2-1')}}" label="家长性别" prop="sex" required="{{true}}" right-icon="arrow-right" data-event-opts="{{[['tap',[['e1']]]]}}" bindtap="__e" class="data-v-8df83678" bind:__l="__l" vue-slots="{{['default']}}"><text class="data-v-8df83678">{{form.sex}}</text></u-form-item></u-form><view class="handle-fix-box data-v-8df83678"><u-button vue-id="677934c2-8" type="warning" shape="circle" ripple="{{true}}" custom-style="{{customStyle}}" data-event-opts="{{[['^click',[['toPay']]]]}}" bind:click="__e" class="data-v-8df83678" bind:__l="__l" vue-slots="{{['default']}}">{{"确定支付¥"+(discountsAmount?getRealPrice:realPayAmount)}}</u-button></view><u-popup bind:input="__e" vue-id="677934c2-9" mode="bottom" border-radius="30" value="{{studentShow}}" data-event-opts="{{[['^input',[['__set_model',['','studentShow','$event',[]]]]]]}}" class="data-v-8df83678" bind:__l="__l" vue-slots="{{['default']}}"><scroll-view class="student-box data-v-8df83678" scroll-y="{{true}}"><block wx:for="{{studentList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><u-card vue-id="{{('677934c2-10-'+index)+','+('677934c2-9')}}" title="{{item.studentName}}" title-size="32" head-style="{{cardStyle}}" head-border-bottom="{{false}}" show-foot="{{false}}" margin="10px" borderRadius="20" data-event-opts="{{[['^click',[['selectStudent',['$0'],[[['studentList','',index]]]]]]]}}" bind:click="__e" class="data-v-8df83678" bind:__l="__l" vue-slots="{{['body']}}"><view class="student-card data-v-8df83678" slot="body"><view class="class-info-text data-v-8df83678">{{"性别:"+item.sex+"  年龄:"+item.age}}</view></view></u-card></block></scroll-view><u-button vue-id="{{('677934c2-11')+','+('677934c2-9')}}" type="warning" shape="circle" ripple="{{true}}" custom-style="{{$root.a0}}" data-event-opts="{{[['^click',[['goToSubscribelForm']]]]}}" bind:click="__e" class="data-v-8df83678" bind:__l="__l" vue-slots="{{['default']}}">新增学员</u-button></u-popup><u-popup bind:input="__e" vue-id="677934c2-12" mode="bottom" border-radius="30" closeable="{{true}}" value="{{couponShow}}" data-event-opts="{{[['^input',[['__set_model',['','couponShow','$event',[]]]]]]}}" class="data-v-8df83678" bind:__l="__l" vue-slots="{{['default']}}"><scroll-view style="height:300px;margin:30px 0 15px 0;" scroll-y="{{true}}" class="data-v-8df83678"><block wx:if="{{couponList.length}}"><block wx:for="{{couponList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><u-card class="class-card data-v-8df83678" vue-id="{{('677934c2-13-'+index)+','+('677934c2-12')}}" show-head="{{false}}" show-foot="{{false}}" padding="0px" margin="0px 30px 20px 30px" borderRadius="40" data-event-opts="{{[['^click',[['selectCoupon',['$0'],[[['couponList','',index]]]]]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['body']}}"><view class="class-content data-v-8df83678" slot="body"><view class="class-info-img data-v-8df83678"><u-image vue-id="{{('677934c2-14-'+index)+','+('677934c2-13-'+index)}}" width="60px" height="60px" src="{{item.url}}" shape="circle" class="data-v-8df83678" bind:__l="__l"></u-image></view><view class="class-info-content data-v-8df83678"><view class="class-info-label data-v-8df83678">{{item.name+"¥"+item.amount}}</view><view class="class-info-text data-v-8df83678">{{item.typeValue+"  "+item.content}}</view><view class="class-info-text data-v-8df83678">{{item.endDate+"  到期"}}</view></view></view></u-card></block></block><block wx:else><u-empty vue-id="{{('677934c2-15')+','+('677934c2-12')}}" mode="coupon" class="data-v-8df83678" bind:__l="__l"></u-empty></block></scroll-view></u-popup><u-popup bind:input="__e" vue-id="677934c2-16" mode="bottom" border-radius="30" value="{{venueShow}}" data-event-opts="{{[['^input',[['__set_model',['','venueShow','$event',[]]]]]]}}" class="data-v-8df83678" bind:__l="__l" vue-slots="{{['default']}}"><scroll-view class="student-box data-v-8df83678" scroll-y="{{true}}"><block wx:for="{{venueList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><u-card vue-id="{{('677934c2-17-'+index)+','+('677934c2-16')}}" title="{{item.studentName}}" title-size="32" head-style="{{cardStyle}}" head-border-bottom="{{false}}" show-foot="{{false}}" margin="10px" borderRadius="20" data-event-opts="{{[['^click',[['selectVenue',['$0'],[[['venueList','',index]]]]]]]}}" bind:click="__e" class="data-v-8df83678" bind:__l="__l" vue-slots="{{['body']}}"><view class="student-card data-v-8df83678" slot="body"><view class="class-info-text data-v-8df83678">{{item.venueName}}</view></view></u-card></block></scroll-view></u-popup><u-action-sheet vue-id="677934c2-18" list="{{sexList}}" value="{{sexShow}}" data-event-opts="{{[['^click',[['setSex']]],['^input',[['__set_model',['','sexShow','$event',[]]]]]]}}" bind:click="__e" bind:input="__e" class="data-v-8df83678" bind:__l="__l"></u-action-sheet><u-top-tips vue-id="677934c2-19" data-ref="uTips" class="data-v-8df83678 vue-ref" bind:__l="__l"></u-top-tips></view>