| 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/weui.min.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>
 
-         body{
 
-       background: #f5f5f5;
 
-     }
 
-     a {
 
-         color: #666;
 
-     }
 
-     .hotel-top{
 
-        width:100%;
 
-        height: 4.08rem;
 
-        background: url(../../image/hotel01.jpg) ;
 
-        background-repeat:no-repeat; 
 
-        background-size: cover;
 
-      }
 
-      .hotel-top-line{
 
-        width:100%
 
-      }
 
-      .hotel-top-line li{
 
-        float:left;
 
-      }
 
-      
 
-      .hotel-top-search{
 
-        width:100%;
 
-        opacity:0.5;
 
-         height:2.2rem;
 
-        line-height:2.2rem;
 
-        background:#000000;
 
-        border-radius:10px;
 
-        color:#ffffff;
 
-        padding-left:10px;
 
-        box-sizing:border-box;
 
-      }
 
-      .hotel-top-search img{
 
-        width:1.3rem;
 
-        vertical-align:middle;
 
-      }
 
-      .hotel-title{
 
-        font-size: 0.35rem;
 
-        padding: 0.3rem 0;
 
-      }
 
-      .hotel-title span{
 
-         float:right;
 
-          font-size: 0.17rem;
 
-       }
 
-       .hotel-contact{
 
-         font-size: 0.28rem;
 
-         padding-bottom: 0.42rem;
 
-       }
 
-       
 
-       #store_description img {
 
-           width: 100%;
 
-       }
 
-       #store_description {
 
-         font-size: 0.28rem;
 
-         color: #999;
 
-         line-height: 0.4rem;
 
-       }
 
-       .iconfont {
 
-         color: #ffffff;
 
-       }
 
-     </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-top">
 
-         <section>
 
-             <div class="h20"></div>
 
-             <div class="hotel-top-line">
 
-                 <ul>
 
-                     <li style="width: 0.66rem;" class="back-btn">
 
-                         <div class="hotel-top-back"><span class="iconfont"></span></div>
 
-                     </li>
 
-                     <li style="width: 5.5rem;"></li>
 
-                     <li style="width: 0.66rem;"></li>
 
-                 </ul>
 
-             </div>
 
-         </section>
 
-     </div>
 
-     <div style="background:#ffffff;width:100%;padding-bottom: 1.2rem;">
 
-         <section>
 
-             <div class="hotel-title">
 
-                 <h id="store_name"></h>
 
-             </div>
 
-             <div id="store_description"></div>
 
-             <div class="h10"></div>
 
-             <div class="weui-cells">
 
-                             <div class="weui-cell">
 
-                                 <div class="weui-cell__bd">
 
-                                     <p>酒店地址</p>
 
-                                 </div>
 
-                                 <div class="weui-cell__ft" id="store_address"></div>
 
-                             </div>
 
-                             <div class="weui-cell">
 
-                                 <div class="weui-cell__bd">
 
-                                     <p>联系酒店</p>
 
-                                 </div>
 
-                                 <div class="weui-cell__ft" id="store_phone"></div>
 
-                             </div>
 
-                         </div>
 
-             <div class="h20"></div>
 
-         </section>
 
-     </div>
 
-     <div class="m-bottom mask-hidden" style="position: fixed;bottom: 0.2rem;margin: 0 0.32rem;width: 6.86rem;">您的入住意见反馈(反馈送圈币)</div>
 
- </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">
 
- var _keyid = '';
 
- apiready = function() {
 
-     _keyid = api.pageParam.keyid;
 
-     setIosTopBar();
 
-     getRouteData(_keyid);
 
- };
 
- ///////////
 
- function getRouteData(_keyid) {
 
-     $.ajax({
 
-         url: siteurl + 'v1/agent/storeInfo',
 
-         data: {
 
-             store_id: _keyid
 
-         },
 
-         headers: { "X-TOKEN": $api.getStorage("accesstoken") },
 
-         dataType: 'json',
 
-         type: 'post',
 
-         success: function(datas) {
 
-             if (datas.result) {
 
-                 $("#store_name").html(datas.data.store_name);
 
-                 $("#store_description").html(datas.data.store_description);
 
-                 $("#store_address").html(datas.data.area_info +' '+datas.data.store_address);
 
-                 $("#store_phone").html('<a href="tel:'+datas.data.store_phone+'">'+datas.data.store_phone+'</a>');
 
-                 $(".hotel-top").css("background-image", "url(" + siteurl + "uploads/home/store/" + datas.data.store_id + "/" + datas.data.store_banner + ")");
 
-             } else {
 
-                 errcode(datas, datas.code);
 
-             }
 
-         }
 
-     });
 
- }
 
- $(".m-bottom").on("tap", function() {
 
-     toast_loding_show();
 
-     $.ajax({
 
-         url: rooturl + '?do=checkfeed',
 
-         data: {
 
-             store_id: _keyid,
 
-             member_id: $api.getStorage("memberid")
 
-         },
 
-         dataType: 'json',
 
-         type: 'post',
 
-         success: function(datas) {
 
-             toast_loding_hide();
 
-             if (datas.result) {
 
-                 api.openWin({
 
-                     name: 'feedback',
 
-                     url: './feedback.html',
 
-                     bounces: false,
 
-                     pageParam: {
 
-                         keyid: _keyid
 
-                     }
 
-                 });
 
-             } else {
 
-                 api.toast({ msg: datas.msg });
 
-             }
 
-         }
 
-     });
 
-     return false;
 
- })
 
- </script>
 
- </html>
 
 
  |