Skip to content
Snippets Groups Projects
MatchWishList.vue 1001 B
Newer Older
  • Learn to ignore specific revisions
  • zhengbo's avatar
    zhengbo committed
    <template>
      <div class="wishlistSide">
        <div class="card">
          <div class="container">
            <h4><b>Matched required space Information</b></h4>
            <p>required city: {{ wishlist.cityName }}</p>
            <p>required state: {{ wishlist.state }}</p>
            <p>required start time: {{ wishlist.startTime }}</p>
            <p>required end time: {{ wishlist.endTime }}</p>
            <p>required details: {{ wishlist.details }}</p>
          </div>
        </div>
      </div>
    </template>
    
    <script setup lang="ts">
    import { defineProps } from "vue";
    import { WishlistItemModel } from "@/models/WishlistItemModel";
    
    const props = defineProps<{
      wishlist: WishlistItemModel;
    }>();
    </script>
    
    <style scoped>
    .wishlistSide {
      display: flex;
      justify-content: center;
      align-items: center;
    }
    .card {
      box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
      transition: 0.3s;
      width: 40%;
      text-align: center;
    }
    
    .card:hover {
      box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    }
    
    .container {
      padding: 2px 16px;
    }
    </style>