JS图片滚动插件 非jquery 原生js版本

,JS插件, 1275 浏览 2021-10-27 发布

JS图片滚动插件 非jquery 原生js版本

JS图片滚动插件 非jquery 原生js版本

代码:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta name="keywords" content="JS代码,焦点图,JS广告代码,JS特效代码" />
<meta name="description" content="此代码内容为JavaScript图片切换展示效果,属于站长常用代码,更多焦点图代码请访问懒人图库JS代码频道。" />
<title>JavaScript图片切换展示效果作业窝</title>
</head>
<body>
<style type="text/css"> 
.container, .container *{margin:0; padding:0;}

.container{width:408px; height:168px; overflow:hidden;position:relative;}

.slider{position:absolute;}
.slider li{ list-style:none;display:inline;}
.slider img{ width:408px; height:168px; display:block;}

.slider2{width:2000px;}
.slider2 li{float:left;}

.num{ position:absolute; right:5px; bottom:5px;}
.num li{
    float: left;
    color: #FF7300;
    text-align: center;
    line-height: 16px;
    width: 16px;
    height: 16px;
    font-family: Arial;
    font-size: 12px;
    cursor: pointer;
    overflow: hidden;
    margin: 3px 1px;
    border: 1px solid #FF7300;
    background-color: #fff;
}
.num li.on{
    color: #fff;
    line-height: 21px;
    width: 21px;
    height: 21px;
    font-size: 16px;
    margin: 0 1px;
    border: 0;
    background-color: #FF7300;
    font-weight: bold;
}
</style>
<div class="container" id="idTransformView">
  <ul class="slider" id="idSlider">
    <li><img src="images/01.jpg"/></li>
    <li><img src="images/02.jpg"/></li>
    <li><img src="images/03.jpg"/></li>
  </ul>
  <ul class="num" id="idNum">
    <li>1</li>
    <li>2</li>
    <li>3</li>
  </ul>
</div>

<br />

<div class="container" id="idTransformView2">
  <ul class="slider slider2" id="idSlider2">
    <li><img src="images/01.jpg"/></li>
    <li><img src="images/02.jpg"/></li>
    <li><img src="images/03.jpg"/></li>
  </ul>
  <ul class="num" id="idNum2">
    <li>1</li>
    <li>2</li>
    <li>3</li>
  </ul>
</div>

<br />

<div>
<input id="idStop" type="button" value=" 停止自动 " />
<input id="idStart" type="button" value=" 开始自动 " />
<br /><br /><input id="idPre" type="button" value=" <- 上一个 " />
<input id="idNext" type="button" value=" 下一个 -> " />
<br /><br />
切换速度:
<input id="idFast" type="button" value=" + 加 速 " />
<input id="idSlow" type="button" value=" - 减 速 " />
<br /><br />
停顿时间:
<input id="idAdd" type="button" value=" + 加时间 " />
<input id="idReduce" type="button" value=" - 减时间 " />
<br /><br />
<input id="idReset" type="button" value=" Reset " />
</div>

<p>
  <script type="text/javascript">
var $ = function (id) {
    return "string" == typeof id ? document.getElementById(id) : id;
};

var Class = {
  create: function() {
    return function() {
      this.initialize.apply(this, arguments);
    }
  }
}

Object.extend = function(destination, source) {
    for (var property in source) {
        destination[property] = source[property];
    }
    return destination;
}

var TransformView = Class.create();
TransformView.prototype = {
  //容器对象,滑动对象,切换参数,切换数量
  initialize: function(container, slider, parameter, count, options) {
    if(parameter <= 0 || count <= 0) return;
    var oContainer = $(container), oSlider = $(slider), oThis = this;

    this.Index = 0;//当前索引
    
    this._timer = null;//定时器
    this._slider = oSlider;//滑动对象
    this._parameter = parameter;//切换参数
    this._count = count || 0;//切换数量
    this._target = 0;//目标参数
    
    this.SetOptions(options);
    
    this.Up = !!this.options.Up;
    this.Step = Math.abs(this.options.Step);
    this.Time = Math.abs(this.options.Time);
    this.Auto = !!this.options.Auto;
    this.Pause = Math.abs(this.options.Pause);
    this.onStart = this.options.onStart;
    this.onFinish = this.options.onFinish;
    
    oContainer.style.overflow = "hidden";
    oContainer.style.position = "relative";
    
    oSlider.style.position = "absolute";
    oSlider.style.top = oSlider.style.left = 0;
  },
  //设置默认属性
  SetOptions: function(options) {
    this.options = {//默认值
        Up:            true,//是否向上(否则向左)
        Step:        5,//滑动变化率
        Time:        10,//滑动延时
        Auto:        true,//是否自动转换
        Pause:        2000,//停顿时间(Auto为true时有效)
        onStart:    function(){},//开始转换时执行
        onFinish:    function(){}//完成转换时执行
    };
    Object.extend(this.options, options || {});
  },
  //开始切换设置
  Start: function() {
    if(this.Index < 0){
        this.Index = this._count - 1;
    } else if (this.Index >= this._count){ this.Index = 0; }
    
    this._target = -1 * this._parameter * this.Index;
    this.onStart();
    this.Move();
  },
  //移动
  Move: function() {
    clearTimeout(this._timer);
    var oThis = this, style = this.Up ? "top" : "left", iNow = parseInt(this._slider.style[style]) || 0, iStep = this.GetStep(this._target, iNow);
    
    if (iStep != 0) {
        this._slider.style[style] = (iNow + iStep) + "px";
        this._timer = setTimeout(function(){ oThis.Move(); }, this.Time);
    } else {
        this._slider.style[style] = this._target + "px";
        this.onFinish();
        if (this.Auto) { this._timer = setTimeout(function(){ oThis.Index++; oThis.Start(); }, this.Pause); }
    }
  },
  //获取步长
  GetStep: function(iTarget, iNow) {
    var iStep = (iTarget - iNow) / this.Step;
    if (iStep == 0) return 0;
    if (Math.abs(iStep) < 1) return (iStep > 0 ? 1 : -1);
    return iStep;
  },
  //停止
  Stop: function(iTarget, iNow) {
    clearTimeout(this._timer);
    this._slider.style[this.Up ? "top" : "left"] = this._target + "px";
  }
};

window.onload=function(){
    function Each(list, fun){
        for (var i = 0, len = list.length; i < len; i++) { fun(list[i], i); }
    };
    
    var objs = $("idNum").getElementsByTagName("li");
    
    var tv = new TransformView("idTransformView", "idSlider", 168, 3, {
        onStart : function(){ Each(objs, function(o, i){ o.className = tv.Index == i ? "on" : ""; }) }//按钮样式
    });
    
    tv.Start();
    
    Each(objs, function(o, i){
        o.onmouseover = function(){
            o.className = "on";
            tv.Auto = false;
            tv.Index = i;
            tv.Start();
        }
        o.onmouseout = function(){
            o.className = "";
            tv.Auto = true;
            tv.Start();
        }
    })
    
    ////////////////////////test2
    
    var objs2 = $("idNum2").getElementsByTagName("li");
    
    var tv2 = new TransformView("idTransformView2", "idSlider2", 408, 3, {
        onStart: function(){ Each(objs2, function(o, i){ o.className = tv2.Index == i ? "on" : ""; }) },//按钮样式
        Up: false
    });
    
    tv2.Start();
    
    Each(objs2, function(o, i){
        o.onmouseover = function(){
            o.className = "on";
            tv2.Auto = false;
            tv2.Index = i;
            tv2.Start();
        }
        o.onmouseout = function(){
            o.className = "";
            tv2.Auto = true;
            tv2.Start();
        }
    })
    
    $("idStop").onclick = function(){ tv2.Auto = false; tv2.Stop(); }
    $("idStart").onclick = function(){ tv2.Auto = true; tv2.Start(); }
    $("idNext").onclick = function(){ tv2.Index++; tv2.Start(); }
    $("idPre").onclick = function(){ tv2.Index--;tv2.Start(); }
    $("idFast").onclick = function(){ if(--tv2.Step <= 0){tv2.Step = 1;} }
    $("idSlow").onclick = function(){ if(++tv2.Step >= 10){tv2.Step = 10;} }
    $("idReduce").onclick = function(){ tv2.Pause-=1000; if(tv2.Pause <= 0){tv2.Pause = 0;} }
    $("idAdd").onclick = function(){ tv2.Pause+=1000; if(tv2.Pause >= 5000){tv2.Pause = 5000;} }
    
    $("idReset").onclick = function(){
        tv2.Step = Math.abs(tv2.options.Step);
        tv2.Time = Math.abs(tv2.options.Time);
        tv2.Auto = !!tv2.options.Auto;
        tv2.Pause = Math.abs(tv2.options.Pause);
    }
    
}
</script>

<p></p>
<p></p>
<p></p>
</body>
</html>

 

源码下载:点击下载 

 

基本 文件 流程 错误 SQL 调试
  1. 请求信息 : 2026-09-18 20:18:49 HTTP/2.0 GET : https://www.zuoyewo.com/help/11
  2. 运行时间 : 0.076965s [ 吞吐率:12.99req/s ] 内存消耗:4,169.38kb 文件加载:141
  3. 缓存信息 : 0 reads,0 writes
  4. 会话信息 : SESSION_ID=0606cb2f1177b0f7e7f87a9893d311ca
  1. /www/wwwroot/zuoyewo.com/public/index.php ( 1.73 KB )
  2. /www/wwwroot/zuoyewo.com/vendor/autoload.php ( 0.75 KB )
  3. /www/wwwroot/zuoyewo.com/vendor/composer/autoload_real.php ( 1.63 KB )
  4. /www/wwwroot/zuoyewo.com/vendor/composer/platform_check.php ( 0.90 KB )
  5. /www/wwwroot/zuoyewo.com/vendor/composer/ClassLoader.php ( 15.99 KB )
  6. /www/wwwroot/zuoyewo.com/vendor/composer/autoload_static.php ( 4.56 KB )
  7. /www/wwwroot/zuoyewo.com/vendor/topthink/think-helper/src/helper.php ( 8.34 KB )
  8. /www/wwwroot/zuoyewo.com/vendor/topthink/think-validate/src/helper.php ( 2.19 KB )
  9. /www/wwwroot/zuoyewo.com/vendor/topthink/think-orm/src/helper.php ( 1.47 KB )
  10. /www/wwwroot/zuoyewo.com/vendor/topthink/think-orm/stubs/load_stubs.php ( 0.16 KB )
  11. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/Exception.php ( 1.69 KB )
  12. /www/wwwroot/zuoyewo.com/vendor/topthink/think-container/src/Facade.php ( 2.71 KB )
  13. /www/wwwroot/zuoyewo.com/vendor/symfony/polyfill-mbstring/bootstrap.php ( 8.26 KB )
  14. /www/wwwroot/zuoyewo.com/vendor/symfony/polyfill-mbstring/bootstrap80.php ( 9.78 KB )
  15. /www/wwwroot/zuoyewo.com/vendor/symfony/var-dumper/Resources/functions/dump.php ( 0.99 KB )
  16. /www/wwwroot/zuoyewo.com/vendor/topthink/think-dumper/src/helper.php ( 0.18 KB )
  17. /www/wwwroot/zuoyewo.com/vendor/symfony/var-dumper/VarDumper.php ( 3.73 KB )
  18. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/App.php ( 15.00 KB )
  19. /www/wwwroot/zuoyewo.com/vendor/topthink/think-container/src/Container.php ( 15.62 KB )
  20. /www/wwwroot/zuoyewo.com/vendor/psr/container/src/ContainerInterface.php ( 1.02 KB )
  21. /www/wwwroot/zuoyewo.com/app/provider.php ( 0.19 KB )
  22. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/Http.php ( 6.04 KB )
  23. /www/wwwroot/zuoyewo.com/vendor/topthink/think-helper/src/helper/Str.php ( 7.29 KB )
  24. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/Env.php ( 4.68 KB )
  25. /www/wwwroot/zuoyewo.com/app/common.php ( 0.03 KB )
  26. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/helper.php ( 18.78 KB )
  27. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/Config.php ( 5.54 KB )
  28. /www/wwwroot/zuoyewo.com/config/admin.php ( 0.14 KB )
  29. /www/wwwroot/zuoyewo.com/config/app.php ( 0.95 KB )
  30. /www/wwwroot/zuoyewo.com/config/cache.php ( 0.81 KB )
  31. /www/wwwroot/zuoyewo.com/config/console.php ( 0.23 KB )
  32. /www/wwwroot/zuoyewo.com/config/cookie.php ( 0.56 KB )
  33. /www/wwwroot/zuoyewo.com/config/database.php ( 2.18 KB )
  34. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/facade/Env.php ( 1.67 KB )
  35. /www/wwwroot/zuoyewo.com/config/filesystem.php ( 0.61 KB )
  36. /www/wwwroot/zuoyewo.com/config/frontend.php ( 0.21 KB )
  37. /www/wwwroot/zuoyewo.com/config/lang.php ( 0.91 KB )
  38. /www/wwwroot/zuoyewo.com/config/log.php ( 1.35 KB )
  39. /www/wwwroot/zuoyewo.com/config/middleware.php ( 0.19 KB )
  40. /www/wwwroot/zuoyewo.com/config/route.php ( 1.89 KB )
  41. /www/wwwroot/zuoyewo.com/config/session.php ( 0.57 KB )
  42. /www/wwwroot/zuoyewo.com/config/trace.php ( 0.34 KB )
  43. /www/wwwroot/zuoyewo.com/config/view.php ( 0.82 KB )
  44. /www/wwwroot/zuoyewo.com/app/event.php ( 0.25 KB )
  45. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/Event.php ( 7.67 KB )
  46. /www/wwwroot/zuoyewo.com/app/service.php ( 0.13 KB )
  47. /www/wwwroot/zuoyewo.com/app/AppService.php ( 0.26 KB )
  48. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/Service.php ( 1.64 KB )
  49. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/Lang.php ( 7.35 KB )
  50. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/lang/zh-cn.php ( 13.70 KB )
  51. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/initializer/Error.php ( 3.31 KB )
  52. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/initializer/RegisterService.php ( 1.33 KB )
  53. /www/wwwroot/zuoyewo.com/vendor/services.php ( 0.15 KB )
  54. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/service/PaginatorService.php ( 1.52 KB )
  55. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/service/ValidateService.php ( 0.99 KB )
  56. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/service/ModelService.php ( 1.75 KB )
  57. /www/wwwroot/zuoyewo.com/vendor/topthink/think-trace/src/Service.php ( 0.77 KB )
  58. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/Middleware.php ( 6.72 KB )
  59. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/initializer/BootService.php ( 0.77 KB )
  60. /www/wwwroot/zuoyewo.com/vendor/topthink/think-orm/src/Paginator.php ( 11.86 KB )
  61. /www/wwwroot/zuoyewo.com/vendor/topthink/think-validate/src/Validate.php ( 63.20 KB )
  62. /www/wwwroot/zuoyewo.com/vendor/topthink/think-orm/src/Model.php ( 23.55 KB )
  63. /www/wwwroot/zuoyewo.com/vendor/topthink/think-helper/src/contract/Arrayable.php ( 0.09 KB )
  64. /www/wwwroot/zuoyewo.com/vendor/topthink/think-helper/src/contract/Jsonable.php ( 0.13 KB )
  65. /www/wwwroot/zuoyewo.com/vendor/topthink/think-orm/src/model/contract/Modelable.php ( 0.09 KB )
  66. /www/wwwroot/zuoyewo.com/vendor/topthink/think-orm/src/model/concern/Attribute.php ( 21.05 KB )
  67. /www/wwwroot/zuoyewo.com/vendor/topthink/think-orm/src/model/concern/AutoWriteData.php ( 4.21 KB )
  68. /www/wwwroot/zuoyewo.com/vendor/topthink/think-orm/src/model/concern/Conversion.php ( 6.44 KB )
  69. /www/wwwroot/zuoyewo.com/vendor/topthink/think-orm/src/model/concern/DbConnect.php ( 5.16 KB )
  70. /www/wwwroot/zuoyewo.com/vendor/topthink/think-orm/src/model/concern/ModelEvent.php ( 2.33 KB )
  71. /www/wwwroot/zuoyewo.com/vendor/topthink/think-orm/src/model/concern/RelationShip.php ( 28.29 KB )
  72. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/Db.php ( 2.88 KB )
  73. /www/wwwroot/zuoyewo.com/vendor/topthink/think-orm/src/DbManager.php ( 8.52 KB )
  74. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/Log.php ( 6.28 KB )
  75. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/Manager.php ( 3.92 KB )
  76. /www/wwwroot/zuoyewo.com/vendor/psr/log/src/LoggerInterface.php ( 2.68 KB )
  77. /www/wwwroot/zuoyewo.com/vendor/psr/log/src/LoggerTrait.php ( 2.69 KB )
  78. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/Cache.php ( 4.92 KB )
  79. /www/wwwroot/zuoyewo.com/vendor/psr/simple-cache/src/CacheInterface.php ( 4.71 KB )
  80. /www/wwwroot/zuoyewo.com/vendor/topthink/think-helper/src/helper/Arr.php ( 16.63 KB )
  81. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/cache/driver/File.php ( 7.84 KB )
  82. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/cache/Driver.php ( 9.03 KB )
  83. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/contract/CacheHandlerInterface.php ( 1.99 KB )
  84. /www/wwwroot/zuoyewo.com/app/Request.php ( 0.09 KB )
  85. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/Request.php ( 55.74 KB )
  86. /www/wwwroot/zuoyewo.com/app/middleware.php ( 0.25 KB )
  87. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/Pipeline.php ( 2.61 KB )
  88. /www/wwwroot/zuoyewo.com/vendor/topthink/think-trace/src/TraceDebug.php ( 3.40 KB )
  89. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/middleware/SessionInit.php ( 1.94 KB )
  90. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/Session.php ( 1.80 KB )
  91. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/session/driver/File.php ( 6.27 KB )
  92. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/contract/SessionHandlerInterface.php ( 0.87 KB )
  93. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/session/Store.php ( 7.12 KB )
  94. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/Route.php ( 23.56 KB )
  95. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/route/RuleName.php ( 5.34 KB )
  96. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/route/Domain.php ( 1.25 KB )
  97. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/route/RuleGroup.php ( 20.45 KB )
  98. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/route/Rule.php ( 26.35 KB )
  99. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/route/RuleItem.php ( 9.78 KB )
  100. /www/wwwroot/zuoyewo.com/route/app.php ( 6.09 KB )
  101. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/facade/Route.php ( 4.68 KB )
  102. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/facade/Config.php ( 1.37 KB )
  103. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/route/dispatch/Callback.php ( 2.37 KB )
  104. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/route/Dispatch.php ( 10.54 KB )
  105. /www/wwwroot/zuoyewo.com/app/Home/controller/Article.php ( 0.76 KB )
  106. /www/wwwroot/zuoyewo.com/app/Home/controller/Base.php ( 34.60 KB )
  107. /www/wwwroot/zuoyewo.com/app/BaseController.php ( 2.05 KB )
  108. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/facade/Session.php ( 1.79 KB )
  109. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/facade/Cookie.php ( 1.48 KB )
  110. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/Cookie.php ( 6.06 KB )
  111. /www/wwwroot/zuoyewo.com/vendor/topthink/think-orm/src/facade/Db.php ( 0.93 KB )
  112. /www/wwwroot/zuoyewo.com/vendor/topthink/think-orm/src/db/connector/Mysql.php ( 5.44 KB )
  113. /www/wwwroot/zuoyewo.com/vendor/topthink/think-orm/src/db/PDOConnection.php ( 52.47 KB )
  114. /www/wwwroot/zuoyewo.com/vendor/topthink/think-orm/src/db/Connection.php ( 8.39 KB )
  115. /www/wwwroot/zuoyewo.com/vendor/topthink/think-orm/src/db/ConnectionInterface.php ( 4.57 KB )
  116. /www/wwwroot/zuoyewo.com/vendor/topthink/think-orm/src/db/builder/Mysql.php ( 16.58 KB )
  117. /www/wwwroot/zuoyewo.com/vendor/topthink/think-orm/src/db/Builder.php ( 24.06 KB )
  118. /www/wwwroot/zuoyewo.com/vendor/topthink/think-orm/src/db/BaseBuilder.php ( 27.50 KB )
  119. /www/wwwroot/zuoyewo.com/vendor/topthink/think-orm/src/db/Query.php ( 15.71 KB )
  120. /www/wwwroot/zuoyewo.com/vendor/topthink/think-orm/src/db/BaseQuery.php ( 45.13 KB )
  121. /www/wwwroot/zuoyewo.com/vendor/topthink/think-orm/src/db/concern/TimeFieldQuery.php ( 7.43 KB )
  122. /www/wwwroot/zuoyewo.com/vendor/topthink/think-orm/src/db/concern/AggregateQuery.php ( 3.26 KB )
  123. /www/wwwroot/zuoyewo.com/vendor/topthink/think-orm/src/db/concern/ModelRelationQuery.php ( 20.07 KB )
  124. /www/wwwroot/zuoyewo.com/vendor/topthink/think-orm/src/db/concern/ParamsBind.php ( 3.66 KB )
  125. /www/wwwroot/zuoyewo.com/vendor/topthink/think-orm/src/db/concern/ResultOperation.php ( 7.01 KB )
  126. /www/wwwroot/zuoyewo.com/vendor/topthink/think-orm/src/db/concern/WhereQuery.php ( 19.37 KB )
  127. /www/wwwroot/zuoyewo.com/vendor/topthink/think-orm/src/db/concern/JoinAndViewQuery.php ( 7.11 KB )
  128. /www/wwwroot/zuoyewo.com/vendor/topthink/think-orm/src/db/concern/TableFieldInfo.php ( 2.63 KB )
  129. /www/wwwroot/zuoyewo.com/vendor/topthink/think-orm/src/db/concern/Transaction.php ( 2.77 KB )
  130. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/log/driver/File.php ( 6.19 KB )
  131. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/contract/LogHandlerInterface.php ( 0.86 KB )
  132. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/log/Channel.php ( 3.88 KB )
  133. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/event/LogRecord.php ( 0.86 KB )
  134. /www/wwwroot/zuoyewo.com/vendor/topthink/think-orm/src/db/Express.php ( 1.53 KB )
  135. /www/wwwroot/zuoyewo.com/vendor/topthink/think-helper/src/Collection.php ( 16.47 KB )
  136. /www/wwwroot/zuoyewo.com/view/index/help_detail.php ( 2.00 KB )
  137. /www/wwwroot/zuoyewo.com/view/index/_header.php ( 1.83 KB )
  138. /www/wwwroot/zuoyewo.com/view/index/_footer.php ( 0.36 KB )
  139. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/Response.php ( 8.81 KB )
  140. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/response/Html.php ( 0.97 KB )
  141. /www/wwwroot/zuoyewo.com/vendor/topthink/think-trace/src/Html.php ( 4.42 KB )
  1. CONNECT:[ UseTime:0.001881s ] mysql:host=rm-bp1tlcx10r742d0ik7o.mysql.rds.aliyuncs.com;port=3306;dbname=zyw;charset=utf8mb4
  2. SHOW FULL COLUMNS FROM `data_news_item` [ RunTime:0.001831s ]
  3. SELECT * FROM `data_news_item` WHERE `id` = '11' AND `status` = 1 AND `deleted` = 0 LIMIT 1 [ RunTime:0.001060s ]
  4. UPDATE `data_news_item` SET `num_read` = `num_read` + 1 WHERE `id` = '11' [ RunTime:0.001785s ]
  5. SELECT `id`,`name`,`remark`,`mark`,`num_read`,`create_at` FROM `data_news_item` WHERE `status` = 1 AND `deleted` = 0 ORDER BY `sort` DESC,`id` DESC LIMIT 8 [ RunTime:0.000831s ]
  6. SHOW FULL COLUMNS FROM `system_config` [ RunTime:0.001341s ]
  7. SELECT * FROM `system_config` WHERE `type` = 'base' [ RunTime:0.000693s ]
0.078396s