<template>
    <div id="category">
      <!--头部-->
      <!-- <Header/> -->
      <div class="header-title">
        <span class="header-title-return-back" @click="returnClick"><van-icon name="arrow-left" /></span>
        <span class="header-title-name-bold">开庭公告</span>
      </div>
  
      <div class="manage-body">
        <van-cell-group>
          <van-cell title="企业名称" value="xxxxxxxxx" />
          <van-cell title="xxx纠纷案件名称" value="" />
          <van-cell title="公告类型" value="xxxxxxxxx" />
          <van-cell title="案号" value="xxxxxxxxx" />
          <van-cell title="案由" value="xxxxxxxxx" />
          <van-cell title="案件性质" value="xxxxxxxxx" />
          <van-cell title="申请人" value="xxxxxxxxx" />
          <van-cell title="当事人/送达人" value="xxxxxxxxx" />
          <van-cell title="案件时间" value="xxxxxxxxx" />
          <van-cell title="发布法院" value="xxxxxxxxx" />
        </van-cell-group>
      </div>
    </div>

  </template>
  
  <script>
  // 2. 引入滚动组件
  import BScroll from 'better-scroll'
  import { Button, Col, Row, Icon, Field } from 'vant';
  
  // 3. 引入接口
  import {getCategories, getCategoriesDetail} from "./../../service/api/index"

  
  export default {
    name: "Judicature",
    created() {
      // this.initData();
    },
    data() {
      return {
        // 是否显示正在加载
        showLoading: true,
        // 左侧列表数组
        categories: [],
        // 右侧列表数组
        categoriesDetail: [],
        // 左侧item选中与否
        show: false,
        text: '',
      }
    },
    components: {
      VanButton: Button,
      VanRow: Row,
      VanCol: Col,
      VanIcon: Icon,
      VanField: Field,
    },
    computed: {
      // ...mapState(["shopCart", "userInfo"])
    },
    setup() {},
    methods: {
      returnClick() {
        this.$router.push({path: 'Category'})
      },

    },
  }
  </script>
  
  <style lang="less" scoped>
  
  .header-title {
    height: 40px;
    width: 100%;
    background-color: #fff;
    text-align: center;
  }
  .header-title-name {
    font-weight: bold;
    line-height: 40px;
    align-items: center;
    justify-content: center;
    display: inline-flex;
  }
  .header-title-return {
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 15px;
  }
  .manage-body {
    margin-top: 10px;
    background-color: #fff;
    padding: 20px 10px 0px 10px;
  }
  /deep/ .van-nav-bar__text {
    color: gray !important;
    font-weight: bold;
  }
  .icon-mg {
    margin-left: 3px;
  }
  /deep/ .van-card__thumb {
    width: 60px;
  }
  /deep/ .van-cell__value {
    bottom: 5px;
  }
  </style>../../service/api/index