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
445f868e
Commit
445f868e
authored
Sep 21, 2020
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
54ced2e2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
59 additions
and
58 deletions
+59
-58
guidecarGoodsdetails.vue
pages/guidecar/guidecarGoodsdetails.vue
+19
-19
guidercarCommentList.vue
pages/guidecar/guidercarCommentList.vue
+40
-39
No files found.
pages/guidecar/guidecarGoodsdetails.vue
View file @
445f868e
...
...
@@ -177,19 +177,6 @@
>
</u-section>
</view>
<view
class=
"comment"
>
<view
class=
"comment-dao"
style=
"justify-content: space-between;"
>
<view
style=
"display: flex;flex-direction: row;align-items: center;"
>
<u-avatar
:src=
"comments[0].UserPhotoPath"
:size=
"50"
></u-avatar>
<span
style=
'font-size: 14px;color: #000000;width: 200rpx; margin-left: 10px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
font-weight: bold;'
>
{{
comments
[
0
].
UserName
}}
</span>
</view>
<span
style=
'font-size: 12px;color: #AAAAAA;'
>
{{
comments
[
0
].
CommentList
[
0
].
CreateDate
}}
</span>
</view>
<view
class=
"comment-dao"
>
<u-rate
:current=
"comments[0].CommentList[0].CommentScore"
...
...
@@ -200,20 +187,33 @@
size=
"20"
:disabled=
"true"
></u-rate>
<span
style=
'font-size: 11px;color: #565656;margin-left: 15px;'
>
{{
comments
[
0
].
CommentList
[
0
].
CarBrandName
}}
,
{{
comments
[
0
].
CommentList
[
0
].
CarColor
Name
}}
</span>
<span
style=
'font-size: 11px;color: #565656;margin-left: 15px;'
>
导游:
{{
comments
[
0
].
CommentList
[
1
].
Guide
Name
}}
</span>
</view>
<view
class=
"comment-dao"
style=
"padding: 10px 0;"
>
<span>
{{
comments
[
0
].
CommentList
[
0
].
Content
}}
</span>
<span>
{{
comments
[
0
].
CommentList
[
1
].
Content
}}
</span>
</view>
<view
class=
"comment-dao"
style=
"flex-wrap: wrap;"
>
<image
v-for=
"(item, index) in comments[0].CommentList[
0
].CommentImgList"
:key=
"index"
v-for=
"(item, index) in comments[0].CommentList[
1
].CommentImgList"
:key=
"index"
mode=
"aspectFill"
:src=
"item"
:style=
"
{'width':san,'height':san}"
/>
</view>
<view
style=
"width: 100%;height: 1px;background: rgba(0, 0, 0, 0.1);margin: 10px 0;"
></view>
<view
class=
"comment-dao"
style=
"justify-content: space-between;"
>
<view
style=
"display: flex;flex-direction: row;align-items: center;"
>
<u-avatar
:src=
"comments[0].UserPhotoPath"
:size=
"50"
></u-avatar>
<span
style=
'font-size: 14px;color: #000000;width: 200rpx; margin-left: 10px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
font-weight: bold;'
>
{{
comments
[
0
].
UserName
}}
</span>
</view>
<span
style=
'font-size: 12px;color: #AAAAAA;'
>
{{
comments
[
0
].
CommentList
[
0
].
CreateDate
}}
</span>
</view>
<view
class=
"comment-dao"
>
<u-rate
:current=
"comments[0].CommentList[0].CommentScore"
...
...
@@ -224,14 +224,14 @@
size=
"20"
:disabled=
"true"
></u-rate>
<span
style=
'font-size: 11px;color: #565656;margin-left: 15px;'
>
导游:
{{
comments
[
0
].
CommentList
[
1
].
Guide
Name
}}
</span>
<span
style=
'font-size: 11px;color: #565656;margin-left: 15px;'
>
{{
comments
[
0
].
CommentList
[
0
].
CarBrandName
}}
,
{{
comments
[
0
].
CommentList
[
0
].
CarColor
Name
}}
</span>
</view>
<view
class=
"comment-dao"
style=
"padding: 10px 0;"
>
<span>
{{
comments
[
0
].
CommentList
[
1
].
Content
}}
</span>
<span>
{{
comments
[
0
].
CommentList
[
0
].
Content
}}
</span>
</view>
<view
class=
"comment-dao"
style=
"flex-wrap: wrap;"
>
<image
v-for=
"(item, index) in comments[0].CommentList[
1
].CommentImgList"
:key=
"index"
v-for=
"(item, index) in comments[0].CommentList[
0
].CommentImgList"
:key=
"index"
mode=
"aspectFill"
:src=
"item"
:style=
"
{'width':san,'height':san}"
...
...
pages/guidecar/guidercarCommentList.vue
View file @
445f868e
...
...
@@ -29,19 +29,7 @@
:style=
"
{ height: '100%' }"
>
<view
class=
"interDList"
v-for=
"(x, i) in g"
:key=
"i"
>
<view
class=
"comment-dao"
style=
"justify-content: space-between;"
>
<view
style=
"display: flex;flex-direction: row;align-items: center;"
>
<u-avatar
:src=
"x.UserPhotoPath"
:size=
"50"
></u-avatar>
<span
style=
'font-size: 14px;color: #000000;width: 200rpx; margin-left: 10px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
font-weight: bold;'
>
{{
x
.
UserName
}}
</span>
</view>
<span
style=
'font-size: 12px;color: #AAAAAA;'
>
{{
x
.
CommentList
[
0
].
CreateDate
}}
</span>
</view>
<view
class=
"comment-dao"
>
<u-rate
:current=
"x.CommentList[0].CommentScore"
...
...
@@ -52,43 +40,56 @@
size=
"20"
:disabled=
"true"
></u-rate>
<span
style=
'font-size: 11px;color: #565656;margin-left: 15px;'
>
{{
x
.
CommentList
[
0
].
CarBrandName
}}
,
{{
x
.
CommentList
[
0
].
CarColor
Name
}}
</span>
<span
style=
'font-size: 11px;color: #565656;margin-left: 15px;'
>
导游:
{{
x
.
CommentList
[
1
].
Guide
Name
}}
</span>
</view>
<view
class=
"comment-dao"
style=
"padding: 10px 0;"
>
<span>
{{
x
.
CommentList
[
0
].
Content
}}
</span>
<span>
{{
x
.
CommentList
[
1
].
Content
}}
</span>
</view>
<view
class=
"comment-dao"
style=
"flex-wrap: wrap;"
>
<image
v-for=
"(item, index) in x.CommentList[
0
].CommentImgList"
:key=
"index"
v-for=
"(item, index) in x.CommentList[
1
].CommentImgList"
:key=
"index"
mode=
"aspectFill"
:src=
"item"
:style=
"
{'width':san,'height':san}"
/>
</view>
<view
style=
"width: 100%;height: 1px;background: rgba(0, 0, 0, 0.1);margin: 10px 0;"
></view>
<view
class=
"comment-dao"
>
<u-rate
:current=
"x.CommentList[0].CommentScore"
active-color=
"#FF4442"
inactive-color=
"#b2b2b2"
active-icon=
"star"
inactive-icon=
"star-o"
size=
"20"
:disabled=
"true"
></u-rate>
<span
style=
'font-size: 11px;color: #565656;margin-left: 15px;'
>
导游:
{{
x
.
CommentList
[
1
].
GuideName
}}
</span>
</view>
<view
class=
"comment-dao"
style=
"padding: 10px 0;"
>
<span>
{{
x
.
CommentList
[
1
].
Content
}}
</span>
</view>
<view
class=
"comment-dao"
style=
"flex-wrap: wrap;"
>
<image
v-for=
"(item, index) in x.CommentList[1].CommentImgList"
:key=
"index"
mode=
"aspectFill"
:src=
"item"
:style=
"
{'width':san,'height':san}"
/>
</view>
<view
class=
"comment-dao"
style=
"justify-content: space-between;"
>
<view
style=
"display: flex;flex-direction: row;align-items: center;"
>
<u-avatar
:src=
"x.UserPhotoPath"
:size=
"50"
></u-avatar>
<span
style=
'font-size: 14px;color: #000000;width: 200rpx; margin-left: 10px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
font-weight: bold;'
>
{{
x
.
UserName
}}
</span>
</view>
<span
style=
'font-size: 12px;color: #AAAAAA;'
>
{{
x
.
CommentList
[
0
].
CreateDate
}}
</span>
</view>
<view
class=
"comment-dao"
>
<u-rate
:current=
"x.CommentList[0].CommentScore"
active-color=
"#FF4442"
inactive-color=
"#b2b2b2"
active-icon=
"star"
inactive-icon=
"star-o"
size=
"20"
:disabled=
"true"
></u-rate>
<span
style=
'font-size: 11px;color: #565656;margin-left: 15px;'
>
{{
x
.
CommentList
[
0
].
CarBrandName
}}
,
{{
x
.
CommentList
[
0
].
CarColorName
}}
</span>
</view>
<view
class=
"comment-dao"
style=
"padding: 10px 0;"
>
<span>
{{
x
.
CommentList
[
0
].
Content
}}
</span>
</view>
<view
class=
"comment-dao"
style=
"flex-wrap: wrap;"
>
<image
v-for=
"(item, index) in x.CommentList[0].CommentImgList"
:key=
"index"
mode=
"aspectFill"
:src=
"item"
:style=
"
{'width':san,'height':san}"
/>
</view>
</view>
<u-loadmore
:status=
"status"
...
...
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