badgeDetails.vue 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  1. <template>
  2. <view>
  3. <u-navbar title="徽章详情"></u-navbar>
  4. <!-- 荣誉名称 -->
  5. <view class="honor-name">
  6. <view class="icon">
  7. <img src="../../../assets/img/honorPic1.png" alt="">
  8. </view>
  9. <view class="name">
  10. 荣誉名称
  11. </view>
  12. <view class="explain">
  13. 荣誉说明荣誉说明荣誉说明荣誉说明荣
  14. </view>
  15. </view>
  16. <!-- 荣誉记录 -->
  17. <view class="record">
  18. <view class="record-title">
  19. <view class="rec">
  20. </view>
  21. <view class="text">
  22. 荣誉记录
  23. </view>
  24. </view>
  25. <view class="commend-box">
  26. <view class="commend-content">
  27. <view class="title">
  28. 综合办公室
  29. </view>
  30. <view class="commendation">
  31. 荣誉说明荣誉说明荣誉说明荣誉说明荣誉说明荣誉说明荣誉说明荣誉说明
  32. </view>
  33. <view class="integral">
  34. <view class="flex">
  35. <view class="icon">
  36. <img src="../../../assets/img/riFill-copper-diamond-fill@2x.png" alt="">
  37. </view>
  38. <view class="text">
  39. 每人20~50积分
  40. </view>
  41. </view>
  42. <view class="date">
  43. 2023-01-15
  44. </view>
  45. </view>
  46. </view>
  47. </view>
  48. <view class="commend-box">
  49. <view class="commend-content">
  50. <view class="title">
  51. 党建科
  52. </view>
  53. <view class="commendation">
  54. 荣誉说明荣誉说明荣誉说明荣誉说明荣誉说明荣誉说明荣誉说明荣誉说明
  55. </view>
  56. <view class="integral">
  57. <view class="flex">
  58. <view class="icon">
  59. <img src="../../../assets/img/riFill-copper-diamond-fill@2x.png" alt="">
  60. </view>
  61. <view class="text">
  62. 每人20~50积分
  63. </view>
  64. </view>
  65. <view class="date">
  66. 2023-01-15
  67. </view>
  68. </view>
  69. </view>
  70. </view>
  71. </view>
  72. <u-divider bg-color="#F2F4F4" border-color="#CFD2D5">已经到底了</u-divider>
  73. </view>
  74. </template>
  75. <script>
  76. export default {
  77. data() {
  78. return {
  79. }
  80. },
  81. methods: {
  82. }
  83. }
  84. </script>
  85. <style lang="scss" scoped>
  86. page{
  87. font-family: 'Regular';
  88. }
  89. // 荣誉名称
  90. .honor-name {
  91. background-color: #fff;
  92. padding: 32rpx 0;
  93. text-align: center;
  94. .icon {
  95. img {
  96. width: 136rpx;
  97. height: 140rpx;
  98. }
  99. }
  100. .name {
  101. color: rgba(51, 51, 51, 1);
  102. font-size: 18px;
  103. }
  104. .explain {
  105. color: rgba(119, 119, 119, 1);
  106. margin-top: 24rpx;
  107. }
  108. }
  109. // 荣誉记录
  110. .record {
  111. margin-top: 26px;
  112. padding: 0 32rpx;
  113. .record-title {
  114. display: flex;
  115. align-items: center;
  116. margin-bottom: 19px;
  117. color: rgba(51, 51, 51, 1);
  118. font-size: 18px;
  119. line-height: 18px;
  120. font-family: 'Regular';
  121. .rec {
  122. width: 4px;
  123. height: 16px;
  124. background-color: rgba(31, 74, 153, 1);
  125. margin-right: 4px;
  126. }
  127. }
  128. .commend-box {
  129. background-color: #fff;
  130. border-radius: 8px;
  131. padding: 24rpx;
  132. display: flex;
  133. justify-content: space-between;
  134. margin-bottom: 12px;
  135. .commend-content {
  136. .title {
  137. color: rgba(51, 51, 51, 1);
  138. font-size: 16px;
  139. line-height: 23px;
  140. font-family: 'Medium';
  141. }
  142. .commendation {
  143. color: rgba(119, 119, 119, 1);
  144. font-size: 12px;
  145. line-height: 17px;
  146. margin-top: 4rpx;
  147. }
  148. .integral {
  149. margin-top: 14rpx;
  150. display: flex;
  151. align-items: center;
  152. justify-content: space-between;
  153. .flex{
  154. display: flex;
  155. border-radius: 50px;
  156. height: 28px;
  157. font-size: 24rpx;
  158. background-color: rgba(230, 239, 255, 1);
  159. justify-content: center;
  160. align-items: center;
  161. padding: 0 16rpx;
  162. .icon {
  163. width: 32rpx;
  164. height: 32rpx;
  165. img {
  166. width: 100%;
  167. }
  168. }
  169. .text {
  170. font-size: 24rpx;
  171. color: rgba(119, 119, 119, 1);
  172. }
  173. }
  174. }
  175. .date{
  176. color: rgba(153, 153, 153, 1);
  177. font-size: 12px;
  178. }
  179. }
  180. }
  181. }
  182. </style>