主题 : 发布的网站,页面显示都是繁体字 |
级别: 解元
![]() |
13# 发表于:2021-11-25 14:00:22 IP:222.23.*.*
回复第10楼
我把引用的这个chinese.js文件的代码注释了,就正常显示简体字了。 |
||
---|---|---|---|
级别: 总版主
![]() |
14# 发表于:2021-11-25 14:02:48 IP:59.210.*.*
$(function(){
if(localStorage.getItem('typeface') && localStorage.getItem('typeface')=='简体'){ $('.typeface>span').text('简体'); zh_tran('s') }else if(localStorage.getItem('typeface') && localStorage.getItem('typeface')=='繁体'){ $('.typeface>span').text('繁体'); zh_tran('t') }else{ $('.typeface>span').text('简体'); zh_tran('s') } }) 在包含页面里面加上这个 |
||
---|---|---|---|
级别: 解元
![]() |
15# 发表于:2021-11-25 14:06:43 IP:222.23.*.*
回复第14楼
好的,十分感谢!! 请问这个chinese.js还有别的用吗? 只是修改页面的 繁简字体是吗? |
||
---|---|---|---|