Commit 7a6ada7c by 李嘉林

背景优化

parent 6d2e9737
......@@ -4,17 +4,11 @@
class="ThemeDataPlant"
:style="{
'background-color': pageSettingData.backgroundColor,
'background-image': `url(${pageSettingData.backgroundImage})`,
'background-image': bacImage,
'background-size': pageSettingData.backgroundFit!='equiratioFill'?'100% auto':'',
'background-repeat':
pageSettingData.backgroundFit == 'repeat'
? 'repeat'
: 'no-repeat',
'background-repeat':pageSettingData.backgroundFit == 'repeat'? 'repeat': 'no-repeat',
'background-position':pageSettingData.backgroundFit == 'equiratioFill'?'center':'',
'background-attachment': pageSettingData.backgroundImageLock
? 'fixed'
: 'local',
}"
'background-attachment': pageSettingData.backgroundImageLock? 'fixed': 'local'}"
>
</div>
</template>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment