<template>
|
<div class="notice-detail-page">
|
<div class="notice-detail-head">
|
<h4 style="margin-bottom: 16px;">消息主题</h4>
|
<p style="font-size: 12px;color: #999;margin-bottom: 20px;">
|
<!-- <span>消息类型:审批 </span> -->
|
<span>发送人:111 </span>
|
<span> </span>
|
<span>收件人:111</span>
|
<span> </span>
|
<span>发件时间:111</span>
|
</p>
|
<div class="notice-detail-head-content">
|
<label>内容:</label>
|
<div></div>
|
</div>
|
</div>
|
<div class="info-box">
|
<component class="notice-content" :is="noticeInfo.u" style="height: 500px;">
|
</component>
|
</div>
|
</div>
|
</template>
|
|
<script>
|
const requireComponent = require.context("../view", false, /\.vue/);
|
var comObj = {};
|
requireComponent.keys().forEach(fileName => {
|
var names = fileName
|
.split("/")
|
.pop()
|
.replace(".vue", "");
|
const componentConfig = requireComponent(fileName);
|
comObj[names] = componentConfig.default || componentConfig;
|
});
|
export default {
|
components: comObj,
|
data() {
|
return{
|
noticeInfo:{
|
u:'b1-report-preparation'
|
},
|
}
|
}
|
}
|
</script>
|
|
<style scoped>
|
.notice-detail-page{
|
height: calc(100vh - 120px);
|
overflow-y: auto;
|
padding-top: 16px;
|
}
|
.notice-detail-head{
|
background: #fff;
|
border-radius: 3px;
|
box-sizing: border-box;
|
padding: 16px;
|
}
|
.info-box{
|
margin-top: 16px;
|
width: 100%;
|
box-sizing: border-box;
|
padding: 8px 20px 20px;
|
background: rgba(148, 147, 147, 0.1);
|
border-radius: 8px;
|
}
|
.notice-detail-head-content div{
|
border-radius: 8px;
|
border: 1px solid #ccc;
|
min-height: 60px;
|
width: 100%;
|
padding: 16px;
|
box-sizing: border-box;
|
margin-top: 12px;
|
}
|
</style>
|