Commit 7a6ada7c by 李嘉林

背景优化

parent 6d2e9737
...@@ -4,17 +4,11 @@ ...@@ -4,17 +4,11 @@
class="ThemeDataPlant" class="ThemeDataPlant"
:style="{ :style="{
'background-color': pageSettingData.backgroundColor, 'background-color': pageSettingData.backgroundColor,
'background-image': `url(${pageSettingData.backgroundImage})`, 'background-image': bacImage,
'background-size': pageSettingData.backgroundFit!='equiratioFill'?'100% auto':'', 'background-size': pageSettingData.backgroundFit!='equiratioFill'?'100% auto':'',
'background-repeat': 'background-repeat':pageSettingData.backgroundFit == 'repeat'? 'repeat': 'no-repeat',
pageSettingData.backgroundFit == 'repeat'
? 'repeat'
: 'no-repeat',
'background-position':pageSettingData.backgroundFit == 'equiratioFill'?'center':'', 'background-position':pageSettingData.backgroundFit == 'equiratioFill'?'center':'',
'background-attachment': pageSettingData.backgroundImageLock 'background-attachment': pageSettingData.backgroundImageLock? 'fixed': 'local'}"
? 'fixed'
: 'local',
}"
> >
</div> </div>
</template> </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