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
13db9de5
Commit
13db9de5
authored
Jan 12, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
fbff1f34
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
38 additions
and
16 deletions
+38
-16
friendcircle.vue
pages/friendcircle/friendcircle.vue
+21
-6
medynamic.vue
pages/friendcircle/medynamic.vue
+4
-7
mydetails.vue
pages/friendcircle/mydetails.vue
+13
-3
No files found.
pages/friendcircle/friendcircle.vue
View file @
13db9de5
...
...
@@ -322,7 +322,7 @@
<view
class=
"areagood"
v-if=
" x.commentList.length>0"
>
<u-icon
name=
"comment-o"
:size=
"30"
color=
"#737373"
style=
'margin-top: 2px;'
></u-icon>
<view
class=
"areagood-r"
>
<view
v-for=
"(item, iq) in x.commentList"
:key=
"iq"
style=
"width: 100%;margin-bottom: 7px;"
@
click=
"huifu(x,i,item,iq)"
>
<view
v-for=
"(item, iq) in x.commentList"
:key=
"iq"
style=
"width: 100%;margin-bottom: 7px;"
@
click=
"huifu(x,i,item,iq)"
@
longpress=
'longpress(x,i,item,iq)'
>
<view
class=
"text comment-list"
>
{{
item
.
empName
}}
<text
style=
"color: #333333;margin: 0 3px;"
v-if=
"item.byReplayEmpId>0"
>
回复
</text>
...
...
@@ -337,10 +337,11 @@
</view>
</view>
</view>
<u-loadmore
:status=
"status"
:load-text=
"loadText"
:font-size=
"24"
:margin-top=
"20"
:margin-bottom=
"20"
bg-color=
"#FFF"
/>
<u-loadmore
:status=
"status"
:load-text=
"loadText"
:font-size=
"24"
:margin-top=
"20"
:margin-bottom=
"20"
bg-color=
"#FFF"
/>
<view
style=
"width: 100%;height: 60px;"
></view>
</scroll-view>
<!-- 输入框 -->
<view
class=
"comment"
v-if=
"focu==true"
:style=
"
{'bottom':'5px'}"
>
<view
class=
"comment"
v-if=
"focu==true"
>
<input
type=
"text"
v-model=
"commentMsg.Content"
:placeholder=
'placeholder'
class=
"commentinput"
:focus=
'focu'
@
focus=
'getfocus'
@
keyboardheightchange=
'keyboardheight'
>
<view
class=
"comment-pl"
:style=
"
{background:mainColor}" @click="addComment">评论
</view>
</view>
...
...
@@ -362,16 +363,19 @@
</view>
</u-popup>
</view>
</view>
<tabbar></tabbar>
</div>
</
template
>
<
script
>
const
innerAudioContext
=
uni
.
createInnerAudioContext
();
import
auth
from
"../../components/auth/index.vue"
;
import
auth
from
"../../components/auth/index.vue"
;
import
tabbar
from
"@/components/tabbar/index"
;
export
default
{
components
:
{
auth
,
auth
,
tabbar
},
data
()
{
return
{
...
...
@@ -627,6 +631,17 @@
this
.
g
[
this
.
dianindex
].
dianshow
=
false
;
},
longpress
(
x
,
i
,
item
,
iq
){
if
(
x
.
createEmpId
==
this
.
msg
.
UserId
){
this
.
user
=
{
x
:
x
,
i
:
i
,
item
:
item
,
iq
:
iq
,
}
this
.
show
=
true
}
},
huifu
(
x
,
i
,
item
,
iq
){
this
.
user
=
{
x
:
x
,
...
...
pages/friendcircle/medynamic.vue
View file @
13db9de5
...
...
@@ -69,12 +69,8 @@
{{
x
.
createEmName
}}
</view>
<view
v-if=
"x.realtionType==1"
>
<view>
{{
x
.
replyName
==
''
?
'回复了'
:
'评论了'
}}
<text
class=
"text"
style=
"margin-left: 3px;"
>
{{
x
.
replyName
}}
</text></view>
<view
style=
"overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 4;
-webkit-box-orient: vertical;"
>
<view>
{{
x
.
replyName
!=
''
?
'回复了'
:
'评论了'
}}
<text
class=
"text"
style=
"margin-left: 3px;"
>
{{
x
.
replyName
}}
</text></view>
<view
style=
""
>
{{
x
.
commentContent
}}
</view>
</view>
...
...
@@ -84,7 +80,8 @@
<view
style=
"font-size: 11px;color: #B0B0B0;"
>
{{
x
.
createTime
}}
</view>
</view>
<view
class=
"ftBox-right"
>
<view
class=
"ftBox-right-text"
style=
"padding: 6px;"
v-if=
"x.fileType==0"
>
<view
class=
"ftBox-right-text"
style=
"padding: 6px;overflow: hidden;
"
v-if=
"x.fileType==0"
>
{{
x
.
content
}}
</view>
<view
class=
"ftBox-right-text"
v-if=
"x.fileType==1"
>
...
...
pages/friendcircle/mydetails.vue
View file @
13db9de5
...
...
@@ -279,7 +279,7 @@
<view
class=
"areagood"
v-if=
" detial.commentList.length>0"
>
<u-icon
name=
"comment-o"
:size=
"30"
color=
"#737373"
style=
'margin-top: 2px;'
></u-icon>
<view
class=
"areagood-r"
>
<view
v-for=
"(item, iq) in detial.commentList"
:key=
"iq"
style=
"width: 100%;margin-bottom: 7px;"
@
click
.
stop=
"huifu(detial,item,iq)"
>
<view
v-for=
"(item, iq) in detial.commentList"
:key=
"iq"
style=
"width: 100%;margin-bottom: 7px;"
@
click
.
stop=
"huifu(detial,item,iq)"
@
longpress=
'longpress(detial,item,iq)'
>
<view
class=
"text comment-list"
>
{{
item
.
empName
}}
<text
style=
"color: #333333;margin: 0 3px;"
v-if=
"item.byReplayEmpId>0"
>
回复
</text>
...
...
@@ -295,8 +295,8 @@
</view>
</view>
<!-- 输入框 -->
<view
class=
"comment"
:style=
"
{'bottom':'5px'}"
>
<input
type=
"text"
v-model=
"commentMsg.Content"
:placeholder=
'placeholder'
class=
"commentinput"
:focus=
'focu'
@
focus=
'getfocus'
>
<view
class=
"comment"
>
<input
type=
"text"
v-model=
"commentMsg.Content"
:placeholder=
'placeholder'
class=
"commentinput"
:focus=
'focu'
@
focus=
'getfocus'
>
<view
class=
"comment-pl"
:style=
"
{background:mainColor}" @click.stop="addComment">评论
</view>
</view>
...
...
@@ -445,6 +445,16 @@
}
);
},
longpress
(
x
,
item
,
iq
){
if
(
x
.
createEmpId
==
this
.
UserId
){
this
.
user
=
{
x
:
x
,
item
:
item
,
iq
:
iq
,
}
this
.
show
=
true
}
},
huifu
(
x
,
item
,
iq
){
this
.
user
=
{
x
:
x
,
...
...
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