fix
This commit is contained in:
@@ -26,6 +26,7 @@ let detail:any = ref({
|
||||
shopName: '',
|
||||
updateTime: '',
|
||||
gender: '',
|
||||
sellerId: '',
|
||||
})
|
||||
const sketchList = ref([])
|
||||
const illustrationList = ref([])
|
||||
@@ -75,11 +76,14 @@ const getListingDetail = ()=>{
|
||||
getListingDetailApi({
|
||||
id:route.params.id + '',
|
||||
}).then((res)=>{
|
||||
console.log(res)
|
||||
if(res)detail.value = res
|
||||
setImgList(res.images)
|
||||
})
|
||||
}
|
||||
const gobrand = () => {
|
||||
if(!detail.value.sellerId)return
|
||||
router.push({path: `/brand/${detail.value.sellerId}`})
|
||||
}
|
||||
// const vObserve = {
|
||||
// mounted (el,binding) {
|
||||
// },
|
||||
@@ -146,7 +150,7 @@ defineExpose({})
|
||||
<div class="info">
|
||||
<img class="profile" v-avatarLoad="detail.avatar" alt="">
|
||||
<div class="detail">
|
||||
<div class="name">{{ detail.shopName }}</div>
|
||||
<div class="name" @click="gobrand">{{ detail.shopName }}</div>
|
||||
<div class="release-time">
|
||||
<span>{{ $t('digitalDetail.ReleaseIn') }} {{ detail.updateTime }}</span>
|
||||
</div>
|
||||
@@ -301,6 +305,7 @@ defineExpose({})
|
||||
font-size: 3rem;
|
||||
line-height: 120%;
|
||||
margin-bottom: 1rem;
|
||||
cursor: pointer;
|
||||
}
|
||||
.img-price{
|
||||
font-family: KaiseiOpti-Bold;
|
||||
|
||||
Reference in New Issue
Block a user