close.vue 425 B

12345678910111213141516171819202122232425262728293031
  1. <template>
  2. <view class="icon" @click="close">
  3. <view class="iconfont icon-guanbi2" style="font-size: 25px;"></view>
  4. </view>
  5. </template>
  6. <script>
  7. export default {
  8. data() {
  9. return {
  10. }
  11. },
  12. methods:{
  13. close(){
  14. this.bus.$emit('send', 2);
  15. this.$emit("bindClose")
  16. },
  17. }
  18. }
  19. </script>
  20. <style>
  21. .icon {
  22. text-align: center;
  23. color: #F1F1F1;
  24. }
  25. .icon-guanbi2 {
  26. font-size: 55rpx;
  27. }
  28. </style>