first
This commit is contained in:
33
pageRed/list/render/FaceCardRender.vue
Normal file
33
pageRed/list/render/FaceCardRender.vue
Normal file
@@ -0,0 +1,33 @@
|
||||
<template>
|
||||
<JeepayTableListItem :logo="imgUrl" :subtitle="advertId" logoStyle="border-radius:20rpx" @tap="toAdDetails">
|
||||
<template #title>
|
||||
{{ title }}
|
||||
<JeepayTag type="green-rgba" v-if="releaseState">已发布</JeepayTag>
|
||||
</template>
|
||||
</JeepayTableListItem>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import {
|
||||
unix
|
||||
} from 'dayjs';
|
||||
import go from '@/commons/utils/go.js'
|
||||
const props = defineProps({
|
||||
title: {
|
||||
type: String
|
||||
},
|
||||
advertId: {
|
||||
type: String
|
||||
},
|
||||
imgUrl: {
|
||||
type: String
|
||||
},
|
||||
releaseState: {
|
||||
type: [String, Number]
|
||||
}
|
||||
})
|
||||
const toAdDetails = () => go.to('/pageDevice/adManager/view', { id: props.advertId })
|
||||
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped></style>
|
||||
Reference in New Issue
Block a user