Feat(店铺):点击查看资讯图片或者视频增加访问人数
This commit is contained in:
@@ -661,8 +661,13 @@ export default {
|
|||||||
// this.$yrouter.push('/pagesInn/inn/innInfoDetail?id=' + info.id)
|
// this.$yrouter.push('/pagesInn/inn/innInfoDetail?id=' + info.id)
|
||||||
},
|
},
|
||||||
infoItemViewClick(item) {
|
infoItemViewClick(item) {
|
||||||
console.log(item)
|
hotelNewsView({ id: item.id }).finally(() => {
|
||||||
hotelNewsView({ id: item.id })
|
this.infoArray.map(info => {
|
||||||
|
if (info.id === item.id) {
|
||||||
|
info.pv += 1
|
||||||
|
}
|
||||||
|
})
|
||||||
|
})
|
||||||
},
|
},
|
||||||
publishBtnClick: function () {
|
publishBtnClick: function () {
|
||||||
this.$yrouter.push('/pagesInn/inn/innInfoPublish?hotelId=' + this.inn.id)
|
this.$yrouter.push('/pagesInn/inn/innInfoPublish?hotelId=' + this.inn.id)
|
||||||
|
|||||||
Reference in New Issue
Block a user