diff --git a/fangija-zsyf/js/log/log_stat.js b/fangija-zsyf/js/log/log_stat.js
new file mode 100644
index 0000000..e09e2e0
--- /dev/null
+++ b/fangija-zsyf/js/log/log_stat.js
@@ -0,0 +1,41 @@
+/**
+ * 日志记录,依赖于axios.min.js,axiosPlugin.js
+ * @author yinjihuan
+ */
+document.addEventListener('plusready', function() {
+ savePageLog()
+}, false);
+
+/**
+ * 记录页面访问日志
+ */
+function savePageLog() {
+ var page = document.getElementsByTagName("title")[0].innerHTML;
+ var device = plus.device.uuid;
+ var model = plus.device.model;
+ plus.geolocation.getCurrentPosition(function(p){
+ province = p.address.province;
+ city = p.address.city;
+ region = p.address.district;
+ lng = p.coords.longitude;
+ lat = p.coords.latitude;
+ address = p.address.street;
+ doSavePageLog({page:page, lng:lng, lat:lat, province:province, city:city, region:region, address:address, device:device, model:model});
+ }, function(e){
+ doSavePageLog({page:page, device:device, model:model});
+ },
+ {
+ provider:'baidu',
+ enableHighAccuracy:true,
+ coordsType:'bd09ll'
+ }
+ );
+}
+
+function doSavePageLog(data) {
+ axios.post("/rest/log/save", data).then(function (response) {
+
+ }).catch(function (error) {
+ console.log(error);
+ });
+}
diff --git a/fangija-zsyf/views/district/aroundDetail.html b/fangija-zsyf/views/district/aroundDetail.html
index c083884..dbaee06 100644
--- a/fangija-zsyf/views/district/aroundDetail.html
+++ b/fangija-zsyf/views/district/aroundDetail.html
@@ -82,7 +82,7 @@ $.config = {router: false}
-
+
+
-
+
-
+
+
+
+
+
-
+
-
+
-
+
+
-
+
-
+
+
-
+
+
+
+
+
-
+
-
+
diff --git a/fangija-zsyf/yfindex.html b/fangija-zsyf/yfindex.html
index 746dfa2..ad60cd9 100644
--- a/fangija-zsyf/yfindex.html
+++ b/fangija-zsyf/yfindex.html
@@ -1182,7 +1182,7 @@ $.config = {router: false}
-
+