This commit is contained in:
LI JIAHAO
2017-06-20 14:36:47 +08:00
parent 70a4eed0f9
commit 562efc2105
3 changed files with 6 additions and 2 deletions
+4
View File
@@ -109,3 +109,7 @@ a:hover, a:focus {
float: none;
margin: 0 auto;
}
img {
max-width: 100%;
}
+1 -1
View File
@@ -45,7 +45,7 @@
<h2 style="margin-left:10px;display:inline-block;word-break:break-all">{{ $good->good_name }}@if($good->baned)【已封禁】@endif</h2>
</div>
卖家:<a href="/user/{{ $user->id }}">@if(isset($user->nickname)){{ $user->nickname }} @else 还没有昵称&gt;_&lt; @endif @if($user->baned)【已封禁】@endif</a> &nbsp;
@if($user->baned)
@if(!$user->baned)
<a href="/message/startConversation/{{ $user->id }}">联系卖家</a>
@endif
<div><!-- 放tag 和更多图片缩略图 --></div>
+1 -1
View File
@@ -42,7 +42,7 @@
</div>
<div class="form-group">
<label for="price">商品价格</label>
<input type="number" min="0" name="price" id="price" value="{{count($errors) ? old('price') : $good->price}}" placeholder="商品价格" class="form-control" onkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')">
<input type="number" step="0.01" min="0" name="price" id="price" value="{{count($errors) ? old('price') : $good->price}}" placeholder="商品价格" class="form-control">
</div>
<div class="form-group hidden-xs-up">
<label>商品类型</label>