| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158 | 
							- <!DOCTYPE html>
 
- <html>
 
- <head>
 
-     <meta charset="utf-8">
 
-     <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
 
-     <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
 
-     <title></title>
 
-     <link rel="stylesheet" type="text/css" href="../../css/api.css" />
 
-     <link rel="stylesheet" type="text/css" href="../../css/iconfont.css" />
 
-     <link rel="stylesheet" type="text/css" href="../../css/style.css?v=1.2" />
 
-     <style>
 
-         .border-none{
 
-           text-align:center;font-size: 0.28rem;
 
-         }
 
-         .border-none span{
 
-           color: #999999;
 
-           /*font-size: 0.2rem;*/
 
-         }
 
-         .border-none-img{
 
-           margin-top:50px;
 
-           width:80px;
 
-           height:80px;
 
-           height:auto;
 
-           border-radius:50%;
 
-         }
 
-         .setting-item{
 
-           height: 1rem;
 
-           line-height:1rem;
 
-           font-size: 0.28rem;
 
-           width:100%;
 
-           border-bottom:1px solid #e8e8e8;
 
-           text-align:left;
 
-         }
 
-         .setting-item img{
 
-           width:19px;
 
-           vertical-align:middle;
 
-           margin-bottom:3px;
 
-         }
 
-          .setting-item input{
 
-            width:60%;
 
-            border-bottom:none;
 
-          }
 
-     </style>
 
-     <script>
 
-     (function(w, d, m) {
 
-         function r() {
 
-             var t = 100,
 
-                 o = 750,
 
-                 e = d.documentElement.clientWidth || w.innerWidth,
 
-                 n = m.max(m.min(e, 480), 320),
 
-                 h = 50;
 
-             320 >= n && (h = m.floor(n / o * t * .99)),
 
-                 n > 320 && 362 >= n && (h = m.floor(n / o * t * 1)),
 
-                 n > 362 && 375 >= n && (h = m.floor(n / o * t * 1)),
 
-                 n > 375 && (h = m.floor(n / o * t * .97)),
 
-                 d.querySelector("html").style.fontSize = h + "px"
 
-         };
 
-         r();
 
-         w.onresize = function() {
 
-             r()
 
-         }
 
-     })(window, document, Math);
 
-     </script>
 
- </head>
 
- <body>
 
-     <div class="topbar"></div>
 
-     <header class="back-header back-header-bottom">
 
-         <ul>
 
-             <li class="padding-20 back-btn"><img class="back-header-ico" src="../../image/nav_button_back_default.png" /></li>
 
-             <li class="back-header-title">系统设置</li>
 
-             <li class="more-btn"></li>
 
-         </ul>
 
-     </header>
 
-     <div style="padding-top: 1.15rem;"></div>
 
-     <section class="border-none">
 
-         <div class="setting-item" style="line-height: normal;" id="set_notification">
 
-             接收消息通知<br>
 
-             <span>到系统设置里打开关闭</span>
 
-         </div>
 
-         <div class="setting-item" id="about">
 
-             关于我们 <span style="float:right;color:#cccccc;" class="iconfont"></span>
 
-         </div>
 
-         <div class="setting-item mask-hidden" id="feed-back">
 
-             意见反馈 <span style="float:right;color:#cccccc;" class="iconfont"></span>
 
-         </div>
 
-         <div class="m-bottom" style="position: fixed;bottom: 0.5rem;width: 91.47%;">退出登录</div>
 
-     </section>
 
- </body>
 
- <script type="text/javascript" src="../../script/api.js"></script>
 
- <script type="text/javascript" src="../../script/jquery.min.js"></script>
 
- <script type="text/javascript" src="../../script/jquery.tap.js"></script>
 
- <script type="text/javascript">
 
- apiready = function() {
 
-     setFixStatusBar();
 
- };
 
- $("#set_notification").on("tap", function() {
 
-     api.requestPermission({
 
-         list:['notification'],
 
-         code:1
 
-     }, function(ret, err){
 
-         if( !ret || !ret.list || !ret.list.granted ){
 
-             api.toast({ msg: '已获得通知权限...' });
 
-         }
 
-     })
 
- })
 
- $("#about").on("tap", function() {
 
-     api.openWin({
 
-         name: 'about',
 
-         url: './about.html',
 
-         bounces: false
 
-     });
 
-     return false;
 
- })
 
- $("#feed-back").on("tap", function() {
 
-     api.openWin({
 
-         name: 'feedback',
 
-         url: './feedback.html',
 
-         bounces: false
 
-     });
 
-     return false;
 
- })
 
- $("#set_notificationx").on("tap", function() {
 
- })
 
- $(".m-bottom").on("tap", function() {
 
-     api.confirm({
 
-         title: '退出登录',
 
-         msg: '是否要退出登录?',
 
-         buttons: ['确定', '取消']
 
-     }, function(ret, err) {
 
-         var index = ret.buttonIndex;
 
-         if (index == 1) {
 
-             $api.rmStorage("memberid");
 
-             $api.rmStorage("accesstoken");
 
-             $api.rmStorage("storeid");
 
-             $api.rmStorage("agent_id");
 
-             api.closeWin({ name: 'index' });
 
-             api.closeWin({ name: 'hotelindex' });
 
-             api.closeWin({ name: 'agentindex' });
 
-             api.closeToWin();
 
-             api.openWin({
 
-                 name: 'index',
 
-                 url: 'widget://index.html',
 
-                 bounces: false,
 
-                 pageParam: {
 
-                     keyid: true
 
-                 }
 
-             })
 
-             api.closeWin();
 
-         }
 
-     });
 
-     return false;
 
- })
 
- </script>
 
- </html>
 
 
  |