Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mallapp
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
viitto
mallapp
Commits
8264cdb8
Commit
8264cdb8
authored
Mar 30, 2021
by
Mac
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/viitto/mallapp
parents
39ba6e44
7084a48e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
7 deletions
+15
-7
message.vue
pages/blindDate/message.vue
+15
-7
No files found.
pages/blindDate/message.vue
View file @
8264cdb8
<
template
>
<
template
>
<view
class=
"page"
>
<view
class=
"page"
>
<view
v-for=
"(item,index) in listData"
:key=
"index"
>
<view
v-for=
"(item,index) in listData"
:key=
"index"
>
<view
class=
"itemBox"
@
click=
"jumpPage(i
ndex
)"
>
<view
class=
"itemBox"
@
click=
"jumpPage(i
tem.key
)"
>
<view
class=
"avatarBox"
>
<view
class=
"avatarBox"
>
<image
class=
"imgicon"
:src=
"item.imgurl"
mode=
"widthFix"
></image>
<image
class=
"imgicon"
:src=
"item.imgurl"
mode=
"widthFix"
></image>
<u-badge
size=
"mini"
class=
"badge"
:absolute=
"false"
:count=
"item.Num"
></u-badge>
<u-badge
size=
"mini"
class=
"badge"
:absolute=
"false"
:count=
"item.Num"
></u-badge>
...
@@ -16,9 +16,12 @@
...
@@ -16,9 +16,12 @@
{{
item
.
Time
}}
{{
item
.
Time
}}
</view>
</view>
</view>
</view>
<view
class=
"infoTipMsg"
>
<view
class=
"infoTipMsg"
v-if=
"item.Description"
>
{{
item
.
Description
}}
{{
item
.
Description
}}
</view>
</view>
<view
class=
"infoTipMsg"
v-if=
"!item.Description"
>
暂无新消息
</view>
</view>
</view>
</view>
</view>
</view>
</view>
...
@@ -41,15 +44,15 @@
...
@@ -41,15 +44,15 @@
}
}
},
},
methods
:
{
methods
:
{
jumpPage
(
index
){
jumpPage
(
key
){
let
url
=
""
;
let
url
=
""
;
if
(
index
==
0
){
if
(
key
==
"CircleModel"
){
url
=
"/pages/blindDate/circleNews?pageType=1"
url
=
"/pages/blindDate/circleNews?pageType=1"
}
else
if
(
index
==
1
){
}
else
if
(
key
==
"SystemModel"
){
url
=
"/pages/blindDate/systemMsg"
url
=
"/pages/blindDate/systemMsg"
}
else
if
(
index
==
2
){
}
else
if
(
key
==
"PPPlusModel"
){
url
=
"/pages/blindDate/circleNews?pageType=2"
url
=
"/pages/blindDate/circleNews?pageType=2"
}
else
if
(
index
==
3
){
}
else
if
(
key
==
"VisitorModel"
){
url
=
"/pages/blindDate/visitor"
url
=
"/pages/blindDate/visitor"
}
}
uni
.
navigateTo
({
uni
.
navigateTo
({
...
@@ -68,15 +71,20 @@
...
@@ -68,15 +71,20 @@
for
(
let
key
in
res
.
data
){
for
(
let
key
in
res
.
data
){
if
(
key
==
"CircleModel"
){
if
(
key
==
"CircleModel"
){
res
.
data
.
CircleModel
.
imgurl
=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/Blind-quan.png"
res
.
data
.
CircleModel
.
imgurl
=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/Blind-quan.png"
res
.
data
.
CircleModel
.
key
=
"CircleModel"
}
else
if
(
key
==
"PPPlusModel"
){
}
else
if
(
key
==
"PPPlusModel"
){
res
.
data
.
PPPlusModel
.
imgurl
=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/Blind-xitong.png"
res
.
data
.
PPPlusModel
.
imgurl
=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/Blind-xitong.png"
res
.
data
.
PPPlusModel
.
key
=
"PPPlusModel"
}
else
if
(
key
==
"SystemModel"
){
}
else
if
(
key
==
"SystemModel"
){
res
.
data
.
SystemModel
.
imgurl
=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/Blind-ppplus.png"
res
.
data
.
SystemModel
.
imgurl
=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/Blind-ppplus.png"
res
.
data
.
SystemModel
.
key
=
"SystemModel"
}
else
if
(
key
==
"VisitorModel"
){
}
else
if
(
key
==
"VisitorModel"
){
res
.
data
.
VisitorModel
.
imgurl
=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/Blind-fangke.png"
res
.
data
.
VisitorModel
.
imgurl
=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/Blind-fangke.png"
res
.
data
.
VisitorModel
.
key
=
"VisitorModel"
}
}
this
.
listData
.
push
(
res
.
data
[
key
])
this
.
listData
.
push
(
res
.
data
[
key
])
}
}
console
.
log
(
this
.
listData
)
}
}
}
}
);
);
...
...
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