<template>
  <div class="selftmreg">
    <!-- 导航面包屑 -->
    <div class="jdindentdetail-nav">
      <el-breadcrumb separator-class="el-icon-arrow-right">
        <el-breadcrumb-item class="isActive">商标注册服务</el-breadcrumb-item>
        <el-breadcrumb-item>自助商标注册</el-breadcrumb-item>
      </el-breadcrumb>
    </div>

    <!-- 主体页面 -->

    <!-- <SelftmregPage /> -->
    <div class="jdindentdetail-page">
      <div class="jdindentdetail-wrap">
        <!-- 主体内容步骤条 -->
        <SelftmregPageSteps />

        <!-- 主页内容 -->
        <el-form class="demo-ruleForm" label-width="120px">
          <div class="selftmreg_main">
            <div class="selftmreg_shu"></div>

            <!-- Divider 分割线 -->
            <!-- <el-divider></el-divider> -->

            <router-view></router-view>

            <!-- 第一步：填写基本信息 商标信息  分类选择-->
            <!-- <ModifyTrademark /> -->

            <!-- 第二步：填写申请人信息 -->
            <!-- <ApplicationInfo /> -->

            <!-- 第三步：确认订单 -->
            <!-- <ConfirmOrder /> -->

            <!-- 第四步：支付订单页面 -->
            <!-- <PayOrder /> -->
          </div>

          <div style="clear:both;"></div>
        </el-form>
      </div>
    </div>

    <!-- 底部付款按钮 -->
    <div class="footer-wrap">
      <div class="tabButtomPrcie">
        <span>
          应付总额：
          <i>￥0.00</i>
        </span>
        <el-button type="primary" @click="next">下一步</el-button>
      </div>
    </div>
  </div>
</template>

<script>
// 主体页面里面的组件
import SelftmregPageSteps from "./SelftmregPageSteps";
import ModifyTrademark from "./ModifyTrademark";
import ApplicationInfo from "./ApplicationInfo";
import ConfirmOrder from "./ConfirmOrder";
import PayOrder from "./PayOrder";
export default {
  components: {
    SelftmregPageSteps,
    ModifyTrademark,
    ApplicationInfo,
    ConfirmOrder,
    PayOrder
  },
  data() {
    return {
      //
    };
  },
  methods: {
    next() {
      console.log("two level router");
      // 加载二级路由组件：第二步，填写申请人信息
      // this.$router.push("/:chanue/selftmreg/user");
      console.log(this);
      // 加载二级路由组件：第三步，确认订单
      // this.$router.push("/:chanue/selftmreg/confirm");
      // 加载二级路由组件：第四步，支付订单
      // this.$router.push("/:chanue/selftmreg/pay");
    }
  }
};
</script>

<style lang="scss" scoped>
.selftmreg {
  background-color: white;
}

/* 导航面包屑 */
.jdindentdetail-nav {
  box-sizing: border-box;
  padding-top: 17px;
  width: 1200px;
  margin: 12px auto;
  padding: 0;
  height: 24px;
  line-height: 24px;

  .el-breadcrumb {
    display: inline-block;

    .isActive {
      font-weight: 700;
      text-decoration: none;
      -webkit-transition: color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
      transition: color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
      color: #303133;
    }
    .isActive :hover {
      color: #007aff;
      cursor: pointer;
    }
  }
}

// 主体页面
.jdindentdetail-page {
  background-color: white;
  width: 1200px;
  margin: 0 auto;
  padding-bottom: 90px;
}
.jdindentdetail-wrap {
  text-align: left;
  border: 1px solid rgba(220, 223, 230, 1);
  position: relative;
}
.selftmreg_main {
  width: 100%;
  padding: 0px 20px;
  box-sizing: border-box;
  overflow: hidden;
  margin-bottom: 50px;
}
.selftmreg_shu {
  width: 1143px;
  height: 1px;
  background-color: #eeeeee;
  margin: 20px 0;
}

/* 底部付款按钮 */
.footer-wrap {
  width: 100%;
  margin-top: 20px;
  box-sizing: border-box;
  .tabButtomPrcie {
    width: 100%;
    height: 60px;
    line-height: 60px;
    font-size: 16px;
    color: #828282;
    text-align: right;
    box-sizing: border-box;
    background: #eff0f7;
    z-index: 2999;
    position: fixed;
    bottom: 0;
    left: 0;
    padding-right: 159px;
    > span {
      margin-right: 30px;
      text-align: center;
      color: #03004c;
      font-weight: 700;
      > i {
        color: #e50778;
        font-style: normal;
        font-size: 24px;
      }
    }
  }
}
</style>