text ammendment

This commit is contained in:
LI JIAHAO
2017-06-17 22:32:59 +08:00
parent c47d805a3f
commit af4dc71e83
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ class addGoodRequest extends Request
'count.max' => '库存数不能超过2147483647!',
//'good_tag.required' => '商品标签不能为空!',
//'other_tag.max' => '自定义标签不能多于2048个字符!',
'goodTitlePic.required' => '必须为商品上传一张图片!',
'goodTitlePic.required' => '必须为商品上传封面!',
'crop_width.required' => '请按要求裁剪图片',
'crop_height.required' => '请按要求裁剪图片',
'crop_x.required' => '请按要求裁剪图片',
+3 -3
View File
@@ -53,13 +53,13 @@
</span>
</h2>
<div><!-- 放tag 和更多图片缩略图 --></div>
货主:<a href="/user/{{ $user->id }}">@if(isset($user->nickname)){{ $user->nickname }} @else 还没有昵称&gt;_&lt; @endif
卖家:<a href="/user/{{ $user->id }}">@if(isset($user->nickname)){{ $user->nickname }} @else 还没有昵称&gt;_&lt; @endif
@if($user->baned)
【已封禁】
@endif
</a>
@if ($user->id != session('user_id'))
<a href="/message/startConversation/{{ $user->id }}">和我联系</a>
<a href="/message/startConversation/{{ $user->id }}">联系卖家</a>
@endif
<h4 style="color: #cc4b37"><b>¥{{ $good->price }}</b></h4>
<p id="ach" class="show-for-small-only gb_right">@if($good->count > 1)(库存:{{ $good->count }}件)@else 仅一件 @endif</p>
@@ -169,7 +169,7 @@
<li style="width:25%">
<button class="button warning"
style="color:white;font-size: 15px;width:100%;height:40px;padding-left:0;padding-right:0;" onclick="window.location.href='/message/startConversation/{{ $user->id }}'">
联系货主
联系卖家
</button>
</li>
<li style="width:50%">