index.vue 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. <template>
  2. <div class="propertyNotice_manage">
  3. <div class="whiteBoard">
  4. <div class="addRepair" @tap="newRelease">新增发布 <van-icon name="add" style="margin-left: 8rpx"/></div>
  5. <div class="noticeItem" v-for="item in repairList">
  6. <div class="noticeName">{{item.name}}</div>
  7. <div class="noticeBottom">
  8. <div class="noticeTime">{{item.time}}</div>
  9. <div class="noticeBtnBox">
  10. <button class="mbtn editBtn">编辑</button>
  11. <button class="mbtn closeBtn">下架</button>
  12. </div>
  13. </div>
  14. </div>
  15. </div>
  16. </div>
  17. </template>
  18. <script>
  19. export default {
  20. name: "index",
  21. data(){
  22. return{
  23. repairList:[
  24. {name:'关于组织2020年无锡市服务业提质增效资金项目申报的通知',time:'2024-1-21 13:00'},
  25. {name:'关于组织2020年无锡市服务业提质增效资金项目申报的通知',time:'2024-1-21 13:00'},
  26. {name:'关于组织2020年无锡市',time:'2024-1-21 13:00'},
  27. ]
  28. }
  29. },
  30. methods:{
  31. newRelease(){
  32. uni.navigateTo({
  33. url:'/pages/subPackages/propertyNotice_manage/newRelease'
  34. })
  35. }
  36. }
  37. }
  38. </script>
  39. <style lang="scss">
  40. .propertyNotice_manage{
  41. .whiteBoard{
  42. background: white;
  43. margin-top: 24rpx;
  44. box-sizing: border-box;
  45. padding: 32rpx;
  46. height: 1424rpx;
  47. .addRepair{
  48. display: flex;
  49. justify-content: flex-end;
  50. align-items: center;
  51. color: rgba(3, 101, 249, 1);
  52. }
  53. .noticeItem{
  54. padding: 24rpx 32rpx;
  55. width: 686rpx;
  56. height: 224rpx;
  57. background: rgba(245, 247, 250, 1);
  58. box-sizing: border-box;
  59. border-radius: 16rpx;
  60. margin-top: 24rpx;
  61. .noticeName{
  62. color:rgba(34, 34, 34, 1);
  63. font-size: 32rpx;
  64. font-weight: 600;
  65. line-height: 48rpx;
  66. }
  67. .noticeBottom{
  68. display: flex;
  69. justify-content: space-between;
  70. align-items: center;
  71. margin-top: 16rpx;
  72. .noticeTime{
  73. font-size: 28rpx;
  74. color: rgba(102, 102, 102, 1);
  75. }
  76. .noticeBtnBox{
  77. display: flex;
  78. .mbtn{
  79. width: 160rpx;
  80. height: 60rpx;
  81. border-radius: 32rpx;
  82. display: flex;
  83. align-items: center;
  84. justify-content: center;
  85. font-size: 28rpx;
  86. }
  87. .editBtn{
  88. border: 1px solid rgba(3, 101, 249, 1);
  89. color: rgba(3, 101, 249, 1);
  90. background: white;
  91. margin-right: 24rpx;
  92. }
  93. .closeBtn{
  94. color: white;
  95. background: linear-gradient( 316deg, #84AAFF 0%, #0365F9 100%);
  96. }
  97. }
  98. }
  99. }
  100. }
  101. }
  102. </style>