diff --git a/public/index.html b/public/index.html index ed32ca4..b6a7dbe 100644 --- a/public/index.html +++ b/public/index.html @@ -1,18 +1,34 @@ - - - - - - - 港校租房 - - - -
- - - + + + + + + + + 港校租房 + + + + +
+
+ + +
+ + + + \ No newline at end of file diff --git a/src/components/apartment/seachModule.vue b/src/components/apartment/seachModule.vue index f647220..0576afc 100644 --- a/src/components/apartment/seachModule.vue +++ b/src/components/apartment/seachModule.vue @@ -741,7 +741,8 @@ let deleteSeachVal = (i) => { text-align: left; .btn { - margin: 20px 30px 0 0; + margin-top: 20px; + padding-right: 30px; cursor: pointer; word-break: break-word; position: relative; @@ -752,7 +753,7 @@ let deleteSeachVal = (i) => { .btn-icon { position: absolute; top: 50%; - right: -16px; + right: 16px; transform: translateY(-50%); width: 8px; height: 8px; diff --git a/src/components/public/public-list-item.vue b/src/components/public/public-list-item.vue index ea116b3..a10cd38 100644 --- a/src/components/public/public-list-item.vue +++ b/src/components/public/public-list-item.vue @@ -105,7 +105,6 @@ @click.stop="goUp">{{ data.isding == 0 ? '顶上去' : '今天已顶' }} -
diff --git a/src/router/index.js b/src/router/index.js index 0d70a4c..68557b7 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -140,6 +140,21 @@ router.beforeEach((to, from, next) => { let meta = to['meta'] || {} let title = meta['title'] if (title) setSeoTitle(title) + + + if (window._hmt) { + if (to.path) { + window._hmt.push(['_trackPageview', '/#' + to.fullPath]) + } + } + + if (window._czc) { + let location = window.location + let contentUrl = location.pathname + location.hash + let refererUrl = "/" + // 用于发送某个URL的PV统计请求 + window._czc.push(["_trackPageview", contentUrl, refererUrl]) + } }) router.afterEach(() => {