From 888e1e56f5ee516e15607ca9c1b80e23b48e2e10 Mon Sep 17 00:00:00 2001 From: qing <1776177662@qq.com> Date: Thu, 23 Jul 2026 12:00:38 +0800 Subject: [PATCH] 9201 => 443 --- gateway/example.ini | 2 +- static/public/js/dnfs.js | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/gateway/example.ini b/gateway/example.ini index c3a246b..363e3a2 100644 --- a/gateway/example.ini +++ b/gateway/example.ini @@ -1,6 +1,6 @@ [Server] address = 0.0.0.0 -port = 9201 +port = 443 [Proxy] default = http://127.0.0.1:9200 diff --git a/static/public/js/dnfs.js b/static/public/js/dnfs.js index e5d972a..4960e91 100644 --- a/static/public/js/dnfs.js +++ b/static/public/js/dnfs.js @@ -171,14 +171,14 @@ function load_notes(main_node) { var vit_div = document.createElement('p'); var lke_div = document.createElement('p'); var srd_div = document.createElement('p'); - var ctt = document.createElement('p'); vit_div.textContent = "观看数:" + item.visit_count; lke_div.textContent = "点赞数:" + item.like_count; srd_div.textContent = "分享数:" + item.share_count; + ttl.appendChild(vit_div); + ttl.appendChild(lke_div); + ttl.appendChild(srd_div); + var ctt = document.createElement('p'); renderMarkdown(ctt, item.content); - card.appendChild(vit_div); - card.appendChild(lke_div); - card.appendChild(srd_div); card.appendChild(ctt) recommend_list.appendChild(card) recommend_list.appendChild(document.createElement('br'))