detail.vue 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. <template>
  2. <div class="nft-detail-wrapper">
  3. <div class="back-bar"></div>
  4. <div class="content">
  5. <div class="nft-img">
  6. <img
  7. class="img"
  8. src="https://img0.baidu.com/it/u=901606327,1176126707&fm=253&fmt=auto&app=138&f=JPEG?w=800&h=500"
  9. alt=""
  10. />
  11. </div>
  12. <div class="desc item">
  13. <div class="title">Description</div>
  14. <div class="desc-content">
  15. Created by <span>Azuki</span>
  16. </div>
  17. </div>
  18. <div class="prop item">
  19. <div class="title">Properties</div>
  20. <div class="prop-content">
  21. <div class="prop-item">
  22. </div>
  23. </div>
  24. </div>
  25. <div class="about item">
  26. <div class="title">About</div>
  27. </div>
  28. <div class="detail item">
  29. <div class="title">Details</div>
  30. </div>
  31. <div class="date item">
  32. <div class="title">Date of possession</div>
  33. </div>
  34. <div class="price item">
  35. <div class="title">Purchase price</div>
  36. </div>
  37. </div>
  38. <div class="bottom-bar"></div>
  39. </div>
  40. </template>
  41. <script setup>
  42. import { ref } from "vue";
  43. let propList = ref([
  44. {
  45. }
  46. ])
  47. </script>
  48. <style scoped lang="scss">
  49. .nft-detail-wrapper {
  50. width: 100%;
  51. height: 100%;
  52. .back-bar {
  53. height: 48px;
  54. background: #ffffff;
  55. box-shadow: 0px 0.5px 0px #d1d9dd;
  56. box-sizing: border-box;
  57. padding: 14px;
  58. }
  59. .content {
  60. width: 100%;
  61. height: calc(100% - 120px);
  62. padding: 0 16px;
  63. box-sizing: border-box;
  64. overflow-y: auto;
  65. .nft-img {
  66. margin-top: 23px;
  67. margin-bottom: 20px;
  68. text-align: center;
  69. .img {
  70. width: 280px;
  71. border-radius: 26px;
  72. }
  73. }
  74. .item {
  75. border: 1px solid #e3e3e3;
  76. border-radius: 10px;
  77. padding: 14px;
  78. box-sizing: border-box;
  79. margin-bottom: 12px;
  80. .title {
  81. font-weight: 600;
  82. font-size: 14px;
  83. }
  84. }
  85. .desc {
  86. margin-top: 10px;
  87. .desc-content {
  88. font-weight: 500;
  89. font-size: 14px;
  90. color: #929292;
  91. span {
  92. color: #1D9BF0;
  93. }
  94. }
  95. }
  96. }
  97. .bottom-bar {
  98. background: #ffffff;
  99. box-shadow: inset 0px 1px 0px #ececec;
  100. height: 70px;
  101. padding: 15px 16px;
  102. box-sizing: border-box;
  103. }
  104. }
  105. </style>