chore: init saasshop repo + sql migrations runner + gitee go
This commit is contained in:
23
resources/views/front/h5/index.blade.php
Normal file
23
resources/views/front/h5/index.blade.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<!doctype html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
||||
<title>H5 商城首页 - SaaSShop</title>
|
||||
<link rel="stylesheet" href="/css/public-pages.css">
|
||||
</head>
|
||||
<body class="h5-body">
|
||||
<div class="h5-header">SaaSShop H5 商城首页</div>
|
||||
<div class="h5-wrap">
|
||||
<p>这是 H5 端模板入口,后续可扩展底部导航、个人中心、下单与支付流程。</p>
|
||||
<p><a href="/">返回项目首页</a></p>
|
||||
@foreach($products as $product)
|
||||
<div class="h5-card">
|
||||
<h3>{{ $product->title }}</h3>
|
||||
<p>{{ $product->summary }}</p>
|
||||
<p class="price-sm">¥{{ number_format($product->price, 2) }}</p>
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user