123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- <!--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='{{options.userInfo}}'>{{options.vip?options.vip.child_name:options.userInfo.nickName}}</view>
- <button class='section-text-login' wx:if='{{!options.userInfo}}' open-type="getUserInfo" bindgetuserinfo="getUserInfoCtl">授权登陆</button>
- <view data-url='parents/pages/library/library'data-paras='{{({isAdd:0})}}' data-zindex='3' bindtap='navigateTo'>
- <image class=''class='section-icon-address' src='../../../assets/position_black.png'></image>
- <text class='section-text-add' >{{options.vip?options.vip.lname:options.library.league_name}}</text>
- </view>
- </view>
- </view>
- <view>
- <view class='header-images'>
- <image class='header-icon' src='../../../assets/qie_huan.png' wx:if='{{options.userInfo}}' bindtap='toggleSelectVipCtl'></image>
- <image class='header-nologin-icon' src='{{options.vip.img_url?baseImgUrl+options.vip.img_url:"../../../assets/default_headicon.png"}}' style='border:{{options.userInfo?"10rpx solid #00B7FF":""}};' wx:if='{{options.vip}}'></image>
- <image class='header-nologin-icon' src='{{options.userInfo?options.userInfo.avatarUrl:"../../../assets/default_headicon.png"}}' style='border:{{options.userInfo?"10rpx solid #00B7FF":""}};' wx:if='{{!options.vip}}'></image>
- </view>
- </view>
- </view>
- <view class="members-information" wx:if='{{options.vip&&options.userInfo}}'>
- <view class='information-flex'>
- <view class='section-text-members'>会员服务</view>
- <view class='section-text-card'wx:if='{{options.vip.detail}}'>{{options.vip.detail}}{{options.vip.species}}</view>
- <view class='section-text-card'wx:if='{{!options.vip.detail}}'>无服务</view>
- </view>
- <view class='information-two'>
- <view class='section-text-data'wx:if='{{options.vip.end_time}}'>{{options.vip.end_time}}到期</view>
- <image class=''class='section-queem_icon' wx:if='{{options.vip.end_time}}' src='../../../assets/queen.png'></image>
- <image class=''class='section-queem_icon' wx:if='{{!options.vip.end_time}}'src='../../../assets/queen-gary.png'></image>
- </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 class='section-li' wx:if='{{roleList.length>1}}'>
- <view>
- <image class='section-icon' src='../../../assets/qiehuan_icon.png'></image>
- <text class='section-text'>身份切换</text>
- </view>
- <picker bindchange='pickerRoleCtl' value='{{0}}' range='{{roleList}}' class='li-picker'>
- <image class='section-arrow' src='../../../assets/arrow_gray.png'></image>
- </picker>
- </view>
- </view>
- </view>
- <view class='modal-container' wx:if='{{isShowVipModal}}' catchtouchmove='true' bindtap='toggleSelectVipCtl'>
- <view class='modal-wrapper'>
- <scroll-view scroll-y class='modal-list' style="height: {{vipList.length>2?'600rpx':'auto'}};">
- <view class='modal-li' wx:for='{{vipList}}' wx:key='index' data-index='{{index}}' catchtap='selectVipCtl'>
- <view class='modal-row'>
- <image class='modal-image' src='{{item.img_url ? baseImgUrl + item.img_url : "../../../assets/default_headicon.png"}}'></image>
- <view class='modal-text'>{{item.child_name}}</view>
- </view>
- <image class='modal-icon' wx:if='{{index == options.vipIndex}}' src='../../../assets/true_blue.png'></image>
- </view>
- </scroll-view>
- <view class='modal-text-addchild' bindtap='addchildPage'> + 添加孩子</view>
- </view>
- </view>
- </view>
- <template is='footer' data='{{...footerData}}'></template>
- </view>
|