| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117 |
- <?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:112:"/usr/local/develop/php/www/waibao/NN2022090201/NN2022090201/public/../application/shop/view/trade/yuyuecode.html";i:1655800470;}*/ ?>
- <!doctype html>
- <html class="no-js">
- <head>
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="description" content="">
- <meta name="keywords" content="">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <title>我的预约记录</title>
- <!-- Set render engine for 360 browser -->
- <meta name="renderer" content="webkit">
- <!-- No Baidu Siteapp-->
- <meta http-equiv="Cache-Control" content="no-siteapp" />
- <!-- Add to homescreen for Chrome on Android -->
- <meta name="mobile-web-app-capable" content="yes">
- <!-- Add to homescreen for Safari on iOS -->
- <meta name="apple-mobile-web-app-capable" content="yes">
- <meta name="apple-mobile-web-app-status-bar-style" content="black">
- <meta name="apple-mobile-web-app-title" content="积分商城" />
- <!-- Tile icon for Win8 (144x144 + tile color) -->
- <meta name="msapplication-TileColor" content="#0e90d2">
- <link rel="stylesheet" href="/assets/shop/css/amazeui.css">
- <link rel="stylesheet" href="/assets/shop/css/app.css">
- <style type="text/css">
- .am-list-news-default .am-list .am-list-thumb img {width: 86%;}
- .bg1{background:#4c4c4c;}
- </style>
- </head>
- <body>
- <!-- Header -->
- <header data-am-widget="header" class="am-header am-header-default">
- <div class="am-header-left am-header-nav">
- <a href="javascript:void(0);" onclick="javascript:history.back(-1);return false;"><i class="am-header-icon am-icon-angle-left"></i></a>
- </div>
- <h1 class="am-header-title">
- <a href="#title-link">我的预约记录</a>
- </h1>
- </header>
- <!-- Content -->
- <div class="wapper" data-html="tabs">
- <div data-am-widget="tabs" class="am-tabs am-tabs-d2">
- <div class="am-tabs-bd">
- <div class="am-list am-padding-xs">
- <?php if(is_array($list) || $list instanceof \think\Collection || $list instanceof \think\Paginator): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?>
- <div class="am-margin-bottom-xs am-bg-white">
- <div class="am-g am-padding-xs am-text-left ">
- <div class="am-u-sm-6">单号:<?php echo $v['orderNo']; ?></div>
- <div class="am-u-sm-6 am-text-right am-text-danger">预约成功</div>
- </div>
- <div class="am-padding-xs am-text-left">
- <div class="am-g">
- <div class="am-u-sm-3">
- <img src="<?php echo $v['goods']['image']; ?>" width="100%" height="68"/>
- </div>
- <div class="am-u-sm-9 am-padding-left-0">
- <p class="text-line1 am-bold"><?php echo $v['goods']['title']; ?></p>
- <p class="">产品编号:<?php echo $v['goods']['description']; ?></p>
- <div>
- <span class="am-text-danger">售价:¥<?php echo $v['nums']; ?></span>
- <span class="am-fr">×1</span>
- </div>
- </div>
- </div>
- <div class="am-g">
- <div class="am-u-sm-9">预约时间:<?php echo time_format($v['appoint_time'],'Y-m-d H:i:s'); ?></div>
- <div class="am-u-sm-3"><botton class="am-btn am-btn-danger am-round am-text-xs" onclick="tocancel(<?php echo $v['id']; ?>)">取消预约</botton></div>
- </div>
- </div>
- </div>
- <?php endforeach; endif; else: echo "" ;endif; ?>
- </div>
- </div>
- </div>
- </div>
- <!--[if (gte IE 9)|!(IE)]><!-->
- <script src="/assets/index/js/jquery.min.js"></script>
- <!--<![endif]-->
- <!--[if lte IE 8 ]>
- <script src="http://libs.baidu.com/jquery/1.11.3/jquery.min.js"></script>
- <script src="http://cdn.staticfile.org/modernizr/2.8.3/modernizr.js"></script>
- <script src="/assets/index/js/amazeui.ie8polyfill.min.js"></script>
- <![endif]-->
- <script src="/assets/index/js/amazeui.min.js"></script>
- <script src="/assets/index/js/amazeui.dialog.js"></script>
- <script src="/assets/index/js/app.js"></script>
- <script src="/assets/libs/layer/layer.js"></script>
- <script type="text/javascript">
- function tocancel(e)
- {
- layer.confirm("确认取消此预约?",{
- btn: ['确认', '取消']
- }, function () {
- // 按钮1的事件
- jQuery.post("<?php echo url('api/trade/tocancel1'); ?>" ,{id:e},function(data) {
- if(data.code>0)
- {
- layer.msg('操作完成',{time:1000},function(){
- location="<?php echo url('shop/index/index'); ?>";
- });
- }else{
- layer.msg(data.msg);
- }
- });
- }, function(){
- // 按钮2的事件
- });
- }
- </script>
- </body>
- </html>
|