12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- <!--parents/pages/me/me.wxml-->
- <import src="../../../templates/footer/footer.wxml" />
- <import src="../../../templates/loading/loading.wxml" />
- <view class='container'>
- <template is='loading' wx:if='{{!isLoaded}}'></template>
- <view class='wrapper' wx:else>
- <view class='header'>
- <view class='header-flex'>
- <view>
- <view class='section-text-black'wx:if='{{vipInfo}}'>{{vipInfo.childName}}</view>
- <view>
- <text class='section-text' wx:if='{{vipInfo}}'>{{vipInfo.grade}}-{{vipInfo.school}}</text>
- </view>
- <view class='shipping-phone' bindtap='callGetPhone' data-getPhone='{{callGetPhone}}'>
- <image class='phone-icon' src='../../../assets/phoneicon.png'></image>
- <text class='phone-num'>{{callGetPhone}}</text>
- </view>
- </view>
- </view>
- <view>
- <view class='header-images'>
- <image class='header-nologin-icon' src='{{vipInfo.imgUrl ? baseImgUrl + vipInfo.imgUrl : "../../../assets/default_headicon.png"}}'></image>
- </view>
- </view>
- </view>
- <view class="members-information" wx:for='{{vipInfo.list}}' wx:key='index' data-index='{{index}}'>
- <view class='information-flex'>
- <view class='section-text-members' wx:if='{{item.state ==1}}'>{{item.detail}}({{item.vipNo}})</view>
- <view class='section-text-members-gary' wx:if='{{item.state ==2}}'>{{item.detail}}({{item.vipNo}})</view>
- <view class='section-text-card'>有效期为{{item.startTime}}-{{item.endTime}}</view>
- </view>
- <view class='information-flexs'>
- <view class='section-text-pastdata' wx:if='{{item.state ==1}}' data-startTime='{{item.startTime}}' data-endTime='{{item.endTime}}' data-childId='{{item.id}}' bindtap='toggleSelectVipCtl'>修改</view>
- <view class='section-text-data' wx:if='{{item.state ==2}}'>已过期</view>
- </view>
- </view>
- <view class='section'>
- <view class='section-list'>
- <view class='section-li' wx:for='{{routerTwo}}' wx:key='index' data-index='{{index}}' bindtap='selectRouteCtl'>
- <view>
- <image class='section-icon' src='{{item.icon}}'></image>
- <text class='section-text'>{{item.text}}</text>
- </view>
- <image class='section-arrow' src='../../../assets/arrow_gray.png'></image>
- </view>
- </view>
- </view>
- <!-- 添加服务弹幕 -->
- <view class='showModel' bindtap='allShowModel' catchtouchmove="allShowModel" wx:if='{{isShowVipModal}}'></view>
- <view class='model-show' wx:if='{{isShowVipModal}}'>
- <view class='model-list'>
- <view class='model-topic'>修改会员服务有效期</view>
- <view class='head-item'>
- <view class="picker-day">激活时间</view>
- <picker class="picker" mode="date" disabled="true" fields="month" value="{{starttime}}" start="2017-10" end="2097-10" bindchange="changeDate">
- <view class='head-month'>
- <text>{{starttime}}</text>
- <image class='section-select' ></image>
- </view>
- </picker>
- </view>
-
- <view class='head-item'>
- <view class="picker-day">到期时间</view>
- <picker class="picker" mode="date" fields="day" value="{{endTime}}" start="2017-10-1" end="2097-10-1" bindchange="changeDate">
- <view class='head-month'>
- <text>{{endTime}}</text>
- <image class='section-select' src='../../../assets/selecticon.png'></image>
- </view>
- </picker>
- </view>
- </view>
- <view class='model-list-footer'>
- <view class='model-list-footer-cancel' bindtap='allShowModel'>取消</view>
- <view class='model-list-footer-sure' bindtap='trueBookCtl'>确定</view>
- </view>
-
- </view>
- </view>
- <template is='footer' data='{{...footerData}}'></template>
- </view>
|