slds-brand-band_large在带有VF页面的Force.com网站上不起作用

问题描述

我正在使用VF页面开发Force.com网站。我已经使用 applyBodyTag =“ false” 来应用照明样式。如果我预览force.com网站,则一切正常。但是,如果我启动实际的Force.com网站URL,则slds-brand-band_large如何停止工作。休息每个slds类都按预期工作。

VF代码

<apex:page showheader="false" sidebar="false" applyBodyTag="false">
    <apex:slds /> 
    <apex:form >       
        <apex:pageMessages />
        <html xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
            <head>
                <META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=UTF-8"/>  
            </head>
            <body class="slds-scope" style="background-color: rgb(176,196,223);">
                <div class="slds-brand-band slds-brand-band_large">
                    <center>
                        <div class="slds-text-align_left" style="width:70%">
                            <div class="slds-box slds-theme_default slds-m-vertical_xx-small">
                                ...
                                ...
                            </div>
                        </div>
                    </center>
                </div>
            </body
        </html>
    </apex:form>
</apex:page>

站点预览页快照(正在显示背景图片)

URL - https://org--environment--c.visualforce.com/apex/VFPageName

enter image description here


实际FORCE.COM网站快照(没有背景图片

URL - https://environment-org.cs45.force.com/VFPageName

enter image description here

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)