12345678910111213141516171819202122232425262728293031323334353637 |
- <!--pages/childList/childList.wxml-->
- <view class='container'>
- <view class='wrapper'>
- <view class='li'>
- <view class='li-items {{index==parentVipLiIdx?"li-items-active":""}}' wx:for='{{parentVipList}}' wx:key='index' data-index='{{index}}'>
- <view class='li-items-imgList'>
- <view class='li-items-imgList'>
- <image class='li-items-img' data-url='kids_information' data-add="1" data-method='{{({vipId: parentVipList[index].vipId,derver:parentVipList[index].derver,childIndex:index,isMain:item.isMain})}}' bindtap='navigateCtl' src="{{item.imgUrl?(baseImgUrl + item.imgUrl):'../../image/default_headicon2.png'}}"></image>
- <!-- <image class='li-items-tips-img' wx:if='{{index==parentVipLiIdx}}' src='../../image/select_biao_ji.png'></image> -->
- </view>
- <view class='li-items-names'>{{item.childName}}</view>
- </view>
-
- <view class='li-items-footer'>
- <image class='li-items-footer-img' src='../../image/camera_sure.png' wx:if='{{index==parentVipLiIdx}}'></image>
- <image class='li-items-footer-img' src='../../image/qie_huan.png' wx:if='{{index!=parentVipLiIdx}}' data-index='{{index}}' bindtap='modalInfo'></image>
- </view>
-
- </view>
- <!-- 添加孩子 data-add="1" -->
- <view class='li-add' data-url='kids_information' data-method="{{({isMain:1,isAddChild:1,type:1})}}" bindtap='navigateCtl'>
- <text class='li-items-add'>+ </text>
- <text>添加孩子</text>
- </view>
- </view>
- <view class='showModel' bindtap='allShowModel' catchtouchmove="allShowModel" wx:if='{{hiddenModel}}'></view>
- <view class='model' wx:if='{{hiddenModel}}'>
- <view class='model-text' bindtap='sureCheckChildren'>确定要切换到{{parentVipList[childIndex].childName}}吗</view>
- <view class='model-list'>
- <view bindtap='allShowModel'>取消</view>
- <view class='model-list-sure' bindtap='checkActChildCtl'>确定</view>
- </view>
- </view>
- </view>
- </view>
|