practiceRecord.vue 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. <template>
  2. <view class="common_page adffc" :style="{'min-height':h+'px', 'padding-top':mt+'px'}">
  3. <cus-header title="申领社会实践记录" bgColor="#FFFFFF"></cus-header>
  4. <div class="img">
  5. <image :src="''" mode="widthFix"></image>
  6. </div>
  7. <div class="list">
  8. <div class="list-box" v-for="(item,index) in list" :key="index">
  9. <div class="title">{{'感恩有你 温暖前行'}}</div>
  10. <div class="content adf">
  11. <div class="left">
  12. <image :src="'https://transcend.ringzle.com/xiaozhi-app/profile/2025/09/11/d3c53597-a848-4a33-8deb-ab256f028baa.png'"></image>
  13. </div>
  14. <div class="right">
  15. <div class="right-pre adf">
  16. <div class="tip">活动时间:</div>
  17. <div class="text">{{'2025-06-01 15:00'}}</div>
  18. </div>
  19. <div class="right-pre adf">
  20. <div class="tip">爱心值贡献:</div>
  21. <div class="text">{{'200/每捐赠100爱心值可支持10本图书'}}</div>
  22. </div>
  23. <div class="right-pre adf">
  24. <div class="tip">义工时长:</div>
  25. <div class="text">{{'3小时'}}</div>
  26. </div>
  27. <div class="right-pre adf">
  28. <div class="tip">公益合作:</div>
  29. <div class="text">{{'深圳善行少年基金会'}}</div>
  30. </div>
  31. </div>
  32. </div>
  33. </div>
  34. </div>
  35. <div class="btn">下载</div>
  36. </view>
  37. </template>
  38. <script setup name="">
  39. import CusHeader from '@/components/CusHeader/index.vue'
  40. import { ref } from 'vue'
  41. const list = ref([1,1,1,1])
  42. </script>
  43. <style scoped lang="scss">
  44. .common_page{
  45. padding-bottom: 184rpx;
  46. .img{
  47. padding: 30rpx;
  48. margin-top: 20rpx;
  49. background: #FFFFFF;
  50. min-height: 800rpx;
  51. }
  52. .list{
  53. &-box{
  54. margin-top: 20rpx;
  55. padding: 36rpx 20rpx;
  56. background: #FFFFFF;
  57. .title{
  58. font-family: PingFang-SC, PingFang-SC;
  59. font-weight: bold;
  60. font-size: 32rpx;
  61. color: #252525;
  62. line-height: 32rpx;
  63. }
  64. .content{
  65. margin-top: 30rpx;
  66. .left{
  67. width: 182rpx;
  68. height: 240rpx;
  69. image{
  70. width: 100%;
  71. height: 100%;
  72. }
  73. }
  74. .right{
  75. width: calc(100% - 182rpx);
  76. padding-left: 20rpx;
  77. box-sizing: border-box;
  78. &-pre{
  79. margin-top: 20rpx;
  80. &:first-child{
  81. margin-top: 12rpx;
  82. }
  83. .tip{
  84. width: 150rpx;
  85. font-family: PingFangSC, PingFang SC;
  86. font-weight: 400;
  87. font-size: 24rpx;
  88. color: #676775;
  89. }
  90. .text{
  91. width: calc(100% - 150rpx);
  92. font-family: PingFang-SC, PingFang-SC;
  93. font-weight: bold;
  94. font-size: 24rpx;
  95. color: #252525;
  96. }
  97. }
  98. }
  99. }
  100. }
  101. }
  102. .btn{
  103. width: calc(100% - 210rpx);
  104. height: 90rpx;
  105. background: #B7F358;
  106. border-radius: 45rpx;
  107. font-family: PingFang-SC, PingFang-SC;
  108. font-weight: bold;
  109. font-size: 32rpx;
  110. color: #151B29;
  111. line-height: 90rpx;
  112. text-align: center;
  113. letter-spacing: 2rpx;
  114. position: fixed;
  115. left: 105rpx;
  116. bottom: 64rpx;
  117. }
  118. }
  119. </style>