平安校园
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

cell.vue 360 B

123456789101112131415161718192021222324252627
  1. <template>
  2. <u-cell :title="title" isLink :border="false" @click="click"></u-cell>
  3. </template>
  4. <script>
  5. export default {
  6. name: "radio",
  7. props: {
  8. title: {
  9. default: "",
  10. type: String
  11. },
  12. },
  13. methods:{
  14. click(){
  15. this.$emit("click")
  16. }
  17. }
  18. }
  19. </script>
  20. <style scoped>
  21. .u-cell {
  22. background: #fff;
  23. border-radius: 20rpx;
  24. }
  25. </style>