index.vue 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. <template>
  2. <view class="cpage">
  3. <div class="top adf">
  4. <div class="top-left">
  5. <image src="https://transcend.ringzle.com/xiaozhi-app/profile/2025/09/28/19ca20d9-9131-4234-9a1f-daf364ff63b4.png"></image>
  6. </div>
  7. <div class="top-right">
  8. <p>{{'感恩有你 温暖前行'}}</p>
  9. <div class="tip adf">
  10. <div class="tip-left adfac">
  11. <image src="https://transcend.ringzle.com/xiaozhi-app/profile/2025/09/11/201a4250-24a4-412d-9ec9-fc58071d10ea.png"></image>
  12. <text>活动时间:</text>
  13. </div>
  14. <div class="tip-right">{{"2025-06-01 ~ 2025-06-01"}}</div>
  15. </div>
  16. <div class="tip adf">
  17. <div class="tip-left adfac">
  18. <image src="https://transcend.ringzle.com/xiaozhi-app/profile/2025/09/11/e9025f86-a59e-4f82-92f0-9d22e846193c.png"></image>
  19. <text>活动地点:</text>
  20. </div>
  21. <div class="tip-right">{{"广东省深圳市南山区"}}</div>
  22. </div>
  23. </div>
  24. </div>
  25. <div class="bottom adfacjb">
  26. <div class="bottom-left">限{{46}}人报名参加</div>
  27. <div class="bottom-right" @tap="toDetail">查看档案</div>
  28. </div>
  29. </view>
  30. </template>
  31. <script setup name="ArchivesBox">
  32. import { ref } from 'vue'
  33. const toDetail = () => {
  34. uni.navigateTo({
  35. url:'/pagesMy/archivesDetail'
  36. })
  37. }
  38. </script>
  39. <style scoped lang="scss">
  40. .cpage{
  41. background-color: #FFFFFF;
  42. background-image: url('https://transcend.ringzle.com/xiaozhi-app/profile/2025/09/24/b72c473b-300d-4bef-966d-8dc67ba17a4c.png');
  43. background-repeat: no-repeat;
  44. background-size: 283rpx 286rpx;
  45. background-position: top right;
  46. border-radius: 24rpx;
  47. margin-top: 20rpx;
  48. padding: 36rpx 24rpx 32rpx 20rpx;
  49. .top{
  50. &-left{
  51. width: 158rpx;
  52. height: 214rpx;
  53. image{
  54. width: 100%;
  55. height: 100%;
  56. }
  57. }
  58. &-right{
  59. width: calc(100% - 158rpx);
  60. padding-left: 20rpx;
  61. box-sizing: border-box;
  62. &>p{
  63. font-family: PingFang-SC, PingFang-SC;
  64. font-weight: bold;
  65. font-size: 32rpx;
  66. color: #151B29;
  67. line-height: 40rpx;
  68. margin-bottom: 5rpx;
  69. }
  70. .tip{
  71. margin-top: 25rpx;
  72. &-left{
  73. width: 160rpx;
  74. image{
  75. width: 24rpx;
  76. height: 24rpx;
  77. }
  78. text{
  79. font-family: PingFangSC, PingFang SC;
  80. font-weight: 400;
  81. font-size: 24rpx;
  82. color: #676775;
  83. line-height: 24rpx;
  84. margin-left: 10rpx;
  85. }
  86. }
  87. &-right{
  88. width: calc(100% - 160rpx);
  89. font-family: PingFangSC, PingFang SC;
  90. font-weight: 400;
  91. font-size: 24rpx;
  92. color: #676775;
  93. line-height: 24rpx;
  94. margin-left: 10rpx;
  95. }
  96. }
  97. }
  98. }
  99. .bottom{
  100. margin-top: 24rpx;
  101. &-left{
  102. font-family: PingFangSC, PingFang SC;
  103. font-weight: 400;
  104. font-size: 24rpx;
  105. color: #676775;
  106. line-height: 24rpx;
  107. }
  108. &-right{
  109. background: #B7F358;
  110. border-radius: 27rpx;
  111. padding: 12rpx 30rpx;
  112. font-family: PingFang-SC, PingFang-SC;
  113. font-weight: bold;
  114. font-size: 24rpx;
  115. color: #151B29;
  116. line-height: 30rpx;
  117. letter-spacing: 2rpx;
  118. }
  119. }
  120. }
  121. </style>