top-title.vue 557 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <template>
  2. <view class="title-box">
  3. {{titleValue}}
  4. </view>
  5. </view>
  6. </template>
  7. <script>
  8. export default {
  9. name: "title-top",
  10. props: {
  11. titleValue: {
  12. type: String,
  13. default: '空i企',
  14. },
  15. },
  16. data() {
  17. return {};
  18. },
  19. methods: {
  20. },
  21. };
  22. </script>
  23. <style>
  24. .title-box {
  25. width: 100%;
  26. height: 80rpx;
  27. background: transparent;
  28. position: absolute;
  29. top: 40rpx;
  30. color: #fff;
  31. letter-spacing: 6rpx;
  32. z-index: 9999;
  33. text-align: center;
  34. font-weight: 550;
  35. line-height: 85rpx;
  36. }
  37. </style>