viewTpl.vue 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. <template>
  2. <div>
  3. <nut-docheader
  4. :name="$route.name"
  5. :chName="$route.params.chnName"
  6. type="Filter"
  7. desc=""
  8. :showQrCode="true"></nut-docheader>
  9. <h5>示例</h5>
  10. <nut-codebox :code="demo1"></nut-codebox>
  11. <h5>Props</h5>
  12. <div class="tbl-wrapper">
  13. <table class="u-full-width">
  14. <thead>
  15. <tr>
  16. <th>参数</th>
  17. <th>说明</th>
  18. <th>类型</th>
  19. <th>默认值</th>
  20. <th>可选值</th>
  21. </tr>
  22. </thead>
  23. <tbody>
  24. <tr>
  25. <td></td>
  26. <td></td>
  27. <td></td>
  28. <td></td>
  29. <td></td>
  30. </tr>
  31. </tbody>
  32. </table>
  33. </div>
  34. <h5>Events</h5>
  35. <div class="tbl-wrapper">
  36. <table class="u-full-width">
  37. <thead>
  38. <tr>
  39. <th>事件名</th>
  40. <th>说明</th>
  41. <th>回调参数</th>
  42. </tr>
  43. </thead>
  44. <tbody>
  45. <tr>
  46. <td></td>
  47. <td></td>
  48. <td></td>
  49. </tr>
  50. </tbody>
  51. </table>
  52. </div>
  53. </div>
  54. </div>
  55. </template>
  56. <script>
  57. export default {
  58. data(){
  59. return{
  60. demo1:`test`
  61. }
  62. },
  63. methods:{
  64. }
  65. }
  66. </script>
  67. <style lang="scss">
  68. </style>