33 篇
Bootstrap5
ThinkPHP 框架报错: syntax error, unexpected '?'
web 0 0
730 0 2023-03-28 Bootstrap5
双?? 语法在php7.0才有的 切换到7.0版本即可。 或者把 return $lang[$this->lan][$key] ?? ''; 改成 return $lang[$this->lan][$key] ? $lang[$this->lan][$key] : '';
bootstrap5 flex布局实现一栏固定宽度
taotaoit 0 0
1098 0 2022-07-13 Bootstrap5
bootstrap5 flex布局实现一栏固定宽度 代码: <p class="d-flex mt-4"> <span class="footer_tel2 flex-shrink-0"> <img src="__HOME__/images/addr2.png" alt=""...
bootstrap5 字体大小fs-1到fs-6
taotaoit 0 0
1311 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
889 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
880 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
1420 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...
bootstrap5 横线(水平线)hr的使用
taotaoit 0 0
3322 0 2022-06-15 Bootstrap5
bootstrap5 横线(水平线)hr的使用 css样式: hr { margin: 1rem 0; color: inherit; background-color: currentColor; border: 0; opacity: 0.25; } hr:not([size]) { heigh...
bootstrap5行高lh-1,lh-sm,lh-base,lh-lg
taotaoit 0 0
1208 0 2022-06-14 Bootstrap5
bootstrap5行高lh-1,lh-sm,lh-base,lh-lg css代码 .lh-1 { line-height: 1 !important; } .lh-sm { line-height: 1.25 !important; } .lh-base { line-height: 1.5 !impor...
https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css net::ERR_CERT_COMMON_NAME_INVALID
taotaoit 1 0
2593 0 2021-12-20 Bootstrap5
https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css net::ERR_CERT_COMMON_NAME_INVALID 之前做好的网站,访问的时候都错位了,f12打开浏览器调试模式,提示如下错误: 是bootstrap cd...
bootstrap5 d-none隐藏与jquery show()冲突
web 1 0
2221 0 2021-11-01 Bootstrap5
bootstrap5 d-none隐藏与jquery show()冲突 假设我创建了一个这样的 HTML 元素, <div id="my-div" class="d-none">Hello, TB5</div> 我如何从 jQuery/Javascript 显示和隐藏该 HTML 元素。 $(funct...
bootstrap5 实现col右对齐
taotaoit 1 0
3063 0 2021-10-27 Bootstrap5
实现效果:搜索框右对齐 方式一:由于bootstrap5 列构建在网格的弹性盒子体系结构上,所以我们直接使用flex布局样式.justify-content-end,控制右对齐 <div class="container"> <div class="row justify-content-end...
bootsrap结合Font Awesome 运行中,到期,停止,暂停,退款
taotaoit 0 0
1405 0 2021-10-16 Bootstrap5
代码: {php} $statusArr = [ '1'=>['0'=>'text-success','1'=>'fa-play'], '2'=>['0'=>'text-primary','1'=>'fa-check-cir...
引用bootstrap5 cdn不起作用
taotaoit 1 0
1991 0 2021-10-05 Bootstrap5
引用bootstrap5 cdn不起作用,打开浏览器调试模式,提示 "Failed to find a valid digest in the 'integrity' attribute for resource 'https://cdn.jsdelivr.net/npm/bootstrap@5.1.1/dist/css/boo...
bootstrap5 flex布局响应式
taotaoit 1 0
1422 0 2021-09-19 Bootstrap5
bootstrap5中使用flex布局支持响应式 比如,pc版需要右对齐,手机版需要左对齐 那么就可以 <div class="d-flex justify-content-start justify-content-lg-end "> <div>123</di...
bootstrap5实现响应式边框
taotaoit 1 0
1242 0 2021-09-19 Bootstrap5
有时候我们需要pc版有边框,手机版没边框, bootstrap5好像没有对应的响应式,可以自己写一个 css @media (min-width: 992px) { .border-lg-end{ border-right: 1px solid #dee2e6 !important; } .bord...
bootstrap5实现左右居中 .mx-auto
taotaoit 1 0
2131 0 2021-09-15 Bootstrap5
bootstrap5实现左右居中 .mx-auto css: .mx-auto { margin-right: auto !important; margin-left: auto !important; } 响应式 .mx-sm-auto .mx-md-auto .mx-lg-auto .m...
关于本站

“最难不过坚持”

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

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

6417931 2611 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 (254)
Mysql (58)
DedeCms (33)
jQuery (67)
证件照 (1)
setInc (4)
setDec (4)
onclick (5)