IndexTaro.vue 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. <template>
  2. <div class="index">
  3. <div class="index-header">
  4. <img src="../../assets/images/logo-red.png" alt="" srcset="" />
  5. <div class="info">
  6. <h1>NutUI</h1>
  7. <p>请使用微信扫描下方二维码体验</p>
  8. </div>
  9. </div>
  10. <div class="index-wxcode">
  11. <img
  12. src="https://img12.360buyimg.com/imagetools/jfs/t1/174054/4/15968/66201/60d0028dE590f0aa8/752ecef62e4f1cbe.jpg"
  13. width="200"
  14. />
  15. <img
  16. src="https://img12.360buyimg.com/imagetools/jfs/t1/205124/1/15643/30360/62aad730Ea5734bf9/703bb91a0b73282f.png"
  17. width="250"
  18. />
  19. </div>
  20. </div>
  21. </template>
  22. <script lang="ts">
  23. import { defineComponent } from 'vue';
  24. export default defineComponent({
  25. name: 'doc',
  26. setup() {
  27. return {};
  28. }
  29. });
  30. </script>
  31. <style lang="scss" scoped>
  32. @import '@/sites/assets/styles/reset.scss';
  33. .index {
  34. height: 100%;
  35. width: 100%;
  36. padding-top: 60px;
  37. &-header {
  38. display: flex;
  39. align-items: center;
  40. padding: 0 34px;
  41. height: 117px;
  42. > img {
  43. width: 67px;
  44. height: 67px;
  45. margin-right: 18px;
  46. flex-shrink: 0;
  47. }
  48. .info {
  49. display: flex;
  50. flex-direction: column;
  51. h1 {
  52. height: 48px;
  53. line-height: 48px;
  54. font-size: 34px;
  55. color: rgba(51, 51, 51, 1);
  56. }
  57. p {
  58. height: 18px;
  59. line-height: 18px;
  60. font-size: 12px;
  61. color: rgba(154, 155, 157, 1);
  62. }
  63. }
  64. }
  65. &-wxcode {
  66. display: flex;
  67. height: calc(100% - 117px);
  68. border-radius: 30px 30px 0 0;
  69. overflow: hidden;
  70. padding: 30px 25px;
  71. align-items: center;
  72. justify-content: center;
  73. flex-direction: column;
  74. }
  75. }
  76. </style>