Commit 66b7a05c authored by youjie's avatar youjie

no message

parent 1948f5fd
...@@ -176,6 +176,7 @@ ...@@ -176,6 +176,7 @@
style="width: 36rpx;height: 35rpx;"></image> style="width: 36rpx;height: 35rpx;"></image>
</view> </view>
</view> </view>
<van-empty description="暂无亲友" v-if="dataList.length === 0" />
</view> </view>
<van-popup <van-popup
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
left: 50rpx; left: 50rpx;
right: 50rpx; right: 50rpx;
top: 0; top: 0;
z-index: 2;
} }
.dataList-header view{ .dataList-header view{
width: 100%; width: 100%;
...@@ -42,10 +43,12 @@ ...@@ -42,10 +43,12 @@
margin-bottom: 40rpx; margin-bottom: 40rpx;
} }
.dataList-form{ .dataList-form{
height: 204rpx; /* height: 204rpx; */
flex-grow: 1; flex-grow: 1;
position: relative; position: relative;
padding: 31rpx 0rpx 0 42rpx; /* padding: 31rpx 0rpx 0 42rpx; */
padding: 0rpx 0rpx 0 42rpx;
margin-bottom: 39rpx;
} }
.dataList-image{ .dataList-image{
width: 177rpx; width: 177rpx;
...@@ -135,37 +138,40 @@ ...@@ -135,37 +138,40 @@
<view class="dataList-content"> <view class="dataList-content">
<view class="title">在读小孩列表</view> <view class="title">在读小孩列表</view>
<view class="text">左滑可删除小孩信息</view> <view class="text">左滑可删除小孩信息</view>
<van-swipe-cell <view v-for="item in 2">
id="swipe-cell" <van-swipe-cell
:right-width="70" id="swipe-cell"
async-close :right-width="70"
:key="index" async-close
@close="onClose"> :key="index"
<view class="dataList-form active"> @close="onClose">
<view class="dataList-image flex"> <view class="dataList-form active">
<image :src="imgBoy?imgBoy:imgGirl" <view class="dataList-image flex">
mode="aspectFill" style="width:101rpx;height:101rpx;"> <image :src="imgBoy?imgBoy:imgGirl"
</image> mode="aspectFill" style="width:101rpx;height:101rpx;">
<text>周启明</text> </image>
</view> <text>周启明</text>
<view class="dataList-center active flex_between_center">
<view class="dataList-left flex">
<text class="left-text">武侯校区</text>
<view class="left-phone">
<van-icon name="phone" color="#919191"></van-icon>
<text>18226665548</text>
</view>
</view> </view>
<view class="dataList-right flex"> <view class="dataList-center active flex_between_center">
<image :src="imgUrlG?imgUrlG:imgUrlR" style="width: 24rpx;height: 24rpx;"></image> <view class="dataList-left flex">
<text>学习中/休学</text> <text class="left-text">武侯校区</text>
<view class="left-phone">
<van-icon name="phone" color="#919191"></van-icon>
<text>18226665548</text>
</view>
</view>
<view class="dataList-right flex">
<image :src="imgUrlG?imgUrlG:imgUrlR" style="width: 24rpx;height: 24rpx;"></image>
<text>学习中/休学</text>
</view>
</view> </view>
</view> </view>
</view> <view slot="right" class="van-swipe-cell__right">
<view slot="right" class="van-swipe-cell__right"> <van-icon name="cross" color="#BCBCBC" size="20" @click.stop="DelData(item)" ></van-icon>
<van-icon name="cross" color="#BCBCBC" size="20" @click.stop="DelData(item)" ></van-icon>
</view> </view>
</van-swipe-cell> </van-swipe-cell>
</view>
<van-empty description="暂无小孩" v-if="dataList.length === 0" /> <van-empty description="暂无小孩" v-if="dataList.length === 0" />
<view v-if="dataList.length > 0"> <view v-if="dataList.length > 0">
<Loadmore :state="pageState" /> <Loadmore :state="pageState" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment