Commit f9cee5bc by mushishixian

修复显示

parent 2009e605
...@@ -40,7 +40,14 @@ ...@@ -40,7 +40,14 @@
公司性质 : {{$supplier['supplier_group_name']}} 公司性质 : {{$supplier['supplier_group_name']}}
</div> </div>
<div class="layui-col-md2"> <div class="layui-col-md2">
合作类型 :{{$supplier['stockup_type_name']}} 合作类型 :
@if (mb_strlen($supplier['stockup_type_name'])>20)
<span title="{{$supplier['stockup_type_name']}}">
{{mb_substr($supplier['stockup_type_name'],0,20)}}...
</span>
@else
{{$supplier['stockup_type_name']}}
@endif
</div> </div>
<div class="layui-col-md2"> <div class="layui-col-md2">
...@@ -190,7 +197,7 @@ ...@@ -190,7 +197,7 @@
{{array_get(config('fixed.FileNameMapping'),$key)}} : {{array_get(config('fixed.FileNameMapping'),$key)}} :
@foreach($item as $k=>$v) @foreach($item as $k=>$v)
<a href="{{array_get($v,'url')}}" style="color: dodgerblue" <a href="{{array_get($v,'url')}}" style="color: dodgerblue"
target="_blank">{{array_get($v,'file_name')}}</a> | target="_blank">{{array_get($v,'file_name','未知文件名')}}</a> |
@endforeach @endforeach
</div> </div>
@endif @endif
......
...@@ -49,7 +49,14 @@ ...@@ -49,7 +49,14 @@
公司性质 : {{$supplier['supplier_group_name']}} 公司性质 : {{$supplier['supplier_group_name']}}
</div> </div>
<div class="layui-col-md2"> <div class="layui-col-md2">
合作类型:{{$supplier['stockup_type_name']}} 合作类型 :
@if (mb_strlen($supplier['stockup_type_name'])>20)
<span title="{{$supplier['stockup_type_name']}}">
{{mb_substr($supplier['stockup_type_name'],0,20)}}...
</span>
@else
{{$supplier['stockup_type_name']}}
@endif
</div> </div>
<div class="layui-col-md2"> <div class="layui-col-md2">
<span title="{{$supplier['channel_username']}}"> <span title="{{$supplier['channel_username']}}">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment