mirror of https://github.com/4xmen/xshop.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
938 B
PHTML
33 lines
938 B
PHTML
<section class='AttachmentWithPreview live-setting' data-live="{{$data->area_name.'_'.$data->part}}">
|
|
<div class="{{gfx()['container']}}">
|
|
<h1>
|
|
{{$attachment->title}}
|
|
</h1>
|
|
<div class="alert alert-info">
|
|
{{$attachment->subtitle}}
|
|
</div>
|
|
{!! $attachment->body !!}
|
|
|
|
@if($attachment->ext == 'mp3')
|
|
<mp3player
|
|
asset="{{$attachment->url()}}"></mp3player>
|
|
@endif
|
|
@if($attachment->ext == 'mp4')
|
|
<mp4player
|
|
asset="{{$attachment->url()}}"></mp4player>
|
|
@endif
|
|
|
|
|
|
<a href="{{$attachment->tempUrl()}}" class="btn btn-lg btn-outline-primary mt-4 w-100">
|
|
<i class="ri-download-2-line"></i>
|
|
|
|
{{__("Download")}}
|
|
|
|
{{formatFileSize($attachment->size)}}
|
|
|
|
|
|
[{{$attachment->ext}}]
|
|
</a>
|
|
</div>
|
|
</section>
|