<template>
  <div class="page_container">
        <div class="bg-breadcrumb">
            <el-breadcrumb separator="/">
                <el-breadcrumb-item> 开发管理 </el-breadcrumb-item>
                 <el-breadcrumb-item :to="{ path: '/develop/account' }"> 系统账号管理 </el-breadcrumb-item>
                <el-breadcrumb-item > 详情 </el-breadcrumb-item>
            </el-breadcrumb>
        </div>
        <div class="page_content apaas_scroll">
                <div class="info_row">
                <div class="title">
                    <div><span  class="icon_box"></span> 基础信息</div>
                    <div class="dashed_line">
                    </div>
                </div>
                <div class="info_content">
                    <div class="img_box">
                        <img src="/src/assets/imgs/home_ic_user.png" style="height: 96px;width: 96px;border-radius: 99px" alt="">
                    </div>
                    <div class="info_box">
                        <bg-info :data="baseInfo"></bg-info>
                    </div>
                </div>
            </div>
            <div>
                <div class="title">
                    <div><span  class="icon_box"></span> 基础信息</div>
                    <div class="dashed_line">
                    </div>
                </div>
                <div class="info_content">
                    <div class="img_box"></div>
                    <div class="info_box">
                        <bg-info :data="contactInfo"></bg-info>
                    </div>
                </div>
            </div>
        </div>
    </div>
</template>

<script setup>
import { reactive, toRefs, ref, } from '@vue/reactivity'
import { getCurrentInstance } from 'vue'
import { computed, onBeforeMount } from '@vue/runtime-core'
import { useRouter } from 'vue-router';

const baseInfo = reactive(
    [
    {
      name: "所属机构",
      value: "某某省/某某市/大数据局",
      nameWidth: 112
    },
    {
      name: "业务系统编码",
      value: "00000001",
      nameWidth: 112
    },
    {
      name: "业务系统名称",
      value: "大数据处理系统",
      nameWidth: 112
    },
    {
      name: "账号",
      value: "admin001",
      nameWidth: 112
    },
    {
      name: "AppID",
      value: "dasjkjjk",
      nameWidth: 112
    },
    {
      name: "AppSecret",
      value: "asda*******************jhjh",
      nameWidth: 112
    },
    {
      name: "创建人",
      value: "admin（机构管理员）",
      nameWidth: 112
    },
    {
      name: "创建时间",
      value: "2022-01-01 10:10:10",
      nameWidth: 112
    },
    {
      name: "是否启用",
      value: "是",
      nameWidth: 112
    },
    {
      name: "开发厂商名单",
      value: "某某大数据开发商",
      nameWidth: 112
    },
    {
      name: "访问地址",
      value: "http://www.bigdata.com",
      full: true,
      nameWidth: 112
    },
    {
      name: "业务系统描述",
      value: "系统描述系统描述系统描述系统描述系统描述系统描述系统描述系统描述系统描述系统描述系统描述系统描述系统描述系统描述系统描述系统描述",
      full: true,
      nameWidth: 112
    },
  ]
  )

  const contactInfo = reactive(
    [{
      name: "联系人姓名",
      value: "xxx",
      nameWidth: 112
    },
    {
      name: "联系人手机号",
      value: "15627365265",
      nameWidth: 112
    },
    {
      name: "联系人邮箱",
      value: "http://www.bigdata@163.com",
      full: true,
      nameWidth: 112
    },
    {
      name: "备注",
      value: "系统描述系统描述系统描述系统描述系统描述系统描述系统描述系统描述系统描述系统描述系统描述系统描述系统描述系统描述系统描述系统描述",
      full: true,
      nameWidth: 112
    },
  ]
  )

  onBeforeMount(() => {
     
 })
</script>

<style scoped>
.page_content {
    padding: 15px;
    overflow: auto;
}
.info_content {
    display: flex;
}
.info_row {
    margin-bottom: 40px;
}
.img_box {
    width: 120px;
}
.info_box {
    width: 60%;
}

.title {
  font-size: 18px;
  color: #1a1a1a;
  font-weight: bold;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}
.dashed_line {
    flex: 1;
    height: 1px;
    margin: 0 10px;
	border-bottom: dashed 1px #dadee7;
}

.icon_box {
    display: inline-block;
    width: 4px;
	height: 14px;
	background-color: #3759be;
	border-radius: 2px;
    margin-right: 5px;
}

</style>