2707 篇
建站知识总结与分享
技术
VScode如何在浏览器中打开html文件open in default browser
web 0 0
1869 0 2022-07-10 VSCode
VScode如何在浏览器中打开html文件open in default browser 在扩展栏的搜索栏中输入open in browser,找到open in browser这款插件,点击右下角“安装”字样即可安装。
Windows系统下怎么在某个文件夹下打开命令行窗口
taotaoit 0 0
3262 0 2022-07-07 其他
Windows系统下怎么在某个文件夹下打开命令行窗口? 方法1,进入自定义的文件夹下,在该路径中输入cmd,敲下回车 方法2:在文件夹里,将鼠标置于空白处,按住Shift键不放,同时右击鼠标,这时在出来的右键菜单里会出现一个 “在此处打开命令窗口” 的菜单选项。点击打开命令窗口。 直接右键点击是没有该菜单的。...
animate.css网站中,需要做到滚动条滑到某个位置时,才能显示动画,wow.js插件可以很好的解决问题
taotaoit 0 0
2025 0 2022-07-07 其他
animate.css网站中,需要做到滚动条滑到某个位置时,才能显示动画,wow.js插件可以很好的解决问题 代码: <div class="foot wow fadeInUp"></div> <script src='https://cdn.staticfile.org/wow/1.1.2/w...
Animate.css延迟执行和设置重新设置动画时间
taotaoit 1 0
3223 0 2022-07-07 其他
Animate.css 作为一款强大的预设css3动画库,很值得我们在项目中引用。但是统一的动画时间不是很好看。 多个动画怎样延迟执行? /* Animate.css延迟执行和设置重新设置动画时间 */ .animate_delay_0dot1{ /* -webkit-animation-duration: 1s; a...
This application is only supported on Windows 8.1, Windows Server 2012 R2, or hi gher.
web 0 0
3044 0 2022-07-06 nodejs
有的nodejs版本不支持win7,在win7系统中执行npm -v时会有以下提示 This application is only supported on Windows 8.1, Windows Server 2012 R2, or hi gher. 下载v12.16.2及之前的版本即可 https://nodejs.org/d...
bootstrap5 字体大小fs-1到fs-6
taotaoit 0 0
2004 0 2022-07-05 Bootstrap5
bootstrap5 字体大小fs-1到fs-6 css代码 .fs-1 { font-size: calc(1.375rem + 1.5vw) !important; } .fs-2 { font-size: calc(1.325rem + 0.9vw) !important; } .fs-3 { ...
bootstrap5 阴影
taotaoit 0 0
1552 0 2022-07-05 Bootstrap5
效果: html代码: <div class="shadow-none p-3 mb-5 bg-light rounded">No shadow</div> <div class="shadow-sm p-3 mb-5 bg-body rounded">Small ...
bootstrap5 列布局col不够12份,两端对齐
taotaoit 0 0
1567 0 2022-07-05 Bootstrap5
bootstrap5 列布局col不够12份,两端对齐 如图: 代码: <div class="container"> <div class="row justify-content-start"> <div class="col-4"> ...
bootstrap5 字体加粗样式.fw-bold .fw-bolder
taotaoit 0 0
2276 0 2022-07-04 Bootstrap5
bootstrap5 字体加粗样式.fw-bold  .fw-bolder .fw-light { font-weight: 300 !important; } .fw-lighter { font-weight: lighter !important; } .fw-normal { font-weigh...
css伪元素::after实现箭头
taotaoit 1 0
1758 0 2022-07-01 DIV+CSS
css伪元素::after实现箭头 效果如图,鼠标经过右箭头变成下箭头 <div class="main_lt d-flex flex-column"> <a href="" class="active">公司简介</a> &...
bootstrap下载地址
taotaoit 0 0
2172 0 2022-07-01 Bootstrap
bootstrap下载地址 https://getbootstrap.com/ 所有版本https://getbootstrap.com/docs/versions/ Bootstrap v5.2.0-beta1     https://getbootstrap.com/docs...
PHP array_unshift():在数组开头插入元素
web 0 0
1458 0 2022-06-30 PHP
PHP array_unshift() 函数用来在数组开头插入一个或多个元素,其语法如下: int array_unshift ( array &$arr , mixed $value1 [, mixed $value2, mixed $value3 ... ] ) 参数说明: arr 表示一个数组; value1, value...
百度小程序,文本溢出时,如何显示为省略号
web 1 0
1892 0 2022-06-29 百度小程序
css样式 .ellipsis{ white-space: nowrap; /* 不换行 */ overflow: hidden; /* 超出隐藏 */ text-overflow: ellipsis; /* 超出部分显示省略号 */ } .ellipsis_2{ display: -webkit-...
为什么let this=that
web 0 0
1469 0 2022-06-28 jQuery
不知道大家有没有接触过jquery jquery里边有一个特别典型的例子能说明用that的作用 $("#btn").click(function(){ var that = this;//这里this和that都代表了"#btn"这个对象 $(".tr").each(function(){ th...
百度小程序rich-text 富文本,图片不能自适应
web 0 0
2678 0 2022-06-28 百度小程序
百度小程序rich-text 富文本,图片不能自适应 这个需要接口给html增加样式 /** * 获取指定id信息 */ public function getById($id){ $rs = $this->field('articleId,articleTitle,articleCont...
小程序去除文本内容的html<br>等标签
web 0 0
2537 0 2022-06-27 百度小程序
去除文本内容的html标签。 有时候调用接口时,有的接口内容会出现<br>这种标签等,显示内容的时候需要把标签去掉。 // 要处理的字符串str。 str.replace(/<[^>]+>/g,'') (/<[^>] +>/g,’’) “/<” 匹配 “<” 括号, “[...
关于本站

“最难不过坚持”

本人承接扒站仿站,php网站维护,病毒查杀,网站编辑,网站改版,html制作

有需要网站维护,改版,病毒查杀,网站编辑,网站备案,html制作等相关的工作可以联系我。
本人有多年相关工作经验,也可提供免费咨询,交个朋友。
有需要探讨问题的朋友,也可以加我微信,共同探讨!
微信:15011482830 QQ:408917339

8514319 2707 39
最新评论
https://jueru.net/
评 留言
:weixiao:
评 留言
:shuijiao: :weiqu: :zhenbang: :leng:
评 留言
:yiwen: :yiwen: :yiwen: :yiwen:
评 EasySass: could not generate CSS file. See Output panel for details.
这个业务逻辑多少都有点奇怪了,阅读浏览次数增值在新闻详情页的控制器方法里setInc,这怎么还写进模型事件里了。如果非要用onAfterRead也可以,把新闻文章的内容单独分出来一个news_content表,然后把它和news做关联,然后给news_content表的onAfterRead事件做增值处理,这样点进新闻页内查询到文章内容时才会触发它。
评 TP6模型事件-查询后onAfterRead不好用
文章标签更多
ThinkPHP (260)
Mysql (59)
DedeCms (33)
jQuery (74)
证件照 (1)
setInc (4)
setDec (4)
onclick (5)