const gsbTitleCM10 = document.currentScript.title || "";
const bgColorCM10 = document.currentScript.getAttribute('bgColor')
const isFixed = Boolean(document.currentScript.getAttribute('fixed'))

document.writeln(`
            <style>
            .cgi-head{
            box-sizing:border-box;
                display: flex;
                justify-content: space-between;
                align-items: center;
                padding-right: 10px;
                font-weight: 600;
                width:100%;
                max-width:800px;
                ${bgColorCM10?'background:'+bgColorCM10:''};
                ${isFixed?'position:fixed;top:0;z-index:1000':''}
            }
        </style>
        <header class="cgi-head" onclick="location.href='/'">
            <div>
                <div class="icon-back" style="cursor: pointer;"  ></div>
                <span class="cgi-head-tit"><a href="/">返回</a></span>
            </div>
            <div>
                ${gsbTitleCM10}-1190888.com
            </div>
            <div >
                <img style="width: 24px;height: 24px;cursor: pointer;"  src="https://img1.ptallenvery.com/193544/images/bank.png">
            </div>
        
        </header>
        ${isFixed?'<div style="height:46px;display:block;position:relative"></div>':''}
    `);
