5959 <AppIcon
6060 :iconName =" 'app-magnify'"
6161 :style =" {
62- color: xpackForm.custom_theme?.header_font_color
62+ color: xpackForm.custom_theme?.header_font_color,
6363 }"
6464 style =" font-size : 20px "
6565 ></AppIcon >
6969 :size =" 20"
7070 class =" color-secondary"
7171 :style =" {
72- color: xpackForm.custom_theme?.header_font_color
72+ color: xpackForm.custom_theme?.header_font_color,
7373 }"
7474 >
7575 <Close />
305305 <el-option
306306 :label ="
307307 $t(
308- 'views.applicationOverview.appInfo.SettingDisplayDialog.iconPosition.left'
308+ 'views.applicationOverview.appInfo.SettingDisplayDialog.iconPosition.left',
309309 )
310310 "
311311 value =" left"
312312 />
313313 <el-option
314314 :label ="
315315 $t(
316- 'views.applicationOverview.appInfo.SettingDisplayDialog.iconPosition.right'
316+ 'views.applicationOverview.appInfo.SettingDisplayDialog.iconPosition.right',
317317 )
318318 "
319319 value =" right"
337337 <el-option
338338 :label ="
339339 $t(
340- 'views.applicationOverview.appInfo.SettingDisplayDialog.iconPosition.top'
340+ 'views.applicationOverview.appInfo.SettingDisplayDialog.iconPosition.top',
341341 )
342342 "
343343 value =" top"
344344 />
345345 <el-option
346346 :label ="
347347 $t(
348- 'views.applicationOverview.appInfo.SettingDisplayDialog.iconPosition.bottom'
348+ 'views.applicationOverview.appInfo.SettingDisplayDialog.iconPosition.bottom',
349349 )
350350 "
351351 value =" bottom"
@@ -453,14 +453,14 @@ const defaultSetting = {
453453 disclaimer_value: t (' views.applicationOverview.appInfo.SettingDisplayDialog.disclaimerValue' ),
454454 custom_theme: {
455455 theme_color: ' ' ,
456- header_font_color: ' #1f2329'
456+ header_font_color: ' #1f2329' ,
457457 },
458458 float_location: {
459459 y: {type: ' bottom' , value: 30 },
460460 x: {type: ' right' , value: 0 }
461461 },
462462 show_avatar: true ,
463- show_user_avatar: false
463+ show_user_avatar: false ,
464464}
465465
466466const displayFormRef = ref ()
@@ -486,14 +486,14 @@ const xpackForm = ref<any>({
486486 disclaimer_value: t (' views.applicationOverview.appInfo.SettingDisplayDialog.disclaimerValue' ),
487487 custom_theme: {
488488 theme_color: ' ' ,
489- header_font_color: ' #1f2329'
489+ header_font_color: ' #1f2329' ,
490490 },
491491 float_location: {
492492 y: {type: ' bottom' , value: 30 },
493493 x: {type: ' right' , value: 0 }
494494 },
495495 show_avatar: true ,
496- show_user_avatar: false
496+ show_user_avatar: false ,
497497})
498498
499499const imgUrl = ref <any >({
@@ -512,7 +512,7 @@ const detail = ref<any>(null)
512512const customStyle = computed (() => {
513513 return {
514514 background: xpackForm .value .custom_theme ?.theme_color ,
515- color: xpackForm .value .custom_theme ?.header_font_color
515+ color: xpackForm .value .custom_theme ?.header_font_color ,
516516 }
517517})
518518
@@ -561,7 +561,7 @@ const open = (data: any, content: any) => {
561561 t (' views.applicationOverview.appInfo.SettingDisplayDialog.disclaimerValue' )
562562 ) {
563563 xpackForm .value .disclaimer_value = t (
564- ' views.applicationOverview.appInfo.SettingDisplayDialog.disclaimerValue'
564+ ' views.applicationOverview.appInfo.SettingDisplayDialog.disclaimerValue' ,
565565 )
566566 }
567567 xpackForm .value .avatar_url = data .avatar
@@ -573,7 +573,7 @@ const open = (data: any, content: any) => {
573573 xpackForm .value .show_user_avatar = data .show_user_avatar
574574 xpackForm .value .custom_theme = {
575575 theme_color: data .custom_theme ?.theme_color || ' ' ,
576- header_font_color: data .custom_theme ?.header_font_color || ' #1f2329'
576+ header_font_color: data .custom_theme ?.header_font_color || ' #1f2329' ,
577577 }
578578 xpackForm .value .float_location = data .float_location
579579 dialogVisible .value = true
@@ -613,7 +613,7 @@ defineExpose({open})
613613 </script >
614614<style lang="scss">
615615.setting-preview {
616- background : #f5f6f7 ;
616+ background : var ( --app-layout-bg-color ) ;
617617 height : 570px ;
618618 position : relative ;
619619
0 commit comments