This commit is contained in:
2020-07-20 08:43:13 +08:00
parent 113144b716
commit 4c70db7575
4 changed files with 35 additions and 13 deletions

View File

@@ -1,5 +1,5 @@
<template>
<view class="video-item" v-if="item" @click="toDetailsPage">
<view class="video-item" v-if="item" @click="toDetailsPage(item.article_id)">
<image class="head" :src="item.article_pic" v-if="item.type == 1" ></image>
<view class="header_fist" v-else>
<view class="backes">111</view>
@@ -227,9 +227,9 @@ export default {
}
})
},
toDetailsPage() {
toDetailsPage(id) {
uni.navigateTo({
url: '/pageB/photo/index',
url: '/pageB/photo/index?id=' + id
});
},