<template>
    <div id="category">
      <!--头部-->
      <!-- <Header/> -->
      <div class="header-title">
        <span class="header-title-return" @click="returnClick"><van-icon name="arrow-left" /></span>
        <span class="header-title-name">开庭公告</span>
      </div>
      <div>
        <van-dropdown-menu active-color="#1989fa">
            <van-dropdown-item title="身份" ref="item">
                <div style="margin: 10px 10px 0 10px;">
                    <van-tag class="mg-lt-5 pd-5 pd-bt-10 mg-10 fs-13" color="#E9F1FD" text-color="#2372EB" size="large">不限</van-tag>
                    <van-tag class="mg-lt-5 pd-5 pd-bt-10 mg-10 fs-13" color="#E9F1FD" text-color="#2372EB" size="large">原告</van-tag>
                    <van-tag class="mg-lt-5 pd-5 pd-bt-10 mg-10 fs-13" color="#E9F1FD" text-color="#2372EB" size="large">被告</van-tag>
                    <van-tag class="mg-lt-5 pd-5 pd-bt-10 mg-10 fs-13" color="#E9F1FD" text-color="#2372EB" size="large">上诉人</van-tag>
                    <van-tag class="mg-lt-5 pd-5 pd-bt-10 mg-10 fs-13" color="#E9F1FD" text-color="#2372EB" size="large">被上诉人</van-tag>
                    <van-tag class="mg-lt-5 pd-5 pd-bt-10 mg-10 fs-13" color="#E9F1FD" text-color="#2372EB" size="large">被执行人</van-tag>
                    <van-tag class="mg-lt-5 pd-5 pd-bt-10 mg-10 fs-13" color="#E9F1FD" text-color="#2372EB" size="large">被申请人</van-tag>
                    <van-tag class="mg-lt-5 pd-5 pd-bt-10 mg-10 fs-13" color="#E9F1FD" text-color="#2372EB" size="large">第三人</van-tag>
                    <van-tag class="mg-lt-5 pd-5 pd-bt-10 mg-10 fs-13" color="#E9F1FD" text-color="#2372EB" size="large">其他</van-tag>
                </div>
                <div style="padding: 10px 16px;margin-bottom: 45px;">
                <van-button class="br-6" style="width: 45%;float: left;"  type="default" @click="onConfirm">
                    重置
                </van-button>
                <van-button class="br-6" style="width: 45%;float: right;" type="info" @click="onConfirm">
                    确认
                </van-button>
                </div>
            </van-dropdown-item>
            <van-dropdown-item title="案由" ref="item">
                <div style="margin: 10px 10px 0 10px;">
                    <van-tag class="mg-lt-5 pd-5 pd-bt-10 mg-10 fs-13" color="#E9F1FD" text-color="#2372EB" size="large">不限</van-tag>
                    <van-tag class="mg-lt-5 pd-5 pd-bt-10 mg-10 fs-13" color="#E9F1FD" text-color="#2372EB" size="large">管辖案件</van-tag>
                    <van-tag class="mg-lt-5 pd-5 pd-bt-10 mg-10 fs-13" color="#E9F1FD" text-color="#2372EB" size="large">刑事案件</van-tag>
                    <van-tag class="mg-lt-5 pd-5 pd-bt-10 mg-10 fs-13" color="#E9F1FD" text-color="#2372EB" size="large">民事案件</van-tag>
                    <van-tag class="mg-lt-5 pd-5 pd-bt-10 mg-10 fs-13" color="#E9F1FD" text-color="#2372EB" size="large">行政案件</van-tag>
                </div>
                <div style="padding: 10px 16px;margin-bottom: 45px;">
                <van-button class="br-6" style="width: 45%;float: left;"  type="default" @click="onConfirm">
                    重置
                </van-button>
                <van-button class="br-6" style="width: 45%;float: right;" type="info" @click="onConfirm">
                    确认
                </van-button>
                </div>
            </van-dropdown-item>
            <van-dropdown-item title="开庭年份" ref="item">
                <div style="margin: 10px 10px 0 10px;">
                    <van-tag class="mg-lt-5 pd-5 pd-bt-10 mg-10 fs-13" color="#E9F1FD" text-color="#2372EB" size="large">不限</van-tag>
                    <van-tag class="mg-lt-5 pd-5 pd-bt-10 mg-10 fs-13" color="#E9F1FD" text-color="#2372EB" size="large">2024</van-tag>
                    <van-tag class="mg-lt-5 pd-5 pd-bt-10 mg-10 fs-13" color="#E9F1FD" text-color="#2372EB" size="large">2023</van-tag>
                    <van-tag class="mg-lt-5 pd-5 pd-bt-10 mg-10 fs-13" color="#E9F1FD" text-color="#2372EB" size="large">2022</van-tag>
                    <van-tag class="mg-lt-5 pd-5 pd-bt-10 mg-10 fs-13" color="#E9F1FD" text-color="#2372EB" size="large">2021</van-tag>
                </div>
                <div style="padding: 10px 16px;margin-bottom: 45px;">
                <van-button class="br-6" style="width: 45%;float: left;"  type="default" @click="onConfirm">
                    重置
                </van-button>
                <van-button class="br-6" style="width: 45%;float: right;" type="info" @click="onConfirm">
                    确认
                </van-button>
                </div>
            </van-dropdown-item>
        </van-dropdown-menu>
      </div>
      <div style="font-size: 13px;margin-top: 10px;margin-left: 5px;">共<span style="color: #DB2C2C;">2</span>条开庭公告</div>
  
      <div class="manage-body">
        <div class="fw-bold mg-lt-16 mg-bt-10">(2023)内民终625号</div>
        <van-cell-group>
            <div class="fs-14 mg-lt-16 mg-bt-5 mg-tp-8">案由：特种设备使用登记证</div>
            <div class="fs-14 mg-lt-16 mg-bt-5 mg-tp-8">原告：特种设备使用登记证</div>
            <div class="fs-14 mg-lt-16 mg-bt-5 mg-tp-8">被告：特种设备使用登记证</div>
            <div class="fs-14 mg-lt-16 mg-bt-5 mg-tp-8">法院：特种设备使用登记证</div>
            <div class="fs-14 mg-lt-16 mg-bt-5 mg-tp-8">刊登日期：2024-03-24</div>
        </van-cell-group>
        <div class="fw-bold mg-lt-16 mg-bt-10 mg-tp-10">(2023)内民终625号</div>
        <van-cell-group>
            <div class="fs-14 mg-lt-16 mg-bt-5 mg-tp-8">案由：特种设备使用登记证</div>
            <div class="fs-14 mg-lt-16 mg-bt-5 mg-tp-8">原告：特种设备使用登记证</div>
            <div class="fs-14 mg-lt-16 mg-bt-5 mg-tp-8">被告：特种设备使用登记证</div>
            <div class="fs-14 mg-lt-16 mg-bt-5 mg-tp-8">法院：特种设备使用登记证</div>
            <div class="fs-14 mg-lt-16 mg-bt-5 mg-tp-8">刊登日期：2024-03-24</div>
        </van-cell-group>
      </div>
    </div>

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

  
  export default {
    name: "HearingNotice",
    created() {
      // this.initData();
    },
    data() {
      return {
      }
    },
    components: {
      VanButton: Button,
      VanRow: Row,
      VanCol: Col,
      VanIcon: Icon,
      VanField: Field,
      VanTag: Tag,
      VanDropdownMenu: DropdownMenu,
      VanDropdownItem: DropdownItem,
    },
    computed: {
      // ...mapState(["shopCart", "userInfo"])
    },
    setup() {},
    methods: {
      returnClick() {
        this.$router.go(-1)
      },

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