notice.vue 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <template>
  2. <view class="notice" :style="'padding-top:' + height + 'rpx;'">
  3. <view class="pfixed">
  4. <tab-list :tablist="tablist" :height="height" :tabidx="tabidx" @getCheck="getCheck"></tab-list>
  5. </view>
  6. <view class="mt12">
  7. <view class="cards">
  8. <view class="top flexc">
  9. <view class="cir bga"></view>
  10. <view class="tit">系统通知</view>
  11. <view class="time">2024-04-10 18:32</view>
  12. </view>
  13. <view class="ctxt">
  14. <view>
  15. 您好,皖源融资担保管理系统现已更新版本,请尽快前 往更新,以免造成您的使用不便。
  16. </view>
  17. <view class="tzhu">祝您生活愉快!</view>
  18. </view>
  19. </view>
  20. <view class="cards">
  21. <view class="top flexc">
  22. <view class="cir bgb"></view>
  23. <view class="tit">待办通知</view>
  24. <view class="time">2024-04-10 18:32</view>
  25. </view>
  26. <view class="ctxt">
  27. <view>
  28. 您有<text class="cof6">1</text>条来自【潜山弘立新型建材有限公司】的申报信 息,请您前往审核。
  29. </view>
  30. <view class="tzhu">祝您生活愉快!</view>
  31. </view>
  32. </view>
  33. </view>
  34. </view>
  35. </template>
  36. <script>
  37. import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
  38. import tabList from '@/components/toptab/tab.vue'
  39. export default{
  40. components:{tabList},
  41. data(){
  42. return{
  43. tablist:[{tit:'全部',val:0},{tit:'未读',val:1},{tit:'已读',val:2}],
  44. tabidx:0,
  45. height:100
  46. }
  47. },
  48. methods:{
  49. checkPermi, checkRole,
  50. getCheck(val){
  51. this.tabidx=val
  52. }
  53. }
  54. }
  55. </script>
  56. <style lang="scss" scoped>
  57. .cards{width: 702rpx;background: #FFFFFF;border-radius: 10rpx;margin: 0 auto 24rpx;
  58. .top{padding: 26rpx 34rpx;
  59. .cir{width: 20rpx;height: 20rpx;flex: 0 0 auto;margin-right: 20rpx;border-radius: 20rpx;
  60. &.bga{background: #28C529;}
  61. &.bgb{background: #FF6969;}
  62. }
  63. .tit{flex: 1;font-weight: bold;font-size: 26rpx;color: #343434;line-height: 36rpx;}
  64. .time{font-weight: 500;font-size: 26rpx;flex: 0 0 auto;margin-right: 20rpx;color: #222327;}
  65. }
  66. .ctxt{font-weight: 500;font-size: 26rpx;color: #666666;border-top: 2rpx solid #E5E5E5;padding: 34rpx;
  67. view{line-height: 36rpx;}
  68. .tzhu{margin-top: 28rpx;}
  69. }
  70. }
  71. </style>