😐修改前端JS,完善CSS选择器,添加部分important
This commit is contained in:
		@@ -100,10 +100,10 @@
 | 
				
			|||||||
    transition: background-color 0.3s ease-in-out;
 | 
					    transition: background-color 0.3s ease-in-out;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#refresh-random-article {
 | 
					.random-button-container a {
 | 
				
			||||||
    margin-right: 10px;
 | 
					    margin-right: 10px;
 | 
				
			||||||
    color: #aaaaaa;
 | 
					    color: #aaaaaa !important;
 | 
				
			||||||
    text-decoration: none;
 | 
					    text-decoration: none !important;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.random-link-button {
 | 
					.random-link-button {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,13 @@
 | 
				
			|||||||
function initialize_fc_lite() {
 | 
					function initialize_fc_lite() {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    // 用户配置
 | 
				
			||||||
 | 
					    // 设置默认配置
 | 
				
			||||||
 | 
					    UserConfig = {
 | 
				
			||||||
 | 
					        private_api_url: UserConfig?.private_api_url || "", 
 | 
				
			||||||
 | 
					        page_turning_number: UserConfig?.page_turning_number || 20, // 默认20篇
 | 
				
			||||||
 | 
					        error_img: UserConfig?.error_img || "https://fastly.jsdelivr.net/gh/willow-god/Friend-Circle-Lite@latest/static/favicon.ico" // 默认头像
 | 
				
			||||||
 | 
					    };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    const root = document.getElementById('friend-circle-lite-root');
 | 
					    const root = document.getElementById('friend-circle-lite-root');
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    if (!root) return; // 确保根元素存在
 | 
					    if (!root) return; // 确保根元素存在
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user