mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
[更新]修改微信图文
This commit is contained in:
parent
c88f2d2a79
commit
6ff51ee9a9
@ -130,10 +130,8 @@
|
||||
{if count($articles) gt 1}
|
||||
{if $key < 1}
|
||||
<div data-href="{:url('wechat/review/index')}?content={$vo.id}&type=article" class="aui-card-list" style="margin:0;padding:.5rem .5rem .3rem .5rem;display:block;background:none">
|
||||
<div class="aui-card-list-content" style='overflow:hidden;text-overflow:ellipsis'>
|
||||
<img src="{$vo.local_url|default=''}"/>
|
||||
</div>
|
||||
<div class="aui-card-list-header" style='padding:.3rem .2rem;left:.5rem;right:.5rem;position:absolute;bottom:0.2rem;display:block;max-height:6em;overflow:hidden;text-overflow:ellipsis;background:rgba(0,0,0,.8);color:#fff'>
|
||||
<div class="aui-card-list-content" style='width:100%;height:10rem;background-repeat:no-repeat;background-image:url("{$vo.local_url}");background-position:center;background-size:cover'></div>
|
||||
<div class="aui-card-list-header" style='left:.5rem;right:.5rem;position:absolute;bottom:0.2rem;display:block;max-height:6em;overflow:hidden;text-overflow:ellipsis;background:rgba(0,0,0,.8);color:#fff'>
|
||||
{$vo.title|default=''}
|
||||
</div>
|
||||
</div>
|
||||
@ -141,9 +139,7 @@
|
||||
<table data-href="{:url('wechat/review/index')}?content={$vo.id}&type=article" class="aui-border-t" style='width:100%;padding:0;margin:0;margin:0;padding:.3rem .5rem .5rem .5rem;'>
|
||||
<tr style='width:100%;padding:0;margin:0;'>
|
||||
<td style="text-overflow:ellipsis;overflow:hidden;display:inline-block;">{$vo.title}</td>
|
||||
<td style='width:3rem;height:3rem;padding:0;margin:0'>
|
||||
<img style="min-width:3rem;height:3rem;width:100%;padding:0;margin:0" src="{$vo.local_url|default=''}"/>
|
||||
</td>
|
||||
<td style='width:3rem;height:3rem;background-repeat:no-repeat;background-image:url("{$vo.local_url}");background-position:center;background-size:cover'></td>
|
||||
</tr>
|
||||
</table>
|
||||
{/if}
|
||||
@ -156,11 +152,9 @@
|
||||
<div style="padding:5px 0;color:#999;min-height:1rem;display:block;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px">
|
||||
{:date('m月d日')}
|
||||
</div>
|
||||
<div class="aui-card-list-content" style='max-height:10rem;overflow:hidden;text-overflow:ellipsis'>
|
||||
<img src="{$vo.local_url|default=''}"/>
|
||||
</div>
|
||||
<div class="aui-card-list-content-padded" style="color:#7b7b7b;padding:0;display:block;max-height:5rem;overflow:hidden;text-overflow:ellipsis">
|
||||
{:strip_tags($vo.content)}
|
||||
<div class="aui-card-list-content" style='width:100%;height:10rem;background-repeat:no-repeat;background-image:url("{$vo.local_url}");background-position:center;background-size:cover'></div>
|
||||
<div class="aui-card-list-content-padded" style="color:#7b7b7b;padding:0;display:block;overflow:hidden;text-overflow:ellipsis">
|
||||
{:str_replace([' ',"\n"],'',strip_tags($vo.digest))} ...
|
||||
</div>
|
||||
</div>
|
||||
<div class="aui-card-list-content-padded aui-border-t" style="padding-top:.3rem">
|
||||
|
Loading…
x
Reference in New Issue
Block a user