丰都大屏标题搞定
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<section class="AiDvWrapper" :class="'AiDvWrapper' + theme">
|
||||
<dv-full-screen-container>
|
||||
<div class="viewPanel column" flex :style="{backgroundImage:`url('${background}')`}">
|
||||
<div class="viewPanel column" flex :style="{backgroundImage}">
|
||||
<slot v-if="$scopedSlots.head" name="head" v-bind="{...$props,...$data}"/>
|
||||
<component v-else :is="headerComponent" v-bind="{...$props,...$data}" v-model="active"
|
||||
@fullscreen="handleFullScreen" @setting="e=>dialog=e"
|
||||
@@ -62,7 +62,8 @@ export default {
|
||||
headerComponent: v => ({
|
||||
classic: Classic,
|
||||
black: Primary,
|
||||
}[v.type])
|
||||
}[v.type]),
|
||||
backgroundImage: v => v.background ? `url(${v.background})` : undefined
|
||||
},
|
||||
watch: {
|
||||
title: {
|
||||
|
||||
Reference in New Issue
Block a user