You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

newLandingPage.vue 1.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <template>
  2. <main id="main" style="margin-top:200px; padding-bottom:50px">
  3. <div class="container">
  4. <div class="row">
  5. <div class="col">
  6. <div class="section-header">
  7. <h2>Landing Page</h2>
  8. </div>
  9. </div>
  10. </div>
  11. <div class="row">
  12. <div class="col-6">
  13. <select name="landingType" class="form-control uniSelect" v-model="selectedType">
  14. <option value="property">Property Campaign</option>
  15. <option value="timeshare">Timeshare Campaign</option>
  16. </select>
  17. </div>
  18. </div>
  19. <div v-if="selectedType === 'property'" class="row">
  20. <propertyLanding passedDown="0" />
  21. </div>
  22. <div v-if="selectedType === 'timeshare'" class="row">
  23. <timeshareLanding passedDown="0" />
  24. </div>
  25. </div>
  26. </main>
  27. </template>
  28. <script>
  29. /* eslint-disable */
  30. import propertyLanding from "./landingPageProperty";
  31. import timeshareLanding from "./landingPage";
  32. export default {
  33. components: {
  34. propertyLanding,
  35. timeshareLanding
  36. },
  37. data() {
  38. return {
  39. selectedType: ""
  40. };
  41. }
  42. };
  43. </script>
  44. <style lang="scss" scoped></style>