activityCenter.vue 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. <template>
  2. <view>
  3. <u-navbar title="活动中心"></u-navbar>
  4. <view class="main">
  5. <view class="activity-item">
  6. <view class="title">
  7. 2023年度春季职工运动会
  8. </view>
  9. <view class="pictures">
  10. <img src="../../../assets/img/sharePic1.png" alt="">
  11. <img src="../../../assets/img/sharePic2.png" alt="">
  12. <img src="../../../assets/img/sharePic3.png" alt="">
  13. </view>
  14. <view class="introduce">
  15. 探索了5种改善移动用户体验的绝佳做法,进来学!移动用户体验的绝佳做法,进来学!
  16. </view>
  17. <view class="to-detail">
  18. <view class="tag">
  19. 工会活动
  20. </view>
  21. <view class="click">
  22. <text>点击查看活动详情</text>
  23. <text><u-icon name="arrow-right" color="#777777"></u-icon></text>
  24. </view>
  25. </view>
  26. </view>
  27. <view class="activity-item">
  28. <view class="title">
  29. 2023年度春季职工运动会
  30. </view>
  31. <view class="pictures">
  32. <img src="../../../assets/img/sharePic1.png" alt="">
  33. <img src="../../../assets/img/sharePic2.png" alt="">
  34. <img src="../../../assets/img/sharePic3.png" alt="">
  35. </view>
  36. <view class="introduce">
  37. 探索了5种改善移动用户体验的绝佳做法,进来学!移动用户体验的绝佳做法,进来学!
  38. </view>
  39. <view class="to-detail">
  40. <view class="tag tag2">
  41. 党建活动
  42. </view>
  43. <view class="click">
  44. <text>点击查看活动详情</text>
  45. <text><u-icon name="arrow-right" color="#777777"></u-icon></text>
  46. </view>
  47. </view>
  48. </view>
  49. </view>
  50. <u-divider bg-color="#F2F4F4" border-color="#CFD2D5">已经到底了</u-divider>
  51. <view class="bottom">
  52. <img src="../../../assets/img/riFill-camera-fill@2x.png">
  53. </view>
  54. </view>
  55. </template>
  56. <script>
  57. export default {
  58. data() {
  59. return {
  60. }
  61. },
  62. methods: {
  63. }
  64. }
  65. </script>
  66. <style lang="scss" scoped>
  67. .main{
  68. margin:24rpx 32rpx;
  69. .activity-item{
  70. background-color: #fff;
  71. padding: 24rpx;
  72. border-radius: 8px;
  73. margin-bottom: 24rpx;
  74. .title{
  75. color: rgba(51, 51, 51, 1);
  76. font-size: 18px;
  77. font-family: 'Medium';
  78. }
  79. .pictures {
  80. display: flex;
  81. justify-content: space-between;
  82. margin-top: 16rpx;
  83. img {
  84. width: 31.4%;
  85. height: 150rpx;
  86. border-radius: 16rpx;
  87. }
  88. }
  89. .introduce{
  90. color: rgba(119, 119, 119, 1);
  91. line-height: 20px;
  92. margin-top: 16rpx;
  93. font-family: 'Regular';
  94. }
  95. }
  96. .to-detail{
  97. display: flex;
  98. justify-content: space-between;
  99. align-items: center;
  100. margin-top: 16rpx;
  101. padding-top: 36rpx;
  102. border-top: 1px solid #F4F6F6;
  103. .tag{
  104. border-radius: 4px;
  105. color: rgba(31, 74, 153, 1);
  106. font-size: 12px;
  107. text-align: center;
  108. border: 1px solid rgba(31, 74, 153, 1);
  109. line-height: 18px;
  110. padding: 0 17rpx;
  111. font-family: 'Medium';
  112. }
  113. .tag2{
  114. color: rgba(238, 49, 56, 1);
  115. border: 1px solid rgba(238, 49, 56, 1);
  116. }
  117. .click{
  118. color: rgba(119, 119, 119, 1);
  119. font-family: 'Regular';
  120. }
  121. }
  122. }
  123. .bottom{
  124. background: linear-gradient(223.81deg, rgba(0,90,217,1) 14.24%,rgba(0,52,148,1) 86.67%);
  125. width: 104rpx;
  126. height: 104rpx;
  127. border-radius: 50px;
  128. display: flex;
  129. justify-content: center;
  130. align-items: center;
  131. position: fixed;
  132. right: 72rpx;
  133. bottom: 72rpx;
  134. img{
  135. width: 56rpx;
  136. height: 56rpx;
  137. }
  138. }
  139. </style>