Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jz_Travel
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
zhengke
jz_Travel
Commits
6ee393de
Commit
6ee393de
authored
May 23, 2025
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化
parent
06caa4c5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
24 deletions
+36
-24
EvaluationDetail.vue
pages/jiuzhai/EvaluationDetail.vue
+14
-2
jz_LineDetail.vue
pages/jiuzhai/jz_LineDetail.vue
+22
-22
No files found.
pages/jiuzhai/EvaluationDetail.vue
View file @
6ee393de
...
@@ -72,7 +72,13 @@
...
@@ -72,7 +72,13 @@
class=
"EvaluationDetailFixed"
class=
"EvaluationDetailFixed"
:style=
"[titleStyle]"
>
:style=
"[titleStyle]"
>
<view
class=
"EvaluationDetail-types-box"
>
<view
class=
"EvaluationDetail-types-box"
>
<view
style=
"padding: 0 80rpx;"
class=
"row justify-between"
>
<view
style=
"padding: 0 80rpx;"
class=
"row"
:class=
"{
'justify-start': titles.length==1,
'justify-evenly': titles.length==2,
'justify-around': titles.length==3,
'justify-between': titles.length==4,
}"
>
<view
class=
"EvaluationDetail-types-text row"
v-for=
"(item,index) in titles"
:key=
"index"
<view
class=
"EvaluationDetail-types-text row"
v-for=
"(item,index) in titles"
:key=
"index"
:class=
"[fatherType==item.type?'active':'']"
:class=
"[fatherType==item.type?'active':'']"
@
click=
"fatherClick(item)"
>
@
click=
"fatherClick(item)"
>
...
@@ -100,7 +106,13 @@
...
@@ -100,7 +106,13 @@
</view>
</view>
<view>
<view>
<view
class=
"EvaluationDetail-types-box"
>
<view
class=
"EvaluationDetail-types-box"
>
<view
style=
"padding: 0 40rpx;"
class=
"row justify-between"
>
<view
style=
"padding: 0 40rpx;"
class=
"row"
:class=
"{
'justify-start': titles.length==1,
'justify-evenly': titles.length==2,
'justify-around': titles.length==3,
'justify-between': titles.length==4,
}"
>
<view
class=
"EvaluationDetail-types-text row"
v-for=
"(item,index) in titles"
:key=
"index"
<view
class=
"EvaluationDetail-types-text row"
v-for=
"(item,index) in titles"
:key=
"index"
:class=
"[fatherType==item.type?'active':'']"
:class=
"[fatherType==item.type?'active':'']"
@
click=
"fatherClick(item)"
>
@
click=
"fatherClick(item)"
>
...
...
pages/jiuzhai/jz_LineDetail.vue
View file @
6ee393de
...
@@ -1893,27 +1893,27 @@
...
@@ -1893,27 +1893,27 @@
}
}
}
}
for
(
let
x
=
0
;
x
<
this
.
commentTypes
.
length
;
x
++
){
//
for(let x = 0; x < this.commentTypes.length; x++)
{
let
obj
=
this
.
commentTypes
[
x
]
//
let obj = this.commentTypes[x]
let
list
=
this
.
Infor
.
filter
(
item
=>
item
.
commentType
==
obj
.
commentType
)
//
let list = this.Infor.filter(item=> item.commentType == obj.commentType )
if
(
list
.
length
==
0
){
//
if(list.length==0)
{
let
types
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
types
))
//
let types = JSON.parse(JSON.stringify(this.types))
if
(
obj
.
commentType
==
1
){
//
if(obj.commentType==1)
{
types
.
commentType
=
1
//
types.commentType = 1
types
.
commentName
=
'酒店'
//
types.commentName = '酒店'
}
else
if
(
obj
.
commentType
==
2
){
//
}
else
if
(
obj
.
commentType
==
2
){
types
.
commentType
=
2
//
types.commentType = 2
types
.
commentName
=
'餐食'
//
types.commentName = '餐食'
}
else
if
(
obj
.
commentType
==
3
){
//
}
else
if
(
obj
.
commentType
==
3
){
types
.
commentType
=
3
//
types.commentType = 3
types
.
commentName
=
'景点'
//
types.commentName = '景点'
}
else
if
(
obj
.
commentType
==
4
){
//
}
else
if
(
obj
.
commentType
==
4
){
types
.
commentType
=
4
//
types.commentType = 4
types
.
commentName
=
'用车'
//
types.commentName = '用车'
}
//
}
this
.
Infor
.
push
(
types
)
//
this.Infor.push(types)
}
//
}
}
//
}
ScoreTotal
=
ScoreTotal
/
this
.
commentList
.
length
ScoreTotal
=
ScoreTotal
/
this
.
commentList
.
length
this
.
ScoreTotal
=
ScoreTotal
.
toFixed
(
1
)
this
.
ScoreTotal
=
ScoreTotal
.
toFixed
(
1
)
...
@@ -3233,7 +3233,7 @@
...
@@ -3233,7 +3233,7 @@
font
-
weight
:
400
;
font
-
weight
:
400
;
font
-
size
:
28
rpx
;
font
-
size
:
28
rpx
;
color
:
#
080
A0A
;
color
:
#
080
A0A
;
line
-
height
:
4
2
rpx
;
line
-
height
:
4
9
rpx
;
overflow
:
hidden
;
overflow
:
hidden
;
display
:
-
webkit
-
box
;
display
:
-
webkit
-
box
;
-
webkit
-
box
-
orient
:
vertical
;
-
webkit
-
box
-
orient
:
vertical
;
...
...
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