teamHonor.vue 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. <template>
  2. <view>
  3. <u-navbar title="团队荣誉"></u-navbar>
  4. <view class="tabs">
  5. <u-tabs bar-width="60" inactive-color="#777777" active-color="#018bb9" height="88" :list="list" :is-scroll="false" :current="current" @change="change"></u-tabs>
  6. </view>
  7. <view class="commend-box">
  8. <view class="commend-content">
  9. <view class="title">
  10. 综合办公室
  11. </view>
  12. <view class="commendation">
  13. 荣誉说明荣誉说明荣誉说明荣誉说明荣誉说明荣誉说明荣誉说明荣誉说明
  14. </view>
  15. <view class="integral">
  16. <view class="icon">
  17. <img src="../../../assets/img/riFill-copper-diamond-fill@2x.png" alt="">
  18. </view>
  19. <view class="text">
  20. 每人20~50积分
  21. </view>
  22. </view>
  23. </view>
  24. <view class="gainer">
  25. <img src="../../../assets/img/honorPic1.png" alt="">
  26. <view class="name">
  27. 荣誉名称
  28. </view>
  29. </view>
  30. </view>
  31. <view class="commend-box">
  32. <view class="commend-content">
  33. <view class="title">
  34. 党建科
  35. </view>
  36. <view class="commendation">
  37. 荣誉说明荣誉说明荣誉说明荣誉说明荣誉说明荣誉说明荣誉说明荣誉说明
  38. </view>
  39. <view class="integral">
  40. <view class="icon">
  41. <img src="../../../assets/img/riFill-copper-diamond-fill@2x.png" alt="">
  42. </view>
  43. <view class="text">
  44. 每人20~50积分
  45. </view>
  46. </view>
  47. </view>
  48. <view class="gainer">
  49. <img src="../../../assets/img/honorPic2.png" alt="">
  50. <view class="name">
  51. 荣誉名称
  52. </view>
  53. </view>
  54. </view>
  55. <u-divider bg-color="#F2F4F4" border-color="#CFD2D5">已经到底了</u-divider>
  56. </view>
  57. </template>
  58. <script>
  59. export default {
  60. data() {
  61. return {
  62. list: [{
  63. name: '全部'
  64. }, {
  65. name: '荣誉类型'
  66. }, {
  67. name: '荣誉类型',
  68. }],
  69. current: 0
  70. }
  71. },
  72. methods: {
  73. change(index) {
  74. this.current = index;
  75. }
  76. }
  77. }
  78. </script>
  79. <style lang="scss" scoped>
  80. .tabs{
  81. background-color: rgba(255, 255, 255, 1);
  82. /deep/.u-tabs{
  83. width: 408rpx;
  84. }
  85. margin-bottom: 24rpx;
  86. }
  87. .commend-box{
  88. background-color: #fff;
  89. border-radius: 8px;
  90. margin: 0 32rpx 24rpx 32rpx;
  91. padding: 24rpx;
  92. display: flex;
  93. justify-content: space-between;
  94. .commend-content{
  95. .title{
  96. color: rgba(51, 51, 51, 1);
  97. font-size: 16px;
  98. line-height: 23px;
  99. font-family: 'Medium';
  100. }
  101. .commendation{
  102. color: rgba(119, 119, 119, 1);
  103. font-size: 12px;
  104. line-height: 17px;
  105. margin-top: 4rpx;
  106. width: 430rpx;
  107. }
  108. .integral{
  109. font-family: 'Regular';
  110. margin-top: 14rpx;
  111. display: flex;
  112. align-items: center;
  113. justify-content: center;
  114. background-color: rgba(230, 239, 255, 1);
  115. width: 260rpx;
  116. border-radius: 50px;
  117. height: 28px;
  118. font-size: 24rpx;
  119. .icon{
  120. width: 32rpx;
  121. height: 32rpx;
  122. img{
  123. width: 100%;
  124. }
  125. }
  126. .text{
  127. font-size: 24rpx;
  128. color: rgba(119, 119, 119, 1);
  129. }
  130. }
  131. }
  132. .gainer{
  133. img{
  134. width: 136rpx;
  135. height: 140rpx;
  136. border-radius: 50px;
  137. }
  138. .name{
  139. text-align: center;
  140. color: rgba(51, 51, 51, 1);
  141. font-family: 'Regular';
  142. }
  143. }
  144. }
  145. </style>