v
This commit is contained in:
parent
750ff19690
commit
c90b2c3912
@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="video-item" v-if="item" @click="toDetailsPage">
|
<view class="video-item" v-if="item" @click="toDetailsPage()" data-article_id="item.article_id" >
|
||||||
<image class="head" :src="item.article_pic" v-if="item.type == 1" ></image>
|
<image class="head" :src="item.article_pic" v-if="item.type == 1" ></image>
|
||||||
<view class="header_fist" v-else>
|
<view class="header_fist" v-else>
|
||||||
<view class="backes">111</view>
|
<view class="backes">111</view>
|
||||||
@ -175,7 +175,9 @@
|
|||||||
background: #000000;
|
background: #000000;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
@ -227,9 +229,11 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
toDetailsPage() {
|
toDetailsPage(e) {
|
||||||
|
console.log(e)
|
||||||
|
let article_id = '2'
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: '/pageB/photo/index',
|
url: '/pageB/photo/index?article_id=' + article_id,
|
||||||
});
|
});
|
||||||
|
|
||||||
},
|
},
|
||||||
|
@ -113,6 +113,9 @@ import shoplist from "../components/shoplist/index"
|
|||||||
|
|
||||||
export default {
|
export default {
|
||||||
name:"photo",
|
name:"photo",
|
||||||
|
onLoad(e) {
|
||||||
|
console.log('dhdhdhdhd',e)
|
||||||
|
},
|
||||||
components:{
|
components:{
|
||||||
userinfo,
|
userinfo,
|
||||||
shpoone,
|
shpoone,
|
||||||
|
Loading…
Reference in New Issue
Block a user