onlineInformationBtn.vue 528 B

12345678910111213141516171819202122232425262728293031323334
  1. <template>
  2. <span class="btn" @click="btnClick"> 在线咨询 </span>
  3. </template>
  4. <script>
  5. export default {
  6. name: "onlineInformation",
  7. props: {
  8. myType: {
  9. type: String,
  10. default: 'kaoshi'
  11. }
  12. },
  13. methods: {
  14. btnClick() {
  15. this.$router.push({name: 'courseware'});
  16. }
  17. }
  18. }
  19. </script>
  20. <style lang="scss" scoped>
  21. .btn {
  22. width: 154px;
  23. height: 47px;
  24. color: #00b96b;
  25. border-radius: 24px;
  26. padding: 10px 30px;
  27. background: #fff;
  28. border: 1px solid #00b96b;
  29. cursor: pointer;
  30. }
  31. </style>