|
@@ -1,33 +1,40 @@
|
|
|
<template>
|
|
|
-
|
|
|
-
|
|
|
- <view>
|
|
|
- <view style="background-color: white;">
|
|
|
- <view style=" display: flex;">
|
|
|
- <text style="text-align:center;width: 35px;margin-left: 15px; margin-top: 10px;">
|
|
|
- 公告
|
|
|
- </text>
|
|
|
- <yxp-txt-scroll :text="content" fontSize="28" duration="5000" delay="500" txtPadding="10"
|
|
|
- style=" margin: auto; width: 100%;" @onClick="goDetails"></yxp-txt-scroll>
|
|
|
-
|
|
|
- <view style=" text-align: right;width: 70px;margin-top: 10px;color: darkgray" @click="more()"> 更多
|
|
|
- <image src="../static/images/icon_right.png" style="width: 15px;height: 15px;" mode="widthFix">
|
|
|
+ <view class="gg-container">
|
|
|
+ <view class="gg-tit">
|
|
|
+ <view class="gg-title">
|
|
|
+ <image src="../static/images/logo-gg.png" style="width: 100rpx; height: 71rpx;"></image>
|
|
|
+ 长春市贞达市政施工管理平台
|
|
|
+ </view>
|
|
|
+ <image src="../static/images/gg-bg.png" style="width: 100%; position:absolute;height: 40vh;" />
|
|
|
+ <view class="gg-body">
|
|
|
+ <view class="gg-body-tt">
|
|
|
+ <image src="../static/images/gg-lb.png" style="width: 60rpx; height: 60rpx;margin-right: 10rpx;">
|
|
|
</image>
|
|
|
+ <view>公告</view>
|
|
|
+ </view>
|
|
|
+ <yxp-txt-scroll :text="content" fontSize="30" duration="5000" delay="500" txtPadding="10"
|
|
|
+ style=" margin: auto; width: 80%;" @onClick="goDetails"></yxp-txt-scroll>
|
|
|
+ <view
|
|
|
+ style=" text-align: right;width: 70px;color: #fff; display: flex; justify-content: end;align-items: center;"
|
|
|
+ @click="more()">
|
|
|
+ 更多
|
|
|
+ <image src="../static/images/icon_right.png" style="width: 15px;height: 15px;" mode="widthFix" />
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="notice" v-for="(item,index) in list" :key="index" v-if="index==0">
|
|
|
- <view class="justify-content">
|
|
|
- <view class="font-forty">
|
|
|
- {{item.noticeTitle}}
|
|
|
- </view>
|
|
|
- <view class="font-twenty-eight gray">
|
|
|
- {{item.createTime}}
|
|
|
- </view>
|
|
|
+ </view>
|
|
|
+
|
|
|
+ <view class="notice" v-for="(item,index) in list" :key="index" v-if="index==0">
|
|
|
+ <view class="justify-content">
|
|
|
+ <view class="font-forty" style="font-size: 42rpx; font-weight: bold;">
|
|
|
+ {{item.noticeTitle}}
|
|
|
</view>
|
|
|
- <view class="font-thirty-two black" style="margin: 30rpx 0;">
|
|
|
- <rich-text :nodes="item.noticeContent"></rich-text>
|
|
|
+ <view class="font-twenty-eight gray" style="display: flex; align-items: center; margin-top: 20rpx; color:#777;">
|
|
|
+ <image src="../static/images/time.png" style="width: 26rpx;height: 26rpx; margin-right: 15rpx;"></image> {{item.createTime}}
|
|
|
</view>
|
|
|
</view>
|
|
|
+ <view class="font-thirty-two black" style="margin: 30rpx 0;">
|
|
|
+ <rich-text :nodes="item.noticeContent"></rich-text>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</template>
|
|
@@ -106,7 +113,46 @@
|
|
|
}
|
|
|
</script>
|
|
|
|
|
|
-<style>
|
|
|
+<style scoped lang="scss">
|
|
|
+ .gg-container {
|
|
|
+ background-color: #fff;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ }
|
|
|
+
|
|
|
+ .gg-tit {
|
|
|
+ width: 100%;
|
|
|
+ position: relative;
|
|
|
+ top: 0;
|
|
|
+ height: 40vh;
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
+ }
|
|
|
+
|
|
|
+ .gg-body {
|
|
|
+ display: flex;
|
|
|
+ position: absolute;
|
|
|
+ bottom: 25rpx;
|
|
|
+ width: 728rpx;
|
|
|
+ height: 80rpx;
|
|
|
+ background: linear-gradient(0deg, #90BDFF, #3F93FD, #20B9D5);
|
|
|
+ border-radius: 40rpx;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
+
|
|
|
+ .gg-body-tt {
|
|
|
+ text-align: left;
|
|
|
+ margin-left: 5px;
|
|
|
+ width: 25%;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ color: #FFFFFF;
|
|
|
+ font-weight: bold;
|
|
|
+ font-size: 30rpx;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
.content {
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
@@ -131,6 +177,17 @@
|
|
|
justify-content: space-between;
|
|
|
}
|
|
|
|
|
|
+ .gg-title {
|
|
|
+ width: 100%;
|
|
|
+ position: absolute;
|
|
|
+ z-index: 1;
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
+ font-size: 40rpx;
|
|
|
+ font-weight: bold;
|
|
|
+ color: #FFFFFF;
|
|
|
+ }
|
|
|
|
|
|
|
|
|
|