index.vue 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216
  1. <template>
  2. <view class="page-wrap">
  3. <image class="banner banner-1" src="../../static/taxation/poster.jpg"></image>
  4. <view class="title-row">
  5. <view class="line"></view>
  6. <view class="point"></view>
  7. <view class="title">社区活动</view>
  8. <view class="point"></view>
  9. <view class="line"></view>
  10. </view>
  11. <view class="activity-panel">
  12. <view class="item">
  13. <view class="name">8月供需对接会</view>
  14. <view class="type">线下活动</view>
  15. <image class="img" src="../../static/taxation/poster.jpg" mode="aspectFill"></image>
  16. </view>
  17. <view class="item">
  18. <view class="name">创业大讲堂</view>
  19. <view class="type">线上课程</view>
  20. <image class="img" src="../../static/taxation/poster.jpg" mode="aspectFill"></image>
  21. </view>
  22. <view class="item">
  23. <view class="name">职工素质讲座</view>
  24. <view class="type">线下活动</view>
  25. <image class="img" src="../../static/taxation/poster.jpg" mode="aspectFill"></image>
  26. </view>
  27. <view class="item">
  28. <view class="name">创业分享会</view>
  29. <view class="type">线下活动</view>
  30. <image class="img" src="../../static/taxation/poster.jpg" mode="aspectFill"></image>
  31. </view>
  32. </view>
  33. <view class="link-panel">
  34. <view class="link">大学生创业之路</view>
  35. <view class="link">创业的五个思路</view>
  36. <view class="link">创业经验少走2年弯路!</view>
  37. </view>
  38. <image class="banner banner-2" src="../../static/taxation/poster2.png"></image>
  39. <view class="title-row">
  40. <view class="line"></view>
  41. <view class="point"></view>
  42. <view class="title">创业干货</view>
  43. <view class="point"></view>
  44. <view class="line"></view>
  45. </view>
  46. <view class="article-panel">
  47. <view class="item">
  48. <view class="title">小微企业--全额返还</view>
  49. <view class="from">鑫恩华创业社区</view>
  50. <view class="time">2023-12-19 20:38:06</view>
  51. <image class="img" src="../../static/taxation/poster.jpg" mode="aspectFill"></image>
  52. </view>
  53. <view class="item">
  54. <view class="title">政策直通--国科小那些事儿</view>
  55. <view class="from">鑫恩华创业社区</view>
  56. <view class="time">2023-12-19 20:38:06</view>
  57. <image class="img" src="../../static/taxation/poster.jpg" mode="aspectFill"></image>
  58. </view>
  59. <view class="item">
  60. <view class="title">税筹--劳务派遣与劳务分包</view>
  61. <view class="from">鑫恩华创业社区</view>
  62. <view class="time">2023-12-19 20:38:06</view>
  63. <image class="img" src="../../static/taxation/poster.jpg" mode="aspectFill"></image>
  64. </view>
  65. </view>
  66. </view>
  67. </template>
  68. <script>
  69. export default {
  70. data() {
  71. return {};
  72. },
  73. methods: {}
  74. };
  75. </script>
  76. <style lang="scss" scoped>
  77. .page-wrap{
  78. padding-bottom: 41.21rpx;
  79. }
  80. .banner {
  81. display: block;
  82. width: 100%;
  83. &-1{
  84. height: 295.33rpx;
  85. margin-bottom: 13.74rpx;
  86. }
  87. &-2{
  88. height: 171.7rpx;
  89. }
  90. }
  91. .title-row {
  92. height: 82.42rpx;
  93. box-sizing: border-box;
  94. border-bottom: 1rpx solid #e0e0e0;
  95. background: #fff;
  96. display: flex;
  97. align-items: center;
  98. justify-content: center;
  99. .line {
  100. width: 42.58rpx;
  101. height: 1rpx;
  102. background: #ccc;
  103. margin: 0 5.49rpx;
  104. }
  105. .point {
  106. width: 8.24rpx;
  107. height: 8.24rpx;
  108. border-radius: 50%;
  109. background: #ccc;
  110. }
  111. .title {
  112. font-size: 30.22rpx;
  113. padding: 0 13.74rpx;
  114. }
  115. }
  116. .activity-panel{
  117. display: flex;
  118. flex-wrap: wrap;
  119. justify-content: space-between;
  120. background: #fff;
  121. padding: 13.74rpx 27.47rpx 0;
  122. .item{
  123. width: 343.41rpx;
  124. height: 137.36rpx;
  125. background: #fafafa;
  126. padding: 0 144.23rpx 0 27.47rpx;
  127. box-sizing: border-box;
  128. display: flex;
  129. flex-direction: column;
  130. justify-content: center;
  131. position: relative;
  132. margin-bottom: 13.74rpx;
  133. }
  134. .name{
  135. font-size: 27.47rpx;
  136. white-space: nowrap;
  137. overflow: hidden;
  138. text-overflow: ellipsis;
  139. }
  140. .type{
  141. font-size: 24.73rpx;
  142. color: #999;
  143. margin-top: 5.49rpx;
  144. }
  145. .img{
  146. width: 103.02rpx;
  147. height: 103.02rpx;
  148. border-radius: 50%;
  149. position: absolute;
  150. right: 27.47rpx;
  151. top: 50%;
  152. transform: translateY(-50%);
  153. }
  154. }
  155. .link-panel{
  156. height: 82.42rpx;
  157. display: flex;
  158. align-items: center;
  159. justify-content: center;
  160. background: #fff;
  161. .link{
  162. white-space: nowrap;
  163. overflow: hidden;
  164. text-overflow: ellipsis;
  165. font-size: 24.73rpx;
  166. color: #666;
  167. margin-right: 27.47rpx;
  168. &:last-child{
  169. margin: 0;
  170. }
  171. }
  172. }
  173. .article-panel{
  174. background: #fff;
  175. .item{
  176. height: 199.18rpx;
  177. padding: 20.6rpx 233.52rpx 20.6rpx 31.59rpx;
  178. position: relative;
  179. border-bottom: 1rpx solid #e0e0e0;
  180. box-sizing: border-box;
  181. &:last-child{
  182. border: none;
  183. }
  184. }
  185. .title{
  186. font-size: 27.47rpx;
  187. height: 68.68rpx;
  188. display: -webkit-box;
  189. overflow: hidden;
  190. text-overflow: ellipsis;
  191. -webkit-line-clamp: 2;
  192. -webkit-box-orient: vertical;
  193. margin-bottom: 20.6rpx;
  194. word-break: break-all;
  195. }
  196. .from{
  197. font-size: 24.73rpx;
  198. color: #666;
  199. margin-bottom: 6.87rpx;
  200. }
  201. .time{
  202. font-size: 24.73rpx;
  203. color: #999;
  204. }
  205. .img{
  206. width: 192.31rpx;
  207. height: 164.84rpx;
  208. position: absolute;
  209. right: 20.6rpx;
  210. top: 16.48rpx;
  211. }
  212. }
  213. </style>