@@ -526,7 +526,7 @@ body{
/*max-height: 134px;*/
overflow-y: hidden;
li {
- margin: 0 0 6px 10px;
+ margin: 0 34px 6px 10px;
}
.label {
float: left;
@@ -110,6 +110,7 @@
<ul>
</ul>
+ <a class="go" id="goTreat">更多</a>
</div>
@@ -103,8 +103,8 @@ function renderTcm(data, num = 3) {
if (data.length > num) {
- if ($("#goTreat").length) {
- str += `<a class="go" id="goTreat">更多</a>`;
+ if ($("#goTreat").length) { //竖版显示即可不用新增
+ str += ``;
$("#goTreat").show();
} else {
str += `<a class="go go-push" id="goTreat">更多 <img class="icon" src="./images/go.png" alt=""></a>`;