Initial commit

This commit is contained in:
易焱
2021-03-13 18:42:01 +08:00
commit d9a3c376d5
3243 changed files with 627198 additions and 0 deletions
@@ -0,0 +1,46 @@
<div class="bottom_txt_list">
<div class="txt_list_title clear">
<span class="fl">订单编号:{$v.order_num}</span>
<span class="fl">下单时间:{:date("Y-m-d H:i:s",$v[addtime])}</span>
<if condition="$v.status_code eq 201">
<a href="{:U('Shop/ShopOrder/deleteOrder',array('order_id'=>$v['order_id']))}" confirm_info="您确定要删除这个订单吗?" class="delete fr ajax_del" title="删除订单"><img src="/Public/skin/images/icon_delete.png"/></a>
</if>
<if condition="$v.is_pay eq 1">
<a href="{:U('Shop/ShopOrder/refundOrder',array('order_id'=>$v['order_id']))}" confirm_info="您确认要申请退款吗?" class="delete fr ajax_del" title="申请退款"><img src="/Public/skin/images/icon_tui.png"/></a>
</if>
</div>
<div class="txt_list_body clear">
<div class="list_body_lister clear">
<div class="list_body_list fl clear list_body_product">
<foreach name="v[shop_order_detail]" item="vv">
<div class="body_list_lister clear">
<div class="body_list_img fl"><img src="{$vv.thumb}" /></div>
<div class="body_list_txt fl">
<dd><a href="/{$vv.catid}/{$vv.product_id}.html" target="_blank">{$vv.title}</a></dd>
<dt>¥{$vv.price}<span>{$vv.quantity}</span></dt>
</div>
</div>
</foreach>
</div>
<div class="list_body_list fl body_product_li">
<dt>¥{$v.pay_money}</dt>
</div>
<div class="list_body_list fl body_product_li">
<dt>{$v.status_name}</dt>
</div>
<div class="list_body_list fl body_product_li">
<if condition="$v.status_code eq 101">
<a href="{:U('Shop/ShopCart/pay',array('order_id'=>$v['order_id']))}" class="body_list_Pay">立即支付</a>
<a href="{:U('Shop/ShopOrder/cancelOrder',array('order_id'=>$v['order_id']))}" confirm_info="您确定要取消这个订单吗?" class="body_list_cancel ajax_del">取消订单</a>
</if>
<if condition="$v.status_code eq 103">
<div>还剩{:auto_receipt_time($v[delivery_time])}</div>
<a href="{:U('Shop/ShopOrder/confirmReceipt',array('order_id'=>$v['order_id']))}" confirm_info="您确定确认收货吗?" class="body_list_Pay ajax_del">确认收货</a>
</if>
<a href="{:U('Shop/ShopOrder/show',array('order_id'=>$v[order_id]))}">订单详情</a>
</div>
</div>
</div>
</div>
@@ -0,0 +1,86 @@
<!DOCTYPE html>
<html class="">
<head>
<meta charset="utf-8">
<meta http-equiv="content-type" content="text/html" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="renderer" content="webkit" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title>{$pagetitle}-{$Think.config.setting.sitename}</title>
<link href="__PUBLIC__/skin/css/animate.min.css" rel="stylesheet">
<link href="__PUBLIC__/skin/css/font-awesome.min.css" rel="stylesheet">
<link href="__PUBLIC__/skin/css/nav.css" rel="stylesheet">
<link href="__PUBLIC__/skin/css/nav2.css" rel="stylesheet">
<link href="__PUBLIC__/skin/css/slick-min.css" type="text/css" rel="stylesheet"/>
<link href="__PUBLIC__/skin/css/global.css" rel="stylesheet">
</head>
<body>
<include file="./Application/Data/templateFile/header.html"/>
<div class="indexProduct UserCenter_nav">
<div class="indexProduct_content clear all">
<a href="/">首页</a>
<span class="fa fa-angle-right"></span>
<a href="#" class="on">在线支付</a>
</div>
</div>
<div class="indexProduct UserCenter shopping Pay">
<div class="indexProduct_content clear all">
<div class="shopping_title clear">
<div class="shopping_title_list fl on">
<dd>1</dd>
<dt>我的购物车</dt>
</div>
<div class="shopping_title_list fl on">
<dd>2</dd>
<dt>确认订单信息</dt>
</div>
<div class="shopping_title_list fl on">
<dd>3</dd>
<dt>支付订单(对公转账)</dt>
</div>
</div>
<form action="{:U('bankPay',array('order_id'=>$order[order_id],'is_submit'=>1))}" method="get" class="form1" onsubmit="return save_form(this,isback)">
<div class="Pay_top">
<div class="Pay_top_title">
<p><b>开户银行:</b>中国银行上海通河路支行 </p>
<p><b>银行账号:</b>441664296740</p>
<p><b>账户名称:</b>上海集锦信息科技有限公司 </p>
<p><b>特别提醒:</b><font style="color_F03A58">付款账户名称请与发票抬头(xxx公司)保持一致,否则无法开具发票</font></p>
</div>
</div>
<div class="Pay_bottom clear">
<div class="Pay_bottom_content fr">
<a onclick="$('.form1').submit()">提交</a>
</div>
</div>
</form>
</div>
</div>
<include file="./Application/Data/templateFile/footer.html"/>
<script type="text/javascript" src="/Public/skin/js/jquery-1.8.3.min.js"></script>
<script src="/Public/skin/js/global.js"></script>
<script src="/Public/skin/js/nav.js"></script>
<script src="/Public/Admin/layer/layer.js"></script>
<script src="/Public/Admin/js/globals.js"></script>
<script src="/Public/skin/js/plugin.js"></script>
<script src="/Public/Home/js/shop.js"></script>
<script src="/Public/skin/js/distpicker.data.js"></script>
<script src="/Public/skin/js/distpicker.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
<script type="text/javascript">
function isback(){
layer.alert("操作成功", { icon: 1, closeBtn: 0 }, function (index) {
window.location.href="/index.php?m=Shop&c=ShopOrder&a=index";
});
}
</script>
</body>
</html>
@@ -0,0 +1,57 @@
<!DOCTYPE html>
<html lang="zh-cmn-Hans">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0,viewport-fit=cover">
<title>跳转提示</title>
<link rel="stylesheet" href="/Public/Home/css/weui.css"/>
</head>
<body ontouchstart>
<div class="page msg_success js_show">
<div class="weui-msg">
<div class="weui-msg__icon-area"><i class="weui-icon-warn weui-icon_msg"></i></div>
<div class="weui-msg__text-area">
<h2 class="weui-msg__title">
<?php if(isset($message)) {?>
<?php echo($message); ?>
<?php }else{?>
<?php echo($error); ?>
<?php }?>
</h2>
</div>
<div class="weui-msg__opr-area">
<p class="weui-btn-area">
<a href="<?php echo($jumpUrl); ?>" id="href" class="weui-btn weui-btn_primary">返回上一页</a>
</p>
</div>
<div class="weui-msg__extra-area">
<div class="weui-footer">
<p class="weui-footer__links">
</p>
<p class="weui-footer__text">Copyright © {:date("Y")}-{:date("Y")+1}</p>
</div>
</div>
</div>
</div>
<script type="text/javascript">
(function(){
var wait = {$waitSecond},href = document.getElementById('href').href;
var interval = setInterval(function(){
var time = --wait;
if(time <= 0) {
location.href = href;
clearInterval(interval);
};
}, 1000);
})();
</script>
</body>
</html>
@@ -0,0 +1,57 @@
<!DOCTYPE html>
<html lang="zh-cmn-Hans">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0,viewport-fit=cover">
<title>操作成功</title>
<link rel="stylesheet" href="/Public/Home/css/weui.css"/>
</head>
<body ontouchstart>
<div class="page msg_success js_show">
<div class="weui-msg">
<div class="weui-msg__icon-area"><i class="weui-icon-success weui-icon_msg"></i></div>
<div class="weui-msg__text-area">
<h2 class="weui-msg__title">
<?php if(isset($message)) {?>
<?php echo($message); ?>
<?php }else{?>
<?php echo($error); ?>
<?php }?>
</h2>
</div>
<div class="weui-msg__opr-area">
<p class="weui-btn-area">
<a href="<?php echo($jumpUrl); ?>" id="href" class="weui-btn weui-btn_primary">继续操作</a>
</p>
</div>
<div class="weui-msg__extra-area">
<div class="weui-footer">
<p class="weui-footer__links">
</p>
<p class="weui-footer__text">Copyright © {:date("Y")}-{:date("Y")+1}</p>
</div>
</div>
</div>
</div>
<script type="text/javascript">
(function(){
var wait ={$waitSecond},href = document.getElementById('href').href;
var interval = setInterval(function(){
var time = --wait;
if(time <= 0) {
location.href = href;
clearInterval(interval);
};
}, 1000);
})();
</script>
</body>
</html>
@@ -0,0 +1,53 @@
<div class="Address NewAddress">
<div class="SelectAddress_title clear">
<dd class="fl">新增收件地址</dd>
<a href="javascript:closeAddAddress();" class="fr NewAddress_close"><img src="/Public/skin/images/close.png" /></a>
</div>
<form action="{:U('Member/Index/address')}" method="post" onsubmit="return save_form(this,thiscallback)">
<div class="NewAddress_content">
<div class="NewAddress_content_list clear">
<dd class="fl">收货人</dd>
<dt class="fl"><input name="username" type="text" placeholder="请输入收件人姓名" /></dt>
</div>
<div class="NewAddress_content_list clear">
<dd class="fl">手机号</dd>
<dt class="fl"><input name="mobile" type="text" placeholder="请输入收件人姓名" /></dt>
</div>
<div class="NewAddress_content_list clear">
<dd class="fl">所在地区</dd>
<dt class="fl">
<div id="distpicker5" >
<select name="province" ></select>
<select name="city" ></select>
<select name="area" ></select>
</div>
</dt>
</div>
<div class="NewAddress_content_list clear">
<dd class="fl">详细地址</dd>
<dt class="fl"><textarea name="detail" placeholder="请输入详细地址"></textarea></dt>
</div>
</div>
<div class="NewAddress_bottom">
<label class="NewAddress_bottom_checkbox">
<input name="sh_status" type="checkbox" value="1"/>
<div class="button">设为默认收货地址</div>
</label>
<label class="NewAddress_bottom_checkbox">
<input name="sp_status" type="checkbox" value="1"/>
<div class="button">设为默认收票地址</div>
</label>
</div>
<div class="NewAddress_submit">
<input type="submit" value="保存" />
<a href="javascript:closeAddAddress()">取消</a>
</div>
</form>
</div>
<script>
function thiscallback(){
closeAddAddress();
closeAddressList();
addressList();
}
</script>
@@ -0,0 +1,28 @@
<div class="bg2"></div>
<div class="Address SelectAddress">
<div class="SelectAddress_title clear">
<dd class="fl">选择地址</dd>
<a href="javascript:closeAddressList();" class="fr"><img src="/Public/skin/images/close.png" /></a>
</div>
<div class="SelectAddress_content">
<div class="SelectAddress_content_title" style="display: none;">您还没有设置收货地址</div>
<div class="SelectAddress_content_txt">
<foreach name="data" item="v">
<div class="radio_SelectAddress clear">
<label class="fl">
<input name="sh_address_id" type="radio" value="{$v.id}">
<div class="button">{$v.province}{$v.city}{$v.district}{$v.detail}-{$v.username}{$v.mobile}</div>
</label>
<div class="radio_SelectAddress_operating fl">
<a href="javascript:editorAddress({$v.id});" class="fl address_edit">编辑</a>
</div>
</div>
</foreach>
</div>
<a href="javascript:addAddress()" class="new new_address">新增地址</a>
</div>
<div class="SelectAddress_bottom clear">
<a href="javascript:setShAddress()" class="save">保存</a>
<a href="javascript:closeAddressList()">取消</a>
</div>
</div>
@@ -0,0 +1,340 @@
<!DOCTYPE html>
<html class="">
<head>
<meta charset="utf-8">
<meta http-equiv="content-type" content="text/html" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="renderer" content="webkit" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title>{$pagetitle}-{$Think.config.setting.sitename}</title>
<link href="__PUBLIC__/skin/css/animate.min.css" rel="stylesheet">
<link href="__PUBLIC__/skin/css/font-awesome.min.css" rel="stylesheet">
<link href="__PUBLIC__/skin/css/nav.css" rel="stylesheet">
<link href="__PUBLIC__/skin/css/nav2.css" rel="stylesheet">
<link href="__PUBLIC__/skin/css/slick-min.css" type="text/css" rel="stylesheet"/>
<link href="__PUBLIC__/skin/css/global.css" rel="stylesheet">
</head>
<body>
<include file="./Application/Data/templateFile/header.html"/>
<div class="indexProduct UserCenter_nav">
<div class="indexProduct_content clear all">
<a href="#">首页</a>
<span class="fa fa-angle-right"></span>
<a href="#" class="on">购物车</a>
</div>
</div>
<div id="app">
<div class="indexProduct UserCenter shopping Order">
<div class="indexProduct_content clear all">
<div class="shopping_title clear">
<div class="shopping_title_list fl on">
<dd>1</dd>
<dt>我的购物车</dt>
</div>
<div class="shopping_title_list fl on">
<dd>2</dd>
<dt>确认订单信息</dt>
</div>
<div class="shopping_title_list fl">
<dd>3</dd>
<dt>支付订单</dt>
</div>
</div>
<form action="{:U('confirmation_order')}" method="post" onsubmit="return save_form(this,isOk)">
<input type="hidden" name="order_invoice_id" v-model="order_invoice_id"/>
<div class="Order_top">
<div class="Order_top_list clear">
<dd class="fl">收件地址</dd>
<dt class="fl">
<input type="hidden" name="order_sh_address_id" value="{$sh_address.id}">
<if condition="$sh_address">
<span id="sh_address_str">{$sh_address.province}{$sh_address.city}{$sh_address.district}{$sh_address.detail}-{$sh_address.username}{$sh_address.mobile}</span>
<else/>
<span id="sh_address_str">请设置收货地址</span>
</if>
<a href="javascript:addressList('sh')">设置</a>
</dt>
</div>
<div class="Order_top_list clear">
<dd class="fl">发票信息</dd>
<dt class="fl">
<if condition="$invoice">
<span id="invoice_str">{$invoice[type]?'增值税专用发票':'增值税普通发票'} 发票抬头:{$invoice.company_name}</span>
<else/>
<span id="invoice_str">请设置发票信息</span>
</if>
<a @click="openFpList" class="InvoiceSetting">设置</a>
</dt>
</div>
<div class="Order_top_list clear" :style="order_invoice_id>0?'display:block':'display:none'">
<dd class="fl">收票地址</dd>
<dt class="fl">
<input type="hidden" name="order_sp_address_id" value="{$sp_address.id}">
<if condition="$sp_address">
<span id="sp_address_str">{$sp_address.province}{$sp_address.city}{$sp_address.district}{$sp_address.detail}-{$sp_address.username}{$sp_address.mobile}</span>
<else/>
<span id="sp_address_str">请设置收票地址</span>
</if>
<a href="javascript:addressList('sp')">设置</a>
</dt>
</div>
</div>
<div class="mygwc cartBox">
<div class="mygwc_title clear">
<div class="mygwc_title_xun fl">商品清单</div>
<div class="mygwc_title_xun fl">商品信息</div>
<div class="mygwc_title_xun fl">单价</div>
<div class="mygwc_title_xun fl">数量</div>
<div class="mygwc_title_xun fl">金额</div>
</div>
<div class="mygwc_wen">
<foreach name="data" item="v">
<?php
$total1=($v[cms_product]['price2']?$v[cms_product]['price2']:$v[cms_product]['price'])*$v[quantity];
$total=$total+$total1;
?>
<div class="mygwc_wen_xun clear order_lists">
<div class="wen_xun_img fl clear">
<div class="xun_img_left fl"><img src="{$v.cms_product.thumb}"></div>
<div class="xun_img_right fl">
<dd>{$v.cms_product.title}</dd>
<dt>
<p>商品型号:{$v.cms_product.type_no}</p>
<p>订货号:{$v.cms_product.type_no}</p>
</dt>
</div>
</div>
<div class="wen_xun_dj fl list_price">
<dd class="price">¥{$v[cms_product]['price2']?$v[cms_product]['price2']:$v[cms_product]['price']} / 个</dd>
<if condition="$v[cms_product]['price2']"><dt><s>¥{$v.cms_product.price} / 个</s></dt></if>
</div>
<div class="wen_xun_sl fl amount_box">{$v[quantity]}</div>
<div class="wen_xun_xj fl list_sum"><span class="sum_price">¥{$total1}</span></div>
</div>
</foreach>
</div>
<div class="Order_bottom clear">
<div class="Order_bottom_left fl">
<dd class="fl">备注:</dd>
<dt class="fl">
<textarea name="remark" placeholder="若您对订单有特殊要求,请在此留言告知我们,我们的客服会在第一时间跟您沟通,尽量满足您的需求!"></textarea>
</dt>
</div>
<div class="Order_bottom_right fr">
<div class="bottom_right_list">
<span>商品总金额:</span>
<i>{:number_format($total,2)}元</i>
</div>
</div>
</div>
<div class="Order_Amounts clear">
<div class="Order_Amounts_content fr clear">
<dd class="fl">应付金额:</dd>
<dt class="fl">{:number_format($total,2)} 元</dt>
</div>
</div>
<div class="Order_submit clear">
<div class="fr">
<div class="Order_submit_content clear">
<a href="{:U('index')}">返回继续购物</a>
<input type="submit" value="提交订单" />
</div>
</div>
</div>
</div>
</form>
</div>
</div>
<div class="fwtk_tan" id="fwtk">
<div class="fwtk_tan_bg"></div>
<div class="sfwtk_tan_wen">
<div class="tan_wen_title">销售合同条款<i class="fa fa-close"></i></div>
<div class="tan_wen_nei"><img src="skin/images/bg116.jpg" /></div>
</div>
</div>
<div class="bg"></div>
<div class="Address SelectInvoice">
<div class="SelectAddress_title clear">
<dd class="fl">选择发票</dd>
<a @click="closeFplist" class="fr SelectInvoice_close"><img src="/Public/skin/images/close.png" /></a>
</div>
<div class="SelectAddress_content">
<div class="SelectAddress_content_title" style="display: none;">您还没有设置收货地址</div>
<div class="SelectAddress_content_txt">
<div class="radio_SelectAddress clear">
<!--<label class="fl">
<template v-if="0==order_invoice_id"><input name="fp_id" type="radio" value="0" checked/></template>
<template v-else><input name="fp_id" type="radio" value="0"/></template>
<div class="button">不需要发票</div>
</label>-->
<div class="radio_SelectAddress_operating fl"></div>
</div>
<template v-for="(item,index) in fpList">
<div class="radio_SelectAddress clear">
<label class="fl">
<template v-if="item.id==order_invoice_id"><input name="fp_id" type="radio" :value="item.id" checked/></template>
<template v-else><input name="fp_id" type="radio" :value="item.id"/></template>
<div class="button">{{item.type==1?'增值税专用发票':'增值税普通发票'}} 发票抬头:{{item.company_name}}</div>
</label>
<div class="radio_SelectAddress_operating fl">
<a @click="openEditorInvoice(item)" class="fl Invoice_edit">编辑</a>
</div>
</div>
</template>
</div>
<a @click="openEditorInvoice({type:0})" class="new new_Invoice" >新增发票</a>
</div>
<div class="SelectAddress_bottom clear">
<a @click="checkFp" class="save">保存</a>
<a @click="closeFplist">取消</a>
</div>
</div>
<div class="Address Invoice NewInvoice">
<div class="SelectAddress_title clear">
<dd class="fl">新增发票</dd>
<a @click="closeEditorInvoice" class="fr"><img src="/Public/skin/images/close.png" /></a>
</div>
<form action="{:U('Member/index/invoice')}" method="post" onsubmit="return save_form(this,function(){app.closeEditorInvoice();app.openFpList();})">
<input type="hidden" name="type" v-model="fpContent.type">
<input type="hidden" name="id" v-model="fpContent.id">
<div class="SelectInvoice_content">
<div class="SelectInvoice_content_title">
<a href="javascript:;" :class="fpContent.type==1?'on':''" onclick="app.fpContent.type=1">增值税专用发票</a>
<a href="javascript:;" :class="fpContent.type!=1?'on':''" onclick="app.fpContent.type=0">增值税普通发票</a>
</div>
<div class="NewAddress_content SelectInvoice_content_txt">
<div class="NewAddress_content_list">
<div class="NewAddress_content_list clear">
<dd class="fl">发票抬头</dd>
<dt class="fl"><input type="text" name="company_name" v-model="fpContent.company_name" placeholder="输入公司名称" /></dt>
</div>
<div class="NewAddress_content_list clear">
<dd class="fl">纳税人识别号</dd>
<dt class="fl"><input type="text" name="taxpayer_number" v-model="fpContent.taxpayer_number" placeholder="输入纳税人识别号" /></dt>
</div>
<div :style="fpContent.type==1?'display:block':'display:none'"><!--根据发票类型判断是否要显示专票的相关字段-->
<div class="NewAddress_content_list clear">
<dd class="fl">注册地址</dd>
<dt class="fl"><input type="text" name="registration_address" v-model="fpContent.registration_address" placeholder="输入单位注册地址" /></dt>
</div>
<div class="NewAddress_content_list clear">
<dd class="fl">注册电话</dd>
<dt class="fl"><input type="text" name="registration_mobile" v-model="fpContent.registration_mobile" placeholder="输入单位注册电话" /></dt>
</div>
<div class="NewAddress_content_list clear">
<dd class="fl">开户银行</dd>
<dt class="fl"><input type="text" name="opening_bank" v-model="fpContent.opening_bank" placeholder="输入开户银行" /></dt>
</div>
<div class="NewAddress_content_list clear">
<dd class="fl">银行账户</dd>
<dt class="fl"><input type="text" name="bank_account" v-model="fpContent.bank_account" placeholder="输入银行账户" /></dt>
</div>
</div>
<div class="NewAddress_bottom">
<label class="NewAddress_bottom_checkbox">
<template v-if="fpContent.status==1"><input name="status" type="checkbox" value="1" checked="true"/></template>
<template v-else><input name="status" value="1" type="checkbox"/></template>
<div class="button">设为默认发票</div>
</label>
</div>
</div>
</div>
<div class="NewAddress_submit">
<input type="submit" value="保存" />
<a @click="closeEditorInvoice">取消</a>
</div>
</div>
</form>
</div>
</div>
<include file="./Application/Data/templateFile/footer.html"/>
<script type="text/javascript" src="/Public/skin/js/jquery-1.8.3.min.js"></script>
<script src="/Public/skin/js/global.js"></script>
<script src="/Public/skin/js/nav.js"></script>
<script src="/Public/Admin/layer/layer.js"></script>
<script src="/Public/Admin/js/globals.js"></script>
<script src="/Public/skin/js/plugin.js"></script>
<script src="/Public/Home/js/shop.js"></script>
<script src="/Public/skin/js/distpicker.data.js"></script>
<script src="/Public/skin/js/distpicker.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
<script type="text/javascript">
//提交表单成功回调函数
function isOk(result){
window.location.href=result;
}
//
var app = new Vue({
el: '#app',
data: {
fpList:[],//发票列表
fpContent:[],//发票详情
order_invoice_id:"{$invoice.id}",//表单里的发票ID
},
methods:{
//发票列表
openFpList:function(){
$.get("/index.php?m=Shop&c=ShopCart&a=fpList",function(result){
if(result.status==1){
app.fpList=result.info;
$(".SelectInvoice").fadeIn();
$(".bg").show();
}
},"json");
},
//关闭发票列表
closeFplist:function(){
$(".SelectInvoice").fadeOut();
$(".bg").hide();
},
//修改发票
openEditorInvoice:function(data){
app.fpContent=data;
$(".NewInvoice").fadeIn();
$(".NewAddress_bg").show();
},
//关闭修改发票
closeEditorInvoice:function(){
$(".NewInvoice").fadeOut();
$(".NewAddress_bg").hide();
},
//最终选择的发票
checkFp:function(){
var fpid=$("input[name='fp_id']:checked").val();
if(fpid){
app.order_invoice_id=fpid;
var fpname=$("input[name='fp_id']:checked").next().html();
$("#invoice_str").html(fpname);
//如果不需要发票,删除收票地址
if(fpid==0){
$("input[name='order_sp_address_id']").val("");
$("#sp_address_str").html("未选择收票地址");
}
}else{
layer.alert("未选择发票");
}
app.closeFplist();
}
}
});
</script>
</body>
</html>
@@ -0,0 +1,60 @@
<div class="Address NewAddress">
<div class="SelectAddress_title clear">
<dd class="fl">新增收件地址</dd>
<a href="javascript:closeAddAddress();" class="fr NewAddress_close"><img src="/Public/skin/images/close.png" /></a>
</div>
<form action="{:U('Member/Index/address')}" method="post" onsubmit="return save_form(this,thiscallback)">
<input type="hidden" name="id" value="{$r.id}">
<div class="NewAddress_content">
<div class="NewAddress_content_list clear">
<dd class="fl">收货人</dd>
<dt class="fl"><input name="username" value="{$r.username}" type="text" placeholder="请输入收件人姓名" /></dt>
</div>
<div class="NewAddress_content_list clear">
<dd class="fl">手机号</dd>
<dt class="fl"><input name="mobile" value="{$r.mobile}" type="text" placeholder="请输入收件人姓名" /></dt>
</div>
<div class="NewAddress_content_list clear">
<dd class="fl">所在地区</dd>
<dt class="fl">
<div id="distpicker5" >
<select name="province" ></select>
<select name="city" ></select>
<select name="area" ></select>
</div>
</dt>
</div>
<div class="NewAddress_content_list clear">
<dd class="fl">详细地址</dd>
<dt class="fl"><textarea name="detail" placeholder="请输入详细地址">{$r.detail}</textarea></dt>
</div>
</div>
<div class="NewAddress_bottom">
<label class="NewAddress_bottom_checkbox">
<input name="sh_status" type="checkbox" value="1" {$r[sh_status]?'checked':''}/>
<div class="button">设为默认收货地址</div>
</label>
<label class="NewAddress_bottom_checkbox">
<input name="sp_status" type="checkbox" value="1" {$r[sp_status]?'checked':''}/>
<div class="button">设为默认收票地址</div>
</label>
</div>
<div class="NewAddress_submit">
<input type="submit" value="保存" />
<a href="javascript:closeAddAddress()">取消</a>
</div>
</form>
</div>
<script>
function thiscallback(){
closeAddAddress();
closeAddressList();
addressList();
}
//
$("#distpicker5").distpicker({
province: "{$r.province}",
city: "{$r.city:}",
district: "{$r.area}"
});
</script>
@@ -0,0 +1,126 @@
<!DOCTYPE html>
<html class="">
<head>
<meta charset="utf-8">
<meta http-equiv="content-type" content="text/html" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="renderer" content="webkit" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title>{$pagetitle}-{$Think.config.setting.sitename}</title>
<link href="__PUBLIC__/skin/css/animate.min.css" rel="stylesheet">
<link href="__PUBLIC__/skin/css/font-awesome.min.css" rel="stylesheet">
<link href="__PUBLIC__/skin/css/nav.css" rel="stylesheet">
<link href="__PUBLIC__/skin/css/nav2.css" rel="stylesheet">
<link href="__PUBLIC__/skin/css/slick-min.css" type="text/css" rel="stylesheet"/>
<link href="__PUBLIC__/skin/css/global.css" rel="stylesheet">
</head>
<body>
<include file="./Application/Data/templateFile/header.html"/>
<div class="indexProduct UserCenter shopping">
<div class="indexProduct_content clear all">
<div class="shopping_title clear">
<div class="shopping_title_list fl on">
<dd>1</dd>
<dt>我的购物车</dt>
</div>
<div class="shopping_title_list fl">
<dd>2</dd>
<dt>确认订单信息</dt>
</div>
<div class="shopping_title_list fl">
<dd>3</dd>
<dt>支付订单</dt>
</div>
</div>
<div class="mygwc cartBox">
<form name="" method="post" action="" onsubmit="return save_form(this,callback)">
<div class="mygwc_title clear">
<div class="mygwc_title_xun fl">
<label class="checkbox_gwc">
<input name="nm" type="checkbox" value="" id="mor" class="whole_check"/>
<div class="title_wen_xun clear">
<dd class="fl"></dd>
</div>
</label>
</div>
<div class="mygwc_title_xun fl">商品信息</div>
<div class="mygwc_title_xun fl">单价</div>
<div class="mygwc_title_xun fl">数量</div>
<div class="mygwc_title_xun fl">小计</div>
<div class="mygwc_title_xun fl">操作</div>
</div>
<div class="mygwc_wen">
<foreach name="data" item="v">
<div class="mygwc_wen_xun clear order_lists" data-id="{$v.id}">
<div class="wen_xun_buttom fl">
<label class="checkbox_gwc">
<input name="ids[]" type="checkbox" value="{$v.id}" id="mor" class="son_check"/>
<div class="title_wen_xun"><dd></dd></div>
</label>
</div>
<div class="wen_xun_img fl clear">
<div class="xun_img_left fl"><a href="{:titleurl($v[cms_product])}" target="_blank"><img src="{$v.cms_product.thumb}"></a></div>
<div class="xun_img_right fl">
<dd><a href="{:titleurl($v[cms_product])}" target="_blank">{$v.cms_product.title}</a></dd>
<dt>
<p>商品型号:{$v.cms_product.type_no}</p>
<p>订货号:{$v.cms_product.type_no}</p>
</dt>
</div>
</div>
<div class="wen_xun_dj fl list_price">
<dd class="price">¥{$v[cms_product]['price2']?$v[cms_product]['price2']:$v[cms_product]['price']} / 个</dd>
<if condition="$v[cms_product]['price2']"><dt><s>¥{$v.cms_product.price} / 个</s></dt></if>
</div>
<div class="wen_xun_sl fl amount_box">
<a href="javascript:;" class="reduce reSty fl" data-id="{$v.id}">-</a>
<input type="text" value="{$v.quantity}" data-id="{$v.id}" class="sum fl">
<a href="javascript:;" class="plus fl" data-id="{$v.id}">+</a>
</div>
<div class="wen_xun_xj fl list_sum"><span class="sum_price">¥{:($v[cms_product]['price2']?$v[cms_product]['price2']:$v[cms_product]['price'])*$v[quantity]}</span></div>
<div class="wen_xun_cz fl">
<a href="javascript:;" class="delBtn" data-id="{$v.id}">删除</a>
</div>
</div>
</foreach>
</div>
<div class="mygwc_jieg clear">
<div class="mygwc_jieg_left fl">
<a href="javascript:history.go(-1)"><img src="/Public/skin/images/bn81.png" />返回继续购物</a>
<a href="javascript:;" id="deleteAll">删除选中商品</a>
</div>
<div class="mygwc_jieg_right fr clear">
<div class="jieg_right_gj totalMoney">总金额(不含运费):<span class="total_text">¥0.00</span></div>
<input type="submit" value="结算" disabled class="fr" />
</div>
</div>
</form>
</div>
</div>
</div>
<section class="model_bg"></section>
<section class="my_model">
<p class="title">删除宝贝<span class="closeModel">X</span></p>
<p>您确认要删除该宝贝吗?</p>
<div class="opBtn"><a href="javascript:;" class="dialog-sure">确定</a><a href="javascript:;" class="dialog-close">关闭</a></div>
</section>
<include file="./Application/Data/templateFile/footer.html"/>
<script type="text/javascript" src="__PUBLIC__/skin/js/jquery-1.8.3.min.js"></script>
<script src="__PUBLIC__/skin/js/global.js"></script>
<script src="__PUBLIC__/skin/js/nav.js"></script>
<script src="/Public/Admin/layer/layer.js"></script>
<script src="/Public/Admin/js/globals.js"></script>
<script>
function callback(data){
window.location.href="{:U('confirmation_order')}";
}
var change_shop_cart_url = "{:U('change_shop_cart')}";
var delete_url = "{:U('delete')}";
</script>
<script src="/Public/Home/js/shop.js"></script>
</body>
</html>
@@ -0,0 +1,92 @@
<!DOCTYPE html>
<html class="">
<head>
<meta charset="utf-8">
<meta http-equiv="content-type" content="text/html" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="renderer" content="webkit" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title>{$pagetitle}-{$Think.config.setting.sitename}</title>
<link href="__PUBLIC__/skin/css/animate.min.css" rel="stylesheet">
<link href="__PUBLIC__/skin/css/font-awesome.min.css" rel="stylesheet">
<link href="__PUBLIC__/skin/css/nav.css" rel="stylesheet">
<link href="__PUBLIC__/skin/css/nav2.css" rel="stylesheet">
<link href="__PUBLIC__/skin/css/slick-min.css" type="text/css" rel="stylesheet"/>
<link href="__PUBLIC__/skin/css/global.css" rel="stylesheet">
</head>
<body>
<include file="./Application/Data/templateFile/header.html"/>
<div class="indexProduct UserCenter_nav">
<div class="indexProduct_content clear all">
<a href="/">首页</a>
<span class="fa fa-angle-right"></span>
<a href="#" class="on">在线支付</a>
</div>
</div>
<div class="indexProduct UserCenter shopping Pay">
<div class="indexProduct_content clear all">
<div class="shopping_title clear">
<div class="shopping_title_list fl on">
<dd>1</dd>
<dt>我的购物车</dt>
</div>
<div class="shopping_title_list fl on">
<dd>2</dd>
<dt>确认订单信息</dt>
</div>
<div class="shopping_title_list fl on">
<dd>3</dd>
<dt>支付订单</dt>
</div>
</div>
<form>
<div class="Pay_top">
<div class="Pay_top_title">
<p>感谢您提交订单,请在24小时内完成支付,我们将在您成功付款后处理此订单。</p>
<p>订单号:{$order.order_num}</p>
</div>
<div class="Pay_top_content clear">
<label class="top_content_list fl">
<input name="payType" type="radio" value="{:U('Pay/aliPay',array('order_id'=>$order[order_id]))}" checked/>
<div class="button"><img src="/Public/skin/images/bg46.jpg" /></div>
</label>
<label class="top_content_list fl">
<input name="payType" type="radio" value="{:U('Pay/bankPay',array('order_id'=>$order[order_id]))}" />
<div class="button"><img src="/Public/skin/images/gdg_tran.jpg" /></div>
</label>
</div>
</div>
<div class="Pay_bottom clear">
<div class="Pay_bottom_content fr">
<dd>支付金额:<span>¥{$order.pay_money}</span></dd>
<a href="javascript:pay()">去支付</a>
</div>
</div>
</form>
</div>
</div>
<include file="./Application/Data/templateFile/footer.html"/>
<script type="text/javascript" src="/Public/skin/js/jquery-1.8.3.min.js"></script>
<script src="/Public/skin/js/global.js"></script>
<script src="/Public/skin/js/nav.js"></script>
<script src="/Public/Admin/layer/layer.js"></script>
<script src="/Public/Admin/js/globals.js"></script>
<script src="/Public/skin/js/plugin.js"></script>
<script src="/Public/Home/js/shop.js"></script>
<script src="/Public/skin/js/distpicker.data.js"></script>
<script src="/Public/skin/js/distpicker.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
<script type="text/javascript">
function pay(){
var url=$("input[name='payType']:checked").val();
window.location.href=url;
}
</script>
</body>
</html>
@@ -0,0 +1,92 @@
<!DOCTYPE html>
<html class="">
<head>
<meta charset="utf-8">
<meta content="text/html" http-equiv="content-type" />
<meta content="IE=edge" http-equiv="X-UA-Compatible">
<meta content="webkit" name="renderer" />
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<title>{$pagetitle}-{$Think.config.setting.sitename}</title>
<link href="__PUBLIC__/skin/css/animate.min.css" rel="stylesheet">
<link href="__PUBLIC__/skin/css/font-awesome.min.css" rel="stylesheet">
<link href="__PUBLIC__/skin/css/nav.css" rel="stylesheet">
<link href="__PUBLIC__/skin/css/nav2.css" rel="stylesheet">
<link href="__PUBLIC__/skin/css/slick-min.css" rel="stylesheet" type="text/css"/>
<link href="__PUBLIC__/skin/css/global.css" rel="stylesheet">
</head>
<body>
<include file="./Application/Data/templateFile/header.html"/>
<div class="indexProduct UserCenter_nav">
<div class="indexProduct_content clear all">
<a href="/">首页</a>
<span class="fa fa-angle-right"></span>
<a href="#" class="on">用户中心</a>
</div>
</div>
<div class="indexProduct UserCenter MyOrder">
<div class="indexProduct_content clear all">
<div class="UserCenter_left fl"><include file="./Application/Member/View/Inc/left.html"/></div>
<div class="UserCenter_right fl">
<div class="MyOrder_title">
<form action="/index.php/Shop/ShopOrder/index.html" mehod="get" class="clear">
<div class="MyOrder_title_list fl">
订单号:<input type="text" name="order_num" value="{$_GET[order_num]}"/>
</div>
<div class="MyOrder_title_list fl">
订货号:<input type="text" name="type_no" value="{$_GET[type_no]}"/>
</div>
<div class="MyOrder_title_list fl">
产品名称:<input type="text" name="title" value="{$_GET[title]}"/>
</div>
<div class="MyOrder_title_submit">
<input type="submit" value="查询" />
</div>
</form>
</div>
<div class="MyOrder_content">
<div class="MyOrder_content_top clear">
<a href="/index.php/Shop/ShopOrder/index.html" class="fl {$_GET[status_code]?'':'on'}">全部订单</a>
<a href="/index.php/Shop/ShopOrder/index.html?status_code=101" class="fl {$_GET[status_code]==101?'on':''}">待付款(<span>{$readyPayCount}</span>)</a>
<a href="/index.php/Shop/ShopOrder/index.html?status_code=102" class="fl {$_GET[status_code]==102?'on':''}">待发货(<span>{$readyDeliveryCount}</span>)</a>
<a href="/index.php/Shop/ShopOrder/index.html?status_code=103" class="fl {$_GET[status_code]==103?'on':''}">待收货(<span>{$readyReceiptCount}</span>)</a>
<a href="/index.php/Shop/ShopOrder/index.html?status_code=104" class="fl {$_GET[status_code]==104?'on':''}">已完成订单(<span>{$ReceiptCount}</span>)</a>
</div>
<div class="MyOrder_content_bottom">
<div class="content_bottom_title clear">
<dd class="fl">商品信息</dd>
<dd class="fl">金额</dd>
<dd class="fl">订单状态</dd>
<dd class="fl">操作</dd>
</div>
<div class="content_bottom_txt">
<foreach name="data" item="v">
<include file="./Application/Shop/View/Inc/orderLi.html"/>
</foreach>
</div>
</div>
<div class="page vertical">{$listpage}</div>
</div>
</div>
</div>
</div>
<include file="./Application/Data/templateFile/footer.html"/>
<script type="text/javascript" src="/Public/skin/js/jquery-1.8.3.min.js"></script>
<script src="/Public/skin/js/global.js"></script>
<script src="/Public/skin/js/nav.js"></script>
<script src="/Public/Admin/layer/layer.js"></script>
<script src="/Public/Admin/js/globals.js"></script>
<script>
$(document).ready(function($){
$(".MyOrder .MyOrder_content .MyOrder_content_bottom .content_bottom_txt .bottom_txt_list").each(function() {
var h_1 = $(this).find(".list_body_product").height();
$(this).find(".body_product_li").height(h_1);
});
});
</script>
</body>
</html>
@@ -0,0 +1,79 @@
<!DOCTYPE html>
<html class="">
<style>
</style>
<head>
<meta charset="utf-8">
<meta content="text/html" http-equiv="content-type" />
<meta content="IE=edge" http-equiv="X-UA-Compatible">
<meta content="webkit" name="renderer" />
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<title>{$pagetitle}</title>
<link href="/Public/skin/css/animate.min.css" rel="stylesheet">
<link href="/Public/skin/css/font-awesome.min.css" rel="stylesheet">
<link href="/Public/skin/css/nav.css" rel="stylesheet">
<link href="/Public/skin/css/nav2.css" rel="stylesheet">
<link href="/Public/skin/css/slick-min.css" rel="stylesheet" type="text/css"/>
<link href="/Public/skin/css/global.css" rel="stylesheet">
</head>
<style>
.Logistics{ background: #f3f3f3; width: 100%; margin: 0 auto; padding: 25px;}
.Logistics .Logistics_title{ font-size: 18px; border-bottom: 1px solid #e7e7e7; margin: 0; padding: 14px 0 14px 20px; position: relative;}
.Logistics .Logistics_content{ margin: 20px 0px; margin-left: 12px; padding: 20px 0px; padding-left: 10px; position: relative;}
.Logistics .Logistics_content:before{
content: "";
width: 2px;
height: 100%;
background: #dcdcdc;
display: inline-block;
position: absolute;
top: 0px;
}
.Logistics .Logistics_content .Logistics_content_list{ position: relative; padding-left: 12px; margin-bottom: 15px;}
.Logistics .Logistics_content .Logistics_content_list dd{ width: 20%; font-size: 13px; font-weight: bolder; color: #666; line-height: 24px;}
.Logistics .Logistics_content .Logistics_content_list dt{ font-size: 13px; color: #333; width: 77%; margin-left: 3%; line-height: 24px;}
.Logistics .Logistics_content .Logistics_content_list:before{
content: '';
position: absolute;
border: 3px solid #f3f3f3;
background-color: #d9d9d9;
display: inline-block;
width: 5px;
height: 5px;
border-radius: 5px;
left: -5px;
top: 5px;
}
.Logistics .Logistics_content .Logistics_content_list:first-child:before{ background: #b8182c;}
.Logistics .Logistics_content .Logistics_content_list:first-child dd{ color: #b8182c;}
</style>
<body>
<div class="Logistics">
<div class="Logistics_content">
<foreach name="data" item="v" >
<div class="Logistics_content_list clear">
<dd class="fl">{$v.time}</dd>
<dt class="fl">{$v.context}</dt>
</div>
</foreach>
</div>
</div>
<script type="text/javascript" src="/Public/skin/js/jquery-1.8.3.min.js"></script>
<script src="/Public/Admin/layer/layer.js"></script>
<script src="/Public/Admin/js/globals.js"></script>
<script language="javascript">
$(function(){
//改变高度
var index = parent.layer.getFrameIndex(window.name); //获取窗口索引
parent.layer.iframeAuto(index);
var title=$("title").html();
parent.$(".layui-layer-title").html(title);
})
</script>
</body>
</html>
@@ -0,0 +1,217 @@
<!DOCTYPE html>
<html class="">
<head>
<meta charset="utf-8">
<meta content="text/html" http-equiv="content-type" />
<meta content="IE=edge" http-equiv="X-UA-Compatible">
<meta content="webkit" name="renderer" />
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<title>{$pagetitle}-{$Think.config.setting.sitename}</title>
<link href="__PUBLIC__/skin/css/animate.min.css" rel="stylesheet">
<link href="__PUBLIC__/skin/css/font-awesome.min.css" rel="stylesheet">
<link href="__PUBLIC__/skin/css/nav.css" rel="stylesheet">
<link href="__PUBLIC__/skin/css/nav2.css" rel="stylesheet">
<link href="__PUBLIC__/skin/css/slick-min.css" rel="stylesheet" type="text/css"/>
<link href="__PUBLIC__/skin/css/global.css" rel="stylesheet">
</head>
<body> <include file="./Application/Data/templateFile/header.html"/>
<div class="indexProduct UserCenter_nav">
<div class="indexProduct_content clear all">
<a href="#">首页</a>
<span class="fa fa-angle-right"></span>
<a href="#" class="on">订单详情</a>
</div>
</div>
<style>
.MyOrder .MyOrder_content .MyOrder_content_bottom .content_bottom_txt .bottom_txt_list .txt_list_body .list_body_list .body_list_lister{ margin-bottom:7px;}
.MyOrder .MyOrder_content .MyOrder_content_bottom .content_bottom_txt .bottom_txt_list .txt_list_body .list_body_list .body_list_lister:last-child{ margin-bottom:0px;}
.MyOrder .MyOrder_content .MyOrder_content_bottom .content_bottom_txt .bottom_txt_list .txt_list_body .list_body_list .body_list_lister .body_list_txt dd a{ display:inline-block; width:100%;}
.Order_details .indexProduct_content{ background: none;}
.Order_details .mygwc{ width: 81%; background: #fff; padding: 20px; border: 1px solid #e5e5e5; border-left: 0px; padding-top: 0px;}
.Order_details .Safety_title{ margin-bottom: 30px;}
.Order_details .UserCenter_left{ width: 19%;}
.Order_details .Order_bottom{ padding: 0px;}
.Order_details .UserCenter_right{ padding:0px; width:100%; border:0px;}
.Order_details .MyOrder_content .MyOrder_content_bottom .content_bottom_title dd:nth-child(1){ width:80%;}
.Order_details .MyOrder_content .MyOrder_content_bottom .content_bottom_title dd:nth-child(2){ width:20%; text-align:center;}
.Order_details .MyOrder_content .MyOrder_content_bottom .content_bottom_txt .bottom_txt_list .txt_list_body .list_body_list:nth-child(1){ width:80%;}
.Order_details .MyOrder_content .MyOrder_content_bottom .content_bottom_txt .bottom_txt_list .txt_list_body .list_body_list:nth-child(2){ width:20%;}
.Order_details .MyOrder_content .MyOrder_content_bottom .content_bottom_txt .bottom_txt_list .txt_list_body .list_body_list .body_list_img{ width:100px; margin-right:15px;}
.Order_details .UserCenter_right{ min-height:auto; }
.Order_details .Order_bottom .Order_bottom_right{ margin-top:20px;}
.Order_details .Order_details_top .details_top_list{ border:1px solid #dcdcdc; padding:30px 0px; margin-bottom:20px;}
.Order_details .Order_details_top .details_top_list:last-child{ margin-bottom:0px;}
.Order_details .Order_details_top .details_top_list .top_list_lister{ line-height:24px; width:33.333%; padding:0px 35px; position:relative;}
.Order_details .Order_details_top .details_top_list .top_list_lister:before{ content:""; position:absolute; display:inline-block; height:122px; background:#dcdcdc; right:0; top:3%; width:1px;}
.Order_details .Order_details_top .details_top_list .top_list_lister:last-child:before{ display:none;}
.Order_details .Order_details_top .details_top_list .top_list_lister dd{ color:#000; font-size:14px;}
.Order_details .Order_details_top .details_top_list .top_list_lister dd span{ color:#b8182c; font-size:16px;}
.Order_details .Order_details_top .details_top_list .top_list_lister dt p{ color:#999; font-size:12px;}
.Order_details .Order_details_top .details_top_list .top_list_lister a{ font-size:14px; color:#b8182c; display:inline-block; border:1px solid #b8182c; padding:3px 15px; border-radius:5px; margin-top:25px;}
.Order_details .Order_details_top .details_top_list:nth-child(2) .top_list_lister:before{ height:210px;}
.Order_details .MyOrder_content .MyOrder_content_bottom .content_bottom_txt .bottom_txt_list .txt_list_body .list_body_list:last-child{ border-right: 0px;}
</style>
<div class="indexProduct UserCenter Safety shopping MyOrder Order Order_details">
<div class="indexProduct_content clear all">
<div class="UserCenter_left fl"><include file="./Application/Member/View/Inc/left.html"/></div>
<div class="mygwc cartBox fr">
<div class="Safety_title">订单详情</div>
<div class="Order_bottom clear">
<div class="Order_details_top">
<div class="details_top_list clear">
<div class="top_list_lister fl">
<dd>订单状态:<span>{$r.status_name}</span></dd>
<dt>
<p>订单号:<span>{$r.order_num}</span></p>
<p>下单时间:{:date("Y-m-d H:i:s",$r[addtime])}</p>
<p>订单备注:{$r[remark]?$r[remark]:'-'}</p>
</dt>
</div>
<div class="top_list_lister fl">
<dd>订单收货信息</dd>
<dt>
<p>收货人:{$r.shop_order_address.username} {$r.shop_order_address.mobile}</p>
<p>收货地址:{$r.shop_order_address.province} {$r.shop_order_address.city} {$r.shop_order_address.area} {$r.shop_order_address.detail}</p>
</dt>
</div>
<div class="top_list_lister fl">
<dd>订单物流信息</dd>
<dt>
<p>物流公司:{$r[shop_order_address][express_company]?$r[shop_order_address][express_company]:'-'}</p>
<p>物流单号:{$r[shop_order_address][express_company_num]?$r[shop_order_address][express_company_num]:'-'}</p>
</dt>
<?php
if($r[shop_order_address][express_company_num]){
$com=$r['shop_order_address'][express_company_code];
$num=$r['shop_order_address'][express_company_num];
?>
<a href="{:U('kuaidi',array('com'=>$com,'num'=>$num))}" class="iframe" >物流跟踪</a>
<?php
}
?>
</div>
</div>
<?php
if($r[shop_order_invoice]){
?>
<div class="details_top_list clear">
<div class="top_list_lister fl">
<dd>发票信息:</dd>
<dt>
<p>发票类型:<span>{$r[shop_order_invoice][type]?'增值税专用发票':'增值税普通发票'}</span></p>
<p>公司名称:{$r.shop_order_invoice.company_name}</p>
<p>纳税人识别号:{$r.shop_order_invoice.taxpayer_number}</p>
<?php
if($r[shop_order_invoice][type]){
?>
<p>注册地址:{$r.shop_order_invoice.registration_address}</p>
<p>注册电话:{$r.shop_order_invoice.registration_mobile}</p>
<p>开户银行:{$r.shop_order_invoice.opening_bank}</p>
<p>银行招账户:{$r.shop_order_invoice.bank_account}</p>
<?php
}
?>
</dt>
</div>
<div class="top_list_lister fl">
<dd>发票收货信息</dd>
<dt>
<p>收货人:{$r.shop_order_invoice_address.username} {$r.shop_order_invoice_address.mobile}</p>
<p>收货地址:{$r.shop_order_invoice_address.province} {$r.shop_order_invoice_address.city} {$r.shop_order_invoice_address.area} {$r.shop_order_invoice_address.detail}</p>
</dt>
</div>
<div class="top_list_lister fl">
<dd>订单物流信息</dd>
<dt>
<p>物流公司:{$r[shop_order_invoice_address][express_company]?$r[shop_order_invoice_address][express_company]:'-'}</p>
<p>物流单号:{$r[shop_order_invoice_address][express_company_num]?$r[shop_order_invoice_address][express_company_num]:'-'}</p>
</dt>
<?php
if($r[shop_order_invoice_address][express_company_num]){
$com=$r['shop_order_invoice_address'][express_company_code];
$num=$r['shop_order_invoice_address'][express_company_num];
?>
<a href="{:U('kuaidi',array('com'=>$com,'num'=>$num))}" class="iframe" >物流跟踪</a>
<?php
}
?>
</div>
</div>
<?php
}
?>
</div>
<div class="UserCenter_right fl">
<div class="MyOrder_content">
<div class="MyOrder_content_bottom">
<div class="content_bottom_title clear">
<dd class="fl">商品信息</dd>
<dd class="fl">金额</dd>
</div>
<div class="content_bottom_txt">
<div class="bottom_txt_list">
<div class="txt_list_title">
<span>订单编号:{$r.order_num}</span>
<span>下单时间:{:date("Y-m-d H:i:s",$r[addtime])}</span>
</div>
<div class="txt_list_body clear">
<div class="list_body_lister clear">
<div class="list_body_list fl clear list_body_product">
<foreach name="r[shop_order_detail]" item="vv">
<div class="body_list_lister clear">
<div class="body_list_img fl"><img src="{$vv.thumb}" /></div>
<div class="body_list_txt fl">
<dd><a href="/{$vv.catid}/{$vv.product_id}.html" target="_blank">{$vv.title}</a></dd>
<dt>¥{$vv.price}<span>{$vv.quantity}</span></dt>
</div>
</div>
</foreach>
</div>
<div class="list_body_list fl body_product_li">
<dt>¥{$r.money}</dt>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="Order_bottom_right fr">
<div class="bottom_right_list">
<span>商品总金额:</span>
<i>{$r.money} 元</i>
</div>
<div class="bottom_right_list">
</div>
</div>
</div>
<div class="Order_Amounts clear">
<div class="Order_Amounts_content fr clear">
<dd class="fl">应付金额:</dd>
<dt class="fl">{$r.pay_money}元</dt>
</div>
</div>
</div>
</div>
</div>
<include file="./Application/Data/templateFile/footer.html"/>
<script type="text/javascript" src="__PUBLIC__/skin/js/jquery-1.8.3.min.js"></script>
<script src="/Public/Admin/layer/layer.js"></script>
<script src="/Public/Admin/js/globals.js"></script>
</body>
</html>