| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201 | <!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;        }        .border-none p{          color:#999999;        }        .border-none-img{          width: 1.3rem;          height: 1.3rem;          border-radius:50%;          vertical-align:middle;        }        .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: 0.28rem;          vertical-align:middle;          margin-bottom:3px;        }         .setting-item input{           width:60%;           border-bottom:none;         }         .hotel-info{           width: 100%;           height: 3.5rem;           background: #D9251C;           position:relative;         }         .section-hotel{          border-top-right-radius: 0.2rem;          border-top-left-radius: 0.2rem;          background: #ffffff;          /*height: 100%*/         }         .hotel-info-cnt img{          width: 1.3rem;          height: 1.3rem;          border-radius: 50%;          vertical-align:middle;         }         .hotel-info-cnt{            padding: 1.1rem 0.45rem;            height: 1.3rem;            line-height: 1.3rem;         }         .store-name{            color: #FFFFFF;            padding-left: 0.3rem;            font-size: 0.35rem;         }    </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>    <div class="hotel-info">        <div class="hotel-info-cnt">          <img src="../../image/logo2.png" class="store-avatar" />          <span class="store-name"></span>        </div>    </div>    <section class="border-none section-hotel" style="">        <div class="setting-item" id="about">            关于我们 <span style="float:right;color:#cccccc;" class="iconfont"></span>        </div>        <div class="h50"></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() {    setIosTopBar();    getRouteData();    api.addEventListener({        name:'resume'    }, function(ret, err){        getRouteData();    });    api.addEventListener({        name:'scrolltobottom'    }, function(ret, err){        getRouteData();    });    api.addEventListener({        name:'online'    }, function(ret, err){        getRouteData();    });};function getRouteData() {    $.ajax({        url: siteurl + 'v1/agent/info',        headers: { "X-TOKEN": $api.getStorage("accesstoken") },        dataType: 'json',        type: 'post',        success: function(datas) {            if (datas.result) {                // $(".store-avatar").attr("src", siteurl + "uploads/home/store/" + datas.store_id + "/" + datas.store_avatar);                $(".store-name").html(datas.data.admin_name);            } else {                errcode(datas, datas.code);            }        }    });}$("#about").on("tap", function() {    api.openWin({        name: 'about',        url: '../my/about.html',        bounces: false    });    return false;})$("#history").on("tap", function() {    api.openWin({        name: 'history',        url: 'history.html',        bounces: false    });    return false;})$("#feed-back").on("tap", function() {    api.openWin({        name: 'feedback',        url: '../my/feedback.html',        bounces: false    });    return false;})$(".m-bottom").on("tap", function() {    api.confirm({        title: '退出登录',        msg: '是否要退出登录?',        buttons: ['确定', '取消']    }, function(ret, err) {        var index = ret.buttonIndex;        if (index == 1) {            $api.rmStorage("storeid");            $api.rmStorage("agent_id");            $api.rmStorage("accesstoken");            $api.rmStorage("memberid");            api.openWin({                name: 'login',                url: '../../login.html',                bounces: false            });            setTimeCloseWin("index");            setTimeCloseWin("hotelindex");            setTimeCloseWin("agentindex");            api.closeWin();        }    });    return false;})</script></html>
 |