<!-- * @Description: * @Autor: renchao * @LastEditTime: 2023-10-10 09:11:01 --> <template> <div class="djbfm"> <br /><br /> <p> <font>{{ info.sheng }}</font> 省 (区、市) <font>{{ info.shi }}</font> 市 (区) <font>{{ info.xian }}</font> 区 (县、市) </p> <p> <font>{{ info.jdh }}</font> 街道 (乡、镇) <font>{{ info.jfh }}</font> 街坊 (村) <font>{{ info.zh }}</font> 组 </p> <div class="title">不动产登记簿</div> <br /> <p> 宗地/宗海号: <font>{{ info.zddm }}</font> </p> <div class="bottom"> <p> 登记机构: <font>{{ info.djjg }}</font> </p> </div> </div> </template> <script> import { getDjbfm } from "@/api/djbDetail.js"; export default { data () { return { //传递参数 bdcdyid: this.$route.query.bdcdyid, info: {}, }; }, mounted () { this.loadData(); }, methods: { /** * @description: loadData * @author: renchao */ loadData () { getDjbfm({ bdcdyid: this.bdcdyid }).then((res) => { if (res.code === 200) { this.info = res.result; } }); }, }, }; </script> <style lang="scss" scoped> .djbfm { width: 100%; height: 100%; background: #fff; line-height: 45px; text-align: center; font-size: 18px; font-family: serif; position: relative; font { border-bottom: 1px solid #000; display: inline-block; padding: 0 15px; line-height: 16px; } .title { height: 40%; display: flex; font-size: 38px; color: #000; justify-content: center; align-items: center; } .bottom { position: absolute; bottom: 0px; text-align: center; width: 100%; left: 0; height: 100px; line-height: 100px; p { font-size: 28px; } font { font-size: 24px; line-height: 24px; } } } </style>