archivesDetail.vue 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234
  1. <template>
  2. <view class="common_page" :style="{'min-height':h+'px', 'padding-top':mt+'px'}">
  3. <cus-header title="公益档案" bgColor="transparent"></cus-header>
  4. <image src="https://transcend.ringzle.com/xiaozhi-app/profile/2025/09/28/b8876bf2-6bec-4ab2-99f1-6316c9d3deff.png" class="top_bg_img" mode="widthFix"></image>
  5. <div class="box box1">
  6. <div class="content">
  7. <div class="card">
  8. <div class="avatar">
  9. <image src="https://transcend.ringzle.com/xiaozhi-app/profile/2025/09/28/d3dbdf00-6fee-40ca-96d2-8b95a004d9e7.png"></image>
  10. </div>
  11. <image class="logo" src="https://transcend.ringzle.com/xiaozhi-app/profile/2025/09/28/59a63fde-bbd8-4419-a65a-b714790f6b0a.png"></image>
  12. <image class="heart" src="https://transcend.ringzle.com/xiaozhi-app/profile/2025/09/28/234c696f-a538-45c3-ab11-c0946305f2c2.png"></image>
  13. <div class="level">Lv.{{4}}</div>
  14. <div class="name-tip">昵称/NAME</div>
  15. <div class="name">{{'周晓瑾'}}</div>
  16. <div class="kh-tip">家庭公益口号</div>
  17. <div class="kh">{{'公益献爱心,真情暖人心'}}</div>
  18. <div class="memo">亲爱的,从{{'2025年6月1日'}}至{{'2025年7月30日'}},您的每一分善意都让世界更温暖!</div>
  19. <div class="gx-tip">爱心贡献/CONTRIBUTION</div>
  20. <div class="num" style="margin-top: 28rpx;">捐赠爱心值<text>{{5000}}</text></div>
  21. <div class="num">获得义工时长<text>{{2}}</text>小时</div>
  22. </div>
  23. </div>
  24. </div>
  25. <div class="box box2">
  26. <image class="box-title" src="https://transcend.ringzle.com/xiaozhi-app/profile/2025/09/28/6cbc5700-77f4-4ae8-b4eb-28c4e7748029.png"></image>
  27. <div class="content">
  28. {{'参加这次沙漠沙沙树种植活动,我深刻体会到环保行动的意义。在炎热的沙漠中,亲手栽下一棵棵沙沙树,不仅为荒漠增添了一抹绿色,更让我感受到保护生态环境的紧迫性。团队协作让效率倍增,大家的热情也让我深受鼓舞。这次活动让我明白,小小的行动也能为地球带来改变。未来,我会继续参与环保事业,号召更多人加入,共同守护我们的家园。'}}
  29. </div>
  30. </div>
  31. <div class="box box2">
  32. <image class="box-title" src="https://transcend.ringzle.com/xiaozhi-app/profile/2025/09/28/56ffd9a5-b42a-4eb5-879d-b38a2c05bdae.png"></image>
  33. <div class="content">
  34. <image class="img" src="https://transcend.ringzle.com/xiaozhi-app/profile/2025/09/28/e1d9a1e2-d0fd-4503-bc06-8d8509efde01.png" mode="widthFix"></image>
  35. </div>
  36. </div>
  37. <div class="back" @tap="goBack">返回</div>
  38. </view>
  39. </template>
  40. <script setup name="">
  41. import CusHeader from '@/components/CusHeader/index.vue'
  42. import { ref } from 'vue'
  43. const goBack = () => {
  44. uni.navigateBack();
  45. }
  46. </script>
  47. <style scoped lang="scss">
  48. .common_page{
  49. background: #F9FEFD;
  50. padding-bottom: 64rpx;
  51. box-sizing: border-box;
  52. .box{
  53. background: #D9F9E9;
  54. border-radius: 48rpx;
  55. position: relative;
  56. margin-top: 40rpx;
  57. padding: 14rpx;
  58. &-title{
  59. width: 263rpx;
  60. height: 79rpx;
  61. position: absolute;
  62. top: 0;
  63. left: 50%;
  64. margin-left: -131.5rpx;
  65. }
  66. &.box1{
  67. margin-top: 30rpx;
  68. .content{
  69. border-radius: 32rpx;
  70. padding: 0 18rpx 18rpx;
  71. background-color: #EFFDF2;
  72. background-image: url('https://transcend.ringzle.com/xiaozhi-app/profile/2025/09/28/64746c13-7ddc-4224-a1d4-060d126e7a71.png');
  73. background-repeat: no-repeat;
  74. background-size: 337rpx 450rpx;
  75. background-position: top right;
  76. overflow: hidden;
  77. border: 6rpx solid #FFFFFF;
  78. .card{
  79. position: relative;
  80. border-radius: 24rpx;
  81. padding: 63rpx 39rpx;
  82. box-sizing: border-box;
  83. margin-top: 142rpx;
  84. background: #FFFFFF;
  85. .avatar{
  86. width: 116rpx;
  87. height: 116rpx;
  88. border: 6rpx solid #FFFFFF;
  89. border-radius: 50%;
  90. position: absolute;
  91. left: 39rpx;
  92. top: -74rpx;
  93. image{
  94. width: 100%;
  95. height: 100%;
  96. }
  97. }
  98. .logo{
  99. width: 159rpx;
  100. height: 40rpx;
  101. position: absolute;
  102. top: 40rpx;
  103. right: 24rpx;
  104. }
  105. .name-tip{
  106. font-family: PingFang-SC, PingFang-SC;
  107. font-weight: bold;
  108. font-size: 24rpx;
  109. color: #B2B2B2;
  110. line-height: 24rpx;
  111. }
  112. .name{
  113. font-family: PingFang-SC, PingFang-SC;
  114. font-weight: bold;
  115. font-size: 32rpx;
  116. color: #252525;
  117. line-height: 32rpx;
  118. margin-top: 16rpx;
  119. }
  120. .kh-tip{
  121. font-family: PingFang-SC, PingFang-SC;
  122. font-weight: bold;
  123. font-size: 24rpx;
  124. color: #B2B2B2;
  125. line-height: 24rpx;
  126. margin-top: 44rpx;
  127. }
  128. .kh{
  129. font-family: PingFang-SC, PingFang-SC;
  130. font-weight: 800;
  131. font-size: 44rpx;
  132. color: #70CF52;
  133. line-height: 44rpx;
  134. margin-top: 24rpx;
  135. }
  136. .memo{
  137. font-family: PingFang-SC, PingFang-SC;
  138. font-weight: bold;
  139. font-size: 24rpx;
  140. color: #B2B2B2;
  141. line-height: 39rpx;
  142. margin-top: 64rpx;
  143. }
  144. .gx-tip{
  145. font-family: PingFang-SC, PingFang-SC;
  146. font-weight: bold;
  147. font-size: 24rpx;
  148. color: #B2B2B2;
  149. line-height: 36rpx;
  150. margin-top: 112rpx;
  151. }
  152. .num{
  153. font-family: PingFangSC, PingFang SC;
  154. font-weight: 400;
  155. font-size: 24rpx;
  156. color: #151B29;
  157. line-height: 36rpx;
  158. margin-top: 20rpx;
  159. text{
  160. font-family: AaHouDiHei;
  161. font-size: 26rpx;
  162. font-weight: bold;
  163. color: #70CF52;
  164. line-height: 36rpx;
  165. margin: 10rpx;
  166. }
  167. }
  168. .heart{
  169. width: 235rpx;
  170. height: 230rpx;
  171. position: absolute;
  172. right: 0;
  173. bottom: 64rpx;
  174. }
  175. .level{
  176. width: 250rpx;
  177. height: 64rpx;
  178. background: url('https://transcend.ringzle.com/xiaozhi-app/profile/2025/09/28/f547998f-f2c2-4098-a908-e2b70d16d60c.png') no-repeat;
  179. background-repeat: no-repeat;
  180. background-size: 100% 100%;
  181. position: absolute;
  182. right: 0;
  183. bottom: 0;
  184. font-family: PingFang-SC, PingFang-SC;
  185. font-weight: 800;
  186. font-size: 48rpx;
  187. color: #FFFFFF;
  188. line-height: 64rpx;
  189. text-align: center;
  190. }
  191. }
  192. }
  193. }
  194. &.box2{
  195. .content{
  196. background: #FFFFFF;
  197. font-family: PingFangSC, PingFang SC;
  198. font-weight: 400;
  199. font-size: 28rpx;
  200. color: #4E5969;
  201. line-height: 48rpx;
  202. padding: 96rpx 32rpx 46rpx;
  203. border-radius: 32rpx;
  204. img{
  205. width: 100%;
  206. }
  207. }
  208. }
  209. }
  210. .back{
  211. width: 100%;
  212. height: 90rpx;
  213. background: #B7F358;
  214. border-radius: 45rpx;
  215. margin-top: 40rpx;
  216. font-family: PingFang-SC, PingFang-SC;
  217. font-weight: bold;
  218. font-size: 32rpx;
  219. color: #151B29;
  220. line-height: 90rpx;
  221. text-align: center;
  222. letter-spacing: 2rpx;
  223. }
  224. }
  225. </style>