From 23fa268f56dcd99c8dcd46f50f3ffcaa4cdcbc49 Mon Sep 17 00:00:00 2001
From: wwf <1971391498@qq.com>
Date: 星期五, 10 十月 2025 17:25:53 +0800
Subject: [PATCH] 功能完善

---
 entry/src/main/ets/pages/home/ClassificationDetail.ets |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/entry/src/main/ets/pages/home/ClassificationDetail.ets b/entry/src/main/ets/pages/home/ClassificationDetail.ets
index 8bed77c..ae5cc86 100644
--- a/entry/src/main/ets/pages/home/ClassificationDetail.ets
+++ b/entry/src/main/ets/pages/home/ClassificationDetail.ets
@@ -2,6 +2,7 @@
 import { http } from "@kit.NetworkKit"
 import { LvMarkdownIn } from "@luvi/lv-markdown-in"
 import { HttpResponseResult } from "../../data/HttpResponse"
+import { ROMAIN } from "../../utils/config"
 
 @Entry
 @Component
@@ -20,7 +21,7 @@
   getDetail() {
     let httpRequest = http.createHttp();
     httpRequest.request(
-      `http://192.168.20.70:8080/quiz-community/public/v1.0/home/module/details?moduleName=${this.moduleName}`,
+      `${ROMAIN}/quiz-community/public/v1.0/home/module/details?moduleName=${this.moduleName}`,
       {
         method: http.RequestMethod.GET,
         header: { 'Content-Type': 'application/json', 'x-jwt-token': `Bearer ${AppStorage.get('x-jwt-token')}` },
@@ -66,6 +67,7 @@
       LvMarkdownIn({ text: this.content.toString() })
         .width('100%')
         .height(560)
+        .padding({ left: 10, right: 10 })
     }
     .width('100%')
     .height('100%')

--
Gitblit v1.8.0