
<template>
  <s-layout :title="state.type" :bgStyle="{ color: '#f2f2f2' }">
    <view class="list">
      <s-platform-announcement-item></s-platform-announcement-item>
    </view>
  </s-layout>
</template>

<script setup>
 import { onLoad, onReady } from '@dcloudio/uni-app';
 import { reactive } from 'vue';
 const state = reactive({
    type: '公告列表',
  });
 onLoad((options) => {
    const { type } = options;
    state.type = type;
  });
</script>
<style lang="scss" scoped>
.list {
  margin: 25rpx;
  padding: 40rpx 35rpx;
  background: #FFFFFF;
  border-radius: 15px 15px 15px 15px;
}
</style>
