好看的外部网站跳转中转页 [复制链接]

帖子链接已复制到剪贴板
人皇 (UID: 4842) 4月前
帖子已经有人评论啦,不支持删除!

298 0

【6ke.top】-1724561468-image

[hidecontent type="reply" desc="隐藏内容:评论后查看"]

<style>
      *,
      :after,
      :before {
        box-sizing: border-box;
      }
      body {
        background-image: url('https://6ke.top/api/bing/');
      }
      .ext-link__wrapper {
        position: absolute;
        width: 100%;
        max-width: 620px;
        padding: 40px 0;
        border-radius: 15px;
        text-align: center;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: #fff;
        box-shadow: 0 1px 3px rgba(27, 95, 160, 0.1);
        overflow: hidden;
      }
      .title {
        font-size: 15px;
        color: #2f2f2f;
      }
      .sub-title {
        font-size: 16px;
        color: #888;
        margin-top: 8px;
      }
      .title {
        width: 100%;
        max-width: 460px;
        margin: 12px auto 0;
        padding: 10px;
        border-radius: 4px;
        background: #fff3d0;
        border: 1px solid #fff3d0;
      }
      .link-bd__text {
    font-weight: 700;
    font-size: 14px;
    color: #7a7a7a;
    margin-left: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-top: 10px;
      }
      .link-btn {
        text-align: center;
        font-size: 0;
        margin-top: 24px;
      }
      .link-btn__text {
        display: inline-block;
        width: 144px;
        height: 44px;
        line-height: 43px;
        border-radius: 15px;
        font-size: 14px;
        cursor: pointer;
        text-decoration: none;
        margin-left: 16px;
        margin-right: 16px;
        color: #fff;
        background: #006eff;
      }
      a#jxqw {
     background: #fc5531;
     color: #ffffff;
        }
      @media screen and (max-width: 768px) {
        .ext-link__wrapper {
          padding: 20px 0;
        }
        .link-bd {
          max-width: 80%;
        }
        .link-btn__text {
          width: 120px;
          height: 36px;
          line-height: 35px;
          border-radius: 18px;
          font-size: 12px;
          margin-left: 8px;
          margin-right: 8px;
          color: #fff;
         background: #006eff;
        }
        a#jxqw {
     background: #fc5531;
     color: #ffffff;
        }
      }
    </style>
</head>
<body>    
<div class="ext-link__wrapper">
    <img src="https://6.ke/wp-content/uploads/2024/07/20240727160139137-1722067299-6ke.svg" width="120" >
    <div class="title" style="font-size: 15; display: inline-flex; align-items: center;display: flex; justify-content: center;">
    <img src="/wp-content/themes/zibll/img/warning.png" width="20" style="margin-right: 8px;">
    即将跳转到外部网站,请注意您的账号和财产安全!
  </div>
    <div class="link-bd">
        <div class="link-bd__text"><?php echo $url; ?></div>
    </div>
    <div class="link-btn">
        <a id="jxqw" href="javascript:void(0);" onclick="javascript:window.location.href='<?php echo $url; ?>'" class="link-btn__text">继续前往</a>
        <a id="chzy" href="https://<?php echo $_SERVER['HTTP_HOST']; ?>" class="link-btn__text" style="margin-left:100px;">回到主页</a>
    </div>
</div>
</body>
</html>

[/hidecontent]

原文链接:https://6ke.top/forum-post/757.html

小弟论坛:6ke.top
已有评论 (0)
提示:您必须 登录 才能查看此内容。
创建新帖
广告推广点击空位自助购买