Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
thinkApp
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
游洁
thinkApp
Commits
66b7a05c
Commit
66b7a05c
authored
Sep 26, 2022
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
1948f5fd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
28 deletions
+35
-28
index.vue
src/pages/FriendsAndRelatives/index.vue
+1
-0
index.vue
src/pages/MyChild/index.vue
+34
-28
No files found.
src/pages/FriendsAndRelatives/index.vue
View file @
66b7a05c
...
...
@@ -176,6 +176,7 @@
style=
"width: 36rpx;height: 35rpx;"
></image>
</view>
</view>
<van-empty
description=
"暂无亲友"
v-if=
"dataList.length === 0"
/>
</view>
<van-popup
...
...
src/pages/MyChild/index.vue
View file @
66b7a05c
...
...
@@ -9,6 +9,7 @@
left
:
50
rpx
;
right
:
50
rpx
;
top
:
0
;
z-index
:
2
;
}
.dataList-header
view
{
width
:
100%
;
...
...
@@ -42,10 +43,12 @@
margin-bottom
:
40
rpx
;
}
.dataList-form
{
height
:
204
rpx
;
/* height: 204rpx; */
flex-grow
:
1
;
position
:
relative
;
padding
:
31
rpx
0
rpx
0
42
rpx
;
/* padding: 31rpx 0rpx 0 42rpx; */
padding
:
0
rpx
0
rpx
0
42
rpx
;
margin-bottom
:
39
rpx
;
}
.dataList-image
{
width
:
177
rpx
;
...
...
@@ -135,37 +138,40 @@
<view
class=
"dataList-content"
>
<view
class=
"title"
>
在读小孩列表
</view>
<view
class=
"text"
>
左滑可删除小孩信息
</view>
<van-swipe-cell
id=
"swipe-cell"
:right-width=
"70"
async-close
:key=
"index"
@
close=
"onClose"
>
<view
class=
"dataList-form active"
>
<view
class=
"dataList-image flex"
>
<image
:src=
"imgBoy?imgBoy:imgGirl"
mode=
"aspectFill"
style=
"width:101rpx;height:101rpx;"
>
</image>
<text>
周启明
</text>
</view>
<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
v-for=
"item in 2"
>
<van-swipe-cell
id=
"swipe-cell"
:right-width=
"70"
async-close
:key=
"index"
@
close=
"onClose"
>
<view
class=
"dataList-form active"
>
<view
class=
"dataList-image flex"
>
<image
:src=
"imgBoy?imgBoy:imgGirl"
mode=
"aspectFill"
style=
"width:101rpx;height:101rpx;"
>
</image>
<text>
周启明
</text>
</view>
<view
class=
"dataList-right flex"
>
<image
:src=
"imgUrlG?imgUrlG:imgUrlR"
style=
"width: 24rpx;height: 24rpx;"
></image>
<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
class=
"dataList-right flex"
>
<image
:src=
"imgUrlG?imgUrlG:imgUrlR"
style=
"width: 24rpx;height: 24rpx;"
></image>
<text>
学习中/休学
</text>
</view>
</view>
</view>
</view>
<view
slot=
"right"
class=
"van-swipe-cell__right"
>
<van-icon
name=
"cross"
color=
"#BCBCBC"
size=
"20"
@
click
.
stop=
"DelData(item)"
></van-icon>
<view
slot=
"right"
class=
"van-swipe-cell__right"
>
<van-icon
name=
"cross"
color=
"#BCBCBC"
size=
"20"
@
click
.
stop=
"DelData(item)"
></van-icon>
</view>
</van-swipe-cell>
</view>
<van-empty
description=
"暂无小孩"
v-if=
"dataList.length === 0"
/>
<view
v-if=
"dataList.length > 0"
>
<Loadmore
:state=
"pageState"
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment