2025-11-14 11:39:33 +08:00
|
|
|
|
<template>
|
|
|
|
|
|
<view>
|
|
|
|
|
|
<u-navbar :is-back="true" title="招商公告" :border-bottom="false"></u-navbar>
|
|
|
|
|
|
<view class="wrap">
|
|
|
|
|
|
<scroll-view scroll-y style="height: 100%;width: 100%;">
|
|
|
|
|
|
<view class="page-box">
|
|
|
|
|
|
<view class="tabSwiper" v-for="(item, index) in dataList" :key="item.id" @click="clickContent(item)">
|
2025-12-31 11:23:28 +08:00
|
|
|
|
<u-icon name="bell" :size="35" color="#FF2F31" class="bell-icon"></u-icon>
|
2025-12-26 17:39:00 +08:00
|
|
|
|
<view class="content-wrapper">
|
|
|
|
|
|
<view class="top">
|
2025-11-14 11:39:33 +08:00
|
|
|
|
<view class="title">{{ item.title }}</view>
|
2025-12-26 17:39:00 +08:00
|
|
|
|
<view class="date">{{ item.date }}</view>
|
2025-11-14 11:39:33 +08:00
|
|
|
|
</view>
|
2025-12-26 17:39:00 +08:00
|
|
|
|
<view class="item">
|
|
|
|
|
|
<view class="content u-line-2">{{ item.content }}</view>
|
2025-11-14 11:39:33 +08:00
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
2025-12-26 17:39:00 +08:00
|
|
|
|
<u-icon name="arrow-right" color="rgb(203,203,203)" :size="26" class="arrow-icon"></u-icon>
|
2025-11-14 11:39:33 +08:00
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</scroll-view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
|
export default {
|
|
|
|
|
|
data() {
|
2025-12-26 17:39:00 +08:00
|
|
|
|
// 静态公告数据
|
|
|
|
|
|
const staticNoticeList = [
|
|
|
|
|
|
{
|
|
|
|
|
|
id: 1,
|
|
|
|
|
|
title: '关于开展2025年度招商工作的通知',
|
|
|
|
|
|
date: '2025-01-15',
|
|
|
|
|
|
content: '为进一步推进我市招商引资工作,优化营商环境,现就开展2025年度招商工作有关事项通知如下:一、工作目标;二、重点领域;三、保障措施...'
|
|
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
id: 2,
|
|
|
|
|
|
title: '2024年度招商成果通报',
|
|
|
|
|
|
date: '2025-01-10',
|
|
|
|
|
|
content: '2024年,我市招商引资工作取得显著成效,共引进各类项目120个,总投资达500亿元,现将具体成果通报如下:一、总体情况;二、主要特点;三、下一步计划...'
|
|
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
id: 3,
|
|
|
|
|
|
title: '关于举办2025年春季招商推介会的通知',
|
|
|
|
|
|
date: '2025-01-05',
|
|
|
|
|
|
content: '为搭建投资合作平台,展示我市投资环境和发展机遇,定于2025年3月15日举办春季招商推介会,诚邀各界企业家参会...'
|
|
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
id: 4,
|
|
|
|
|
|
title: '关于印发《市招商引资优惠政策实施细则》的通知',
|
|
|
|
|
|
date: '2024-12-28',
|
|
|
|
|
|
content: '为进一步规范招商引资优惠政策的实施,经市政府同意,现将《市招商引资优惠政策实施细则》印发给你们,请认真贯彻执行...'
|
|
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
id: 5,
|
|
|
|
|
|
title: '关于认定2024年度市重点招商引资项目的通知',
|
|
|
|
|
|
date: '2024-12-20',
|
|
|
|
|
|
content: '根据《市重点招商引资项目认定管理办法》,经评审,认定以下30个项目为2024年度市重点招商引资项目,现予以公布...'
|
|
|
|
|
|
}
|
|
|
|
|
|
];
|
2025-11-14 11:39:33 +08:00
|
|
|
|
return {
|
2025-12-26 17:39:00 +08:00
|
|
|
|
pageNum: 1,
|
|
|
|
|
|
pageSize: 50,
|
|
|
|
|
|
dataList: staticNoticeList,
|
2025-11-14 11:39:33 +08:00
|
|
|
|
};
|
|
|
|
|
|
},
|
|
|
|
|
|
onLoad() {
|
2025-12-26 17:39:00 +08:00
|
|
|
|
// 静态数据已在data中初始化,无需调用接口
|
|
|
|
|
|
// this.getNoticecList();
|
2025-11-14 11:39:33 +08:00
|
|
|
|
},
|
|
|
|
|
|
methods: {
|
2025-12-26 17:39:00 +08:00
|
|
|
|
clickContent(item) {
|
|
|
|
|
|
if (item.id) {
|
2025-12-25 08:26:09 +08:00
|
|
|
|
this.$u.route('/pages/notice/noticeDetail', {
|
2025-11-14 11:39:33 +08:00
|
|
|
|
id: item.id
|
|
|
|
|
|
});
|
|
|
|
|
|
}
|
|
|
|
|
|
},
|
2025-12-26 17:39:00 +08:00
|
|
|
|
getNoticecList() {
|
|
|
|
|
|
// 静态数据已在data中初始化,无需调用接口
|
|
|
|
|
|
// 保留此方法以保持兼容性
|
|
|
|
|
|
return;
|
2025-11-14 11:39:33 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
};
|
|
|
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
|
|
.tabSwiper {
|
2025-12-26 17:39:00 +08:00
|
|
|
|
width: 95%;
|
2025-11-14 11:39:33 +08:00
|
|
|
|
background-color: #ffffff;
|
2025-12-26 17:39:00 +08:00
|
|
|
|
margin: 16rpx auto;
|
|
|
|
|
|
border-radius: 12rpx;
|
2025-11-14 11:39:33 +08:00
|
|
|
|
box-sizing: border-box;
|
2025-12-26 17:39:00 +08:00
|
|
|
|
padding: 32rpx;
|
|
|
|
|
|
box-shadow: 0 1rpx 8rpx rgba(0, 0, 0, 0.04);
|
|
|
|
|
|
transition: all 0.2s ease;
|
|
|
|
|
|
border: 1rpx solid #f0f0f0;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
|
box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.08);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.bell-icon {
|
|
|
|
|
|
margin-right: 32rpx;
|
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
|
margin-top: 4rpx;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.content-wrapper {
|
|
|
|
|
|
flex: 1;
|
|
|
|
|
|
min-width: 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.arrow-icon {
|
|
|
|
|
|
margin-left: 24rpx;
|
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
|
margin-top: 16rpx;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2025-11-14 11:39:33 +08:00
|
|
|
|
.top {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
justify-content: space-between;
|
2025-12-26 17:39:00 +08:00
|
|
|
|
align-items: flex-start;
|
|
|
|
|
|
margin-top: 20rpx;
|
|
|
|
|
|
|
|
|
|
|
|
.title {
|
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
color: #1a1a1a;
|
|
|
|
|
|
line-height: 38rpx;
|
|
|
|
|
|
flex: 1;
|
2025-11-14 11:39:33 +08:00
|
|
|
|
}
|
2025-12-26 17:39:00 +08:00
|
|
|
|
|
|
|
|
|
|
.date {
|
|
|
|
|
|
color: #999999;
|
|
|
|
|
|
font-size: 26rpx;
|
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
right: 30rpx;
|
|
|
|
|
|
top: 15rpx;
|
2025-11-14 11:39:33 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
2025-12-26 17:39:00 +08:00
|
|
|
|
|
2025-11-14 11:39:33 +08:00
|
|
|
|
.item {
|
|
|
|
|
|
.content {
|
2025-12-26 17:39:00 +08:00
|
|
|
|
font-size: 26rpx;
|
|
|
|
|
|
line-height: 36rpx;
|
|
|
|
|
|
color: #666666;
|
|
|
|
|
|
letter-spacing: 0.5rpx;
|
|
|
|
|
|
margin-top: 10rpx;
|
2025-11-14 11:39:33 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2025-12-26 17:39:00 +08:00
|
|
|
|
|
2025-11-14 11:39:33 +08:00
|
|
|
|
.wrap {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
height: calc(100vh - var(--window-top));
|
|
|
|
|
|
width: 100%;
|
2025-12-26 17:39:00 +08:00
|
|
|
|
background-color: #fafafa;
|
2025-11-14 11:39:33 +08:00
|
|
|
|
}
|
2025-12-26 17:39:00 +08:00
|
|
|
|
|
|
|
|
|
|
.page-box {
|
|
|
|
|
|
padding: 16rpx 0 40rpx 0;
|
2025-11-14 11:39:33 +08:00
|
|
|
|
}
|
|
|
|
|
|
</style>
|