142 lines
5.1 KiB
PHP
142 lines
5.1 KiB
PHP
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="renderer" content="webkit">
|
|
<?php if($this->params['site_image']):?>
|
|
<link rel="shortcut icon" type="image/x-icon" href="<?php echo $this->params['site_image'];?>" />
|
|
<?php else:?>
|
|
<link rel="shortcut icon" type="image/x-icon" href="<?=Yii::$app->request->baseUrl?>/web/favicon.ico" />
|
|
<?php endif;?>
|
|
<title><?php if($this->params['site_title']):?>
|
|
<?php echo $this->params['site_title']; ?>
|
|
<?php else:?>
|
|
应用管理后台
|
|
<?php endif;?>-公告详情</title>
|
|
<link rel="stylesheet" type="text/css" href="/web/static/css/globle.css"/>
|
|
<script src="/web/static/js/config.js" type="text/javascript" charset="utf-8"></script>
|
|
</head>
|
|
<style>
|
|
|
|
.tjpt .el-button {
|
|
width: 130px;
|
|
height: 38px;
|
|
}
|
|
.notictime{
|
|
border-bottom: 1px solid #eee;
|
|
margin: 0 50px;
|
|
}
|
|
.nonticcon{
|
|
text-indent:25px
|
|
}
|
|
.noticbutton .el-button{
|
|
width: 130px;
|
|
}
|
|
.return{
|
|
margin: 0 50px;
|
|
}
|
|
.return .iconfont{
|
|
color: #ddd;
|
|
font-size: 44px;
|
|
}
|
|
|
|
</style>
|
|
<body>
|
|
<div class="pHead">
|
|
<div class="publicHeader"><?php echo $this->render('@app/views/admin/public/publicHeader.html');?></div>
|
|
</div>
|
|
<div class="pLeft">
|
|
<div class="publicAside hei"><?php echo $this->render('@app/views/admin/public/publicAside.html');?></div>
|
|
</div>
|
|
<div class="yb_body">
|
|
<div class="layout" id="platformList">
|
|
<el-container>
|
|
<el-container>
|
|
<el-main>
|
|
<div class="main" style="min-width: 800px">
|
|
<div class="ba_f" v-if="type=='1'">
|
|
<div class="main_search pad_30 mar_t30 ba_f bor_rad5">
|
|
<div class="notic_title fon_24">{{notice_title}}</div>
|
|
</div>
|
|
<div class="notictime color_9 fon_14 pad_b_30">
|
|
<!-- <span class="mar_r30">发布人:云贝科技</span>/ -->
|
|
<span class="mar_l30">发布时间:{{dt_operdate}} </span>
|
|
</div>
|
|
<div class="nonticcon ba_f pad_30 lh40 t_l mar_b50">
|
|
<div v-html="notice_content"></div>
|
|
</div>
|
|
<!-- <div class="noticbutton pad_tb_40 flex flex-center">
|
|
<el-button>上一篇</el-button>
|
|
<div class="return">
|
|
<div><span class="iconfont iconcaidan"></span></div>
|
|
<div class="color_9">返回列表</div>
|
|
</div>
|
|
<el-button>下一篇</el-button>
|
|
</div> -->
|
|
</div>
|
|
<div class="ba_f" v-else>
|
|
<div class="main_search pad_30 mar_t30 ba_f bor_rad5">
|
|
<div class="notic_title fon_24">版本:{{version_code}}</div>
|
|
</div>
|
|
<div class="notictime color_9 fon_14 pad_b_30">
|
|
<!-- <span class="mar_r30">发布人:云贝科技</span>/ -->
|
|
<span class="mar_l30">发布时间:{{dt_operdate}} </span>
|
|
</div>
|
|
<div class="nonticcon ba_f pad_30 lh40 t_l mar_b50">
|
|
<div v-html="version_remark"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</el-main>
|
|
</el-container>
|
|
</el-container>
|
|
</div>
|
|
</div>
|
|
<script>
|
|
new Vue({
|
|
el: '#platformList',
|
|
created() {
|
|
const id = utils.GetQueryString("id")
|
|
const type = utils.GetQueryString("type")
|
|
if (id) {
|
|
this.type = type
|
|
this.getbyid(id)
|
|
}
|
|
},
|
|
data: function () {
|
|
return {
|
|
dt_operdate:'',
|
|
notice_content:'',
|
|
notice_title:'',
|
|
type:'',
|
|
version_code:'',
|
|
version_remark:'',
|
|
}
|
|
},
|
|
methods: {
|
|
async getbyid(id) {
|
|
let params = {
|
|
id: id,
|
|
type: this.type
|
|
}
|
|
res = await utils.requestPost({
|
|
data: params,
|
|
url: "admin/site/get-notice-details"
|
|
}, this)
|
|
if (res.code == 1) {
|
|
this.cardLoading= false
|
|
this.dt_operdate= res.data.data.dt_operdate
|
|
this.notice_content= res.data.data.notice_content
|
|
this.notice_title= res.data.data.notice_title
|
|
|
|
this.version_code = res.data.data.version_code?res.data.data.version_code:''
|
|
this.version_remark = res.data.data.version_remark?res.data.data.version_remark:''
|
|
}
|
|
},
|
|
}
|
|
})
|
|
|
|
</script>
|
|
</body>
|
|
</html>
|