林一峰
7 years ago
16 changed files with 658 additions and 282 deletions
-
15app/Http/Controllers/Api/UserAddressController.php
-
87app/Http/Controllers/Weixin/AddressController.php
-
50app/Http/Controllers/Weixin/CollectGoodsController.php
-
22app/Http/Controllers/Weixin/UserController.php
-
20app/Http/Model/CollectGoods.php
-
2app/Http/Model/User.php
-
74app/Http/Model/UserAddress.php
-
20public/css/weixin/style.css
-
0public/images/weixin/no_user.jpg
-
139resources/views/weixin/address/index.blade.php
-
110resources/views/weixin/address/userAddressAdd.blade.php
-
111resources/views/weixin/collect_goods/index.blade.php
-
4resources/views/weixin/user/index.blade.php
-
5resources/views/weixin/user/userGoodsHistory.blade.php
-
89resources/views/welcome.blade.php
-
192routes/web.php
@ -0,0 +1,87 @@ |
|||
<?php |
|||
namespace App\Http\Controllers\Weixin; |
|||
|
|||
use App\Http\Controllers\Weixin\CommonController; |
|||
use Illuminate\Http\Request; |
|||
|
|||
class AddressController extends CommonController |
|||
{ |
|||
public function __construct() |
|||
{ |
|||
parent::__construct(); |
|||
} |
|||
|
|||
//收货地址列表
|
|||
public function index(Request $request) |
|||
{ |
|||
$pagesize = 10; |
|||
$offset = 0; |
|||
if(isset($_REQUEST['page'])){$offset = ($_REQUEST['page']-1)*$pagesize;} |
|||
|
|||
//收货地址列表
|
|||
$postdata = array( |
|||
'limit' => $pagesize, |
|||
'offset' => $offset, |
|||
'access_token' => $_SESSION['weixin_user_info']['access_token'] |
|||
); |
|||
$url = env('APP_API_URL')."/user_address_list"; |
|||
$res = curl_request($url,$postdata,'GET'); |
|||
$data['list'] = $res['data']['list']; |
|||
|
|||
$data['totalpage'] = ceil($res['data']['count']/$pagesize); |
|||
if(isset($_REQUEST['page_ajax']) && $_REQUEST['page_ajax']==1) |
|||
{ |
|||
$html = ''; |
|||
|
|||
if($res['data']['list']) |
|||
{ |
|||
foreach($res['data']['list'] as $k => $v) |
|||
{ |
|||
$html .= '<div class="flow-have-adr">'; |
|||
|
|||
if($v['is_default']==1) |
|||
{ |
|||
$html .= '<p class="f-h-adr-title"><label>'.$v['name'].'</label><span class="ect-colory">'.$v['mobile'].'</span><span class="fr">默认</span></p>'; |
|||
} |
|||
else |
|||
{ |
|||
$html .= '<p class="f-h-adr-title"><label>'.$v['name'].'</label><span class="ect-colory">'.$v['mobile'].'</span></p>'; |
|||
} |
|||
|
|||
$html .= '<p class="f-h-adr-con">'.$v['province'].$v['city'].$v['district'].' '.$v['address'].'</p>'; |
|||
$html .= '<div class="adr-edit-del"><a href="'.route('weixin_user_address_update',array('id'=>$v['id'])).'"><i class="iconfont icon-bianji"></i>编辑</a><a href="javascript:del('.$v['id'].');"><i class="iconfont icon-xiao10"></i>删除</a></div>'; |
|||
$html .= '</div>'; |
|||
} |
|||
} |
|||
|
|||
exit(json_encode($html)); |
|||
} |
|||
|
|||
return view('weixin.address.index', $data); |
|||
} |
|||
|
|||
//收货地址添加
|
|||
public function userAddressAdd(Request $request) |
|||
{ |
|||
if($request->input('typeid', '') != ''){$data['typeid'] = $request->input('typeid');} |
|||
if($request->input('tuijian', '') != ''){$data['tuijian'] = $request->input('tuijian');} |
|||
if($request->input('keyword', '') != ''){$data['keyword'] = $request->input('keyword');} |
|||
if($request->input('status', '') != ''){$data['status'] = $request->input('status');} |
|||
if($request->input('is_promote', '') != ''){$data['is_promote'] = $request->input('is_promote');} |
|||
if($request->input('orderby', '') != ''){$data['orderby'] = $request->input('orderby');} |
|||
if($request->input('max_price', '') != ''){$data['max_price'] = $request->input('max_price');}else{$data['max_price'] = 99999;} |
|||
if($request->input('min_price', '') != ''){$data['min_price'] = $request->input('min_price');}else{$data['min_price'] = 0;} |
|||
|
|||
//商品列表
|
|||
$postdata = array( |
|||
'access_token' => $_SESSION['weixin_user_info']['access_token'], |
|||
'limit' => 10, |
|||
'offset' => 0 |
|||
); |
|||
$url = env('APP_API_URL')."/user_address_list"; |
|||
$goods_list = curl_request($url,$postdata,'GET'); |
|||
$data['user_address_list'] = $goods_list['data']['list']; |
|||
|
|||
return view('weixin.address.userAddressAdd', $data); |
|||
} |
|||
} |
Before Width: 95 | Height: 95 | Size: 14 KiB After Width: 95 | Height: 95 | Size: 14 KiB |
@ -0,0 +1,139 @@ |
|||
<!DOCTYPE html><html><head><meta http-equiv="content-type" content="text/html;charset=utf-8"/> |
|||
<title>收货地址管理</title><meta content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=0" name="viewport"> |
|||
<link href="<?php echo env('APP_URL'); ?>/css/weixin/style.css" type="text/css" rel="stylesheet"> |
|||
<script type="text/javascript" src="<?php echo env('APP_URL'); ?>/js/jquery.min.js"></script> |
|||
<script type="text/javascript" src="<?php echo env('APP_URL'); ?>/js/weixin/mobile.js"></script> |
|||
<meta name="keywords" content="关键词"><meta name="description" content="描述"></head><body style="background-color:#f1f1f1;"> |
|||
<div class="classreturn loginsignup"> |
|||
<div class="ds-in-bl return"><a href="javascript:history.back(-1);"><img src="<?php echo env('APP_URL'); ?>/images/weixin/return.png" alt="返回"></a></div> |
|||
<div class="ds-in-bl tit center"><span>收货地址管理</span></div> |
|||
<div class="ds-in-bl nav_menu"><a href="javascript:void(0);"><img src="<?php echo env('APP_URL'); ?>/images/weixin/class1.png" alt="菜单"></a></div> |
|||
</div> |
|||
<div class="flool tpnavf cl"> |
|||
<div class="nav_list"> |
|||
<ul> |
|||
<a href="<?php echo route('weixin'); ?>"><li><img src="<?php echo env('APP_URL'); ?>/images/weixin/home_icon.png"><p>首页</p></li></a> |
|||
<a href="/Weixin/index.php?m=Store&a=index"><li><img src="<?php echo env('APP_URL'); ?>/images/weixin/brand_icon.png"><p>分类</p></li></a> |
|||
<a href="/Weixin/index.php?m=Cart&a=index"><li><img src="<?php echo env('APP_URL'); ?>/images/weixin/car_icon.png"><p>购物车</p></li></a> |
|||
<a href="/Weixin/index.php?m=User&a=index"><li><img src="<?php echo env('APP_URL'); ?>/images/weixin/center_icon.png"><p>个人中心</p></li></a></ul> |
|||
<div class="cl"></div> |
|||
</div> |
|||
</div> |
|||
|
|||
<style> |
|||
.address_list .flow-have-adr{padding:15px;margin-bottom:10px;background-color:#fff;}
|
|||
.address_list .f-h-adr-title .ect-colory{color:#e23435;}
|
|||
.address_list .f-h-adr-title label{font-size:18px;color:#000;margin-right:5px;}
|
|||
.address_list .f-h-adr-con{color:#777;margin-top:5px;margin-bottom:5px;}
|
|||
.address_list .adr-edit-del{text-align:right;} |
|||
.address_list .adr-edit-del a{color:#777;margin-right:8px;}
|
|||
.address_list .f-h-adr-title span.fr{background-color: #f23030;color: white;padding:0 5px;}
|
|||
.bottoma{display:block;font-size:18px;padding:10px;color:white;background-color: #f23030;text-align:center;}
|
|||
</style> |
|||
|
|||
<a style="margin:10px;" class="bottoma" href="<?php echo route('weixin_user_address_add'); ?>">新增地址</a> |
|||
|
|||
<div class="address_list"> |
|||
<?php if($list){foreach($list as $k=>$v){ ?>
|
|||
<div class="flow-have-adr"> |
|||
<p class="f-h-adr-title"><label><?php echo $v['name']; ?></label><span class="ect-colory"><?php echo $v['mobile']; ?></span><?php if($v['is_default']==1){ ?><span class="fr">默认</span><?php } ?></p>
|
|||
<p class="f-h-adr-con"><?php echo $v['province'].$v['city'].$v['district'].' '.$v['address']; ?></p>
|
|||
<div class="adr-edit-del"><a href="<?php echo route('weixin_user_address_update',array('id'=>$v['id'])); ?>"><i class="iconfont icon-bianji"></i>编辑</a><a href="javascript:del(<?php echo $v['id']; ?>);"><i class="iconfont icon-xiao10"></i>删除</a></div> |
|||
</div> |
|||
<?php }} ?>
|
|||
</div> |
|||
|
|||
<script type="text/javascript" src="<?php echo env('APP_URL'); ?>/js/layer/mobile/layer.js"></script> |
|||
<script> |
|||
$(function(){ |
|||
var ajaxload = false; |
|||
var maxpage = false; |
|||
var startpage = 1; |
|||
var totalpage = <?php echo $totalpage; ?>;
|
|||
|
|||
var tmp_url = window.location.href; |
|||
msg = tmp_url.split("#"); |
|||
tmp_url = msg[0]; |
|||
|
|||
$(window).scroll(function () |
|||
{ |
|||
var listheight = $(".address_list").outerHeight(); |
|||
|
|||
if ($(document).scrollTop() + $(window).height() >= listheight) |
|||
{ |
|||
if(startpage >= totalpage) |
|||
{ |
|||
//$("#submit_bt_one").html("已是最后一页,没有更多数据!");
|
|||
return false; |
|||
} |
|||
|
|||
if(!ajaxload && !maxpage) |
|||
{ |
|||
ajaxload = true; |
|||
//$("#submit_bt_one").html("努力加载中...");
|
|||
var url = tmp_url; |
|||
var nextpage = startpage+1; |
|||
|
|||
$.get(url,{page_ajax:1,page:nextpage},function(res) |
|||
{ |
|||
if(res) |
|||
{ |
|||
$(".address_list").append(res); |
|||
startpage++; |
|||
|
|||
if(startpage >= totalpage) |
|||
{ |
|||
maxpage = true; |
|||
//$("#submit_bt_one").html("已是最后一页,没有更多数据!");
|
|||
} |
|||
else |
|||
{ |
|||
//$("#submit_bt_one").html("点击加载更多");
|
|||
} |
|||
|
|||
ajaxload = false; |
|||
} |
|||
else |
|||
{ |
|||
//$("#submit_bt_one").html("请求失败,请稍候再试!");
|
|||
ajaxload = false; |
|||
} |
|||
},'json'); |
|||
} |
|||
} |
|||
}); |
|||
}); |
|||
|
|||
function del(id) |
|||
{ |
|||
//询问框
|
|||
layer.open({ |
|||
content: '确定要删除吗?' |
|||
,btn: ['确定', '取消'] |
|||
,yes: function(){ |
|||
var url = '<?php echo env('APP_API_URL')."/user_address_delete"; ?>'; |
|||
$.post(url,{access_token:'<?php echo $_SESSION['weixin_user_info']['access_token']; ?>',id:id},function(res) |
|||
{ |
|||
//提示
|
|||
layer.open({ |
|||
content: res.msg |
|||
,skin: 'msg' |
|||
,time: 2 //2秒后自动关闭
|
|||
}); |
|||
|
|||
if(res.code==0) |
|||
{ |
|||
location.reload(); |
|||
} |
|||
else |
|||
{ |
|||
|
|||
} |
|||
},'json'); |
|||
} |
|||
}); |
|||
} |
|||
</script> |
|||
|
|||
@include('weixin.common.footer') |
|||
</body></html> |
@ -0,0 +1,110 @@ |
|||
<!DOCTYPE html><html><head><meta http-equiv="content-type" content="text/html;charset=utf-8"/> |
|||
<title>新增收货地址</title><meta content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=0" name="viewport"> |
|||
<link href="<?php echo env('APP_URL'); ?>/css/weixin/style.css" type="text/css" rel="stylesheet"> |
|||
<script type="text/javascript" src="<?php echo env('APP_URL'); ?>/js/jquery.min.js"></script> |
|||
<script type="text/javascript" src="<?php echo env('APP_URL'); ?>/js/weixin/mobile.js"></script> |
|||
<meta name="keywords" content="关键词"><meta name="description" content="描述"></head><body style="background-color:#f1f1f1;"> |
|||
<div class="classreturn loginsignup "> |
|||
<div class="ds-in-bl return"><a href="javascript:history.back(-1);"><img src="<?php echo env('APP_URL'); ?>/images/weixin/return.png" alt="返回"></a></div> |
|||
<div class="ds-in-bl tit center"><span>新增收货地址</span></div> |
|||
<div class="ds-in-bl nav_menu"><a href="javascript:void(0);"><img src="<?php echo env('APP_URL'); ?>/images/weixin/class1.png" alt="菜单"></a></div> |
|||
</div> |
|||
<div class="flool tpnavf cl"> |
|||
<div class="nav_list"> |
|||
<ul> |
|||
<a href="index.html"><li><img src="<?php echo env('APP_URL'); ?>/images/weixin/home_icon.png"><p>首页</p></li></a> |
|||
<a href="/Weixin/index.php?m=Store&a=index"><li><img src="<?php echo env('APP_URL'); ?>/images/weixin/brand_icon.png"><p>分类</p></li></a> |
|||
<a href="/Weixin/index.php?m=Cart&a=index"><li><img src="<?php echo env('APP_URL'); ?>/images/weixin/car_icon.png"><p>购物车</p></li></a> |
|||
<a href="/Weixin/index.php?m=User&a=index"><li><img src="<?php echo env('APP_URL'); ?>/images/weixin/center_icon.png"><p>个人中心</p></li></a></ul> |
|||
<div class="cl"></div> |
|||
</div> |
|||
</div> |
|||
<style> |
|||
.adr_add{margin:0 10px;} |
|||
.adr-form-group{margin-top:10px;} |
|||
.adr-form-group input[type=text],.adr-form-group textarea{ |
|||
display: block; |
|||
width: 100%; |
|||
font-size:16px; |
|||
padding:10px; |
|||
color: #777;
|
|||
vertical-align: middle; |
|||
background-color: #fff;
|
|||
background-image: none; |
|||
border: 1px solid #ddd;
|
|||
border-radius: 0;box-sizing:border-box; |
|||
} |
|||
.bottoma{display:block;font-size:18px;padding:10px;color:white;background-color: #f23030;text-align:center;}
|
|||
</style> |
|||
|
|||
<div class="adr_add"> |
|||
<div class="adr-form-group"> |
|||
<label for="doc-ipt-email-1">收货人</label> |
|||
<input name="name" type="text" class="" id="name" placeholder="输入姓名"> |
|||
</div> |
|||
<div class="adr-form-group"> |
|||
<label for="doc-ipt-email-1">手机号码</label> |
|||
<input type="text" name="mobile" class="" id="mobile" placeholder="输入手机号码"> |
|||
</div> |
|||
<div class="adr-form-group"> |
|||
<label for="doc-ipt-email-1">地区</label> |
|||
<input type="text" class="" id="doc-ipt-email-1" placeholder="输入电子邮件"> |
|||
</div> |
|||
<div class="adr-form-group"> |
|||
<label for="doc-ta-1">详细地址</label> |
|||
<textarea name="address" class="" rows="3" id="address"></textarea> |
|||
</div> |
|||
<div class="adr-form-group"> |
|||
<label> |
|||
<input type="checkbox" name="is_default" id="is_default"> 设为默认 |
|||
</label> |
|||
</div> |
|||
</div> |
|||
<a style="margin:10px;" class="bottoma" href="javascript:adr_dosubmit();">提交</a> |
|||
<script type="text/javascript" src="<?php echo env('APP_URL'); ?>/js/layer/mobile/layer.js"></script> |
|||
<script> |
|||
function adr_dosubmit() |
|||
{ |
|||
var access_token = '<?php echo $_SESSION['weixin_user_info']['access_token']; ?>'; |
|||
|
|||
var url = '<?php echo env('APP_API_URL').'/user_address_add'; ?>'; |
|||
var name = $("#name").val(); |
|||
var mobile = $("#mobile").val(); |
|||
var address = $("#address").val(); |
|||
|
|||
var province = '福建'; |
|||
var city = '厦门'; |
|||
var district = '湖里'; |
|||
|
|||
var is_default = 0; |
|||
if(document.getElementById("is_default").checked){is_default = 1;} |
|||
|
|||
$.post(url,{access_token:access_token,name:name,mobile:mobile,address:address,province:province,city:city,district:district,is_default:is_default},function(res) |
|||
{ |
|||
if(res.code==0) |
|||
{ |
|||
//提示
|
|||
layer.open({ |
|||
content: res.msg |
|||
,skin: 'msg' |
|||
,time: 2 //2秒后自动关闭
|
|||
}); |
|||
|
|||
window.history.back(); |
|||
} |
|||
else |
|||
{ |
|||
//提示
|
|||
layer.open({ |
|||
content: res.msg |
|||
,skin: 'msg' |
|||
,time: 2 //2秒后自动关闭
|
|||
}); |
|||
|
|||
var url = "http://www.baidu.com"; |
|||
location.href = url; |
|||
} |
|||
},'json'); |
|||
} |
|||
</script> |
|||
</body></html> |
@ -0,0 +1,111 @@ |
|||
<!DOCTYPE html><html><head><meta http-equiv="content-type" content="text/html;charset=utf-8"/> |
|||
<title>我的收藏</title><meta name="keywords" content="关键词"><meta name="description" content="描述"><meta content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=0" name="viewport"> |
|||
<link href="<?php echo env('APP_URL'); ?>/css/weixin/style.css" type="text/css" rel="stylesheet"> |
|||
<script type="text/javascript" src="<?php echo env('APP_URL'); ?>/js/jquery.min.js"></script> |
|||
<script type="text/javascript" src="<?php echo env('APP_URL'); ?>/js/weixin/mobile.js"></script></head><body> |
|||
<div class="classreturn loginsignup"> |
|||
<div class="ds-in-bl return"><a href="javascript:history.back(-1);"><img src="<?php echo env('APP_URL'); ?>/images/weixin/return.png" alt="返回"></a></div> |
|||
<div class="ds-in-bl tit center"><span>我的收藏</span></div> |
|||
</div> |
|||
|
|||
<script type="text/javascript" src="<?php echo env('APP_URL'); ?>/js/layer/mobile/layer.js"></script> |
|||
<div class="floor"> |
|||
<ul class="goods_list_s cl"> |
|||
<?php if($list){foreach($list as $k=>$v){ ?>
|
|||
<li><a href="<?php echo $v['goods']['goods_detail_url']; ?>"><span class="goods_thumb"><img alt="<?php echo $v['goods']['title']; ?>" src="<?php echo env('APP_URL'); ?><?php echo $v['goods']['litpic']; ?>"></span></a> |
|||
<div class="goods_info"><p class="goods_tit"><?php echo $v['goods']['title']; ?></p>
|
|||
<p class="goods_price">¥<b><?php echo $v['goods']['price']; ?></b></p>
|
|||
<p class="goods_des fr"><span id="del_history" onclick="del('<?php echo $v['goods_id']; ?>')">删除</span></p> |
|||
</div></li> |
|||
<?php }} ?>
|
|||
</ul> |
|||
</div> |
|||
<script> |
|||
$(function(){ |
|||
var ajaxload = false; |
|||
var maxpage = false; |
|||
var startpage = 1; |
|||
var totalpage = <?php echo $totalpage; ?>;
|
|||
|
|||
var tmp_url = window.location.href; |
|||
msg = tmp_url.split("#"); |
|||
tmp_url = msg[0]; |
|||
|
|||
$(window).scroll(function () |
|||
{ |
|||
var listheight = $(".goods_list_s").outerHeight(); |
|||
|
|||
if ($(document).scrollTop() + $(window).height() >= listheight) |
|||
{ |
|||
if(startpage >= totalpage) |
|||
{ |
|||
//$("#submit_bt_one").html("已是最后一页,没有更多数据!");
|
|||
return false; |
|||
} |
|||
|
|||
if(!ajaxload && !maxpage) |
|||
{ |
|||
ajaxload = true; |
|||
//$("#submit_bt_one").html("努力加载中...");
|
|||
var url = tmp_url; |
|||
var nextpage = startpage+1; |
|||
|
|||
$.get(url,{page_ajax:1,page:nextpage},function(res) |
|||
{ |
|||
if(res) |
|||
{ |
|||
$(".goods_list_s").append(res); |
|||
startpage++; |
|||
|
|||
if(startpage >= totalpage) |
|||
{ |
|||
maxpage = true; |
|||
//$("#submit_bt_one").html("已是最后一页,没有更多数据!");
|
|||
} |
|||
else |
|||
{ |
|||
//$("#submit_bt_one").html("点击加载更多");
|
|||
} |
|||
|
|||
ajaxload = false; |
|||
} |
|||
else |
|||
{ |
|||
//$("#submit_bt_one").html("请求失败,请稍候再试!");
|
|||
ajaxload = false; |
|||
} |
|||
},'json'); |
|||
} |
|||
} |
|||
}); |
|||
}); |
|||
|
|||
function del(goods_id) |
|||
{ |
|||
//询问框
|
|||
layer.open({ |
|||
content: '确定要删除吗?' |
|||
,btn: ['确定', '取消'] |
|||
,yes: function(){ |
|||
var url = '<?php echo env('APP_API_URL')."/collect_goods_delete"; ?>'; |
|||
$.post(url,{goods_id:goods_id,access_token:'<?php echo $_SESSION['weixin_user_info']['access_token']; ?>'},function(res) |
|||
{ |
|||
//提示
|
|||
layer.open({ |
|||
content: res.msg |
|||
,skin: 'msg' |
|||
,time: 2 //2秒后自动关闭
|
|||
}); |
|||
|
|||
if(res.code==0) |
|||
{ |
|||
location.reload(); |
|||
} |
|||
},'json'); |
|||
} |
|||
}); |
|||
} |
|||
</script> |
|||
|
|||
@include('weixin.common.footer') |
|||
</body></html> |
@ -1,89 +0,0 @@ |
|||
<!doctype html> |
|||
<html lang="{{ config('app.locale') }}"> |
|||
<head> |
|||
<meta charset="utf-8"> |
|||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> |
|||
<meta name="viewport" content="width=device-width, initial-scale=1"> |
|||
<title>Laravel</title> |
|||
<!-- Styles --> |
|||
<style> |
|||
html, body { |
|||
background-color: #fff;
|
|||
color: #636b6f;
|
|||
font-family: 'Raleway', sans-serif; |
|||
font-weight: 100; |
|||
height: 100vh; |
|||
margin: 0; |
|||
} |
|||
|
|||
.full-height { |
|||
height: 100vh; |
|||
} |
|||
|
|||
.flex-center { |
|||
align-items: center; |
|||
display: flex; |
|||
justify-content: center; |
|||
} |
|||
|
|||
.position-ref { |
|||
position: relative; |
|||
} |
|||
|
|||
.top-right { |
|||
position: absolute; |
|||
right: 10px; |
|||
top: 18px; |
|||
} |
|||
|
|||
.content { |
|||
text-align: center; |
|||
} |
|||
|
|||
.title { |
|||
font-size: 84px; |
|||
} |
|||
|
|||
.links > a { |
|||
color: #636b6f;
|
|||
padding: 0 25px; |
|||
font-size: 12px; |
|||
font-weight: 600; |
|||
letter-spacing: .1rem; |
|||
text-decoration: none; |
|||
text-transform: uppercase; |
|||
} |
|||
|
|||
.m-b-md { |
|||
margin-bottom: 30px; |
|||
} |
|||
</style> |
|||
</head><body> |
|||
<div class="flex-center position-ref full-height"> |
|||
@if (Route::has('login')) |
|||
<div class="top-right links"> |
|||
@if (Auth::check()) |
|||
<a href="{{ url('/home') }}">Home</a> |
|||
@else |
|||
<a href="{{ url('/login') }}">Login</a> |
|||
<a href="{{ url('/register') }}">Register</a> |
|||
@endif |
|||
</div> |
|||
@endif |
|||
|
|||
<div class="content"> |
|||
<div class="title m-b-md"> |
|||
Laravel |
|||
</div> |
|||
|
|||
<div class="links"> |
|||
<a href="https://laravel.com/docs">Documentation</a> |
|||
<a href="https://laracasts.com">Laracasts</a> |
|||
<a href="https://laravel-news.com">News</a> |
|||
<a href="https://forge.laravel.com">Forge</a> |
|||
<a href="https://github.com/laravel/laravel">GitHub</a> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</body> |
|||
</html> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue