Skip to content

Instantly share code, notes, and snippets.

移动端规范初步草案

多平台解决方案

纯移动端

对于已经存在桌面Web版,难以重构或者非常复杂的网站,我们考虑采用纯移动端的设计开发,尽量走轻量级路线。类似于本次 http://m.sdo.com 的页面开发需求。

全站响应式

对于新建站点,并且站点内容并不非常复杂,同时有移动端需求的网站,我们考虑采用全站响应式设计开发。

设计规范

分辨率

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,maximum-scale=1.0,minimum-scale=1.0">
<script src="http://we.sdoprofile.com/common/js/release/loader.min.js"></script>
<script type="text/javascript">
var prizeInfoUrl = "xxxx";
var drawUrl = 'xxx';
</script>
@inkless
inkless / compress.php
Last active December 10, 2015 20:48
Another Gist test.
<?php
define('WE_VERSION', '1.0.0');
$conf = array(
'common',
'component',
'business',
'page',
);