ZLW-PC\Administrator
7 years ago
21 changed files with 639 additions and 159 deletions
-
16app/Common/WechatAuth.php
-
8app/Http/Controllers/Admin/BonusController.php
-
186app/Http/Controllers/Admin/OrderController.php
-
1app/Http/Controllers/Api/OrderController.php
-
12app/Http/Controllers/Home/IndexController.php
-
3app/Http/Model/Goods.php
-
41app/Http/Model/Order.php
-
226lqycms.sql
-
2public/css/admin.css
-
BINpublic/images/weixin/erweima.png
-
BINpublic/images/weixin/wxguide.png
-
39resources/views/admin/bonus/add.blade.php
-
37resources/views/admin/bonus/edit.blade.php
-
30resources/views/admin/bonus/index.blade.php
-
79resources/views/admin/order/detail.blade.php
-
38resources/views/admin/order/index.blade.php
-
27resources/views/home/index/brandList.blade.php
-
2resources/views/weixin/common/wxshare.blade.php
-
33resources/views/weixin/order/orderList.blade.php
-
15resources/views/weixin/常用代码/分享到朋友圈箭头提示.blade.php
-
3routes/web.php
226
lqycms.sql
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
Binary file not shown.
After Width: 430 | Height: 430 | Size: 23 KiB |
Binary file not shown.
After Width: 330 | Height: 228 | Size: 24 KiB |
@ -1,34 +1,32 @@ |
|||
@extends('admin.layouts.app') |
|||
@section('title', '快递列表') |
|||
@section('title', '优惠券列表') |
|||
|
|||
@section('content') |
|||
<h2 class="sub-header">快递管理</h2>[ <a href="<?php echo route('admin_kuaidi_add'); ?>">添加快递</a> ]<br><br> |
|||
<h2 class="sub-header">优惠券管理</h2>[ <a href="<?php echo route('admin_bonus_add'); ?>">添加优惠券</a> ]<br><br> |
|||
|
|||
<form name="listarc"><div class="table-responsive"><table class="table table-hover"> |
|||
<thead><tr class="info"> |
|||
<th>ID</th> |
|||
<th>快递名称</th> |
|||
<th>编码</th> |
|||
<th>名称</th> |
|||
<th>金额</th> |
|||
<th>说明</th> |
|||
<th>电话</th> |
|||
<th>官网</th> |
|||
<th>排序</th> |
|||
<th>是否显示</th> |
|||
<th>满多少使用</th> |
|||
<th>开始领取时间</th> |
|||
<th>结束领取时间</th> |
|||
<th>数量</th> |
|||
<th>状态</th> |
|||
<th>管理</th> |
|||
</tr></thead> |
|||
<tbody> |
|||
<?php if($posts){foreach($posts as $row){ ?><tr>
|
|||
<td><?php echo $row->id; ?></td>
|
|||
<td><?php echo $row->name; ?></td>
|
|||
<td><?php echo $row->code; ?></td>
|
|||
<td><?php echo $row->money; ?></td>
|
|||
<td><?php echo $row->des; ?></td>
|
|||
<td><?php echo $row->tel; ?></td>
|
|||
<td><?php echo $row->website; ?></td>
|
|||
<td><?php echo $row->listorder; ?></td>
|
|||
<td><?php if($row->status==0){echo "是";}else{echo "<font color=red>否</font>";} ?></td>
|
|||
<td><a href="<?php echo route('admin_kuaidi_edit',array('id'=>$row->id)); ?>">修改</a> | <a onclick="delconfirm('<?php echo route('admin_kuaidi_del',array('id'=>$row->id)); ?>')" href="javascript:;">删除</a></td> |
|||
<td><?php echo $row->min_amount; ?></td>
|
|||
<td><?php echo $row->start_time; ?></td>
|
|||
<td><?php echo $row->end_time; ?></td>
|
|||
<td><?php if($row->num==-1){echo "不限";}else{echo "<font color=red>".$row->num."</font>";} ?></td>
|
|||
<td><?php if($row->status==0){echo "可用";}else{echo "<font color=red>不可用</font>";} ?></td>
|
|||
<td><a href="<?php echo route('admin_bonus_edit',array('id'=>$row->id)); ?>">修改</a> | <a onclick="delconfirm('<?php echo route('admin_bonus_del',array('id'=>$row->id)); ?>')" href="javascript:;">删除</a></td> |
|||
</tr><?php }} ?>
|
|||
</tbody></table></div><!-- 表格结束 --></form><!-- 表单结束 --> |
|||
|
|||
|
@ -0,0 +1,27 @@ |
|||
<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8" /> |
|||
<title><?php echo sysconfig('CMS_WEBNAME'); ?></title><meta name="keywords" content="{dede:field.keywords/}" /><meta name="description" content="{dede:field.description function='html2text(@me)'/}" /><link rel="stylesheet" href="<?php echo sysconfig('CMS_BASEHOST'); ?>/css/style.css"></head><body>
|
|||
@include('home.common.header') |
|||
|
|||
<style> |
|||
.brandul{margin-right:-10px;} |
|||
.brandul li{margin: 0 10px 10px 0;-webkit-box-shadow: 0 1px 0 rgba(0,0,0,.1);-moz-box-shadow: 0 1px 0 rgba(0,0,0,.1);box-shadow: 0 1px 0 rgba(0,0,0,.1);float: left;} |
|||
.brandul li a{display: block;overflow: hidden;width: 100%;height: 100%;text-decoration: none;} |
|||
.brandul li .brand-pic{width: 475px;height: 186px;} |
|||
.brandul .brand-des{vertical-align: top;line-height: 26px;height: 26px;padding-left: 10px;border-left: 1px solid #F3F3F3;border-right: 1px solid #F3F3F3;color: #000;}
|
|||
.brandul .brand-des em{color:#e61414;}
|
|||
.brandul .brand-des .fl{margin-left:10px;} |
|||
.brandul .brand-des .fr{margin-right:20px;} |
|||
</style> |
|||
<div class="box" style="margin-bottom:5px;margin-top:10px;"> |
|||
<ul class="brandul"> |
|||
<?php if($brand_list){foreach($brand_list as $k=>$v){ ?>
|
|||
<li> |
|||
<a href="<?php echo route('home_goodslist',array('brand_id'=>$v['id'])); ?>" target="_blank"> |
|||
<img class="brand-pic" src="<?php echo $v['litpic']; ?>"> |
|||
<div class="brand-des"><span class="fl"></span> |
|||
<span class="fr"><em><?php echo $v['click']; ?></em>件已付款 <em>仅剩1天</em></span></div></a>
|
|||
</li><?php }} ?>
|
|||
</ul></div> |
|||
|
|||
@include('home.common.footer') |
|||
</body></html> |
@ -0,0 +1,15 @@ |
|||
<!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> |
|||
<meta name="keywords" content="关键词"><meta name="description" content="描述"></head><body> |
|||
<!-- 分享到朋友圈提示-start --><a href="javascript:;" onclick="document.getElementById('sharewxtip').style.display='block';">分享给朋友</a> |
|||
<div id="sharewxtip" onclick="document.getElementById('sharewxtip').style.display='';" style="display:none;"> |
|||
<img src="<?php echo env('APP_URL'); ?>/images/weixin/wxguide.png"> |
|||
</div> |
|||
<style> |
|||
#sharewxtip {position: fixed;top: 0;left: 0;width: 100%;height: 100%;background: rgba(0, 0, 0, 0.7);display: none;z-index: 20000;}
|
|||
#sharewxtip img {position: fixed;right: 18px;top: 5px;width: 260px;height: 180px;z-index: 999;}
|
|||
</style> |
|||
<!-- 分享到朋友圈提示-end --> |
|||
</body></html> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue