05 2018 档案
摘要:html部分 <view class="container"> <view class="swiper"> <swiper indicator-dots="{{indicatorDots}} autoplay="{{autoplay}}" interval="{{interval}}" durati
阅读全文
摘要:var initTop = 0;$(window).scroll(function(){ var scrollTop = $(document).scrollTop(); if(scrollTop > initTop){ alert("下"); } else { alert("上"); } init
阅读全文
摘要:/** * Created by Administrator on 2018/5/11. */$(function(){ function whell() { if ($(window).scrollTop() > 90) { $("nav.navbar").addClass("nav2"); }
阅读全文
摘要:<html><head><script type="text/javascript">function startTime(){var today=new Date()var h=today.getHours()var m=today.getMinutes()var s=today.getSecon
阅读全文
摘要:<!DOCTYPE html><html><body><p>点击下面的按钮,循环遍历对象 "person" 的属性。</p><button onclick="myFunction()">点击这里</button><p id="demo"></p> <script>function myFunctio
阅读全文
摘要:
阅读全文