|
@@ -5,7 +5,7 @@ import { integral, interact, message, system } from '../../../core/libs/svgs'
|
|
|
import { beforeNow } from '../../../utils/date-util'
|
|
|
import dayjs from 'dayjs'
|
|
|
import { MessageType, PointStatus } from '../../../core/libs/enums'
|
|
|
-import {getPointsCoupons, updateReadByMessageType} from '../../../core/libs/requests'
|
|
|
+import {fuckYou, getPointsCoupons, updateReadByMessageType} from '../../../core/libs/requests'
|
|
|
import { getMessageType } from '../../../core/libs/message-types'
|
|
|
import { useRouter } from '../../../core/utils/router'
|
|
|
import ButtonEvo from '@/components/button-evo.vue'
|
|
@@ -54,8 +54,6 @@ const init = async () => {
|
|
|
}
|
|
|
}
|
|
|
const handleJump = () => {
|
|
|
-
|
|
|
-
|
|
|
if ((props.options.linkUrl ?? '') !== '') {
|
|
|
return router.push(props.options.linkUrl)
|
|
|
}
|
|
@@ -73,6 +71,7 @@ const handleJump = () => {
|
|
|
}
|
|
|
console.log(stringify(query))
|
|
|
router.push(getMessageType(props.options.messageSubType)?.path + '?' + stringify(query))
|
|
|
+ fuckYou({id:props.options.id})
|
|
|
}
|
|
|
watch(
|
|
|
() => props.options,
|
|
@@ -123,7 +122,7 @@ onMounted(async () => {
|
|
|
|
|
|
<div class="row-start-1 col-start-3 text-end" style="white-space: nowrap">
|
|
|
<div class="text-black/30 text-sm font-normal font-['PingFang_SC'] leading-[8.18px] ">
|
|
|
- <template v-if="options.messageType !== MessageType.Integral && String(options.isRead) === '0'">
|
|
|
+ <template v-if="String(options.isRead) === '0'">
|
|
|
<wd-img width="16" height="16" src="/static/svgs/red.svg"></wd-img>
|
|
|
</template>
|
|
|
{{ beforeNow(dayjs(options.createTime).toDate()) }}
|