weibo,bilibili后添加hotband;修改html文件名
This commit is contained in:
		@@ -74,11 +74,11 @@
 | 
			
		||||
            <!-- <iframe src="html/weibo.html" frameborder="0"></iframe> -->
 | 
			
		||||
        </div>
 | 
			
		||||
        <div id="float-container" class="bt">
 | 
			
		||||
            <div class="navbar-item" targetPage="weibo">
 | 
			
		||||
            <div class="navbar-item" targetPage="weibo_hotband">
 | 
			
		||||
                <img class="navbar-image" src="./html/assets/image/weibo.svg" />
 | 
			
		||||
                <p class="navbar-title">微博</p>
 | 
			
		||||
            </div>
 | 
			
		||||
            <div class="navbar-item" targetPage="bilibili">
 | 
			
		||||
            <div class="navbar-item" targetPage="bilibili_hotband">
 | 
			
		||||
                <img class="navbar-image" src="./html/assets/image/bilibili.svg" style="transform: scale(0.84);" />
 | 
			
		||||
                <p class="navbar-title">B站</p>
 | 
			
		||||
            </div>
 | 
			
		||||
@@ -123,7 +123,7 @@
 | 
			
		||||
 | 
			
		||||
        // 根据 URL 参数切换页面
 | 
			
		||||
        function locationToPageByUrlParam() {
 | 
			
		||||
            let pages = ['weibo', 'bilibili'];
 | 
			
		||||
            let pages = ['weibo_hotband', 'bilibili_hotband'];
 | 
			
		||||
            // 获取 url 中的 target 参数
 | 
			
		||||
            let url = new URL(window.location.href);
 | 
			
		||||
            let target = url.searchParams.get('target');
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user