主頁 > 企業開發 > 卡沒有正確滾動堆疊

卡沒有正確滾動堆疊

2022-09-07 01:56:30 企業開發

我的主頁上顯示了一組堆疊的卡片。當我單擊按鈕滾動瀏覽它們時,它們會彈出標題并弄亂整個頁面的樣式。

另外,我怎樣才能把卡片后面的白盒子也去掉?

截屏: 卡沒有正確滾動堆疊

var $card = $('.card1');
var lastCard = $(".card-list .card").length - 1;

$('.next').click(function() {
  var prependList = function() {
    if ($('.card1').hasClass('activeNow')) {
      var $slicedCard = $('.card1').slice(lastCard).removeClass('transformThis activeNow');
      $('ul').prepend($slicedCard);
    }
  }
  $('li').last().removeClass('transformPrev').addClass('transformThis').prev().addClass('activeNow');
  setTimeout(function() {
    prependList();
  }, 150);
});

$('.prev').click(function() {
  var appendToList = function() {
    if ($('.card1').hasClass('activeNow')) {
      var $slicedCard = $('.card1').slice(0, 1).addClass('transformPrev');
      $('.card-list').append($slicedCard);
    }
  }

  $('li').removeClass('transformPrev').last().addClass('activeNow').prevAll().removeClass('activeNow');
  setTimeout(function() {
    appendToList();
  }, 150);
});
body {
  background-color: #E5E5E5 !important;
}

.navbar-light {
  background-color: transparent;
  z-index: 5;
}

.navbar-nav {
  justify-content: space-between;
}

.navbar-brand {
  font-size: 35px;
}

.nav-item {
  font-size: 20px;
  padding-right: 15px;
  color: #ffffff !important;
}

.nav-item2 {
  background-color: #9370DB !important;
  border-radius: 15px !important;
  width: 95px !important;
  text-align: center !important;
  font-size: 20px;
}

header {
  position: relative;
  background-color: black;
  height: 75vh;
  min-height: 25rem;
  width: 100%;
  overflow: hidden;
}

header video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  -ms-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}

header .container {
  position: relative;
  z-index: 2;
}

header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: black;
  opacity: 0.5;
  z-index: 1;
}


/* Media Query for devices withi coarse pointers and no hover functionality */


/* This will use a fallback image instead of a video for devices that commonly do not support the HTML5 video element */

@media (pointer: coarse) and (hover: none) {
  header {
    background: url('https://source.unsplash.com/XT5OInaElMw/1600x900') black no-repeat center center scroll;
  }
  header video {
    display: none;
  }
}

.graybg {
  background-color: #ffffff !important;
  border-radius: 15px !important;
  margin: 15px;
  padding: 7px;
}

.searchbox {
  width: 100%;
  border-radius: 15px !important;
  background-color: transparent;
  border: 5px;
  padding: 30px;
  margin: 0;
  margin-top: 75px;
  text-align: center;
}

.search {
  position: relative;
  right: -185px;
  display: flex;
  justify-content: space evenly;
  width: 100%;
  border-radius: 15px !important;
  padding: 7px;
  margin-top: 10px;
  border: 3px solid #000000;
  font-size: 17px;
}

.zipcode {
  position: relative;
  right: -165px;
  display: flex;
  justify-content: space evenly;
  margin-top: 10px;
  margin-left: 40px;
  width: 50%;
  border-radius: 15px !important;
  padding: 7px;
  border: 3px solid #000000;
  font-size: 17px;
}

.sortbox {
  position: relative;
  right: -75px;
  display: flex;
  justify-content: space evenly;
  margin-top: 10px;
  width: 33%;
  border-radius: 15px !important;
  padding: 7px;
  border: 3px solid #000000;
  font-size: 17px;
}

.filterbox {
  position: relative;
  right: 85px;
  display: flex;
  justify-content: space evenly;
  width: 30%;
  border-radius: 15px !important;
  padding: 7px;
  border: 3px solid #000000;
  font-size: 17px;
  margin-top: 10px;
}

.col-md-5 {
  margin: auto;
}

.card-title {
  text-align: center;
  font-weight: 800;
  font-size: 22px;
}

.card-text {
  text-align: center;
  font-weight: 800;
  margin-top: -75px;
}

::-webkit-input-placeholder {
  font-weight: bold;
}

:-moz-placeholder {
  font-weight: bold;
}

:-ms-input-placeholder {
  font-weight: bold;
}


/*---Star Rating---*/

.rating-box {
  width: 175px;
  border-radius: 15px !important;
  height: 35px;
  margin: auto;
  margin-bottom: 10px;
  background-color: #E5E5E5;
  border: 1px;
  box-sizing: border-box;
}

svg {
  width: 30px;
  height: 30px;
  padding: 3px;
  margin-top: 3px;
}


/* hide radio buttons */

input[name="star"] {
  display: inline-block;
  width: 0;
  opacity: 0;
  margin-left: -2px;
}


/* hide source svg */

.star-source {
  width: 0;
  height: 0;
  visibility: hidden;
}


/* set initial color to transparent so fill is empty*/

.star {
  color: #7a7a7a;
  transition: color 0.2s ease-in-out;
}


/* set direction to row-reverse so 5th star is at the end and ~ can be used to fill all sibling stars that precede last starred element*/

.star-container {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
}

label:hover~label .star,
svg.star:hover,
input[name="star"]:focus~label .star,
input[name="star"]:checked~label .star {
  color: #fbff28;
}

input[name="star"]:checked label .star {
  animation: starred 0.5s;
}

input[name="star"]:checked label {
  animation: scaleup 1s;
}

@keyframes scaleup {
  from {
    transform: scale(1.2);
  }
  to {
    transform: scale(1);
  }
}

@keyframes starred {
  from {
    color: #d6ca2a;
  }
  to {
    color: #d6ca2a;
  }
}


/*---Links---*/

a:link {
  text-decoration: none;
  color: black;
}

a:visited {
  color: black;
}

a:hover {
  text-decoration: none;
  color: purple;
}


/*---Card One---*/


/*---Card Body---*/

.card1 {
  position: relative;
  top: 45px;
  right: 300px;
  margin: auto;
  border: none;
  transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
  overflow: hidden;
  border-radius: 20px;
  width: 420px;
  height: 330px;
  box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.2);
}

.card1 .card-meta {
  position: relative;
  left: -65px;
  color: #9370DB;
}

.card1 .roomB {
  position: relative;
  left: 5px;
  color: #ffffff;
}

.card1 .roomC {
  position: relative;
  left: 5px;
  color: #ffffff;
}

.stuLocation {
  position: relative;
  top: -10px;
  left: -65px;
}


/*---Like Button---*/

.btns1 {
  position: relative;
  top: -50px;
  left: -50px;
}

.card1.card-has-bg {
  transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
  background-size: 130%;
  background-repeat: no-repeat;
  background-position: center center;
}

.card1.card-has-bg:hover {
  transform: scale(0.98);
  box-shadow: 0 0 5px -2px rgba(0, 0, 0, 0.3);
  background-size: 130%;
  transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
}

.card1.card-has-bg:hover .card-img-overlay {
  transition: all 800ms cubic-bezier(0.19, 1, 0.22, 1);
  background: linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, #d2d2d25c 100%);
}

.card1 .card-body {
  transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
}

.card1:hover {
  cursor: pointer;
  transition: all 800ms cubic-bezier(0.19, 1, 0.22, 1);
}

.card1:hover .card-body {
  margin-top: 30px;
  transition: all 800ms cubic-bezier(0.19, 1, 0.22, 1);
}

.card1 .card-img-overlay {
  background-color: rgba(138, 138, 138, 0.425);
}


/*---Card Body---*/


/*---Heart Button---*/

.btns1 {
  position: relative;
  top: -70px;
  left: 300px;
}


/*---Heart Button---*/


/*---Star Rating---*/

.rating-box {
  position: relative;
  top: -30px;
  left: -60px;
  border-radius: 15px !important;
  width: 105px;
  height: 15px;
  margin: auto;
  margin-bottom: 10px;
  background-color: #e5e5e55a;
  border: 1px;
  box-sizing: border-box;
}

svg {
  position: relative;
  top: -7px;
  width: 20px;
  height: 20px;
  padding-left: 3px;
  padding-right: 3px;
}


/* hide radio buttons */

input[name="star"] {
  display: inline-block;
  width: 0;
  opacity: 0;
  margin-left: -2px;
}


/* hide source svg */

.star-source {
  width: 0;
  height: 0;
  visibility: hidden;
}


/* set initial color to transparent so fill is empty*/

.star {
  color: #7a7a7a;
  transition: color 0.2s ease-in-out;
}


/* set direction to row-reverse so 5th star is at the end and ~ can be used to fill all sibling stars that precede last starred element*/

.star-container {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
}

label:hover~label .star,
svg.star:hover,
input[name="star"]:focus~label .star,
input[name="star"]:checked~label .star {
  color: #fbff28;
}

input[name="star"]:checked label .star {
  animation: starred 0.5s;
}

input[name="star"]:checked label {
  animation: scaleup 1s;
}

@keyframes scaleup {
  from {
    transform: scale(1.2);
  }
  to {
    transform: scale(1);
  }
}

@keyframes starred {
  from {
    color: #d6ca2a;
  }
  to {
    color: #d6ca2a;
  }
}


/*---Star Rating---*/

@media (max-width: 768px) {
  .card {
    min-height: 350px;
  }
}

@media (max-width: 420px) {
  .card {
    min-height: 300px;
  }
}


/*---Card stack---*/

.stucontainer {
  width: 100%;
  height: 900px;
  background-color: #fff;
  padding: 50px 80px;
}

.stucontainer .card1-stack {
  width: 500px;
  height: 250px;
  position: absolute;
  margin: 20px auto;
}

.stucontainer .card1-stack .buttons {
  display: none;
  position: absolute;
  background: rgba(0, 0, 0, 0.46);
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  width: 35px;
  height: 35px;
  left: 0;
  top: 55%;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  line-height: 35px;
  text-decoration: none;
  font-size: 22px;
  z-index: 100;
  outline: none;
  transition: all 0.2s ease;
}

.stucontainer .card1-stack .buttons:hover {
  transform: scale(1.3, 1.3);
}

.stucontainer .card1-stack .prev {
  left: 15px;
  right: auto;
}

.container .card1-stack .next {
  left: auto;
  right: 15px;
}

.stucontainer .card1-stack .carousel .buttons:hover {
  color: #C01313;
  background: #fff;
}

.stucontainer .card1-stack .card-list {
  width: 300px;
}

.stucontainer .card1-stack .card-list__image {
  height: 200px;
}

.stucontainer .card1-stack .card-list__text {
  color: #fff;
  font-weight: 300;
}

.stucontainer .card1-stack .card-list li {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 100ms ease-in-out;
  border-radius: 10px;
  position: absolute;
  list-style: none;
  height: 300px;
  left: 0;
  right: 0;
  margin: 0 auto;
  padding-top: 20px;
  text-align: center;
  -webkit-box-shadow: 0 2px 15px 1px rgba(225, 225, 225, 0.5);
  box-shadow: 0 1px 4px 1px rgba(0, 0, 0, 0.5);
}

.stucontainer .card1-stack .card-list li:nth-child(1) {
  top: 24px;
  width: 60%;
  /* animation: scaleCard 100ms; */
}

.stucontainer .card1-stack .card-list li:nth-child(2) {
  top: 36px;
  width: 70%;
}

.stucontainer .card1-stack .card-list li:nth-child(3) {
  top: 48px;
  width: 80%;
}

.stucontainer .card1-stack .card-list li:nth-child(4) {
  top: 60px;
  width: 90%;
}

.stucontainer .card1-stack .card-list li:nth-child(5) {
  top: 72px;
  width: 100%;
}

.container .card1-stack:hover>.buttons.prev {
  display: block;
  animation: bounceInLeft 200ms;
}

.stucontainer .card1-stack:hover>.buttons.next {
  display: block;
  animation: bounceInRight 200ms;
}

.transformThis {
  animation: scaleDown 500ms;
}

.transformPrev {
  animation: scaleUp 100ms;
  display: none;
}

@keyframes scaleUp {
  0% {
    transform: scale(1.2) translateY(50px);
    opacity: 0;
  }
  20% {
    transform: scale(1.15) translateY(40px);
    opacity: 0.1;
  }
  40% {
    transform: scale(1.1) translateY(30px);
    opacity: 0.2;
  }
  60% {
    transform: scale(1.05) translateY(20px);
    opacity: 0.4;
  }
  80% {
    transform: scale(1.01) translateY(10px);
    opacity: 0.8;
  }
  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

@keyframes scaleDown {
  0% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
  20% {
    transform: scale(1.01) translateY(20px);
    opacity: 0.8;
  }
  40% {
    transform: scale(1.05) translateY(40px);
    opacity: 0.4;
  }
  60% {
    transform: scale(1.1) translateY(60px);
    opacity: 0.2;
  }
  80% {
    transform: scale(1.15) translateY(80px);
    opacity: 0.1;
  }
  100% {
    transform: scale(1.2) translateY(100px);
    opacity: 0;
  }
}

@keyframes scaleCard {
  0% {
    top: 5px;
  }
  100% {
    top: 24px;
  }
}

@keyframes bounceInLeft {
  0% {
    opacity: 0;
    transform: translateX(40px);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes bounceInRight {
  0% {
    opacity: 0;
    transform: translateX(-40px);
  }
  100% {
    transform: translateX(0);
  }
}
<script src="https://code.jquery.com/jquery-3.6.1.min.js" integrity="sha256-o88AwQnZB VDvE9tvIXrMQaPlFFSUTR nldQm1LuPXQ=" crossorigin="anonymous"></script>

<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-0evHe/X R7YkIZDRvuzKMRqM OrBnVFBL6DOitfPri4tjfHxaWutUpFmBp4vmVor" crossorigin="anonymous">

<header>
  <nav class="navbar navbar-expand-lg navbar-light">
    <div class="container-fluid">
      <a style="font-size: 45px; color: #A388E7;" class="navbar-brand" href="#"><strong>StudioPick</strong></a>
      <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
              <span class="navbar-toggler-icon"></span>
            </button>
      <div class="collapse navbar-collapse" id="navbarSupportedContent">
        <ul class="navbar-nav ms-auto mb-2 mb-lg-0">
          <li class="nav-item">
            <a class="nav-link active" aria-curresnt="page" style="color: #ffffff;" href="index.html">Home</a>
          </li>
          <li class="nav-item">
            <a class="nav-link" style="color: #ffffff;" href="login.html">Log In</a>
          </li>
          <li class="nav-item2">
            <a class="nav-link" href="signup.html">Sign Up</a>
          </li>
        </ul>
      </div>
    </div>
  </nav>

  <!-- This div is  intentionally blank. It creates the transparent black overlay over the video which you can modify in the CSS -->
  <div class="overlay"></div>

  <!-- The HTML5 video element that will create the background video on the header -->
  <video playsinline="playsinline" autoplay="autoplay" muted="muted" loop="loop">
    <source src="./Joony_Vlog.mp4" type="video/mp4">
  </video>

  <div class="container h-100">
    <div class="d-flex h-100 text-center align-items-center">
      <div class="w-100">
        <div class="searchbox">
          <h1 style="font-size: 50px; font-family: Arial, sans-serif;"><strong>Find Your Next Studio</strong></h1>
          <div class="row">
            <div class="col-md-3">
              <input class="search" type="text" placeholder="Search">
            </div>
            <div class="col-md-3">
              <input class="zipcode" type="text" placeholder="Zipcode">
            </div>
            <div class="col-md-3">
              <select class="sortbox">
                <option value="Sort">Sort by</option>
                <option value="Location">Location</option>
                <option value="Rating">Rating</option>
              </select>
            </div>
            <div class="col-md-3">
              <select class="filterbox">
                <option value="Filter">Filter</option>
                <option value="50 mi">50 mi</option>
                <option value="30 mi">30 mi</option>
                <option value="25 mi">25 mi</option>
                <option value="10 mi">10 mi</option>
                <option value="5 mi">5 mi</option>
              </select>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</header>

<!-- Page section example for content below the video header -->
<section class="my-5">
  <div class="container">
    <div class="row">
      <div class="stuList mx-auto">
        <div class="stucontainer">
          <div class="card1-stack">
            <a class="buttons prev" href="#">
            </a>
            <ul class="card-list">
              <li class="card1 text-white card-has-bg click-col" style="background-image:url('https://images.adsttc.com/media/images/5d1b/e492/284d/d1b1/8300/00a1/large_jpg/feature_-_FFX_SDC_01.jpg?1562109025');">
                <div class="card-img-overlay d-flex flex-column">
                  <div class="card-body">
                    <div class="media">
                      <div class="media-body">
                        <h6 class="roomC mb-2"><strong>Room C</strong></h6>
                      </div>
                    </div>
                  </div>
                </div>
              </li>
              <li class="card1 text-white card-has-bg click-col" style="background-image:url('https://www.unifiedmanufacturing.com/blog/wp-content/uploads/2021/02/Nightbird-Recording-Studios-Pandemic.jpg');">
                <div class="card-img-overlay d-flex flex-column">
                  <div class="card-body">
                    <div class="media">
                      <div class="media-body">
                        <h6 class="roomB mb-2"><strong>Room B</strong></h6>
                      </div>
                    </div>
                  </div>
                </div>
              </li>
              <li class="card1 text-white card-has-bg click-col" style="background-image:url('https://westlakepro.com/wp-content/uploads/2020/01/SnoopDoggStudio.jpg');">
                <div class="card-img-overlay d-flex flex-column">
                  <div class="card-body">
                    <div class="media">
                      <img class="mr-3 rounded-circle" src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQxUXsEFPioqCqDqgp7MeLNpM7iZYL6mt97ElI3LwCnuFoarwmSWbJquoEwbi1AJSRzXBs&usqp=CAU" alt="Generic placeholder image" style="max-width:50px">
                      <div class="media-body">
                        <h6 class="card-meta mb-2"><strong>CC Studios</strong></h6>
                        <small class="stuLocation">Bethesda, MD</small>
                      </div>
                    </div>
                    <div class="btns1">
                      <Button style="font-size: 35px" onclick="Toggle1()" id="btnh1" class="btn"><i class="fas fa-heart"></i></Button>
                    </div>
                    <div class="rating-box">
                      <div class="star-source">
                        <svg>
                          <linearGradient x1="50%" y1="5.41294643%" x2="87.5527344%" y2="65.4921875%" id="grad">
                            <stop stop-color="#bf209f" offset="0%"></stop>
                            <stop stop-color="#d62a9d" offset="60%"></stop>
                            <stop stop-color="#ED009E" offset="100%"></stop>
                          </linearGradient>
                          <symbol id="star" viewBox="153 89 106 108">
                            <polygon id="star-shape" stroke="url(#grad)" stroke-width="5" fill="currentColor"
                              points="206 162.5 176.610737 185.45085 189.356511 150.407797 158.447174 129.54915 195.713758 130.842203 206 95 216.286242 130.842203 253.552826 129.54915 222.643489 150.407797 235.389263 185.45085">
                            </polygon>
                          </symbol>
                        </svg>
                      </div>
                      <div class="star-container">
                        <input type="radio" name="star" id="five">
                        <label for="five">
                          <svg class="star">
                            <use xlink:href="#star" />
                          </svg>
                        </label>
                        <input type="radio" name="star" id="four">
                        <label for="four">
                          <svg class="star">
                            <use xlink:href="#star" />
                          </svg>
                        </label>
                        <input type="radio" name="star" id="three">
                        <label for="three">
                          <svg class="star">
                            <use xlink:href="#star" />
                          </svg>
                        </label>
                        <input type="radio" name="star" id="two">
                        <label for="two">
                          <svg class="star">
                            <use xlink:href="#star" />
                          </svg>
                        </label>
                        <input type="radio" name="star" id="one">
                        <label for="one">
                          <svg class="star">
                            <use xlink:href="#star" />
                          </svg>
                        </label>
                      </div>
                    </div>
                  </div>
                </div>
              </li>
            </ul>
            <a class="buttons next" href="#">></a>
          </div>
        </div>
      </div>
    </div>
  </div>
</section>

uj5u.com熱心網友回復:

要洗掉背景顏色,請嘗試洗掉背景顏色:#fff; 來自 .stucontainer 類

.stucontainer {
  width: 100%;
  height: 900px;
  // background-color: #fff;
  padding: 50px 80px;
}

并且為了防止滾動到頂部,您可以將錨元素與按鈕元素交換

<!-- <a  href="#"><</a> -->

<button class="buttons prev"><</button>

...

<!-- <a  href="#">></a> -->

<button class="buttons next">></button>

阻止卡片被添加到頂部交換這一行

// $('ul').prepend($slicedCard);

$('.card-list').prepend($slicedCard);

這將阻止卡片被添加到導航欄 ul 元素

轉載請註明出處,本文鏈接:https://www.uj5u.com/qiye/504994.html

標籤:javascript html jQuery css

上一篇:如何計算html輸入值并通過jquery直接顯示輸入值

下一篇:需要幫助將元素放在一行中

標籤雲
其他(157675) Python(38076) JavaScript(25376) Java(17977) C(15215) 區塊鏈(8255) C#(7972) AI(7469) 爪哇(7425) MySQL(7132) html(6777) 基礎類(6313) sql(6102) 熊猫(6058) PHP(5869) 数组(5741) R(5409) Linux(5327) 反应(5209) 腳本語言(PerlPython)(5129) 非技術區(4971) Android(4554) 数据框(4311) css(4259) 节点.js(4032) C語言(3288) json(3245) 列表(3129) 扑(3119) C++語言(3117) 安卓(2998) 打字稿(2995) VBA(2789) Java相關(2746) 疑難問題(2699) 细绳(2522) 單片機工控(2479) iOS(2429) ASP.NET(2402) MongoDB(2323) 麻木的(2285) 正则表达式(2254) 字典(2211) 循环(2198) 迅速(2185) 擅长(2169) 镖(2155) 功能(1967) .NET技术(1958) Web開發(1951) python-3.x(1918) HtmlCss(1915) 弹簧靴(1913) C++(1909) xml(1889) PostgreSQL(1872) .NETCore(1853) 谷歌表格(1846) Unity3D(1843) for循环(1842)

熱門瀏覽
  • IEEE1588PTP在數字化變電站時鐘同步方面的應用

    IEEE1588ptp在數字化變電站時鐘同步方面的應用 京準電子科技官微——ahjzsz 一、電力系統時間同步基本概況 隨著對IEC 61850標準研究的不斷深入,國內外學者提出基于IEC61850通信標準體系建設數字化變電站的發展思路。數字化變電站與常規變電站的顯著區別在于程序層傳統的電流/電壓互 ......

    uj5u.com 2020-09-10 03:51:52 more
  • HTTP request smuggling CL.TE

    CL.TE 簡介 前端通過Content-Length處理請求,通過反向代理或者負載均衡將請求轉發到后端,后端Transfer-Encoding優先級較高,以TE處理請求造成安全問題。 檢測 發送如下資料包 POST / HTTP/1.1 Host: ac391f7e1e9af821806e890 ......

    uj5u.com 2020-09-10 03:52:11 more
  • 網路滲透資料大全單——漏洞庫篇

    網路滲透資料大全單——漏洞庫篇漏洞庫 NVD ——美國國家漏洞庫 →http://nvd.nist.gov/。 CERT ——美國國家應急回應中心 →https://www.us-cert.gov/ OSVDB ——開源漏洞庫 →http://osvdb.org Bugtraq ——賽門鐵克 →ht ......

    uj5u.com 2020-09-10 03:52:15 more
  • 京準講述NTP時鐘服務器應用及原理

    京準講述NTP時鐘服務器應用及原理京準講述NTP時鐘服務器應用及原理 安徽京準電子科技官微——ahjzsz 北斗授時原理 授時是指接識訓通過某種方式獲得本地時間與北斗標準時間的鐘差,然后調整本地時鐘使時差控制在一定的精度范圍內。 衛星導航系統通常由三部分組成:導航授時衛星、地面檢測校正維護系統和用戶 ......

    uj5u.com 2020-09-10 03:52:25 more
  • 利用北斗衛星系統設計NTP網路時間服務器

    利用北斗衛星系統設計NTP網路時間服務器 利用北斗衛星系統設計NTP網路時間服務器 安徽京準電子科技官微——ahjzsz 概述 NTP網路時間服務器是一款支持NTP和SNTP網路時間同步協議,高精度、大容量、高品質的高科技時鐘產品。 NTP網路時間服務器設備采用冗余架構設計,高精度時鐘直接來源于北斗 ......

    uj5u.com 2020-09-10 03:52:35 more
  • 詳細解讀電力系統各種對時方式

    詳細解讀電力系統各種對時方式 詳細解讀電力系統各種對時方式 安徽京準電子科技官微——ahjzsz,更多資料請添加VX 衛星同步時鐘是我京準公司開發研制的應用衛星授時時技術的標準時間顯示和發送的裝置,該裝置以M國全球定位系統(GLOBAL POSITIONING SYSTEM,縮寫為GPS)或者我國北 ......

    uj5u.com 2020-09-10 03:52:45 more
  • 如何保證外包團隊接入企業內網安全

    不管企業規模的大小,只要企業想省錢,那么企業的某些服務就一定會采用外包的形式,然而看似美好又經濟的策略,其實也有不好的一面。下面我通過安全的角度來聊聊使用外包團的安全隱患問題。 先看看什么服務會使用外包的,最常見的就是話務/客服這種需要大量重復性、無技術性的服務,或者是一些銷售外包、特殊的職能外包等 ......

    uj5u.com 2020-09-10 03:52:57 more
  • PHP漏洞之【整型數字型SQL注入】

    0x01 什么是SQL注入 SQL是一種注入攻擊,通過前端帶入后端資料庫進行惡意的SQL陳述句查詢。 0x02 SQL整型注入原理 SQL注入一般發生在動態網站URL地址里,當然也會發生在其它地發,如登錄框等等也會存在注入,只要是和資料庫打交道的地方都有可能存在。 如這里http://192.168. ......

    uj5u.com 2020-09-10 03:55:40 more
  • [GXYCTF2019]禁止套娃

    git泄露獲取原始碼 使用GET傳參,引數為exp 經過三層過濾執行 第一層過濾偽協議,第二層過濾帶引數的函式,第三層過濾一些函式 preg_replace('/[a-z,_]+\((?R)?\)/', NULL, $_GET['exp'] (?R)參考當前正則運算式,相當于匹配函式里的引數 因此傳遞 ......

    uj5u.com 2020-09-10 03:56:07 more
  • 等保2.0實施流程

    流程 結論 ......

    uj5u.com 2020-09-10 03:56:16 more
最新发布
  • 使用Django Rest framework搭建Blog

    在前面的Blog例子中我們使用的是GraphQL, 雖然GraphQL的使用處于上升趨勢,但是Rest API還是使用的更廣泛一些. 所以還是決定回到傳統的rest api framework上來, Django rest framework的官網上給了一個很好用的QuickStart, 我參考Qu ......

    uj5u.com 2023-04-20 08:17:54 more
  • 記錄-new Date() 我忍你很久了!

    這里給大家分享我在網上總結出來的一些知識,希望對大家有所幫助 大家平時在開發的時候有沒被new Date()折磨過?就是它的諸多怪異的設定讓你每每用的時候,都可能不小心踩坑。造成程式意外出錯,卻一下子找不到問題出處,那叫一個煩透了…… 下面,我就列舉它的“四宗罪”及應用思考 可惡的四宗罪 1. Sa ......

    uj5u.com 2023-04-20 08:17:47 more
  • 使用Vue.js實作文字跑馬燈效果

    實作文字跑馬燈效果,首先用到 substring()截取 和 setInterval計時器 clearInterval()清除計時器 效果如下: 實作代碼如下: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta ......

    uj5u.com 2023-04-20 08:12:31 more
  • JavaScript 運算子

    JavaScript 運算子/運算子 在 JavaScript 中,有一些運算子可以使代碼更簡潔、易讀和高效。以下是一些常見的運算子: 1、可選鏈運算子(optional chaining operator) ?.是可選鏈運算子(optional chaining operator)。?. 可選鏈操 ......

    uj5u.com 2023-04-20 08:02:25 more
  • CSS—相對單位rem

    一、概述 rem是一個相對長度單位,它的單位長度取決于根標簽html的字體尺寸。rem即root em的意思,中文翻譯為根em。瀏覽器的文本尺寸一般默認為16px,即默認情況下: 1rem = 16px rem布局原理:根據CSS媒體查詢功能,更改根標簽的字體尺寸,實作rem單位隨螢屏尺寸的變化,如 ......

    uj5u.com 2023-04-20 08:02:21 more
  • 我的第一個NPM包:panghu-planebattle-esm(胖虎飛機大戰)使用說明

    好家伙,我的包終于開發完啦 歡迎使用胖虎的飛機大戰包!! 為你的主頁添加色彩 這是一個有趣的網頁小游戲包,使用canvas和js開發 使用ES6模塊化開發 效果圖如下: (覺得圖片太sb的可以自己改) 代碼已開源!! Git: https://gitee.com/tang-and-han-dynas ......

    uj5u.com 2023-04-20 08:01:50 more
  • 如何在 vue3 中使用 jsx/tsx?

    我們都知道,通常情況下我們使用 vue 大多都是用的 SFC(Signle File Component)單檔案組件模式,即一個組件就是一個檔案,但其實 Vue 也是支持使用 JSX 來撰寫組件的。這里不討論 SFC 和 JSX 的好壞,這個仁者見仁智者見智。本篇文章旨在帶領大家快速了解和使用 Vu ......

    uj5u.com 2023-04-20 08:01:37 more
  • 【Vue2.x原始碼系列06】計算屬性computed原理

    本章目標:計算屬性是如何實作的?計算屬性快取原理以及洋蔥模型的應用?在初始化Vue實體時,我們會給每個計算屬性都創建一個對應watcher,我們稱之為計算屬性watcher ......

    uj5u.com 2023-04-20 08:01:31 more
  • http1.1與http2.0

    一、http是什么 通俗來講,http就是計算機通過網路進行通信的規則,是一個基于請求與回應,無狀態的,應用層協議。常用于TCP/IP協議傳輸資料。目前任何終端之間任何一種通信方式都必須按Http協議進行,否則無法連接。tcp(三次握手,四次揮手)。 請求與回應:客戶端請求、服務端回應資料。 無狀態 ......

    uj5u.com 2023-04-20 08:01:10 more
  • http1.1與http2.0

    一、http是什么 通俗來講,http就是計算機通過網路進行通信的規則,是一個基于請求與回應,無狀態的,應用層協議。常用于TCP/IP協議傳輸資料。目前任何終端之間任何一種通信方式都必須按Http協議進行,否則無法連接。tcp(三次握手,四次揮手)。 請求與回應:客戶端請求、服務端回應資料。 無狀態 ......

    uj5u.com 2023-04-20 08:00:32 more