|
@@ -0,0 +1,84 @@
|
|
|
+<template>
|
|
|
+ <div class="app">
|
|
|
+ <el-button id="returnBtn" @click="returnBtn">返回</el-button>
|
|
|
+ <div class="noticeDetails">
|
|
|
+ <div class="title">消息详情</div>
|
|
|
+ <h3 id="noticeTitle">数字邮局正式上线,创世版首发!</h3>
|
|
|
+ <!-- <div class="noticeTitle">数字邮局正式上线,创世版首发!</div> -->
|
|
|
+ <h4 id="noticeTime">2023-01-13 11:46:38</h4>
|
|
|
+ <div class="noticeContent">
|
|
|
+ 邮贝数字邮局,是由中国邮政集团有限公司北京市公司设立,同时使用人民日报全国党媒联盟链进行数字邮品和数字产品的登记、认证与确权,服务广大集邮用户和数字收藏爱好者的邮政官方数字邮品和数字产品发行平台。邮贝数字邮局由北京游贝数字科技有限公司负责运营。
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+</template>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<style scoped>
|
|
|
+#returnBtn{
|
|
|
+ margin-top: 10px;
|
|
|
+ margin-left: 10px;
|
|
|
+}
|
|
|
+.noticeDetails {
|
|
|
+ width: 800px;
|
|
|
+ height: 300px;
|
|
|
+ /* background: red; */
|
|
|
+ margin: 50px auto;
|
|
|
+ border: 1px solid #ebeef5;
|
|
|
+}
|
|
|
+.title {
|
|
|
+ font-size: 30px;
|
|
|
+ font-family: PingFang SC;
|
|
|
+ color: #333333;
|
|
|
+ text-align: center;
|
|
|
+ font-weight: bolder;
|
|
|
+ margin-top: 10px;
|
|
|
+}
|
|
|
+#noticeTitle {
|
|
|
+ /* font-size: 18px; */
|
|
|
+ font-family: PingFang SC;
|
|
|
+ color: #333333;
|
|
|
+ margin-left: 30px;
|
|
|
+ margin-top: 20px;
|
|
|
+ font-weight: bolder;
|
|
|
+}
|
|
|
+#noticeTime {
|
|
|
+ font-family: PingFang SC;
|
|
|
+ margin-left: 30px;
|
|
|
+ color: #333333;
|
|
|
+}
|
|
|
+.noticeContent {
|
|
|
+ font-family: PingFang SC;
|
|
|
+ color: #333333;
|
|
|
+ width: 700px;
|
|
|
+ /* background: red; */
|
|
|
+ margin: 0 auto;
|
|
|
+ text-indent: 2em;
|
|
|
+}
|
|
|
+</style>
|
|
|
+
|
|
|
+
|
|
|
+<script>
|
|
|
+export default {
|
|
|
+ data() {
|
|
|
+ return {
|
|
|
+ noticeTitle: "",
|
|
|
+ noticeTime: "",
|
|
|
+ };
|
|
|
+ },
|
|
|
+ mounted() {
|
|
|
+ //获取到当前公告的标题和时间
|
|
|
+ this.noticeTitle = document.querySelector("#noticeTitle");
|
|
|
+ this.noticeTime = document.querySelector("#noticeTime");
|
|
|
+ noticeTitle.innerHTML = this.$route.query.title;
|
|
|
+ noticeTime.innerHTML = this.$route.query.publishTime;
|
|
|
+ },
|
|
|
+ methods:{
|
|
|
+ //返回上一页
|
|
|
+ returnBtn(){
|
|
|
+ this.$router.go(-1)
|
|
|
+ }
|
|
|
+ }
|
|
|
+};
|
|
|
+</script>
|