AI-draw.vue 563 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <template>
  2. <view class="draw_container" :style="{'top': viewTop + 'px', 'height': viewHeight + 'px'}">
  3. AI_画图
  4. </view>
  5. </template>
  6. <script>
  7. export default {
  8. data() {
  9. return {
  10. }
  11. },
  12. props: {
  13. viewTop: {
  14. type: Number,
  15. default: 0
  16. },
  17. viewHeight: {
  18. type: Number,
  19. default: 0
  20. }
  21. },
  22. methods: {
  23. }
  24. }
  25. </script>
  26. <style lang="scss">
  27. .draw_container{
  28. display: flex;
  29. box-sizing: border-box;
  30. position: fixed;
  31. left: 0;
  32. width: 100%;
  33. height: 100%;
  34. color: #ffffff;
  35. background-color: #2A2832;
  36. }
  37. </style>