Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
thinkApp
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
游洁
thinkApp
Commits
8843958a
Commit
8843958a
authored
Jun 01, 2022
by
罗超
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/youjie/thinkapp
parents
be2effe7
c739cb7a
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
450 additions
and
21 deletions
+450
-21
JobComponents.vue
src/components/index/JobComponents.vue
+1
-1
commentsComponents.vue
src/components/index/commentsComponents.vue
+1
-1
examComponents.vue
src/components/index/examComponents.vue
+1
-2
analysisTest.vue
src/components/index/scoreDetails/analysisTest.vue
+3
-3
examDetailsComponents.vue
src/components/index/scoreDetails/examDetailsComponents.vue
+2
-1
addComment.vue
src/components/setComments/addComment.vue
+0
-0
rulesPopup.vue
src/components/setComments/rulesPopup.vue
+21
-5
setComments.vue
src/components/setComments/setComments.vue
+1
-1
sregionslider.vue
src/components/sregionslider/sregionslider.vue
+376
-0
examDetails.vue
src/pages/index/examDetails.vue
+26
-6
commentRulesList.vue
src/pages/setComments/commentRulesList.vue
+18
-1
No files found.
src/components/index/JobComponents.vue
View file @
8843958a
...
@@ -308,6 +308,6 @@
...
@@ -308,6 +308,6 @@
}
}
.JobComponents-box
{
.JobComponents-box
{
/* background: #FFFFFF; */
}
}
</
style
>
</
style
>
src/components/index/commentsComponents.vue
View file @
8843958a
...
@@ -157,6 +157,6 @@
...
@@ -157,6 +157,6 @@
}
}
.CommentsComponents-box
{
.CommentsComponents-box
{
background
:
#FFFFFF
;
}
}
</
style
>
</
style
>
src/components/index/examComponents.vue
View file @
8843958a
...
@@ -228,7 +228,7 @@
...
@@ -228,7 +228,7 @@
.examComponents-center-box
::after
{
/* div是你需要添加背景图片的盒子*/
.examComponents-center-box
::after
{
/* div是你需要添加背景图片的盒子*/
content
:
""
;
content
:
""
;
background-image
:
url(https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Test/Upload/Goods/1654062518000_33.png)
;
/* background-image: url(https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Test/Upload/Goods/1654062518000_33.png); */
background-position
:
right
20
rpx
top
43
rpx
;
background-position
:
right
20
rpx
top
43
rpx
;
background-size
:
74
rpx
auto
;
background-size
:
74
rpx
auto
;
background-repeat
:
no-repeat
;
background-repeat
:
no-repeat
;
...
@@ -265,7 +265,6 @@
...
@@ -265,7 +265,6 @@
}
}
.examComponents-box
{
.examComponents-box
{
background
:
#FFFFFF
;
margin-top
:
30
rpx
;
margin-top
:
30
rpx
;
}
}
</
style
>
</
style
>
src/components/index/scoreDetails/analysisTest.vue
View file @
8843958a
...
@@ -16,9 +16,9 @@
...
@@ -16,9 +16,9 @@
<td
class=
"analysisTest-td"
style=
"min-width: 56rpx;"
:style=
"
{'min-width':(item.KnowledgePoint.length*20+20)+'rpx'}" v-for="(item,index) in ScoreList" :key="index">
<td
class=
"analysisTest-td"
style=
"min-width: 56rpx;"
:style=
"
{'min-width':(item.KnowledgePoint.length*20+20)+'rpx'}" v-for="(item,index) in ScoreList" :key="index">
<view
class=
"analysisTest-number"
>
{{
item
.
Sort
}}
</view>
<view
class=
"analysisTest-number"
>
{{
item
.
Sort
}}
</view>
<view
class=
"analysisTest-difficulty"
>
<view
class=
"analysisTest-difficulty"
>
<
view
v-if=
"item.Difficulty == '易'"
><van-icon
name=
"star"
v-for=
"(s,i) in 1"
:key=
"i"
/></view
>
<
template
v-if=
"item.Difficulty == '易'"
><van-icon
name=
"star"
v-for=
"(s,i) in 1"
:key=
"i"
/></
template
>
<
view
v-else-if=
"item.Difficulty == '中'"
><van-icon
name=
"star"
v-for=
"(s,i) in 2"
:key=
"i"
/></view
>
<
template
v-else-if=
"item.Difficulty == '中'"
><van-icon
name=
"star"
v-for=
"(s,i) in 2"
:key=
"i"
/></
template
>
<
view
v-else-if=
"item.Difficulty == '难'"
><van-icon
name=
"star"
v-for=
"(s,i) in 3"
:key=
"i"
/></view
>
<
template
v-else-if=
"item.Difficulty == '难'"
><van-icon
name=
"star"
v-for=
"(s,i) in 3"
:key=
"i"
/></
template
>
</view>
</view>
<view
class=
"analysisTest-KnowledgePoint"
>
{{item.KnowledgePoint}}
</view>
<view
class=
"analysisTest-KnowledgePoint"
>
{{item.KnowledgePoint}}
</view>
<view
class=
"analysisTest-ScoreOne"
>
{{item.QScore}}
</view>
<view
class=
"analysisTest-ScoreOne"
>
{{item.QScore}}
</view>
...
...
src/components/index/scoreDetails/examDetailsComponents.vue
View file @
8843958a
...
@@ -223,9 +223,10 @@
...
@@ -223,9 +223,10 @@
position
:
relative
;
position
:
relative
;
}
}
.examDetailsComponents-time
text
{
.examDetailsComponents-time
text
{
width
:
50
rpx
;
font-size
:
20
rpx
;
font-size
:
20
rpx
;
font-weight
:
bold
;
font-weight
:
bold
;
white-space
:
no
wrap
;
white-space
:
wrap
;
margin-top
:
18
rpx
;
margin-top
:
18
rpx
;
margin-left
:
4
rpx
;
margin-left
:
4
rpx
;
}
}
...
...
src/components/setComments/addComment.vue
deleted
100644 → 0
View file @
be2effe7
src/components/setComments/rulesPopup.vue
View file @
8843958a
...
@@ -9,7 +9,8 @@
...
@@ -9,7 +9,8 @@
<view
class=
"rulesPopup-RuleSettings"
>
<view
class=
"rulesPopup-RuleSettings"
>
<text
class=
"RuleSettings-title"
>
规则设置
</text>
<text
class=
"RuleSettings-title"
>
规则设置
</text>
<view
class=
"RuleSettings-slider"
>
<view
class=
"RuleSettings-slider"
>
<van-slider
v-model=
"valueNum"
range
@
change=
"onChange"
/>
<sRegionSlider
:minValue=
"minValue"
:maxValue=
"maxValue"
:step=
"1"
@
up=
"up"
@
down=
"down"
@
move=
"move"
/>
</view>
</view>
</view>
</view>
</view>
</view>
...
@@ -24,6 +25,7 @@
...
@@ -24,6 +25,7 @@
</view>
</view>
</
template
>
</
template
>
<
script
>
<
script
>
import
sRegionSlider
from
'@/components/sregionslider/sregionslider'
import
{
import
{
ref
,
ref
,
reactive
,
reactive
,
...
@@ -37,17 +39,18 @@
...
@@ -37,17 +39,18 @@
uploadFile
uploadFile
}
from
"@/utils/index"
;
}
from
"@/utils/index"
;
export
default
{
export
default
{
components
:
{
sRegionSlider
},
props
:
{
props
:
{
},
},
emits
:
[
'change'
],
emits
:
[
'change'
],
components
:
{},
setup
(
props
,
ctx
)
{
setup
(
props
,
ctx
)
{
let
{
let
{
proxy
proxy
}
=
getCurrentInstance
();
}
=
getCurrentInstance
();
let
data
=
reactive
({
let
data
=
reactive
({
valueNum
:
[
10
,
50
],
show
:
false
,
show
:
false
,
loading
:
false
,
loading
:
false
,
isRange
:
true
,
isRange
:
true
,
...
@@ -57,9 +60,22 @@
...
@@ -57,9 +60,22 @@
StartNum
:
0
,
//开始值
StartNum
:
0
,
//开始值
EndNum
:
0
,
//结束值
EndNum
:
0
,
//结束值
Info
:
""
,
//评价
Info
:
""
,
//评价
}
},
minValue
:
0
,
maxValue
:
10
});
});
let
methods
=
{
let
methods
=
{
chage
(
minValue
,
maxValue
){
data
.
minValue
=
minValue
;
data
.
maxValue
=
maxValue
;
},
up
(
e
){
// console.log(e);//// e中包含了原有的e信息, 并添加了custom对象
data
.
minValue
=
e
.
custom
.
minValue
;
data
.
maxValue
=
e
.
custom
.
maxValue
;
},
down
(
e
){
},
move
(
e
){
},
showFun
(
item
)
{
showFun
(
item
)
{
if
(
item
)
{
if
(
item
)
{
data
.
ruleObj
.
DetailId
=
item
.
DetailId
;
data
.
ruleObj
.
DetailId
=
item
.
DetailId
;
...
@@ -113,7 +129,7 @@
...
@@ -113,7 +129,7 @@
}
}
.RuleSettings-slider
{
.RuleSettings-slider
{
padding
:
52
rpx
0
66
rpx
0
;
padding
:
0
0
30
rpx
0
;
}
}
.rulesPopup-save
view
{
.rulesPopup-save
view
{
...
...
src/components/setComments/setComments.vue
View file @
8843958a
...
@@ -83,7 +83,7 @@
...
@@ -83,7 +83,7 @@
},
},
addComments
(){
addComments
(){
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
'/pages/setComments/commentRulesList
'
url
:
'/pages/setComments/commentRulesList
?show='
+
true
})
})
},
},
goComment
(
item
){
goComment
(
item
){
...
...
src/components/sregionslider/sregionslider.vue
0 → 100644
View file @
8843958a
This diff is collapsed.
Click to expand it.
src/pages/index/examDetails.vue
View file @
8843958a
...
@@ -10,8 +10,13 @@
...
@@ -10,8 +10,13 @@
<view
class=
"jobDetails-content flex"
style=
"flex-direction: column;flex:1;height:1px"
>
<view
class=
"jobDetails-content flex"
style=
"flex-direction: column;flex:1;height:1px"
>
<view
class=
"jobDetails-content-header"
>
<view
class=
"jobDetails-content-header"
>
<view
class=
"jobDetails-conten-title flex"
>
<view
class=
"jobDetails-conten-title flex"
>
<text>
{{
CreateTime
}}
</text>
<view
class=
"conten-title-left flex"
>
<view>
{{
ExamName
}}
</view>
<text>
{{
CreateTime
}}
</text>
<view>
{{
ExamName
}}
</view>
</view>
<view
class=
"conten-title-right"
>
<text>
仅查看未匹配学员
</text>
</view>
</view>
</view>
<view
class=
"jobDetails-num-box flex"
>
<view
class=
"jobDetails-num-box flex"
>
<view
class=
"jobDetails-num flex"
>
<view
class=
"jobDetails-num flex"
>
...
@@ -121,20 +126,35 @@
...
@@ -121,20 +126,35 @@
justify-content
:
space-between
;
justify-content
:
space-between
;
padding
:
70
rpx
185
rpx
35
rpx
185
rpx
;
padding
:
70
rpx
185
rpx
35
rpx
185
rpx
;
}
}
.jobDetails-conten-title
view
{
.conten-title-right
text
{
background
:
#C91727
;
border-radius
:
27
rpx
;
font-size
:
24
rpx
;
font-weight
:
bold
;
color
:
#FFFFFF
;
padding
:
10
rpx
19
rpx
;
display
:
block
;
}
.conten-title-right
{
flex-shrink
:
0
;
}
.conten-title-left
view
{
font-size
:
50
rpx
;
font-size
:
50
rpx
;
font-weight
:
800
;
font-weight
:
800
;
}
}
.
jobDetails-conten-title
text
{
.
conten-title-left
text
{
font-size
:
36
rpx
;
font-size
:
36
rpx
;
font-weight
:
400
;
font-weight
:
400
;
margin-bottom
:
10
rpx
;
margin-bottom
:
10
rpx
;
}
}
.conten-title-left
{
color
:
#282828
;
flex-direction
:
column
;
}
.jobDetails-conten-title
{
.jobDetails-conten-title
{
padding
:
50
rpx
50
rpx
0
50
rpx
;
padding
:
50
rpx
50
rpx
0
50
rpx
;
flex-direction
:
column
;
color
:
#282828
;
letter-spacing
:
1
rpx
;
letter-spacing
:
1
rpx
;
justify-content
:
space-between
;
}
}
.jobDetails-content-header
{
.jobDetails-content-header
{
...
...
src/pages/setComments/commentRulesList.vue
View file @
8843958a
...
@@ -86,11 +86,16 @@
...
@@ -86,11 +86,16 @@
show
:
false
show
:
false
});
});
let
methods
=
{
let
methods
=
{
back
()
{
back
()
{
uni
.
navigateBack
({
uni
.
navigateBack
({
delta
:
1
delta
:
1
})
})
},
},
// 关闭规则弹窗
closure
(){
refs
.
getrulesPopup
.
$vm
.
closepopup
()
},
saveRules
()
{
//保存规则
saveRules
()
{
//保存规则
proxy
.
$request
(
"/Teacher/SetCourseComment"
,
data
.
courseRule
).
then
(
res
=>
{
proxy
.
$request
(
"/Teacher/SetCourseComment"
,
data
.
courseRule
).
then
(
res
=>
{
if
(
res
)
{
if
(
res
)
{
...
@@ -111,9 +116,9 @@
...
@@ -111,9 +116,9 @@
//编辑规则
//编辑规则
editRules
(
item
)
{
editRules
(
item
)
{
data
.
show
=
true
data
.
show
=
true
refs
.
getrulesPopup
.
$vm
.
showFun
(
item
)
refs
.
getrulesPopup
.
$vm
.
showFun
(
item
)
},
},
//删除规则
//删除规则
deleteRules
(
item
,
index
)
{
deleteRules
(
item
,
index
)
{
let
self
=
this
;
let
self
=
this
;
...
@@ -205,6 +210,18 @@
...
@@ -205,6 +210,18 @@
},
},
onLoad
(
option
)
{
onLoad
(
option
)
{
this
.
Msg
.
CourseId
=
option
.
CourseId
;
this
.
Msg
.
CourseId
=
option
.
CourseId
;
if
(
option
.
show
){
this
.
show
=
option
.
show
this
.
addRules
()
}
if
(
option
.
CourseId
){
this
.
show
=
true
this
.
addRules
()
setTimeout
(()
=>
{
this
.
show
=
false
this
.
closure
()
},
200
)
}
this
.
getCourseRule
();
this
.
getCourseRule
();
},
},
};
};
...
...
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