region.html
3.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>城市组件选择</title>
<link rel="stylesheet" type="text/css" href="../css/style/m-pickdate.css">
<link rel="stylesheet" type="text/css" href="../css/style/popup.css">
<link rel="stylesheet" type="text/css" href="../css/style/m-form.css">
<script type="text/javascript" src="http://static.nong12.com/static/source/components/js/base/jquery-1.8.2.min.js"></script>
<script type="text/javascript" src="http://static.nong12.com/static/source/components/js/base/sea.js"></script>
</head>
<body>
<ul>
<li>
<h1>城市选择组件</h1>
<h4>使用 : </h4>
<div class="cont">
<p>1、依赖js包 sea / jquery / Alert</p>
<p>2、依赖css包 fancybox / m-public</p>
</div>
<h4>创建 : </h4>
<div class="cont">
</div>
<h4>参数 : </h4>
<div class="cont">
<table>
<thead>
<tr>
<td>参数名称</td>
<td>参数类型</td>
<td>参数等级</td>
<td>参数详情</td>
</tr>
</thead>
<tbody>
<tr>
<td>type</td>
<td>string</td>
<td>选填</td>
<td>显示主题类型error、succeed、warning三种类型 默认为:“”</td>
</tr>
</tbody>
</table>
</div>
<h4>示例 : </h4>
<div class="cont">
<!--<div class="m-region" url="http://user.nong12.com//api/city/getCityJsonpList.do" ></div>-->
<div>
<div class="m-region" data-place="Place提示文字" id="ceshi-1" url="http://user.nong12.com//api/city/getCityJsonpList.do" setUrl="http://user.nong12.com/api/city/getParentCityJsonpList.do?cityId=1440802" hasOthers="0"></div>
</div>
<div>
<div class="m-region" url="http://manweb.nong12.com/city/getCountryJsonpList.do" isLimit="1" isEnsure="1" hasOthers="0"></div>
</div>
<!--<div class="m-region" url="http://user.nong12.com//api/city/getCityJsonpList.do" ></div>-->
<!--<div class="m-region" url="http://user.nong12.com//api/city/getCityJsonpList.do" ></div>-->
<div>
<div class="m-region" data-place="" url="http://manweb.nong12.com/city/getCountryJsonpList.do" ></div>
</div>
<div>
<div class="m-region" url="http://user.nong12.com//api/city/getCityJsonpList.do" data="city,parentId,regionId,regionName,parentId,1" data-place="自定义提示文字"></div>
</div>
<div class="click-ceshi">点击测试</div>
</div>
</li>
</ul>
</body>
<script type="text/javascript" src="../js/javascript/common/config.js"></script>
<script type="text/javascript">
seajs.use(['../js/javascript/region/main.js']);
</script>
</html>