“首页”的版本间的差异

来自joyousreading
跳转至: 导航搜索
第1行: 第1行:
  
 
{| class="wikitable" <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
 
{| class="wikitable" <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
| colspan="2" |[[ image:banner.jpg| ]]
+
| colspan="2" |[[ image:banner.jpg|<max-width: 128px;
 +
    max-height: 128px;
 +
    height:auto;
 +
    zoom:expression( function(e) {
 +
if(e.width>e.height) {if (e.width>128) { e.height = e.height*(128 /e.width); e.width=128; }}
 +
else {if (e.height>128) { e.width = e.width*(128 /e.height); e.height=128; }}
 +
e.style.zoom = '1';    }(this));
 +
        overflow:hidden>]]
 
|-
 
|-
 
|[[文件:消息通知4.png|居中| 链接=消息通知|消息通知]]
 
|[[文件:消息通知4.png|居中| 链接=消息通知|消息通知]]
 
|[[文件:使用指南3.png|居中| 链接=使用指南|使用指南]]
 
|[[文件:使用指南3.png|居中| 链接=使用指南|使用指南]]
 
|}
 
|}

2017年12月23日 (六) 21:07的版本

<max-width: 128px;     max-height: 128px;     height:auto;     zoom:expression( function(e) { if(e.width>e.height) {if (e.width>128) { e.height = e.height*(128 /e.width); e.width=128; }} else {if (e.height>128) { e.width = e.width*(128 /e.height); e.height=128; }} e.style.zoom = '1';     }(this));          overflow:hidden>
消息通知
使用指南