Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
junjun 2022-08-18 17:47:08 +08:00
commit 3f89e993d0
2 changed files with 14 additions and 1 deletions

View File

@ -70,4 +70,13 @@ export function starStatus(panelId) {
})
}
export function viewPanelLog(data) {
return request({
url: 'panel/group/viewLog',
method: 'post',
loading: true,
data
})
}

View File

@ -46,7 +46,7 @@
<script>
import {addRecent, getToken} from '@/common/utils'
import {linkInfo, switchLink, star, unstar, starStatus} from '@/api/panel'
import {linkInfo, switchLink, star, unstar, starStatus, viewPanelLog} from '@/api/panel'
const DETAIL_PAGE_PATH = '/pages/tabBar/home/detail'
// import htmlParser from '@/common/html-parser.js'
@ -188,6 +188,10 @@
uni.hideLoading()
}
}, 1000);
const param = {panelId: this.banner.id, mobile: true}
viewPanelLog(param).then(res => {
})
},
caclViewHeight() {