MemberWarning.vue 834 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. <template>
  2. <div id="member-warning">
  3. <h2>{{ $t('materio.Oops') }}</h2>
  4. <!-- <router-link :to="{ name: 'pricing'}">Join us</router-link> -->
  5. <p>{{ $t('materio.To be able to access to our 8000+ materials you need become a member') }}</p>
  6. <a
  7. href="/pricing"
  8. @click.prevent="onclick"
  9. >{{ $t('materio.Join us') }}</a>
  10. </div>
  11. </template>
  12. <script>
  13. import router from 'vuejs/route'
  14. export default {
  15. name: "MemberWarning",
  16. router,
  17. data: () => ({
  18. }),
  19. methods:{
  20. onclick(){
  21. console.log('clicked', )
  22. this.$modal.hideAll()
  23. this.$router.push({
  24. name:`pricing`
  25. // params: { alias:this.alias, id: this.item.nid }
  26. // query: { nid: this.item.nid }
  27. // meta: { uuid:this.item.uuid },
  28. })
  29. }
  30. }
  31. }
  32. </script>
  33. <style lang="scss" scoped>
  34. </style>