1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- <!--pages/studyHouse/studyHouse.wxml-->
- <import src="../../templates/nodata/nodata.wxml" />
- <view class='container'>
- <view class='wrapper'>
- <view class="position-input-container" wx:if='{{leagueAuditStatus==0&&!id}}'>
- <view class="position-input-search">
- <image src="../../image/search.png"></image>
- <input type="text" placeholder="输入校区/地址名称" placeholder-class="position-input-placeholder" value="{{schoolName}}" bindblur="inputCtl"></input>
- </view>
- <!-- <view class="position-input-button" bindtap="cancelInputCtl">取消</view> -->
- </view>
- <view class="position-list">
- <view wx:if='{{id}}'>
- <view class="position-li-info">
- <image class="position-li-title-icon" src="../../image/jie_bang.png"></image>
- <view class="position-li-info-red">已绑定的校区</view>
- <image src="../../image/xiao_qu_shen_he_pass.png" class="position-li-title-img"></image>
- <view>{{leagueName}}</view>
- <view class="position-li-info-school">地址:{{leagueAddress}}</view>
- </view>
- <!-- <view class="position-li" >
- <view class="position-li-row">
- <view class="position-li-name">{{leagueName}}</view> -->
- <!-- <view class="position-li-btn" wx:if='{{schoolList.length>0}}' bindtap="selectShowModel">换学校</view> -->
- <!-- </view>
- <view class="position-li-text">地址:{{leagueAddress}}</view>
- </view> -->
- <view class="position-li-info-btn" data-method='{{({libId:id,unbindLeagueName:leagueName,isCut:1})}}' bindtap='unbind'>解绑</view>
- </view>
- <view class='refuse' wx:if='{{leagueAuditStatus!=0}}'>
- <image src='../../image/xiao_qu_shen_he.png' class='refuse-img' wx:if='{{leagueAuditStatus==1||leagueAuditStatus==2}}'></image>
- <view class='refuse-text'>{{leagueNameAudit}}</view>
- <view wx:if='{{leagueAuditStatus==1}}'>您已选择绑定此校区,等待校长审核</view>
- <view wx:if='{{leagueAuditStatus==2}}' style='color:#FF6465'>您所选择绑定的校区未通过校长的审核</view>
- <view class='refuse-btn' wx:if='{{leagueAuditStatus==2}}' bindtap='againChoose'>重新选择</view>
- </view>
- <view wx:if='{{list.length>0&&!id&&leagueAuditStatus==0}}'>
- <view class="position-li-title">
- <image class="position-li-title-icon-two" src="../../image/address_red.png"></image>
- <text>附近服务校区</text>
- </view>
- <view class="position-li" wx:for="{{list}}" wx:key="index" data-method='{{({libId: item.id,unbindLeagueName:item.leagueName,isCut:2,index})}}' bindtap='{{id?"":"unbind"}}'>
- <view class="position-li-row">
- <view class="position-li-name">{{item.leagueName}}</view>
- <view class="position-li-text" wx:if='{{item.distance!=-1}}'>距离{{item.distance}}km</view>
- </view>
- <view class="position-li-text">地址:{{item.leagueAddress}}</view>
- </view>
- </view>
- </view>
- <!-- 换绑提示 -->
- <view class='showModel' bindtap='allShowModel' catchtouchmove="allShowModel" wx:if='{{hiddenModel}}'></view>
- <view class='model' wx:if='{{hiddenModel}}'>
- <view wx:if='{{isCut==1}}' class='model-items'>
- <view wx:if='{{!isList}}'>是否要解绑此校区?</view>
- <view wx:if='{{isList}}'>
- <view>如果解绑此校区,您在此校区下的服务</view>
- <view wx:for='{{serviceList}}' wx:key='index' style='color:#6085EA;font-size:24rpx;'>
- <text wx:if='{{item.type!=5}}'>{{item.beginDate}}-{{item.endDate}}({{item.name}})</text>
- <text wx:if='{{item.type==5}}'>{{item.name}}</text>
- </view>
- <view>都将失效,是否还要解绑。</view>
- </view>
- <view class='model-list'>
- <view bindtap='unbindCtl'>是</view>
- <view class='model-list-sure' bindtap='allShowModel'>否</view>
- </view>
- </view>
- <view wx:if='{{isCut==2}}'>
- <view class='model-text' >
- <text>是否要绑定到</text>
- <view>{{unbindLeagueName}}</view>
- </view>
- <view class='model-list'>
- <view bindtap='bindVipLib'>是</view>
- <view class='model-list-sure' bindtap='allShowModel'>否</view>
- </view>
- </view>
- </view>
- <!-- 选择学校列表 -->
- <view class='showModel' bindtap='allShowModel' catchtouchmove="allShowModel" wx:if='{{schoolModel}}'></view>
- <view class='school-model' wx:if='{{schoolModel}}'>
- <view class='school-items'>
- <view class='school-items-title'>
- <view>请选择学校</view>
- <view style='color:#FF6465;font-size:30rpx' bindtap='changeSchool'>确定</view>
- </view>
- <view class='school-items-name {{index==schoolIdx?"school-active":""}}' wx:for='{{schoolList}}' wx:key='index' data-idx='{{index}}' bindtap='selectSchool'>
- {{item.schoolName}}
- </view>
- </view>
- </view>
- <template wx:if='{{list.length==0&&leagueAuditStatus==0}}' is='nodata-three'></template>
- </view>
- </view>
|