测试下载文件

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <title>circle</title>
    <style>
      html,
      body {
        padding: 0;
        margin: 0;
        width: 100%;
        height: 100%;
      }
      .main {
        width: 100%;
        height: 100%;
        position: relative;
      }
      .div-content-center {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        border-radius: 50%;
        text-align: center;
        cursor: pointer;
      }

      /* .ball2 {
        display: inline-block;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background: #eed784;
        position: relative;
        top: -30px;
        animation: spin2 3s infinite linear;
        transform-origin: 50% 130px;
      } */

      /* @keyframes spin2 {
        to {
          transform: rotate(1turn);
        }
      } */
    </style>
    <script>
      function jumpUrl(url) {
        window.open(url, '_blank')
      }
    </script>
  </head>
  <body>
    <div class="main">
      <div
        class="div-content-center"
        style="
          width: 330px;
          height: 300px;
          line-height: 300px;
          background: #e9ec0a;
          color: #000;
          font-size: 3em;
        "
        onclick="jumpUrl('http://www.baidu.com')"
      >
        <span>仓库</span>
      </div>
      <div
        class="div-content-center"
        style="
          width: 140px;
          height: 140px;
          line-height: 140px;
          background: #f99b28;
          color: #000;
          font-size: 1.5em;
          top: 40%;
          left: 35%;
        "
        onclick="jumpUrl('http://www.baidu.com')"
      >
        <span>查询</span>
      </div>
      <div
        class="div-content-center"
        style="
          width: 140px;
          height: 130px;
          line-height: 130px;
          background: #f99b28;
          color: #000;
          font-size: 1.5em;
          top: 30%;
          left: 47%;
        "
        onclick="jumpUrl('http://www.baidu.com')"
      >
        <span>原材料仓库</span>
      </div>
      <div
        class="div-content-center"
        style="
          width: 160px;
          height: 140px;
          line-height: 140px;
          background: #f99b28;
          color: #000;
          font-size: 1.5em;
          top: 17%;
          left: 47%;
        "
        onclick="jumpUrl('http://www.baidu.com')"
      >
        <span>原材料待处理</span>
      </div>
      <div
        class="div-content-center"
        style="
          width: 170px;
          height: 150px;
          line-height: 150px;
          background: #f99b28;
          color: #000;
          font-size: 1.5em;
          top: 31%;
          left: 60%;
        "
        onclick="jumpUrl('http://www.baidu.com')"
      >
        <span>样品仓库</span>
      </div>
      <div
        class="div-content-center"
        style="
          width: 100px;
          height: 150px;
          line-height: 150px;
          background: #f99b28;
          color: #000;
          font-size: 1.1em;
          top: 48%;
          left: 65%;
        "
        onclick="jumpUrl('http://www.baidu.com')"
      >
        <span>半成品仓库</span>
      </div>
      <div
        class="div-content-center"
        style="
          width: 100px;
          height: 150px;
          line-height: 150px;
          background: #f99b28;
          color: #000;
          font-size: 1.1em;
          top: 48%;
          left: 72%;
        "
        onclick="jumpUrl('http://www.baidu.com')"
      >
        <span>锯切仓库</span>
      </div>
      <div
        class="div-content-center"
        style="
          width: 140px;
          height: 130px;
          line-height: 130px;
          background: #f99b28;
          color: #000;
          font-size: 1.1em;
          top: 64%;
          left: 62%;
        "
        onclick="jumpUrl('http://www.baidu.com')"
      >
        <span>产品仓库</span>
      </div>
      <div
        class="div-content-center"
        style="
          width: 140px;
          height: 130px;
          line-height: 130px;
          background: #f99b28;
          color: #000;
          font-size: 1.1em;
          top: 72%;
          left: 53%;
        "
        onclick="jumpUrl('http://www.baidu.com')"
      >
        <span>待清洗仓库</span>
      </div>
      <div
        class="div-content-center"
        style="
          width: 130px;
          height: 100px;
          line-height: 100px;
          background: #f99b28;
          color: #000;
          font-size: 1.1em;
          top: 69%;
          left: 43%;
        "
        onclick="jumpUrl('http://www.baidu.com')"
      >
        <span>GP12-1未检验</span>
      </div>
      <div
        class="div-content-center"
        style="
          width: 130px;
          height: 100px;
          line-height: 100px;
          background: #f99b28;
          color: #000;
          font-size: 1.1em;
          top: 77%;
          left: 38%;
        "
        onclick="jumpUrl('http://www.baidu.com')"
      >
        <span>GP12-1待处理</span>
      </div>
      <div
        class="div-content-center"
        style="
          width: 130px;
          height: 100px;
          line-height: 100px;
          background: #f99b28;
          color: #000;
          font-size: 1.1em;
          top: 60%;
          left: 35%;
        "
        onclick="jumpUrl('http://www.baidu.com')"
      >
        <span>GP12仓库</span>
      </div>
      <div
        class="div-content-center"
        style="
          width: 130px;
          height: 100px;
          line-height: 100px;
          background: #f99b28;
          color: #000;
          font-size: 1.1em;
          top: 65%;
          left: 28%;
        "
        onclick="jumpUrl('http://www.baidu.com')"
      >
        <span>GP12待处理</span>
      </div>
    </div>
  </body>
</html>

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值