js圓點怎麼列印出來,怎麼打出一個圓點

本文目錄一覽:

js在IE中怎樣列印出blob

1、通過「window.alert(‘彈出窗口調試’);

」方式進行列印輸出;2、通過「console.table(ars);」方式進行列印輸出。

怎樣用JS 實現直接列印 而不彈出提示對話框

選擇「文件」菜單下的「列印…」命令就會彈出對話框,或用對應的快捷鍵亦可解決

當然,如果是經常用的話,可以這樣操作:

在「工具」菜單中,選擇「自定義」命令,選擇「命令」選項卡,在「類別」

中選擇「文件」,右邊「命令」

中自動出現其對應的命令,在其中,找到「列印…」,將其拖動到工具欄上即可,關閉對話框完成操作。當然,將原來的列印按鈕拖出亦可,以免點錯,但要在自定義對話框關閉以前操作。

請注意:一定要選「列印…」,

不能選「列印」,選了「列印」還是直接直接列印的,是沒有對話框讓你選擇的。

js列印問題,急!!!!!

對JS的列印方法總結一下,方便日後查閱。

一.用JS自帶函數列印

直接調用

Java代碼 複製代碼

1. a href=”javascript:window.print();”列印/a

a href=”javascript:window.print();”列印/a

二.IEWebBrowser組件

介紹

Java代碼 複製代碼

1. OBJECT classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2 height=0 id=WebBrowser width=0/OBJECT

2. input name=Button onClick=document.all.WebBrowser.ExecWB(1,1) type=button value=打開

3. input name=Button onClick=document.all.WebBrowser.ExecWB(2,1) type=button value=關閉所有

4. input name=Button onClick=document.all.WebBrowser.ExecWB(4,1) type=button value=另存為

5. input name=Button onClick=document.all.WebBrowser.ExecWB(6,1) type=button value=列印

6. input name=Button onClick=document.all.WebBrowser.ExecWB(6,6) type=button value=直接列印

7. input name=Button onClick=document.all.WebBrowser.ExecWB(7,1) type=button value=列印預覽

8. input name=Button onClick=document.all.WebBrowser.ExecWB(8,1) type=button value=頁面設置

9. input name=Button onClick=document.all.WebBrowser.ExecWB(10,1) type=button value=屬性

10. input name=Button onClick=document.all.WebBrowser.ExecWB(17,1) type=button value=全選

11. input name=Button onClick=document.all.WebBrowser.ExecWB(22,1) type=button value=刷新

12. input name=Button onClick=document.all.WebBrowser.ExecWB(45,1) type=button value=關閉

OBJECT classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2 height=0 id=WebBrowser width=0/OBJECT

input name=Button onClick=document.all.WebBrowser.ExecWB(1,1) type=button value=打開

input name=Button onClick=document.all.WebBrowser.ExecWB(2,1) type=button value=關閉所有

input name=Button onClick=document.all.WebBrowser.ExecWB(4,1) type=button value=另存為

input name=Button onClick=document.all.WebBrowser.ExecWB(6,1) type=button value=列印

input name=Button onClick=document.all.WebBrowser.ExecWB(6,6) type=button value=直接列印

input name=Button onClick=document.all.WebBrowser.ExecWB(7,1) type=button value=列印預覽

input name=Button onClick=document.all.WebBrowser.ExecWB(8,1) type=button value=頁面設置

input name=Button onClick=document.all.WebBrowser.ExecWB(10,1) type=button value=屬性

input name=Button onClick=document.all.WebBrowser.ExecWB(17,1) type=button value=全選

input name=Button onClick=document.all.WebBrowser.ExecWB(22,1) type=button value=刷新

input name=Button onClick=document.all.WebBrowser.ExecWB(45,1) type=button value=關閉

三.使用ScriptX.cab控制項

1.下載ScriptX.cab控制項

官網

2.使用object元素,修改codebase,classid的值

這裡調用控制項ScriptX.cab

Java代碼 複製代碼

1. OBJECT id=”factory” style=”DISPLAY: none” codeBase=”${rootUrl}js/smsx.cab#VVersion=6,3,435,20″ classid=”clsid:1663ed61-23eb-11d2-b92f-008048fdd814″ viewastext/OBJECT

OBJECT id=”factory” style=”DISPLAY: none” codeBase=”${rootUrl}js/smsx.cab#VVersion=6,3,435,20″ classid=”clsid:1663ed61-23eb-11d2-b92f-008048fdd814″ viewastext/OBJECT

這段代碼用來載入cab文件,clsid和codebase必須要和你下載的cab中的信息對應,否則組件會載入錯誤,這兩項其實不難找,只要你用winrar打開你下載的cab文件,然後找到擴展名是.inf的文件,然後打開之,就能看到了。

3.調用控制項腳本

Print.js文件

Java代碼 複製代碼

1. function setPrintBase(headerText,footerText,rootUrl) {

2.

3. // — advanced features ,未曾使用過,有待確認。

4.

5. //factory.printing.SetMarginMeasure(2); // measure margins in inches

6.

7. //factory.SetPageRange(false, 1, 3);// need pages from 1 to 3

8.

9. //factory.printing.printer = “HP DeskJet 870C”;

10.

11. //factory.printing.copies = 2;

12.

13. //factory.printing.collate = true;

14.

15. //factory.printing.paperSize = “A4”;

16.

17. //factory.printing.paperSource = “Manual feed”

18.

19. var header = (headerText==null||headerText==””)?’默認頁眉’:headerText;

20.

21. var footer = (footerText==null||footerText==””)?’默認頁角’:footerText;

22.

23. factory.printing.header = “b”+header+”b” ;

24.

25. factory.printing.footer = “b”+footer;

26.

27. factory.printing.portrait = true;

28.

29. factory.printing.leftMargin =10.00;

30.

31. factory.printing.topMargin =10.00;

32.

33. factory.printing.rightMargin =10.00;

34.

35. factory.printing.bottomMargin =10.00;

36.

37. }

function setPrintBase(headerText,footerText,rootUrl) {

// — advanced features ,未曾使用過,有待確認。

//factory.printing.SetMarginMeasure(2); // measure margins in inches

//factory.SetPageRange(false, 1, 3);// need pages from 1 to 3

//factory.printing.printer = “HP DeskJet 870C”;

//factory.printing.copies = 2;

//factory.printing.collate = true;

//factory.printing.paperSize = “A4”;

//factory.printing.paperSource = “Manual feed”

var header = (headerText==null||headerText==””)?’默認頁眉’:headerText;

var footer = (footerText==null||footerText==””)?’默認頁角’:footerText;

factory.printing.header = “b”+header+”b” ;

factory.printing.footer = “b”+footer;

factory.printing.portrait = true;

factory.printing.leftMargin =10.00;

factory.printing.topMargin =10.00;

factory.printing.rightMargin =10.00;

factory.printing.bottomMargin =10.00;

}

例子

Java代碼 複製代碼

1. %@ page contentType=”text/html;charset=GBK”%

2.

3. html

4. head

5. meta http-equiv=”imagetoolbar” content=”no”

6. script language=”javascript” src=”print.js”/script

7. style media=”print”

8. .Noprint {DISPLAY: none;}

9. /style

10. title列印測試/title

11. /head

12. OBJECT id=”factory” style=”DISPLAY: none” codeBase=”smsx.cab#VVersion=6,3,435,20″ classid=”clsid:1663ed61-23eb-11d2-b92f-008048fdd814″ viewastext/OBJECT

13.

14. script defer

15. function window.onload() {

16. setPrintBase(‘頁眉’,’頁腳’);

17. }

18. /script

19. body topmargin=”0″ leftmargin=”0″ rightmargin=”0″ bottommargin=”0″ marginwidth=”0″ marginheight=”0″

20. center class=”Noprint”

21. input type=button value=”列印” onclick=”factory.printing.Print(true)”

22. input type=button value=”頁面設置” onclick=”factory.printing.PageSetup()”

23. input type=button value=”列印預覽” onclick=”factory.printing.Preview()”

24. input type=”button” value=”關閉” onclick=”window.close();”

25. /center

26. center

27. table width=”100%” border=”0″ cellpadding=”0″ cellspacing=”0″

28. trtd align=”center”b內容/b/td/tr

29. /table

30. /center

31. /body

32. /html

%@ page contentType=”text/html;charset=GBK”%

html

head

meta http-equiv=”imagetoolbar” content=”no”

script language=”javascript” src=”print.js”/script

style media=”print”

.Noprint {DISPLAY: none;}

/style

title列印測試/title

/head

OBJECT id=”factory” style=”DISPLAY: none” codeBase=”smsx.cab#VVersion=6,3,435,20″ classid=”clsid:1663ed61-23eb-11d2-b92f-008048fdd814″ viewastext/OBJECT

script defer

function window.onload() {

setPrintBase(‘頁眉’,’頁腳’);

}

/script

body topmargin=”0″ leftmargin=”0″ rightmargin=”0″ bottommargin=”0″ marginwidth=”0″ marginheight=”0″

center class=”Noprint”

input type=button value=”列印” onclick=”factory.printing.Print(true)”

input type=button value=”頁面設置” onclick=”factory.printing.PageSetup()”

input type=button value=”列印預覽” onclick=”factory.printing.Preview()”

input type=”button” value=”關閉” onclick=”window.close();”

/center

center

table width=”100%” border=”0″ cellpadding=”0″ cellspacing=”0″

trtd align=”center”b內容/b/td/tr

/table

/center

/body

/html

四.對比

1.Window.print調用方便,但功能簡單

2.功能更強大,但使用IEWebBrowser有時會報JS沒有許可權的錯誤。

3.ScriptX控制項功能也比較強大,目前在使用這種方式。

這裡的也不錯啊,有列印到 word的和excel

.NET環境下的

列印JS怎麼用的

Javascript網頁列印大全

普通列印(整頁打) 列印網頁內部分內容(自定義) 列印去掉/添加頁眉頁腳 使用外部控制項/方法實現多功能列印 列印背景

以上為代碼控制

設置「頁面設置」實現列印參數設置(Window系統圖文版)

一、普通列印(整頁打)

這個不用多說,直接用

引用:window.print();

二、列印網頁內部分內容(自定義)

分三種方法實現

1、用css控制

引用:@media print

.a {display:block}

.b {display:hidden}

把你不想列印的部分class設為b

首先在網頁中添加:

引用:OBJECT id=”WebBrowser” height=”0″ width=”0″ classid=”CLSID:8856F961-340A-11D0-A96B-00C04FD705A2″

VIEWASTEXT

/OBJECT

然後就可以依次加入功能按鈕了:

引用:input type=”button” value=”列印” input type=”button” value=”直接列印”

input type=”button” value=”頁面設置”

input type=”button” value=”列印預覽” INPUT type=”button” value=”關閉窗口”

將這兩塊東西放到center class=noprint/center就不會列印這些按鈕了。當然要定義noprint了:

style media=”print”.Noprint { DISPLAY: none }/style只要把不想列印的東西的css設置成noprint就可以了。

現在就實現了基本的web列印,需要注意的情況如下:

a. 必須將ie的internet選項的安全設置中對於沒有標記為安全的ActiveX控制項進行…設置成提示或者啟用,否則會報錯,導致不可用。

b. 如果在vs.net編輯環境下編輯該頁面,它經常自動的給object添加多餘的參數,有了這些東西,列印就會出錯,所以要記得最後保存的時候刪除它們。

2、用javascript列印固定標籤內的內容

a、在頁面的代碼頭部處加入JavaScript:

引用:script language=javascript

function doPrint() {

bdhtml=window.document.body.innerHTML;

sprnstr=”!–startprint–“;

eprnstr=”!–endprint–“;

prnhtml=bdhtml.substr(bdhtml.indexOf(sprnstr)+17);

prnhtml=prnhtml.substring(0,prnhtml.indexOf(eprnstr));

window.document.body.innerHTML=prnhtml;

window.print();

}

/script

2、在頁面正文處加上!–startprint–與!–endprint–標識。

也就是在需要用戶列印保存的正文所對應的html處附加上。同時,如果採用小偷程序獲得遠程數據並需列印,可將此等數據置於該定義標籤之內即可。

3、截取內容部分已完成,現在加個「列印」的鏈接:

XML/HTML代碼

a href=”javascript:;” onClick=”doPrint()”列印/a

引用:

script language=”JavaScript”

var hkey_root,hkey_path,hkey_key

hkey_root=”HKEY_CURRENT_USER”

hkey_path=”\\Software\\Microsoft\\Internet Explorer\\PageSetup\\”

//設置網頁列印的頁眉頁腳為空

function pagesetup_null(){

try{

var RegWsh = new ActiveXObject(“WScript.Shell”)

hkey_key=”header”

RegWsh.RegWrite(hkey_root+hkey_path+hkey_key,””)

hkey_key=”footer”

RegWsh.RegWrite(hkey_root+hkey_path+hkey_key,””)

}catch(e){}

}

//設置網頁列印的頁眉頁腳為默認值

function pagesetup_default(){

try{

var RegWsh = new ActiveXObject(“WScript.Shell”)

hkey_key=”header”

RegWsh.RegWrite(hkey_root+hkey_path+hkey_key,”wb頁碼,p/P”)hkey_key=”footer”

RegWsh.RegWrite(hkey_root+hkey_path+hkey_key,”ubd”)

}catch(e){}

}

/script

input type=”button” value=”清空頁碼” onclick=pagesetup_null()

input type=”button” value=”恢復頁碼” onclick=pagesetup_default()

複製出去,看下效果就可以了

(四)使用外部控制項/方法實現多功能列印

1、IEWebBrowser組件

介紹

代碼

引用:OBJECT classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2 height=0 id=WebBrowser width=0/OBJECT

input name=Button onClick=document.all.WebBrowser.ExecWB(1,1) type=button value=打開

input name=Button onClick=document.all.WebBrowser.ExecWB(2,1) type=button value=關閉所有

input name=Button onClick=document.all.WebBrowser.ExecWB(4,1) type=button value=另存為

input name=Button onClick=document.all.WebBrowser.ExecWB(6,1) type=button value=列印

input name=Button onClick=document.all.WebBrowser.ExecWB(6,6) type=button value=直接列印

input name=Button onClick=document.all.WebBrowser.ExecWB(7,1) type=button value=列印預覽

input name=Button onClick=document.all.WebBrowser.ExecWB(8,1) type=button value=頁面設置

input name=Button onClick=document.all.WebBrowser.ExecWB(10,1) type=button value=屬性

input name=Button onClick=document.all.WebBrowser.ExecWB(17,1) type=button value=全選

input name=Button onClick=document.all.WebBrowser.ExecWB(22,1) type=button value=刷新

input name=Button onClick=document.all.WebBrowser.ExecWB(45,1) type=button value=關閉

2、使用ScriptX.cab控制項

1.下載ScriptX.cab控制項

官網

2.使用object元素,修改codebase,classid的值

這裡調用控制項ScriptX.cab

代碼

引用:

OBJECT id=”factory” style=”DISPLAY: none” codeBase=”${rootUrl}js/smsx.cab#VVersion=6,3,435,20″ classid=”clsid:1663ed61-23eb-11d2-b92f-008048fdd814″ viewastext/OBJECT

這段代碼用來載入cab文件,clsid和codebase必須要和你下載的cab中的信息對應,否則組件會載入錯誤,這兩項其實不難找,只要你用winrar打開你下載的cab文件,然後找到擴展名是.inf的文件,然後打開之,就能看到了。

3.調用控制項腳本

Print.js文件

代碼

引用:

function setPrintBase(headerText,footerText,rootUrl) {

// — advanced features ,未曾使用過,有待確認。

//factory.printing.SetMarginMeasure(2); // measure margins in inches

//factory.SetPageRange(false, 1, 3);// need pages from 1 to 3

//factory.printing.printer = “HP DeskJet 870C”;

//factory.printing.copies = 2;

//factory.printing.collate = true;

//factory.printing.paperSize = “A4”;

//factory.printing.paperSource = “Manual feed”

var header = (headerText==null||headerText==””)?’默認頁眉’:headerText;

var footer = (footerText==null||footerText==””)?’默認頁角’:footerText;

factory.printing.header = “b”+header+”b” ;

factory.printing.footer = “b”+footer;

factory.printing.portrait = true;

factory.printing.leftMargin =10.00;

factory.printing.topMargin =10.00;

factory.printing.rightMargin =10.00;

factory.printing.bottomMargin =10.00;

}

例子

引用:

html

head

meta http-equiv=”imagetoolbar” c

script language=”javascript” src=”print.js”/script

style media=”print”

.Noprint {DISPLAY: none;}

/style

title列印測試/title

/head

OBJECT id=”factory” style=”DISPLAY: none” codeBase=”smsx.cab#VVersion=6,3,435,20″ classid=”clsid:1663ed61-23eb-11d2-b92f-008048fdd814″ viewastext/OBJECT

script defer

function window.onload() {

setPrintBase(‘頁眉’,’頁腳’);

}

/script

body topmargin=”0″ leftmargin=”0″ rightmargin=”0″ bottommargin=”0″ marginwidth=”0″ marginheight=”0″

center class=”Noprint”

input type=button value=”列印”

input type=button value=”頁面設置”

input type=button value=”列印預覽”

input type=”button” value=”關閉”

/center

center

table width=”100%” border=”0″ cellpadding=”0″ cellspacing=”0″

trtd align=”center”b內容/b/td/tr

/table

/center

/body

/html

(五)列印背景

默認情況下,使用IE瀏覽器列印網頁時,不列印網頁背景。如果需要列印網頁背景,可以採用如下的方法設置:

1. 啟動IE瀏覽器。

2. 選擇【工具】菜單中的【Internet選項】菜單項,打開【Internet選項】對話框。

3. 打開【高級】選項卡,在【列印】選區中選擇【列印背景顏色和圖像】複選框。

4. 單擊【確定】按鈕,關閉對話框。

(六)如何用IE列印網頁

Internet Explorer(簡稱IE)5.0以上版本強大的列印及列印預覽功能。本文就向大家介紹如何用IE來列印網頁。(誰?誰?誰在扔西紅柿?下面一片噓聲:這還用得著你講呀?!)咳咳咳,是的是的,在IE中列印網頁實在是太簡單不過了。只需點一下工具欄上「列印」按鈕就可將當前網頁列印出來。如下圖所示:

不過,你這樣打出來的效果怎麼樣呢?我就不敢說了。我今天要和大家講的就是一些列印方面的設置參數。如何大家把這些參數設置好,你就會發現IE的列印功能快追得上Word了。今後你列印網頁時就可以想怎麼打就怎麼打了。好,閑話少說,現在就跟我來一起看看怎麼樣設置IE的列印參數。

我們以下圖要列印的學生名單(《學生學籍管理系統MX》查詢結果網頁)為例,講解如何設置這些列印參數:

假如我們直接點工具欄的「列印」按鈕或點「文件」菜單中的「列印」進行列印這個網頁的話,就會列印出很多不必要的信息。所以在列印前我們應先用IE5新增的「列印預覽」功能查看當前網頁的實際列印效果。如下圖所示:

在如下圖所示的「列印預覽」對話框中,我們可以看到,網頁標題、網頁的URL地址及列印日期等我們所不需要的信息也被列印出來了。而頁碼又在右上角,能不能把它移到其他位置(如我們常見的右下角)呢?

能不能按照我們所想要的樣式來列印網頁呢?當然可以。一切就在「頁面設置」中。

彈出如下圖所示的「頁面設置」對話框,所有的秘密都在這裡!

原來,IE自動給我們在頁眉和頁腳處加上了這些不必要的列印信息。如果我們不想要任何頁眉和頁腳的話,直接刪除它們就行了。:-)大部分時候我都是這樣做的。但如果你想自定義頁眉和頁腳的時候,該怎麼做呢?上面的那些「wbp」等等究竟表示什麼意思呀?給你個表格就知道了。 含義

w 網頁標題

u 網頁地址 (URL)

d 短日期格式(由「控制面板」中的「區域設置」指定)

D 長日期格式(由「控制面板」中的「區域設置」指定)

t 由「控制面板」中的「區域設置」指定的時間格式

T 24 小時時間格式

p 當前頁碼

P 總頁數

b 文本右對齊(請把要右對齊的文字放在「b」之後)

bb 文字居中(請把要居中的文字放在「b」和「b」 之間)

單個 號 ()

註:1、這些符號可以與文字組合使用,如本教程中的「頁碼,p/P」。

2、頁眉和頁腳默認是左對齊的,所以IE只提供了右對齊和居中的設置符號。

3、推薦給大家一種設置方法:頁眉為空,頁腳設為「b第 p 頁 / 共 P 頁b」,列印效果為在頁腳居中顯示「第 1 頁 / 共 4 頁」的效果。

知道了上面的知識,你就可以列印了。但有時你會發現,網頁中的一些圖像在列印時不見了。Why?為什麼會這樣?別著急,IE的默認設置是不列印網頁的背景顏色和圖像的。您只需進入IE的Internet選項將它選中(打上勾)就行了。具體操作方法是:點IE的主菜單中的「工具」——「Internet選項」——再在彈出的對話框中占擊「高級」選項卡,找到「列印背景顏色和圖像」一項。如下圖所示:

然後將上圖中紅色圈住的選項打上勾,再點「確定」就OK了。

至此,我們就完成了對IE的列印設置。接下來,只要我們沒有關閉IE,我們就可以一直使用上述設置(最後一項「列印背景顏色和圖像」的更改始終有效)進行列印。列印前一般先進行列印預覽,效果滿意後再開始列印。

3、windows自帶功能

按住滑鼠的左鍵,將你想要列印的內容選定,然後單擊右鍵選擇「列印」,在彈出的列印對話框中的「頁面範圍」中選擇「選定範圍」就可以只列印你選擇的內容了。

js列印的問題,求救,謝謝

點 鏈接那裡空白的地方 右鍵 吧 標準按鈕的 勾去掉 就沒有 要還原 還是同樣的 道理

就是你打網址的地方就是鏈接。 在旁邊空白的地方點右鍵

原創文章,作者:小藍,如若轉載,請註明出處:https://www.506064.com/zh-tw/n/159224.html

(0)
打賞 微信掃一掃 微信掃一掃 支付寶掃一掃 支付寶掃一掃
小藍的頭像小藍
上一篇 2024-11-19 18:58
下一篇 2024-11-19 18:58

相關推薦

  • JS Proxy(array)用法介紹

    JS Proxy(array)可以說是ES6中非常重要的一個特性,它可以代理一個數組,監聽數據變化並進行攔截、處理。在實際開發中,使用Proxy(array)可以方便地實現數據的監…

    編程 2025-04-29
  • 解析js base64並轉成unit

    本文將從多個方面詳細介紹js中如何解析base64編碼並轉成unit格式。 一、base64編碼解析 在JavaScript中解析base64編碼可以使用atob()函數,它會將b…

    編程 2025-04-29
  • Node.js使用Body-Parser處理HTTP POST請求時,特殊字元無法返回的解決方法

    本文將解決Node.js使用Body-Parser處理HTTP POST請求時,特殊字元無法返回的問題。同時,給出一些相關示例代碼,以幫助讀者更好的理解並處理這個問題。 一、問題解…

    編程 2025-04-29
  • t3.js:一個全能的JavaScript動態文本替換工具

    t3.js是一個非常流行的JavaScript動態文本替換工具,它是一個輕量級庫,能夠很容易地實現文本內容的遞增、遞減、替換、切換以及其他各種操作。在本文中,我們將從多個方面探討t…

    編程 2025-04-28
  • JS圖片沿著SVG路徑移動實現方法

    本文將為大家詳細介紹如何使用JS實現圖片沿著SVG路徑移動的效果,包括路徑製作、路徑效果、以及實現代碼等內容。 一、路徑製作 路徑的製作,我們需要使用到SVG,SVG是可縮放矢量圖…

    編程 2025-04-27
  • 如何使用JS調用Python腳本

    本文將詳細介紹通過JS調用Python腳本的方法,包括使用Node.js、Python shell、child_process等三種方法,以及在Web應用中的應用。 一、使用Nod…

    編程 2025-04-27
  • 如何反混淆美團slider.js

    本文將從多個方面詳細闡述如何反混淆美團slider.js。在開始之前,需要明確的是,混淆是一種保護JavaScript代碼的方法,其目的是使代碼難以理解和修改。因此,在進行反混淆操…

    編程 2025-04-27
  • Python要學JS嗎?

    Python和JavaScript都是非常受歡迎的編程語言。然而,你可能會問,既然我已經學了Python,是不是也需要學一下JS呢?在本文中,我們將圍繞這個問題進行討論,並從多個角…

    編程 2025-04-27
  • 解決js ajax post 419問題

    對於使用ajax post請求時出現的419問題,我們需要進行以下幾個方面的闡述,包括返回碼的含義、可能出現的情況、解決方案等內容。 一、解析419返回碼 419返回碼錶示用戶超時…

    編程 2025-04-27
  • Three.js實現室內模型行走

    在本文中,將介紹如何使用Three.js創建室內模型,並在場景中實現行走。為了實現這一目標,需要完成以下任務: 載入室內模型及材質貼圖 實現攝像機控制,支持用戶自由行走 添加光源,…

    編程 2025-04-25

發表回復

登錄後才能評論