点击按钮 显示更多,自定义变量显示不出来?
提示错误信息:、


想要达到的效果:
点击按键一次更多,多显示3条信息
显示更多
288个赞同
本回答分成【旅游版】和【日常版】,游客和长时间生活在长沙的人需求不一样所以分开写啦。高票答主提到的那些也不赘述。
288个赞同
本回答分成【旅游版】和【日常版】,游客和长时间生活在长沙的人需求不一样所以分开写啦。高票答主提到的那些也不赘述。
更多
CSS部分
body,ul,li,p,input,dt,dl,dd,form,textarea,th,td,select,h1,h2,h3,h4,h5,h6,a,p{
padding:0px;
margin:0px;
}
body{
font-size: 14px;
font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;
background: #fff;
}
.container{
width: 640px;
margin: 50px auto;
}
.arctive{
position: relative;
padding-bottom: 12px;
border-bottom: 1px solid #eee;
margin-bottom: 14px;
}
.votebar{
background:#eff6fa;
width:38px;
/*height: 28px;*/
color:#698ebf;
line-height: 28px;
/*padding:2px 0;*/
text-align: center;
position: absolute;
left: -50px;
border-radius: 4px;
}
.author{
color:#333;
}
.author b{
color:#000;
padding-right: 7px;
}
.author p{
line-height: 1.8em;
}
.content{
line-height: 1.5em;
}
.votebar_icon {
width: 0px;
height: 0px;
border: 6px solid transparent;
border-bottom: 6px solid #698ebf;
display: block;
margin-left: 13px;
}
.more{
color: #666!important;
text-shadow: 0 1px 0 #fff;
background: #f1f1f2;
background: -webkit-linear-gradient(top,#f8f8f9,#e6e6e8);
background: linear-gradient(to bottom,#f8f8f9,#e6e6e8);
border: 1px solid #bbb;
box-shadow: 0 1px 0 #fff inset,0 1px 0 rgba(0,0,0,.1);
padding:6px;
text-align: center;
margin-top: 20px;
display: block;
}
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
你的分号貌似用的是中文分号!!
这几个貌似都是中文分号