<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
              clickable
              style="padding-bottom: 20px"
            >
            <template #icon>
                <div class="card-icon"><van-icon name="newspaper-o" /></div>
              </template>
            <template #title>
                <div style="margin-top: 15px;font-size: 15px;font-weight: bold;">江苏数动未来科技有限公司</div>
                </template>
                <template #label>
                  <van-tag color="#E9F1FD" text-color="#2372EB" style="margin-top: 10px;">工商变更</van-tag>
                </template>
              <!-- <template #right-icon>
                <van-icon name="back-top" color="#2372EB" />
              </template> -->
            </van-cell>
          </van-cell-group>
      </div>
    </div>

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

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

    },
  }
  </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 0px 10px;
  }
  /deep/ .van-nav-bar__text {
    color: gray !important;
    font-weight: bold;
  }
  .icon-mg {
    margin-left: 3px;
  }
  .card-icon {
  float: left;
  width: 2.5rem;
  height: 2.5rem;
  font-size: 2rem;
  margin: 0 auto;
  text-align: center;
  margin-top: 20px;
  background-color: #EE8C15;
  color: #fff;
  margin-right: 10px;
  line-height: 2.5rem;
}
  </style>../../service/api/index