<p>为了增强对移动的支持,我们增加了几个属性,如下:</p> <p><a href="http://static.oschina.net/uploads/img/201407/28162837_5ZXS.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://static.oschina.net/uploads/img/201407/28162843_1OIv.png" width="556" height="317" /></a> </p> <p> </p> <p>前台设置界面:</p> <p><a href="http://static.oschina.net/uploads/img/201407/28162845_N3Kp.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://static.oschina.net/uploads/img/201407/28162850_e9cQ.png" width="660" height="433" /></a> </p> <p> <p> </p> <p> </p> <p>从字面的意思,应该了解这些属性的意义。</p> <p>#region 移动设置. <br />map.AddDDLSysEnum(NodeAttr.MPhone_WorkModel, 0, "手机工作模式", true, true,NodeAttr.MPhone_WorkModel, "@0=原生态@1=浏览器@2=禁用"); <br />map.AddDDLSysEnum(NodeAttr.MPhone_SrcModel, 0, "手机屏幕模式", true, true, NodeAttr.MPhone_SrcModel, "@0=强制横屏@1=强制竖屏@2=由重力感应决定"); </p> <p>map.AddDDLSysEnum(NodeAttr.MPad_WorkModel, 0, "平板工作模式", true, true, NodeAttr.MPad_WorkModel, "@0=原生态@1=浏览器@2=禁用"); <br />map.AddDDLSysEnum(NodeAttr.MPad_SrcModel, 0, "平板屏幕模式", true, true, NodeAttr.MPad_SrcModel, "@0=强制横屏@1=强制竖屏@2=由重力感应决定"); <br />#endregion 移动设置. </p></p>