pricing-card.blade.php 1.9 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <style>
  2. </style>
  3. <div class="pricing-card {{$id}}">
  4. <div class="row">
  5. @foreach($items as $key => $item)
  6. <div class="col-sm-6 col-lg-{{$columns}}">
  7. <div class="card card-md shadow">
  8. @if(isset($item['active']))
  9. <div class="ribbon ribbon-top ribbon-bookmark bg-green">
  10. <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-filled" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M12 17.75l-6.172 3.245l1.179 -6.873l-5 -4.867l6.9 -1l3.086 -6.253l3.086 6.253l6.9 1l-5 4.867l1.179 6.873z"></path></svg>
  11. </div>
  12. @endif
  13. <div class="card-body @if($center) text-center @endif">
  14. <div class="text-uppercase text-muted text-center font-weight-medium f22">{{$item['title']}}</div>
  15. <div class="display-5 my-3 text-center">¥{{$item['money']}}</div>
  16. <ul class="list-unstyled lh-lg">
  17. <li><strong>{!! $item['head'] ?? '' !!}</strong></li>
  18. @foreach($item['li'] as $keys => $items)
  19. <li>
  20. <i class="feather icon-check @if($items) text-success @else text-danger @endif f22"></i> {{$keys}}
  21. </li>
  22. @endforeach
  23. <li><strong>{!! $item['footer'] ?? '' !!}</strong></li>
  24. </ul>
  25. <div class="text-center mt-4">
  26. <a href="javascript:void(0);" class="btn @if(isset($item['active'])) btn-success @endif w-100 dingyuePay" data-ver="">{{$item['btn'] ?? '订 购'}}</a>
  27. </div>
  28. </div>
  29. </div>
  30. </div>
  31. @endforeach
  32. </div>
  33. </div>