@ -19,7 +19,10 @@
< / span >
< / span >
< / p >
< / p >
< / div >
< / div >
< TrainingTaskToolbar class = "new-product-survey-toolbar" :task-key ="TASK_KEY" :on-export ="exportOutcome" / >
< / section >
< section class = "task-action-strip" >
< TrainingTaskToolbar :task-key ="TASK_KEY" :on-export ="exportOutcome" / >
< / section >
< / section >
< section class = "task-card" >
< section class = "task-card" >
@ -946,14 +949,10 @@ function exportOutcome() {
}
}
/ * = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
/ * = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
* 任务头 : 白卡 + 左侧教育蓝竖条 + 徽章 + 标题 + 简介
* 任务头 : 白卡 + 左侧教育蓝竖条 + 标题 + 简介
* === === === === === === === === === === === === === === === === === === === === * /
* === === === === === === === === === === === === === === === === === === === === * /
. task - header {
. task - header {
position : relative ;
position : relative ;
display : flex ;
align - items : flex - start ;
justify - content : space - between ;
gap : 16 px ;
margin : 0 ;
margin : 0 ;
padding : 18 px 20 px 18 px 24 px ;
padding : 18 px 20 px 18 px 24 px ;
border : 1 px solid var ( -- student - panel - border ) ;
border : 1 px solid var ( -- student - panel - border ) ;
@ -977,7 +976,6 @@ function exportOutcome() {
justify - items : start ;
justify - items : start ;
gap : 8 px ;
gap : 8 px ;
min - width : 0 ;
min - width : 0 ;
flex : 1 1 auto ;
}
}
@ -1968,12 +1966,29 @@ function exportOutcome() {
. field - block . layer - extended { -- bar : var ( -- student - layer - 3 ) ; }
. field - block . layer - extended { -- bar : var ( -- student - layer - 3 ) ; }
/ * = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
/ * = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
* 工具栏
* 操作工具栏横条 : 独立白卡 + 吸顶 + 按钮组右对齐
* 放在 task - header 下方 , 不影响标题区的简介展示
* === === === === === === === === === === === === === === === === === === === === * /
* === === === === === === === === === === === === === === === === === === === === * /
. new - product - survey - toolbar {
. task - action - strip {
flex : 0 0 auto ;
position : sticky ;
top : 12 px ;
z - index : 10 ;
margin : 0 ;
padding : 10 px 16 px ;
border : 1 px solid var ( -- student - panel - border ) ;
border - radius : 12 px ;
background : var ( -- student - card - bg ) ;
box - shadow : 0 2 px 8 px rgba ( 37 , 99 , 235 , 0.08 ) ;
transition : box - shadow 0.2 s ease ;
/ / 让 T r a i n i n g T a s k T o o l b a r 内 部 按 钮 在 横 条 内 右 对 齐
: deep ( . training - task - toolbar ) {
display : flex ;
flex - wrap : wrap ;
align - items : center ;
justify - content : flex - end ;
justify - content : flex - end ;
max - width : 100 % ;
gap : 8 px ;
}
}
}
/ * = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
/ * = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
@ -1986,8 +2001,9 @@ function exportOutcome() {
}
}
@ media ( max - width : 900 px ) {
@ media ( max - width : 900 px ) {
. task - header {
. task - action - strip {
flex - direction : column ;
position : static ; / / 窄 屏 不 再 吸 顶 , 避 免 遮 挡 内 容
top : auto ;
}
}
. step - navigation {
. step - navigation {
@ -2010,6 +2026,14 @@ function exportOutcome() {
. classification - table {
. classification - table {
min - width : 720 px ;
min - width : 720 px ;
}
}
: deep ( . training - task - toolbar ) {
justify - content : stretch ;
}
: deep ( . training - task - toolbar > * ) {
flex : 1 1 auto ;
}
}
}
@ media ( max - width : 720 px ) {
@ media ( max - width : 720 px ) {