1
This commit is contained in:
@@ -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
|
||||
});
|
||||
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user