马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?立即注册
×
* Q/ f- b8 s& ?5 J- u8 ?; ^7 N
8 V$ m& c& Y1 G, v: S$ o
X3.1 升级到 X3.2 后宽窄风格失效经查是css加载问题 文件位置在/template/default/common/header.htm 查找源码发现 - <!--{if widthauto()}-->2 X+ z+ K! t% v/ {+ p/ e6 K- [3 Q
- <link rel="stylesheet" id="css_widthauto" type="text/css" href='{$_G['setting']['csspath']}{STYLEID}_widthauto?{VERHASH}' />
" [4 `* V- f* ~$ H; T - <script type="text/javascript">HTMLNODE.className += ' widthauto'</script>
0 z6 |: y4 L# w; e- i4 C: J+ t - <!--{/if}-->
复制代码
7 J+ ~# L6 D2 X0 W l0 c: X6 a5 g2 R5 U0 ^
将源码改成如下就OK了(红色部分是需要添加的,也就是需要修改的) 0 X; }$ `$ m$ G) P
- <!--{if widthauto()}-->/ ]% ?$ E2 d& ]" `1 ^
- <link rel="stylesheet" id="css_widthauto" type="text/css" href='{$_G['setting']['csspath']}{STYLEID}_widthauto<font color="#ff0000">.css</font>?{VERHASH}' />9 ^( Z" @! H! P6 s1 W( e; C
- <script type="text/javascript">HTMLNODE.className += ' widthauto'</script>$ ?# f. g& i& [7 L/ e; U, D& z6 U
- <!--{/if}-->
复制代码
1 m( U( ~1 e' }; U% t' f
$ f0 V+ o$ Y: |, i5 U / u9 e( q+ N u2 K( g7 P
|