ActiveTabIocn.vue 572 B

123456789101112131415161718192021222324252627282930313233
  1. <template>
  2. <view class="active-tab-iocn" :style="{width:'126rpx' , height:h+'rpx'}">
  3. <image class="icon" :src="$handleImageUrl('/personalCenter/agent/tabs_line.png')" mode="">
  4. </image>
  5. </view>
  6. </template>
  7. <script lang="ts" setup>
  8. defineProps({
  9. w: {
  10. type: Number,
  11. default: 126
  12. },
  13. h: {
  14. type: Number,
  15. default: 13
  16. }
  17. })
  18. </script>
  19. <style lang="scss" scoped>
  20. .active-tab-iocn{
  21. display: flex;
  22. flex-direction: row;
  23. align-items: center;
  24. justify-content: center;
  25. box-sizing: border-box;
  26. .icon{
  27. width: 126rpx;
  28. height: 13rpx;
  29. }
  30. }
  31. </style>