index.tsx 608 B

123456789101112131415161718192021
  1. import { defineComponent, render } from 'vue'
  2. import { RouterView } from 'vue-router'
  3. import UserMenu from './components/user-menu'
  4. import Users from './components/users'
  5. export default defineComponent({
  6. name: 'user-info',
  7. render() {
  8. return (
  9. <div class="w-[1002px] mt-[100px] rounded-[10px] bg-white py-5 overflow-hidden mb-14 min-h-full m-auto text-[#333] flex">
  10. <div class="w-[264px] ">
  11. <Users />
  12. <UserMenu />
  13. </div>
  14. <div class="w-[737px] border-l border-l-[#E7E6E6]">
  15. <RouterView></RouterView>
  16. </div>
  17. </div>
  18. )
  19. }
  20. })