作者 景龙
1 个管道 的构建 通过 耗费 0 秒

去掉后台价格字段限制

... ... @@ -48,7 +48,7 @@
<tr>
<th>价格<span class="form-required">*</span></th>
<td>
<input class="form-control" required type="number" name="post[price]" placeholder="请输入价格"/>
<input class="form-control" required type="text" name="post[price]" placeholder="请输入价格"/>
</td>
</tr>
<tr>
... ...
... ... @@ -52,7 +52,7 @@
<tr>
<th>价格<span class="form-required">*</span></th>
<td>
<input class="form-control" required type="number" name="post[price]" placeholder="请输入价格" value="{$post.price}"/>
<input class="form-control" required type="text" name="post[price]" placeholder="请输入价格" value="{$post.price}"/>
</td>
</tr>
<tr>
... ...
... ... @@ -48,7 +48,7 @@
<tr>
<th>价格<span class="form-required">*</span></th>
<td>
<input class="form-control" required type="number" name="post[price]" placeholder="请输入价格"/>
<input class="form-control" required type="text" name="post[price]" placeholder="请输入价格"/>
</td>
</tr>
<tr>
... ...
... ... @@ -52,7 +52,7 @@
<tr>
<th>价格<span class="form-required">*</span></th>
<td>
<input class="form-control" required type="number" name="post[price]" placeholder="请输入价格" value="{$post.price}"/>
<input class="form-control" required type="text" name="post[price]" placeholder="请输入价格" value="{$post.price}"/>
</td>
</tr>
<tr>
... ...
... ... @@ -48,7 +48,7 @@
<tr>
<th>价格<span class="form-required">*</span></th>
<td>
<input class="form-control" required type="number" name="post[price]" placeholder="请输入价格"/>
<input class="form-control" required type="text" name="post[price]" placeholder="请输入价格"/>
</td>
</tr>
<tr>
... ...
... ... @@ -52,7 +52,7 @@
<tr>
<th>价格<span class="form-required">*</span></th>
<td>
<input class="form-control" required type="number" name="post[price]" placeholder="请输入价格" value="{$post.price}"/>
<input class="form-control" required type="text" name="post[price]" placeholder="请输入价格" value="{$post.price}"/>
</td>
</tr>
<tr>
... ...
... ... @@ -66,7 +66,7 @@
<tr>
<th>价格<span class="form-required">*</span></th>
<td>
<input class="form-control" required type="number" name="post[price]" placeholder="请输入价格"/>
<input class="form-control" required type="text" name="post[price]" placeholder="请输入价格"/>
</td>
</tr>
<tr>
... ...
... ... @@ -70,7 +70,7 @@
<tr>
<th>价格<span class="form-required">*</span></th>
<td>
<input class="form-control" required type="number" name="post[price]" placeholder="请输入价格" value="{$post.price}"/>
<input class="form-control" required type="text" name="post[price]" placeholder="请输入价格" value="{$post.price}"/>
</td>
</tr>
<tr>
... ...
... ... @@ -45,7 +45,12 @@
</div>
<p>{$res['data'][0]['post_title']}</p>
<div class="happy_live_con_1_introduce">
{$res['data'][0]['post_excerpt']}
<span>
{$res['data'][0]['post_excerpt']}
</span>
</div>
</div>
</a>
... ...
... ... @@ -760,7 +760,17 @@ body {
width: 100%;
background-color: white;
}
.happy_live_con_1_introduce span{
display: block;
font-size: 14px;
color: rgba(255, 255, 255, 1);
line-height: 24px;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 5;
-webkit-box-orient: vertical;
}
.happy_live_con_1_introduce {
cursor: pointer;
position: absolute;
... ... @@ -771,14 +781,7 @@ body {
box-sizing: border-box;
height: 160px;
background: rgba(0, 0, 0, 0.7);
font-size: 14px;
color: rgba(255, 255, 255, 1);
line-height: 24px;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 5;
-webkit-box-orient: vertical;
}
.happy_live_con_1Img {
... ...