snInfo.vue 3.79 KB
<template>
  <div class="content">
    <div class="logo">
      <div>
        <img style="width: 100%;height:100%" src="../../assets/huaheng.png" alt=""/>
      </div>
    </div>
    <div class="top">
      <div class="top-d">
        <div class="top-d-w">
          <label style="font-weight: 800;font-size:1vw ;margin-left: -68vw;color:#191970">货叉信息</label>
        </div>
        <div class="top-d-w">
          <label style="font-weight: 600;font-size:1vw">设备类型:</label>
          <label>dwdeqefwfewfefefefwefewfefwefef</label>
        </div>
        <div class="top-d-w">
          <label style="font-weight: 600;font-size:1vw">生产工厂:</label>
          <label>dwdeqefwfewfefefefwefewfefwefef</label>
        </div>
        <div class="top-d-w">
          <label style="font-weight: 600;font-size:1vw">SN:</label>
          <label>dwdeqefwfewfefefefwefewfefwefef</label>
        </div>
      </div>
    </div>
    <div class="header">
      <div class="top-d">
        <div class="top-d-w">
          <label style="font-weight: 800;font-size:1vw ;margin-left: -68vw;color:#191970">客户信息</label>
        </div>
        <div class="top-d-w">
          <label style="font-weight: 600;font-size:1vw">客户名称:</label>
          <label>dwdeqefwfewfefefefwefewfefwefef</label>
        </div>
        <div class="top-d-w">
          <label style="font-weight: 600;font-size:1vw">交期要求:</label>
          <label>dwdeqefwfewfefefefwefewfefwefef</label>
        </div>
        <div class="top-d-w">
          <label style="font-weight: 600;font-size:1vw">合同编号:</label>
          <label>dwdeqefwfewfefefefwefewfefwefef</label>
        </div>
      </div>
    </div>

    <!-- 表格 -->
    <div class="center">我是表格</div>
    <div class="bottom">
      <div class="bottom-d">
        <div style="height: 10%; ">安装视频</div>
        <div style="height: 90%;margin-top:1vh;">
          <video controls autoplay loop muted playsinlin
                 src="http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4"></video>
        </div>
      </div>
      <div class="bottom-d">
        <div style="height: 10%; ">保养视频</div>
        <div style="height: 90%;margin-top:1vh;">
          <video controls autoplay loop muted playsinlin
                 src="http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4"></video>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {}
  },
}
</script>

<style lang="less" scoped>
.content {
  width: 99.1%;
  height: 100%;
  border: 1px solid #fff;
  margin: 0 auto;
  background-color: #fff;
  overflow: auto;
}

.logo {
  height: 5%;
  margin-top: 10px;

  div {
    width: 50%;
    height: 100%;
    text-align: center;
    margin: 0 auto;
  }
}

.top-d {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  margin: 1vh 0;
  //border: 1px solid red;
  .top-d-w {
    height: 25%;
  }
}

.top {
  width: 95%;
  height: 15%;
  border: 1px solid #eee;
  border-radius: 10px;
  background: #f7f7f7;
  text-align: center;
  margin: 0 auto;
  margin-top: 10px;
}

.header {
  width: 95%;
  height: 15%;
  border: 1px solid #eee;
  border-radius: 10px;
  background: #f7f7f7;
  text-align: center;
  margin: 0 auto;
  margin-top: 10px;
}

.center {
  width: 95%;
  height: 25%;
  border: 1px solid #eee;
  border-radius: 10px;
  background: #f7f7f7;
  text-align: center;
  margin: 0 auto;
  margin-top: 10px;
}

.bottom {
  width: 95%;
  height: 45%;
  border: 1px solid #eee;
  border-radius: 10px;
  background: #f7f7f7;
  text-align: center;
  margin: 0 auto;
  margin-top: 10px;

  .bottom-d {
    height: 50%;
  }

  video {
    width: 97.5%;
    height: 95%;
    padding-left: 0.6vw;
    padding-right: 0.6vw;
    border-radius: 7px;
    padding-top: 0.6vw;
    object-fit: cover;
  }
}
</style>