| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <title></title>
- <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
- <meta name="apple-mobile-web-app-capable" content="yes">
- <meta name="apple-mobile-web-app-status-bar-style" content="black">
- <link rel="stylesheet" href="css/mui.min.css">
- <link rel="stylesheet" href="css/iconfont.css" />
- <style>
- html,
- body {
- background-color: #efeff4;
- }
-
- .mui-views,
- .mui-view,
- .mui-pages,
- .mui-page,
- .mui-page-content {
- position: absolute;
- left: 0;
- right: 0;
- top: 0;
- bottom: 0;
- width: 100%;
- height: 100%;
- background-color: #efeff4;
- }
-
- .mui-pages {
- top: 46px;
- height: auto;
- }
-
- .mui-scroll-wrapper,
- .mui-scroll {
- background-color: #efeff4;
- }
-
- .mui-page.mui-transitioning {
- -webkit-transition: -webkit-transform 300ms ease;
- transition: transform 300ms ease;
- }
-
- .mui-page-left {
- -webkit-transform: translate3d(0, 0, 0);
- transform: translate3d(0, 0, 0);
- }
-
- .mui-ios .mui-page-left {
- -webkit-transform: translate3d(-20%, 0, 0);
- transform: translate3d(-20%, 0, 0);
- }
-
- .mui-bar-nav {
- background-color: #00a1cb;
- }
-
- .mui-navbar {
- position: fixed;
- right: 0;
- left: 0;
- z-index: 10;
- height: 44px;
- background-color: #00a1cb;
- }
-
- .mui-navbar .mui-bar {
- position: absolute;
- background: transparent;
- text-align: center;
- }
-
- .mui-android .mui-navbar-inner.mui-navbar-left {
- opacity: 0;
- }
-
- .mui-ios .mui-navbar-left .mui-left,
- .mui-ios .mui-navbar-left .mui-center,
- .mui-ios .mui-navbar-left .mui-right {
- opacity: 0;
- }
-
- .mui-navbar .mui-btn-nav {
- -webkit-transition: none;
- transition: none;
- -webkit-transition-duration: .0s;
- transition-duration: .0s;
- }
-
- .mui-navbar .mui-bar .mui-title {
- display: inline-block;
- width: auto;
- }
-
- .mui-page-shadow {
- position: absolute;
- right: 100%;
- top: 0;
- width: 16px;
- height: 100%;
- z-index: -1;
- content: '';
- }
-
- .mui-page-shadow {
- background: -webkit-linear-gradient(left, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0) 10%, rgba(0, 0, 0, .01) 50%, rgba(0, 0, 0, .2) 100%);
- background: linear-gradient(to right, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0) 10%, rgba(0, 0, 0, .01) 50%, rgba(0, 0, 0, .2) 100%);
- }
-
- .mui-navbar-inner.mui-transitioning,
- .mui-navbar-inner .mui-transitioning {
- -webkit-transition: opacity 300ms ease, -webkit-transform 300ms ease;
- transition: opacity 300ms ease, transform 300ms ease;
- }
-
- .mui-page {
- display: none;
- }
-
- .mui-pages .mui-page {
- display: block;
- }
-
- .mui-page .mui-table-view:first-child {
- margin-top: 15px;
- }
-
- .mui-page .mui-table-view:last-child {
- margin-bottom: 30px;
- }
-
- .mui-table-view {
- margin-top: 20px;
- }
-
- .mui-table-view span.mui-pull-right {
- color: #999;
- }
-
- .mui-table-view-divider {
- background-color: #efeff4;
- font-size: 14px;
- }
-
- .mui-table-view-divider:before,
- .mui-table-view-divider:after {
- height: 0;
- }
-
- .head {
- height: 40px;
- }
-
- #head {
- line-height: 40px;
- }
-
- .head-img {
- width: 40px;
- height: 40px;
- }
-
- #head-img1 {
- position: absolute;
- bottom: 10px;
- right: 40px;
- width: 40px;
- height: 40px;
- }
-
- .update {
- font-style: normal;
- color: #999999;
- margin-right: -25px;
- font-size: 15px
- }
-
- .mui-fullscreen {
- position: fixed;
- z-index: 20;
- background-color: #000;
- }
-
- .mui-ios .mui-navbar .mui-bar .mui-title {
- position: static;
- }
-
- .mui-title {
- color: #fff!important;
- }
-
- #img1 {
- width: 100%;
- }
-
- .mui-grid-view.mui-grid-9 .mui-table-view-cell {
- padding: 11px 10px;
- }
-
- .Content .mui-media-body {
- width: 50%;
- }
-
- .mui-icon {
- font-size: 24px!important;
- vertical-align: sub;
- }
-
- .Blue {
- color: #1775c2;
- }
- /*图标颜色*/
-
- .yellow {
- color: #f68d20;
- }
-
- .blue {
- color: #1775C2;
- }
-
- .blues {
- color: #1677be;
- }
-
- .green {
- color: #008a4d;
- }
-
- .red {
- color: #e4415d;
- }
-
- .Content {
- background-color: #fff;
- }
-
- .Content-title {
- margin-left: 8px;
- }
-
- .Content-title h5 {
- margin: 0;
- line-height: 34px;
- color: #797979;
- font-weight: 700;
- }
-
- .size-16 {
- font-size: 16px;
- }
-
- .size-14 {
- font-size: 14px;
- }
-
- .Left-icon {
- width: 20%;
- line-height: 40px;
- margin-right: 3px;
- }
-
- .mui-pull-left h4 {
- font-size: 13px;
- margin-bottom: 8px;
- }
-
- .mui-pull-left h5 {
- font-size: 12px;
- }
-
- #IMG-box {
- background-color: #fff;
- }
-
- .Common-box li {
- display: none;
- }
-
- .red {
- color: #ff1b41;
- }
-
- .marquee {
- overflow: hidden;
- line-height: 40px;
- background-color: #fff;
- margin-bottom: 8px;
- }
-
- .marquee-span {
- font-size: 14px;
- color: #797979;
- font-weight: 700;
- }
-
- .Icon {
- /*height: 30px; */
- padding: 5px;
- /* width: 30px; */
- border-radius: 50%;
- width: 34px;
- margin: 0 auto;
- }
-
- .Icon i {
- color: #fff;
- }
-
- .icon-1 {
- background-color: #ff9600;
- }
-
- .icon-2 {
- background-color: #4692f8;
- }
-
- .icon-3 {
- background-color: #ff784b;
- }
-
- .icon-4 {
- background-color: #7068e2;
- }
-
- .icon-7 {
- background-color: #1bce8d;
- }
-
- .icon-6 {
- background-color: #f26665;
- }
- </style>
- </head>
- <body>
- <!--页面主内容区开始-->
- <div class="mui-content">
- <!--banner-->
- <div id="IMG-box">
- <img id="img1" src="img/banner.png" class="">
- </div>
- <div class="marquee">
- <div style="float: left;" class="Content-title">
- <span class="marquee-span">
- <i class='red mui-icon iconfont icon-gonggao01'></i>
- 最新消息:
- </span>
- </div>
- <div style="float: left; width: 60%;" class="Ga">
- <!--<h5 class="mui-ellipsis">
- <marquee class="mui-ellipsis" style="height: 20px; font-size: 12px; color:#e43926" direction="up" scrollamount="1" color="#e43926">滚动字幕内容滚动字幕内容滚动内容滚动内容滚动内容滚动滚动内容滚动滚动内容滚动滚动内容滚动</marquee>
- </h5>-->
- </div>
- </div>
- <!--主体-->
- <div class='Content' style="margin-bottom: 8px;">
- <!--<div class="Content-title">
- <h5 style="margin-top: 0;"><span class="blues" style="margin-right: 5px;"><i class='mui-icon iconfont icon-gongdan'></i></span><span>工单管理</span></h5>
- </div>-->
- <!--领导查看-->
- <ul class="mui-table-view mui-grid-view mui-grid-9 Common-box Dispatch_">
- <li class="mui-table-view-cell mui-media mui-col-xs-6 mui-col-sm-6">
- <a href="javascript:;" class="Seach" data-index="0">
- <div class="Icon icon-1"><i class="mui-icon iconfont icon-check1 "></i></div>
- <div class="mui-media-body">查询工单</div>
- </a>
- </li>
- <li class="mui-table-view-cell mui-media mui-col-xs-6 mui-col-sm-6">
- <a href="javascript:;" class="Report" data-index="0">
- <div class="Icon icon-1"><i class="mui-icon iconfont icon-bianji "></i></div>
- <div class="mui-media-body">提出诉求</div>
- </a>
- </li>
- </ul>
- </div>
- </div>
- </body>
- <script src="js/mui.min.js "></script>
- <script src="js/zepto.js"></script>
- <script src="js/huayi.config.js"></script>
- <script>
- mui.init();
- mui.plusReady(function() {
- var token = localStorage.getItem("token");
- var usercode = localStorage.getItem("user1"); //获取本地存储
- //报表查看
- $(".Report").on('tap', function() {
- var nwaiting = plus.nativeUI.showWaiting();
- webviewShow = plus.webview.create("citizen/User-personWorkAdd.html"); //后台创建webview并打开show.html
- webviewShow.addEventListener("loaded", function() { //注册新webview的载入完成事件
- nwaiting.close(); //新webview的载入完毕后关闭等待框
- webviewShow.show("slide-in-right", 300); //把新webview窗体显示出来,显示动画效果为速度300毫秒的右侧移入动画
- }, false);
- })
- //报表查看
- $(".Seach").on('tap', function() {
- var nwaiting = plus.nativeUI.showWaiting();
- webviewShow = plus.webview.create("citizen/User-personaList.html"); //后台创建webview并打开show.html
- webviewShow.addEventListener("loaded", function() { //注册新webview的载入完成事件
- nwaiting.close(); //新webview的载入完毕后关闭等待框
- webviewShow.show("slide-in-right", 300); //把新webview窗体显示出来,显示动画效果为速度300毫秒的右侧移入动画
- }, false);
- })
- var Code_;
- var NewCode_;
- var server = huayi.config.callcenter_url + "ApplicationsRefresh/GetInfo?"; //获取升级描述文件服务器地址
- plus.runtime.getProperty(plus.runtime.appid, function(wgtinfo) {
- console.log("当前应用版本:"+wgtinfo.version+"---"+plus.runtime.version);
- localStorage.setItem("Code",wgtinfo.version)//缓存保存版本号;
- Code_= localStorage.getItem("Code");
- $('.update').text(Code_);
-
- });
- mui.ajax(server, {
- data: {
- isNew: true,
- token: token
- },
- dataType: 'json', //服务器返回json格式数据
- type: 'post', //HTTP请求类型
- timeout: 10000, //超时时间设置为10秒;
- headers: {
- 'Content-Type': 'application/x-www-form-urlencoded; charset=utf-8'
- },
- success: function(data) {
- if(data.state == "success") {
- NewCode_ = data.data.F_VersionCode;
- localStorage.setItem("Code",NewCode_); //缓存保存版本号;
- // alert(Code_);
- // alert(NewCode_)
- if(Code_!= NewCode_){
- var Codes=localStorage.setItem("Code",NewCode_);
- plus.nativeUI.confirm("1:修改BUG", function(event) {
- var tapIndex = event.index;
- if(tapIndex == 0) {
- console.log(data);
- plus.runtime.openURL(data.data.F_DownUrl);
- } else {
- mui.toast("取消更新");
- }
- }, "提示", ["立即更新", "取消", ])
- }
- } else {
- mui.toast(data.message);
- }
- },
- error: function(data) {
- //异常处理;
- console.log(data.message);
- }
- })
- })
- </script>
- </html>
|