123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- <!DOCTYPE html>
- <html>
- <head>
- <title>mainBody</title>
- <style type="text/css">
- li.xxLi{
- width:23%;
- line-height: 25px;
- float:left;
- font-size:95%;
- padding:3px 0px 5px 5px;
- }
- .xx{
- background:#F2F2F2;
- }
- .xx > div {
- width:100%;
- float:left;
- }
- .checkedTest{
- color: rgb(210,80,21);
- border-bottom: 3px solid rgb(210,80,21);
- }
- .secoundList{
- height: 26px;
- border-bottom: 1px solid #888888;
- }
- </style>
- <script>
- $(function() {
- var type = "$!type";
- loadXxMain(type);
- });
- /**
- * 加载智能舍页面
- */
- function loadXxMain(type) {
- var param = [
- { name: "mcid", value: $("#mcid").val()},
- { name: "type", value: type}
- ];
- //加载内容页
- $("a:[class='checkedTest']").removeClass("checkedTest");
- $("#" + type).addClass("checkedTest");
- huimvMobile.loadMobilePage("xxMainBody", type + "MobileBody.htm", param);
- }
- </script>
- </head>
- <body>
- <input type="hidden" value="$!mcid" id="mcid"/>
- <div class="xx">
- <div style="width:100%">
- <ul class="secoundList">
- #if("$!xxtz_kz_xxtz" == "true")
- <li class="xxLi"><a href="#" onclick="javascript:loadXxMain('xxtz');" id="xxtz">消息通知</a></li>
- #end
- #if("$!xxtz_kz_xtgg" == "true")
- <li class="xxLi"><a href="#" onclick="javascript:loadXxMain('xtgg');" id="xtgg">系统公告</a></li>
- #end
- </ul>
- </div>
- <div id="xxMainBody" style="width:100%"></div>
- </div>
- </body>
- </html>
|