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
4cff9d3d
Commit
4cff9d3d
authored
Sep 27, 2022
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
a4d3eb16
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
9 deletions
+23
-9
erp.js
src/api/erp.js
+12
-0
index.vue
src/pages/FriendsAndRelatives/index.vue
+11
-9
No files found.
src/api/erp.js
View file @
4cff9d3d
...
...
@@ -177,4 +177,16 @@ export function GetOrderPage(data) {
method
:
'post'
,
data
})
}
/**
* 获取我的亲友
* @param {JSON参数} data
*/
export
function
GetFriend
(
data
)
{
return
request
({
url
:
'/AppletCenter/GetFriend'
,
method
:
'post'
,
data
})
}
\ No newline at end of file
src/pages/FriendsAndRelatives/index.vue
View file @
4cff9d3d
...
...
@@ -133,6 +133,9 @@
text-align
:
center
;
margin-bottom
:
20
rpx
;
}
/
deep
/
.van-empty
{
padding
:
0
;
}
</
style
>
<
template
>
<view
class=
"FriendsAndRelatives pages"
>
...
...
@@ -165,13 +168,13 @@
<view
class=
"FriendsAndRelatives-content"
>
<view
class=
"title"
>
已邀请的亲友
</view>
<view
class=
"text"
>
随时电话联系哟
</view>
<view
class=
"FriendsAndRelatives-list flex_between_center"
v-for=
"
item in 2
"
>
<view
class=
"FriendsAndRelatives-list flex_between_center"
v-for=
"
(item,index) in dataList"
:key=
"index
"
>
<view
class=
"list-left flex"
>
<view
class=
"left-text flex"
>
<text>
爷爷
</text>
<
view>
(18225556648)
</view
>
<text>
{{
item
.
WeChatName
}}
</text>
<
!--
<view>
(18225556648)
</view>
--
>
</view>
<text
class=
"left-time"
>
最后登录时间:2022-09-23 14:10
</text>
<text
class=
"left-time"
>
加入时间:
{{
item
.
CreateTime
}}
</text>
</view>
<view
class=
"list-right"
>
<image
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Test/Upload/Goods/1664164166000_196.png"
...
...
@@ -213,7 +216,7 @@
import
Loadmore
from
"../../components/loadmore.vue"
;
import
bottom
from
"../../components/bottom"
;
import
{
Get
OrderPage
Get
Friend
}
from
"../../api/erp"
;
export
default
{
components
:
{
...
...
@@ -231,8 +234,7 @@
showPopup
:
false
,
msg
:
{
pageIndex
:
1
,
pageSize
:
10
,
OrderType
:
1
pageSize
:
10
},
dataList
:
[],
imgUrlG
:
'https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Test/Upload/Goods/1663930765000_891.png'
,
...
...
@@ -276,7 +278,7 @@
},
async
getData
()
{
uni
.
showLoading
()
let
res
=
await
Get
OrderPage
(
data
.
msg
);
let
res
=
await
Get
Friend
(
data
.
msg
);
if
(
res
)
{
uni
.
hideLoading
()
if
(
data
.
timer
)
data
.
timer
=
null
;
...
...
@@ -307,7 +309,7 @@
this
.
FriendCount
=
options
.
FriendCount
},
onShow
(){
this
.
getData
()
},
onReachBottom
()
{
...
...
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