关于本站
“最难不过坚持”
本人承接扒站仿站,php网站维护,病毒查杀,网站编辑,网站改版,html制作
有需要网站维护,改版,病毒查杀,网站编辑,网站备案,html制作等相关的工作可以联系我。
本人有多年相关工作经验,也可提供免费咨询,交个朋友。
有需要探讨问题的朋友,也可以加我微信,共同探讨!
微信:15011482830 QQ:408917339
2712
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不好用
文章标签更多
打开边栏(ESC)
关闭边栏(ESC)
css实现物流信息查询样式
缺一个类似这样的小车
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
*{padding: 0; margin: 0;}
ul,li{list-style: none;}
.flow-list {
margin-top: 20px;
padding: 0 10px 0 20px;
background-color: #fff;
}
.new-order-flow {
/*margin-top: 20px;*/
padding: 5px 10px 0;
border-left: 2px solid #f1f3f7;
}
.new-p-re {
position: relative;
}
.new-order-arr {
position: absolute;
top: -4px;
left: -5px;
width: 9px;
height: 9px;
}
.new-of-storey li {
position: relative;
padding: 15px 10px;
border-bottom: 1px dotted #e8e5e5;
}
.new-of-storey li .icon {
position: absolute;
/* top: 26 %;*/
left: -17.5px;
width: 12px;
height: 12px;
border-radius: 50%;
background-color: #dbe0eb;
}
.new-of-storey li .top-white {
position: absolute;
top: -5%;
left: -17.5px;
width: 12px;
height: 20%;
background-color: #fff;
}
.new-of-storey li .bottom-white {
position: absolute;
top: 27px;
left: -17.5px;
width: 12px;
height: calc(100% - 26px);
background-color: #fff;
}
.new-of-storey li .icon.on {
background-color: #09B687;
top: 14%;
width: 18px;
height: 18px;
left: -22.5px;
border: solid #d5f2e5 2px;
}
.new-of-storey li span {
display: block;
font-size: 14px;
color: #a1a5b1;
}
.new-of-storey li span:last-child {
color: #d0d2d7;
}
.new-of-storey li span.first {
color: #09B687;
}
/*上方*/
.new-order-track {
background-color: #fff;
padding: 20px 15px;
}
.new-order-track span {
display: block;
font-size: 14px;
color: #6e6e6e;
margin-left: 15px;
width: 260px;
}
.new-order-track div {
display: inline-block;
vertical-align: middle;
}
.new-order-track .img-content {
width: 60px;
height: 60px;
padding: 15px;
border-radius: 50%;
background-color: #09B687;
text-align: center;
}
.new-order-track .img-content img {
width: 30px;
height: 30px;
vertical-align: middle;
}
</style>
</head>
<body>
<div>
<div class="new-order-track">
<div class="img-content">
<img src='./images/order_flow.png'/>
</div>
<div>
<span>物流名称:圆通快递</span>
<span>物流编号:yt00000000001</span>
</div>
</div>
<div class="flow-list">
<div class="new-order-flow new-p-re">
<ul class="new-of-storey">
<li>
<span class="top-white"></span>
<span class="icon on"></span>
<span class='first'>
【四川省南充市阆中市公司】 派件中 派件人: 柯南 电话 18612341234 。 圆通快递小哥每天已测体温,请放心收寄快递 如有疑问,请联系:15512341234
</span>
<span class='first'>
2022-01-01 12:13:00
</span>
</li>
<li>
<span class="icon"></span>
<span class=''>
【湖南省邵阳市邵东县】 已发出 下一站 【衡阳转运中心公司】
</span>
<span class=''>
2022-01-01 12:13:00
</span>
</li>
<li>
<span class="bottom-white"></span>
<span class="icon"></span>
<span class=''>
【湖南省邵阳市邵东县公司】 已揽收 取件人
</span>
<span class=''>
2022-01-01 12:13:00
</span>
</li>
</ul>
</div>
</div>
</div>
</body>
</html>
赏
相关推荐
css提示invalid property value
网上复制了一段css代码,浏览器没有出现预定的样式,按F12打开调试模式,发现css属性前有个感叹号,鼠标经过提示“Invalid property value”无效的属性值,如图
应该是css有错误,后来发现css属性前的空格包含 “全角空格”,删了就可以了
复制空白粘贴到编辑器,然后切换到源...
css通过父元素选择子元素,选择第一个,第二个,最后一个,奇数偶数
:first-child 选择器
选择属于其父元素的首个子元素的每个 <p> 元素,并为其设置样式:
p:first-child
{
background-color:yellow;
}
例子1 选择列表中的第一个 <li> 元素并设置其样式:
li:first-child
{
backgroun...
评论加载中...