logo.vue 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <template>
  2. <view>
  3. <view style="height:16rpx;"></view>
  4. <view
  5. :class="[center ? 'gui-justify-content-center' : '']"
  6. class="gui-flex gui-nowrap gui-align-items-center">
  7. <text
  8. class="gui-block gui-primary-color logo-text gui-dark-text-level-2">GraceUI</text>
  9. <text
  10. style="font-size:20rpx; margin-left:12rpx; padding-bottom:20rpx;"
  11. class="gui-block gui-third-text gui-dark-text-level-2">{{title}}</text>
  12. </view>
  13. <view style="margin-top:18rpx;">
  14. <text
  15. style="font-size:24rpx;"
  16. :class="['gui-color-gray', 'gui-block', center ? 'gui-text-center' : '']">{{desc}}</text>
  17. </view>
  18. </view>
  19. </template>
  20. <script>
  21. export default {
  22. name:"logo",
  23. data() {
  24. return {
  25. };
  26. },
  27. props:{
  28. title : {
  29. type : String,
  30. default : 'V6.0'
  31. },
  32. desc : {
  33. type : String,
  34. default : '一款优秀的前端框架 · 更丰富 · 更高效 · 更稳定'
  35. },
  36. center : {
  37. type : Boolean,
  38. default : false
  39. }
  40. }
  41. }
  42. </script>
  43. <style scoped>
  44. .logo-text{font-size:50rpx;}
  45. </style>