Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
repair_workers_h5
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
石盼盼
repair_workers_h5
Commits
de28c1ad
Commit
de28c1ad
authored
Aug 30, 2021
by
石盼盼
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'spp' into 'master'
Spp See merge request
!6
parents
f8ef0a02
681e8318
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
105 additions
and
7 deletions
+105
-7
lookEvaluate.scss
src/assets/styles/my/lookEvaluate.scss
+36
-0
index.js
src/router/index.js
+9
-0
charge.vue
src/views/my/charge.vue
+11
-7
lookEvaluate.vue
src/views/my/lookEvaluate.vue
+49
-0
No files found.
src/assets/styles/my/lookEvaluate.scss
0 → 100644
View file @
de28c1ad
@import
"../global.scss"
;
.cont
{
min-height
:
100vh
;
background
:
#f7f7f7
;
padding-top
:
0
.2rem
;
}
.evaluate-cont
{
width
:
100%
;
background
:
#fff
;
padding
:
0
.4rem
0
.3rem
;
}
.evaluate-cont
.title
{
color
:
#000000
;
font-size
:
0
.3rem
;
margin-bottom
:
0
.3rem
;
}
.evaluate-cont
.eva_detail
{
color
:
#000000
;
font-size
:
0
.3rem
;
margin-top
:
0
.6rem
;
margin-bottom
:
0
.4rem
;
}
.star-item
{
margin-bottom
:
0
.6rem
;
}
.left_title
{
color
:
#727272
;
font-size
:
0
.3rem
;
margin-right
:
0
.3rem
;
}
.line
{
width
:
6
.9rem
;
height
:
1px
;
background
:
#F1F1F1
;
margin-bottom
:
0
.4rem
;
}
\ No newline at end of file
src/router/index.js
View file @
de28c1ad
...
...
@@ -53,6 +53,15 @@ const routes = [
hideBack
:
true
},
component
:
()
=>
import
(
'
@/views/my/charge.vue
'
)
},
{
path
:
'
/lookEvaluate
'
,
name
:
'
lookEvaluate
'
,
meta
:
{
title
:
'
查看评价
'
,
hideBack
:
true
},
component
:
()
=>
import
(
'
@/views/my/lookEvaluate.vue
'
)
}
]
...
...
src/views/my/charge.vue
View file @
de28c1ad
...
...
@@ -62,7 +62,7 @@
</div>
<div
class=
"item flex-h flex-vc"
>
<div
class=
"title_left"
>
耗材个数
</div>
<input
type=
"number"
placeholder=
"请输入"
v-model=
"item.sl"
@
input=
"changeInput($event)"
/>
<input
type=
"number"
placeholder=
"请输入"
v-model=
"item.sl"
@
input=
"changeInput($event
,index
)"
/>
</div>
<div
class=
"item flex-h flex-vc"
>
<div
class=
"title_left"
>
耗材价格
</div>
...
...
@@ -200,7 +200,14 @@ export default {
this
.
addList
[
index
].
mcSelect
=
false
console
.
log
(
'
家对的被动方法
'
,
this
.
addList
[
index
].
price
);
// this.total_price = this.addList[index].price
this
.
hc_price
=
value
.
price
this
.
hc_price
=
this
.
addList
[
index
].
price
this
.
total_price
=
this
.
hc_number
*
this
.
hc_price
},
changeInput
(
e
,
index
){
console
.
log
(
'
啊啊啊啊
'
,
e
);
console
.
log
(
'
哎哎哎哎哎哎
'
,
index
);
this
.
hc_number
=
e
.
target
.
value
this
.
total_price
=
this
.
hc_number
*
this
.
hc_price
},
hcCancel
(
index
)
{
this
.
addList
[
index
].
mcSelect
=
false
...
...
@@ -219,10 +226,7 @@ export default {
console
.
log
(
'
删除的项
'
,
index
);
this
.
addList
.
splice
(
index
,
1
)
},
changeInput
(
e
){
this
.
hc_number
=
e
.
target
.
value
this
.
total_price
=
this
.
hc_number
*
this
.
hc_price
},
launch
(
id
){
console
.
log
(
'
东西啊啊
'
,
this
.
addList
[
0
].
sl
);
const
curParams
=
{
...
...
src/views/my/lookEvaluate.vue
0 → 100644
View file @
de28c1ad
<
template
>
<div
class=
"cont"
>
<div
class=
"evaluate-cont"
>
<div
class=
"title"
>
整体评价
</div>
<van-rate
readonly
void-icon=
"star"
v-model=
"totalStar"
void-color=
"#eee"
color=
"#FFA300"
/>
<div
class=
"eva_detail"
>
详细评价
</div>
<div
class=
"flex-h star-item"
>
<div
class=
"left_title"
>
速度
</div>
<van-rate
readonly
void-icon=
"star"
v-model=
"speedStar"
void-color=
"#eee"
color=
"#FFA300"
/>
</div>
<div
class=
"flex-h star-item"
>
<div
class=
"left_title"
>
质量
</div>
<van-rate
readonly
void-icon=
"star"
v-model=
"qualityStar"
void-color=
"#eee"
color=
"#FFA300"
/>
</div>
<div
class=
"flex-h star-item"
>
<div
class=
"left_title"
>
态度
</div>
<van-rate
readonly
void-icon=
"star"
v-model=
"attitudeStar"
void-color=
"#eee"
color=
"#FFA300"
/>
</div>
<div
class=
"line"
></div>
<div
class=
"comments"
>
<div
class=
"title"
>
评价内容
</div>
</div>
</div>
</div>
</
template
>
<
script
>
export
default
{
data
(){
return
{
totalStar
:
4
,
speedStar
:
2
,
qualityStar
:
3
,
attitudeStar
:
1
,
}
},
methods
:
{
onChange
(
event
)
{
this
.
setData
({
value
:
event
.
detail
,
});
},
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
@import
"@assets/styles/my/lookEvaluate.scss"
;
</
style
>
\ No newline at end of file
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