cashier_admin_app/pageRed/list/render/FaceCardRender.vue

34 lines
687 B
Vue

<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>