File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222 >
2323 <a-tab-pane v-if =" hasRecommendVideos" key =" recommendTuijian404" >
2424 <template #title >
25- <span >推荐</span >
25+ <div class =" category-tab-title category-recommend-title" >
26+ <span class =" category-name" >推荐</span >
27+ </div >
2628 </template >
2729 </a-tab-pane >
2830 <a-tab-pane
@@ -497,6 +499,8 @@ onBeforeUnmount(() => {
497499
498500 .category - tab- title {
499501 min- height: 30px ;
502+ min- width: 56px ;
503+ justify- content: center;
500504 padding: 0 11px ;
501505 }
502506
Original file line number Diff line number Diff line change 1212 <div
1313 v-if =" visible && !isClosing"
1414 class =" action-dialog glass-effect card-modern animate-bounce-in"
15- :class =" [customClass, { 'action-dialog-mobile': isMobile }]"
15+ :class =" [
16+ customClass,
17+ {
18+ 'action-dialog-mobile': isMobile,
19+ 'action-dialog-resizable': resizable && !isMobile
20+ }
21+ ]"
1622 :style =" dialogStyle"
1723 @click.stop
1824 >
@@ -106,6 +112,10 @@ export default {
106112 type: Boolean ,
107113 default: true
108114 },
115+ resizable: {
116+ type: Boolean ,
117+ default: false
118+ },
109119 // 自定义类名
110120 customClass: {
111121 type: String ,
@@ -296,6 +306,15 @@ export default {
296306 flex-direction : column ;
297307}
298308
309+ .action-dialog-resizable {
310+ resize : both ;
311+ overflow : hidden ;
312+ min-width : min (560px , 90vw );
313+ min-height : min (420px , calc (100vh - 2rem ));
314+ max-width : 96vw ;
315+ max-height : calc (100vh - 2rem );
316+ }
317+
299318/* 装饰性背景 */
300319.action-dialog-bg {
301320 position : absolute ;
Original file line number Diff line number Diff line change @@ -75,6 +75,7 @@ const MenuAction = defineAsyncComponent(() => import('./MenuAction.vue'))
7575
7676const MsgBoxAction = defineAsyncComponent (() => import (' ./MsgBoxAction.vue' ))
7777const WebViewAction = defineAsyncComponent (() => import (' ./WebViewAction.vue' ))
78+ const BrowserAction = defineAsyncComponent (() => import (' ./BrowserAction.vue' ))
7879const HelpAction = defineAsyncComponent (() => import (' ./HelpAction.vue' ))
7980
8081export default {
@@ -86,6 +87,7 @@ export default {
8687 MenuAction,
8788 MsgBoxAction,
8889 WebViewAction,
90+ BrowserAction,
8991 HelpAction
9092 },
9193 props: {
@@ -137,6 +139,7 @@ export default {
137139 [ActionType .SELECT ]: ' MenuAction' , // 多选菜单,使用MenuAction组件
138140 [ActionType .MSGBOX ]: ' MsgBoxAction' ,
139141 [ActionType .WEBVIEW ]: ' WebViewAction' ,
142+ [ActionType .BROWSER ]: ' BrowserAction' ,
140143 [ActionType .HELP ]: ' HelpAction'
141144 }
142145
You can’t perform that action at this time.
0 commit comments