消息接口
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="photo-item__wrapper">
|
||||
<div class="photo-item" @click="linkTo('./Photo?url=' + item.photoUrl + '&id=' + item.id)" v-for="(item, index) in list" :key="index">
|
||||
<div class="photo-item" @click="linkTo('./Photo?id=' + item.id)" v-for="(item, index) in list" :key="index">
|
||||
<image :src="item.photoUrl" mode="aspectFill" />
|
||||
<div class="photo-item__text">
|
||||
<h2><AiOpenData v-if="item.createUserId" type="userName" :openid="item.createUserId"></AiOpenData></h2>
|
||||
|
||||
@@ -36,7 +36,12 @@
|
||||
|
||||
onLoad (query) {
|
||||
this.id = query.id
|
||||
this.img = query.url
|
||||
|
||||
this.$http.post(`/api/appalbumphoto/queryDetailById?id=${query.id}`).then(res => {
|
||||
if (res.code == 0) {
|
||||
this.img = res.data.photoUrl
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
methods: {
|
||||
|
||||
Reference in New Issue
Block a user