north 7 жил өмнө
parent
commit
45dc3caeec

+ 18 - 47
www/protected/modules/j/views/web/index.php

@@ -1,64 +1,35 @@
 <?php $host = $_SERVER['HTTP_HOST']; /*资源路径设置*/ ?>
-<?php $newVersion = 2018010800;/*vue~资源版本号*/ ?>
-<!DOCTYPE html>
-<html>
+<?php $newVersion = time() /*时间戳*/ ?>
+<!doctype html>
+<html lang="en">
 <head>
-  <title>壹管家</title>
-  <meta http-equiv="Content-type" content="text/html; charset=utf-8">
-  <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
-  <meta name="apple-mobile-web-app-capable" content="yes">
-  <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"/>
-  <meta http-equiv="Pragma" content="no-cache">
-  <meta http-equiv="X-UA-Compatible" content="IE=edge">
-  <style media="screen">
-    html{
-      font-size: 120%;
-    }
-    body {
-      height: 100%;
-      width: 100%;
-      overflow-x: hidden;
-      font-size: 17px;
-      line-height: 21px;
-      color: #000;
-      background-color: #fff;
-    }
-
+  <title>家政</title>
+  <style>
     * {
       margin: 0;
       padding: 0;
     }
-
-    ul, li {
-      list-style: none;
-      margin: 0;
-      padding: 0;
-    }
-
-    a {
-      text-decoration: initial;
-    }
   </style>
-  <link rel="stylesheet" id="app_css" href="http://<?php echo $host ?>/webapp/o2o_new/dist/static/css/app.css?v=<?php echo $newVersion?>">
-  <!--vue_end-->
-  <!--  <script type="text/javascript" src="https://code.jquery.com/jquery-2.2.0.min.js"></script>-->
-  <script type="text/javascript" src = 'http://webapi.amap.com/maps?v=1.3&key=ea4228b685c663ac62af7da3a0702c97'></script>
-<!--  <script type="text/javascript" src="https://dn-bughd-web.qbox.me/bughd.min.js" crossOrigin="anonymous"></script>
-    <script type="text/javascript">
-    window.bughd = window.bughd || function () {
-      };
-    bughd("create", {key: "aebe40c5d5b2975056629dc7980676ce"})
-  </script>-->
+  <meta charset="UTF-8">
+  <meta name="viewport"
+        content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
+  <meta http-equiv="X-UA-Compatible" content="ie=edge">
+
+  <link rel="stylesheet" id="app_css"
+        href="http://<?php echo $host ?>/webapp/housekeeping/home/static/css/app.css?v=<?php echo $newVersion ?>">
+  <link rel="stylesheet" href="https://res.wx.qq.com/open/libs/weui/1.1.2/weui.min.css">
+  <script type="text/javascript" src="https://res.wx.qq.com/open/libs/weuijs/1.1.2/weui.min.js"></script>
 </head>
 <body>
 <!--vue-->
 <div id=app></div>
 <script type=text/javascript id="manifest"
-        src="http://<?php echo $host ?>/webapp/o2o_new/dist/static/js/manifest.js?v=<?php echo $newVersion?>"></script>
+        src="http://<?php echo $host ?>/webapp/housekeeping/home/static/js/manifest.js?v=<?php echo $newVersion ?>"></script>
 <script type=text/javascript id="vendor"
-        src="http://<?php echo $host ?>/webapp/o2o_new/dist/static/js/vendor.js?v=<?php echo $newVersion?>"></script>
+        src="http://<?php echo $host ?>/webapp/housekeeping/home/static/js/vendor.js?v=<?php echo $newVersion ?>"></script>
 <script type=text/javascript id="appJs"
-        src="http://<?php echo $host ?>/webapp/o2o_new/dist/static/js/app.js?v=<?php echo $newVersion?>"></script>
+        src="http://<?php echo $host ?>/webapp/housekeeping/home/static/js/app.js?v=<?php echo $newVersion ?>"></script>
+</body>
 
 <!--vue-end-->
 <script type="text/javascript" id="wxMain" data-sign="<?php echo @htmlentities(json_encode($signPackage)); ?>"></script>