<template> <el-dialog :visible.sync="dialogShow" title="" width="1000px" append-to-body> <div class="k-div"> <div class="k-title"> {{ knowledge.kName }} </div> <div class="k-subtitle"> <div>所属类别:{{ knowledge.kTypeName }}</div> <div>发布人:{{ knowledge.kUserName }}</div> <div>发布时间:{{ knowledge.kTime }}</div> </div> <div class="k-content"> {{ knowledge.kInfo }} </div> </div> </el-dialog> </template> <script> export default { name: 'KnowledgeDetail', data() { return { knowledge: { kName: '', kTypeName: '', kUserName: '', kInfo: '', kTime: '' }, dialogShow: false } }, methods: { initDialog(row) { this.dialogShow = true this.knowledge = { kName: '特困人员救助供养标准是什么?', kTypeName: '州民政局', kUserName: '周海瑞', kInfo: '2019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:6214502', kTime: '2019-10-18 15:55:35' } } } } </script> <style rel="stylesheet/scss" lang="scss" scoped> .k-div{ text-align: center; padding: auto 20px; min-height: 250px; .k-title{ color:#3a8ee6; font-size:25px; line-height: 25px; } .k-subtitle{ margin-top: 15px; line-height: 17px; } .k-content{ text-align: justify; margin-top: 20px; font-size:16px; line-height: 20px; text-indent:25px } } </style>