This commit is contained in:
A1300399510
2023-08-09 11:51:41 +08:00
parent e56dcd4ca7
commit 497b50f7c8
4 changed files with 50 additions and 19 deletions

View File

@@ -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;

View File

@@ -105,7 +105,6 @@
@click.stop="goUp">{{
data.isding == 0 ? '顶上去' : '今天已顶' }}
</div>
<!-- <div class="publish-item flexcenter already-go-up" v-if="stateData.btn == 2 && item.isding == 1"></div> -->
</div>
<div class="btm-box dis-f al-item" v-else>
<div class="flex1 flexacenter">

View File

@@ -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(() => {