领峰UI库,封装一些经常使用到的组件,自定义样式,模块化js函数,调用简单快速上手。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
685 B

  1. <template>
  2. <view class="lf-row-center lf-flex-column">
  3. <image class="logo" src="/static/logo.png"></image>
  4. <view class="text-area">
  5. <text class="title">{{title}}</text>
  6. </view>
  7. </view>
  8. </template>
  9. <script>
  10. export default {
  11. data() {
  12. return {
  13. title: 'Hello Leadfyy UI'
  14. }
  15. }
  16. }
  17. </script>
  18. <style lang="scss" scoped>
  19. .logo {
  20. height: 200rpx;
  21. width: 200rpx;
  22. margin-top: 200rpx;
  23. margin-left: auto;
  24. margin-right: auto;
  25. margin-bottom: 50rpx;
  26. }
  27. .text-area {
  28. display: flex;
  29. justify-content: center;
  30. }
  31. .title {
  32. font-size: 36rpx;
  33. background-image: linear-gradient(135deg, red, blue);
  34. background-clip: text;
  35. color: transparent;
  36. }
  37. </style>