|
|
@@ -0,0 +1,76 @@
|
|
|
+<script setup lang="ts">
|
|
|
+import DelayNotificationCard from '@/views/SystemMessage/src/components/DelayNotificationCard.vue'
|
|
|
+
|
|
|
+const notificationList: any = [
|
|
|
+ {
|
|
|
+ type: 'milestone',
|
|
|
+ isMultiple: true,
|
|
|
+ numericRecords: 3,
|
|
|
+ isRead: true,
|
|
|
+ title: 'Milestone Update',
|
|
|
+ mode: 'Ocean Freight',
|
|
|
+ no: 'HBOL: SHJN2301234',
|
|
|
+ tag: 'Booking Confirmed',
|
|
|
+ location: 'Hong Kong',
|
|
|
+ time: 'Jan 10, 2025 14:30 UTC+8'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ type: 'container',
|
|
|
+ isRead: false,
|
|
|
+ mode: '',
|
|
|
+ no: 'HBOL: SHJN2301234',
|
|
|
+ tag: 'Unloaded From Vessel',
|
|
|
+ location: 'Hong Kong',
|
|
|
+ time: 'Jan 10, 2025 14:30 UTC+8',
|
|
|
+ previous: 'Previous: Departure from Shanghai (08:15 UTC+8)'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ type: 'delay',
|
|
|
+ numericRecords: 0,
|
|
|
+ isRead: false,
|
|
|
+ title: 'Delay Daily Summary (Jan 10, 2025)',
|
|
|
+ mode: 'Air Freight',
|
|
|
+ no: 'HBOL: SHJN2301234',
|
|
|
+ tag: 'Departure Delay',
|
|
|
+ location: 'Hong Kong',
|
|
|
+ time: 'Jan 10, 2025 14:30 UTC+8',
|
|
|
+ delayInfo: {
|
|
|
+ delayTime: 'ATD: Jan 12, 16:30 (+2 days delay)'
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ type: 'change',
|
|
|
+ numericRecords: 0,
|
|
|
+ isRead: false,
|
|
|
+ title: 'ETD/ETA Change Weekly Summary (Jan 4- 10, 2025) ',
|
|
|
+ mode: 'Air Freight',
|
|
|
+ no: 'HBOL: SHJN2301234',
|
|
|
+ tag: 'ETD Change',
|
|
|
+ location: 'Hong Kong',
|
|
|
+ changeTime: 'Updated ETD: Jan 17, 15:00',
|
|
|
+ time: 'Jan 10, 2025 14:30 UTC+8'
|
|
|
+ }
|
|
|
+]
|
|
|
+const curCard = ref(notificationList[2])
|
|
|
+</script>
|
|
|
+
|
|
|
+<template>
|
|
|
+ <div class="training-card">
|
|
|
+ <DelayNotificationCard :data="curCard"></DelayNotificationCard>
|
|
|
+ </div>
|
|
|
+</template>
|
|
|
+
|
|
|
+<style lang="scss" scoped>
|
|
|
+.training-card {
|
|
|
+ position: absolute;
|
|
|
+ top: 60px;
|
|
|
+ right: 20px;
|
|
|
+ z-index: 2000;
|
|
|
+ width: 432px;
|
|
|
+ padding: 16px;
|
|
|
+ padding-bottom: 0;
|
|
|
+ background-color: #fff;
|
|
|
+ border-radius: 12px;
|
|
|
+ box-shadow: 4px 4px 16px 0px rgba(0, 0, 0, 0.1);
|
|
|
+}
|
|
|
+</style>
|