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

去掉后台价格字段限制

@@ -48,7 +48,7 @@ @@ -48,7 +48,7 @@
48 <tr> 48 <tr>
49 <th>价格<span class="form-required">*</span></th> 49 <th>价格<span class="form-required">*</span></th>
50 <td> 50 <td>
51 - <input class="form-control" required type="number" name="post[price]" placeholder="请输入价格"/> 51 + <input class="form-control" required type="text" name="post[price]" placeholder="请输入价格"/>
52 </td> 52 </td>
53 </tr> 53 </tr>
54 <tr> 54 <tr>
@@ -52,7 +52,7 @@ @@ -52,7 +52,7 @@
52 <tr> 52 <tr>
53 <th>价格<span class="form-required">*</span></th> 53 <th>价格<span class="form-required">*</span></th>
54 <td> 54 <td>
55 - <input class="form-control" required type="number" name="post[price]" placeholder="请输入价格" value="{$post.price}"/> 55 + <input class="form-control" required type="text" name="post[price]" placeholder="请输入价格" value="{$post.price}"/>
56 </td> 56 </td>
57 </tr> 57 </tr>
58 <tr> 58 <tr>
@@ -48,7 +48,7 @@ @@ -48,7 +48,7 @@
48 <tr> 48 <tr>
49 <th>价格<span class="form-required">*</span></th> 49 <th>价格<span class="form-required">*</span></th>
50 <td> 50 <td>
51 - <input class="form-control" required type="number" name="post[price]" placeholder="请输入价格"/> 51 + <input class="form-control" required type="text" name="post[price]" placeholder="请输入价格"/>
52 </td> 52 </td>
53 </tr> 53 </tr>
54 <tr> 54 <tr>
@@ -52,7 +52,7 @@ @@ -52,7 +52,7 @@
52 <tr> 52 <tr>
53 <th>价格<span class="form-required">*</span></th> 53 <th>价格<span class="form-required">*</span></th>
54 <td> 54 <td>
55 - <input class="form-control" required type="number" name="post[price]" placeholder="请输入价格" value="{$post.price}"/> 55 + <input class="form-control" required type="text" name="post[price]" placeholder="请输入价格" value="{$post.price}"/>
56 </td> 56 </td>
57 </tr> 57 </tr>
58 <tr> 58 <tr>
@@ -48,7 +48,7 @@ @@ -48,7 +48,7 @@
48 <tr> 48 <tr>
49 <th>价格<span class="form-required">*</span></th> 49 <th>价格<span class="form-required">*</span></th>
50 <td> 50 <td>
51 - <input class="form-control" required type="number" name="post[price]" placeholder="请输入价格"/> 51 + <input class="form-control" required type="text" name="post[price]" placeholder="请输入价格"/>
52 </td> 52 </td>
53 </tr> 53 </tr>
54 <tr> 54 <tr>
@@ -52,7 +52,7 @@ @@ -52,7 +52,7 @@
52 <tr> 52 <tr>
53 <th>价格<span class="form-required">*</span></th> 53 <th>价格<span class="form-required">*</span></th>
54 <td> 54 <td>
55 - <input class="form-control" required type="number" name="post[price]" placeholder="请输入价格" value="{$post.price}"/> 55 + <input class="form-control" required type="text" name="post[price]" placeholder="请输入价格" value="{$post.price}"/>
56 </td> 56 </td>
57 </tr> 57 </tr>
58 <tr> 58 <tr>
@@ -66,7 +66,7 @@ @@ -66,7 +66,7 @@
66 <tr> 66 <tr>
67 <th>价格<span class="form-required">*</span></th> 67 <th>价格<span class="form-required">*</span></th>
68 <td> 68 <td>
69 - <input class="form-control" required type="number" name="post[price]" placeholder="请输入价格"/> 69 + <input class="form-control" required type="text" name="post[price]" placeholder="请输入价格"/>
70 </td> 70 </td>
71 </tr> 71 </tr>
72 <tr> 72 <tr>
@@ -70,7 +70,7 @@ @@ -70,7 +70,7 @@
70 <tr> 70 <tr>
71 <th>价格<span class="form-required">*</span></th> 71 <th>价格<span class="form-required">*</span></th>
72 <td> 72 <td>
73 - <input class="form-control" required type="number" name="post[price]" placeholder="请输入价格" value="{$post.price}"/> 73 + <input class="form-control" required type="text" name="post[price]" placeholder="请输入价格" value="{$post.price}"/>
74 </td> 74 </td>
75 </tr> 75 </tr>
76 <tr> 76 <tr>
@@ -45,7 +45,12 @@ @@ -45,7 +45,12 @@
45 </div> 45 </div>
46 <p>{$res['data'][0]['post_title']}</p> 46 <p>{$res['data'][0]['post_title']}</p>
47 <div class="happy_live_con_1_introduce"> 47 <div class="happy_live_con_1_introduce">
48 - {$res['data'][0]['post_excerpt']} 48 + <span>
  49 + {$res['data'][0]['post_excerpt']}
  50 + </span>
  51 +
  52 +
  53 +
49 </div> 54 </div>
50 </div> 55 </div>
51 </a> 56 </a>
@@ -760,7 +760,17 @@ body { @@ -760,7 +760,17 @@ body {
760 width: 100%; 760 width: 100%;
761 background-color: white; 761 background-color: white;
762 } 762 }
763 - 763 +.happy_live_con_1_introduce span{
  764 + display: block;
  765 + font-size: 14px;
  766 + color: rgba(255, 255, 255, 1);
  767 + line-height: 24px;
  768 + overflow: hidden;
  769 + text-overflow: ellipsis;
  770 + display: -webkit-box;
  771 + -webkit-line-clamp: 5;
  772 + -webkit-box-orient: vertical;
  773 +}
764 .happy_live_con_1_introduce { 774 .happy_live_con_1_introduce {
765 cursor: pointer; 775 cursor: pointer;
766 position: absolute; 776 position: absolute;
@@ -771,14 +781,7 @@ body { @@ -771,14 +781,7 @@ body {
771 box-sizing: border-box; 781 box-sizing: border-box;
772 height: 160px; 782 height: 160px;
773 background: rgba(0, 0, 0, 0.7); 783 background: rgba(0, 0, 0, 0.7);
774 - font-size: 14px;  
775 - color: rgba(255, 255, 255, 1);  
776 - line-height: 24px;  
777 - overflow: hidden;  
778 - text-overflow: ellipsis;  
779 - display: -webkit-box;  
780 - -webkit-line-clamp: 5;  
781 - -webkit-box-orient: vertical; 784 +
782 } 785 }
783 786
784 .happy_live_con_1Img { 787 .happy_live_con_1Img {