feat(课表小组件): SyllabusWidget改版直吃AcaSyllabu oapi结构——班级下拉切换器Teleport进卡头(通用header插槽能力),行=slotNo中文数字、列=周一~周五(周末有课才追加)、单元格=班级/科目;空态换原版no-data-box.svg插画;卡头钉死#f7f8f9+overflow visible供浮层溢出
build / build (push) Successful in 1m38s
build / build (push) Successful in 1m38s
This commit is contained in:
+12
-8
@@ -99,14 +99,18 @@
|
||||
<div class="widget-item pr" v-for="item in widgetAppList">
|
||||
<div class="widget-app-header">
|
||||
<span>{{ item.name }}</span>
|
||||
<SvgIcon
|
||||
@click="onWidgetSelItemClick(item.id)"
|
||||
class="fr"
|
||||
name="widget-close"
|
||||
size="18"
|
||||
color="#999999"
|
||||
hoverColor="#646566"
|
||||
/>
|
||||
<!-- 内置组件在 header 里的挂载点:组件用 <Teleport> 把自身控件放进来(如课表班级切换器) -->
|
||||
<div class="widget-header-right">
|
||||
<span class="widget-header-extra" :id="'wg-hdr-' + item.id"></span>
|
||||
<SvgIcon
|
||||
@click="onWidgetSelItemClick(item.id)"
|
||||
class="fr"
|
||||
name="widget-close"
|
||||
size="18"
|
||||
color="#999999"
|
||||
hoverColor="#646566"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ① front 工程内置组件:内容在代码库,不走 iframe -->
|
||||
<component
|
||||
|
||||
Reference in New Issue
Block a user