Commit ac2d8a59 by 肖康

售后页面

parent 334e1170
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class UserAddressController extends Controller
{
public function index(Request $request)
{
return view('user_address.index');
}
}
......@@ -4,11 +4,20 @@ namespace App\Http\Controllers;
use Illuminate\Http\Request;
class UsersController extends Controller
class UserController extends Controller
{
//
public function index(Request $request)
{
return view('user.index');
}
public function order(Request $request)
{
return view('user.order');
}
public function orderDetail(Request $request)
{
return view('user.orderDetail');
}
}
......@@ -625,7 +625,62 @@
}
}
}
/**商城会员中心头部**/
.mall-header-user-nav{
height:80px;
border-bottom: 1px solid #545C76;
.user-con-nav{
.nav-box{
height:80px;
.menber{
margin-left: 71px;
color:#222;
font-size: 26px;
font-weight: bold;
}
.about-link{
font-size: 16px;
color:#555;
margin-left: 50px;
&:hover{color:#164D9A;}
}
.login-head-box{
flex:0 0 300px;
margin-left: 134px;
a{
font-size: 16px;
color:#555;
&:hover{color:#164D9A;}
}
}
}
}
}
/**商城会员中心左侧导航**/
.user-left-nav{
width: 160px;
min-height: 192px;
background: #FFFFFF;
.li{
width: 160px;
height: 48px;
line-height: 48px;
text-align: center;
font-size: 16px;
color:#555;
cursor: pointer;
display: block;
&.act{
background: #DFEAFA;
color:#174D9A;
font-weight: bold;
}
}
}
/**商城底部**/
.mall-footer {
margin-top: 18px;
......
.orderbox{
.search-shit{
width: 230px;
height: 32px;
background: #FAFAFA;
border: 1px solid #DFEAFA;
border-radius: 8px;
position: relative;
top:-5px;
span.icon{
position: absolute;
right: 0px;
top: -1px;
width: 50px;
height: 32px;
background: #164D9A;
text-align: center;
line-height: 32px;
border-radius: 0px 8px 8px 0px;
cursor: pointer;
i{
font-size: 18px;
color:#fff;
}
}
input{
background: #fff;
display: block;
height: 30px;
line-height: 30px;
color:#333;
padding-left:15px;
width:182px;
}
}
.user-right{
width: 1024px;
min-height: 500px;
background: #FFFFFF;
padding:18px 12px;
.nav{
width:950px;
border-bottom: 1px solid #DFEAFA;
margin-bottom: 16px;
.item{
height:38px;
font-size: 14px;
color:#555;
text-align: center;
box-sizing: border-box;
padding:0px 20px;
cursor: pointer;
.tt{width:80px;}
span{
height:34px;line-height: 38px;
}
&:first-child{line-height: 38px;}
&:last-child{line-height: 38px;}
&.act{
font-weight: bold;
color:#222;
border-bottom: 4px solid #164D9A;
}
}
}
.list-table{
.tr{
margin-bottom: 10px;
.w159{width:159px;}
.w98{width:98px;}
.w168{width:168px;}
.w189{width:189px;}
.w239{width:239px;}
.w150{width:150px;}
.titletr{
height:48px;
background: #DFEAFA;
line-height: 48px;
border-radius: 4px 4px 0px 0px;
font-size: 14px;
color:#555;
padding:0 18px;
line-height: 48px;
.ordersn{
margin:0 40px;
}
.fo{color:#F68332;}
.down{
margin-left: 30px;
color:#555;
cursor: pointer;
&:hover{color:#164D9A;}
}
}
.contr{
background: #F7FAFF;
.th-group{
height:39px;
line-height: 39px;
padding:0 19px;
border-bottom: 1px solid #DFEAFA;
.th{font-size: 14px;color:#333;font-weight: bold;box-sizing: border-box;padding-right: 5px;}
}
.td-group{
padding:12px 19px;
.td{
font-size: 14px;
color:#555;
box-sizing: border-box;padding-right: 5px;
word-break:break-all;
.btnsi{
width: 96px;
height: 30px;
background: #164D9A;
border-radius: 4px;
color:#fff;
font-size: 14px;
line-height: 30px;
text-align: center;
cursor: pointer;
box-sizing: border-box;
margin-bottom: 6px;
&.paybtn{
background: #F68332;
}
&.cancelbtn{
background: #fff;
color:#555;
border:1px solid #DFEAFA;
}
}
}
}
}
}
}
}
}
\ No newline at end of file
.orderbox .search-shit{width:230px;height:32px;background:#FAFAFA;border:1px solid #DFEAFA;border-radius:8px;position:relative;top:-5px}.orderbox .search-shit span.icon{position:absolute;right:0px;top:-1px;width:50px;height:32px;background:#164D9A;text-align:center;line-height:32px;border-radius:0px 8px 8px 0px;cursor:pointer}.orderbox .search-shit span.icon i{font-size:18px;color:#fff}.orderbox .search-shit input{background:#fff;display:block;height:30px;line-height:30px;color:#333;padding-left:15px;width:182px}.orderbox .user-right{width:1024px;min-height:500px;background:#FFFFFF;padding:18px 12px}.orderbox .user-right .nav{width:950px;border-bottom:1px solid #DFEAFA;margin-bottom:16px}.orderbox .user-right .nav .item{height:38px;font-size:14px;color:#555;text-align:center;box-sizing:border-box;padding:0px 20px;cursor:pointer}.orderbox .user-right .nav .item .tt{width:80px}.orderbox .user-right .nav .item span{height:34px;line-height:38px}.orderbox .user-right .nav .item:first-child{line-height:38px}.orderbox .user-right .nav .item:last-child{line-height:38px}.orderbox .user-right .nav .item.act{font-weight:bold;color:#222;border-bottom:4px solid #164D9A}.orderbox .user-right .list-table .tr{margin-bottom:10px}.orderbox .user-right .list-table .tr .w159{width:159px}.orderbox .user-right .list-table .tr .w98{width:98px}.orderbox .user-right .list-table .tr .w168{width:168px}.orderbox .user-right .list-table .tr .w189{width:189px}.orderbox .user-right .list-table .tr .w239{width:239px}.orderbox .user-right .list-table .tr .w150{width:150px}.orderbox .user-right .list-table .tr .titletr{height:48px;background:#DFEAFA;border-radius:4px 4px 0px 0px;font-size:14px;color:#555;padding:0 18px;line-height:48px}.orderbox .user-right .list-table .tr .titletr .ordersn{margin:0 40px}.orderbox .user-right .list-table .tr .titletr .fo{color:#F68332}.orderbox .user-right .list-table .tr .titletr .down{margin-left:30px;color:#555;cursor:pointer}.orderbox .user-right .list-table .tr .titletr .down:hover{color:#164D9A}.orderbox .user-right .list-table .tr .contr{background:#F7FAFF}.orderbox .user-right .list-table .tr .contr .th-group{height:39px;line-height:39px;padding:0 19px;border-bottom:1px solid #DFEAFA}.orderbox .user-right .list-table .tr .contr .th-group .th{font-size:14px;color:#333;font-weight:bold;box-sizing:border-box;padding-right:5px}.orderbox .user-right .list-table .tr .contr .td-group{padding:12px 19px}.orderbox .user-right .list-table .tr .contr .td-group .td{font-size:14px;color:#555;box-sizing:border-box;padding-right:5px;word-break:break-all}.orderbox .user-right .list-table .tr .contr .td-group .td .btnsi{width:96px;height:30px;background:#164D9A;border-radius:4px;color:#fff;font-size:14px;line-height:30px;text-align:center;cursor:pointer;box-sizing:border-box;margin-bottom:6px}.orderbox .user-right .list-table .tr .contr .td-group .td .btnsi.paybtn{background:#F68332}.orderbox .user-right .list-table .tr .contr .td-group .td .btnsi.cancelbtn{background:#fff;color:#555;border:1px solid #DFEAFA}
\ No newline at end of file
.orderdetailbox {
.user-right {
width : 1024px;
min-height: 500px;
background: #FFFFFF;
padding-bottom: 30px;
.head {
height : 22px;
line-height: 22px;
.ordersn {
font-size : 16px;
color : #222;
font-weight: bold;
}
.sale {
color : #174D9A;
font-size : 14px;
margin-left: 60px;
}
padding :0 28px;
padding-top: 28px;
.down {
display : block;
color : #555;
height : 22px;
font-size: 14px;
i {
font-size : 22px;
margin-left: 40px;
}
span {
margin-right: 4px;
position : relative;
top : -3px;
}
cursor: pointer;
&:hover {
color: #174D9A;
}
}
}
.stausbox {
margin-top: 44px;
.stausimg {
width : 940px;
height: 80px;
margin: 0 auto;
&.step1 {
background: url(../../images/user/step1.png) no-repeat;
}
&.step2 {
background: url(../../images/user/step2.png) no-repeat;
}
&.step3 {
background: url(../../images/user/step3.png) no-repeat;
}
&.step4 {
background: url(../../images/user/step4.png) no-repeat;
}
&.step5 {
background: url(../../images/user/step5.png) no-repeat;
}
&.step6 {
background: url(../../images/user/step6.png) no-repeat;
}
}
.staustime {
margin-top: 6px;
color : #666;
font-size : 14px;
div {
width : 72px;
text-align: center;
position : relative;
&.left10 {
left: -10px;
}
&.left8 {
left: -8px;
}
&.left5 {
left: -5px;
}
&.left1 {
left: 5px;
}
}
}
}
.h3 {
font-size : 16px;
font-weight : bold;
color : #222;
padding : 0 28px;
margin-top : 50px;
margin-bottom: 20px;
}
.list-table {
width : 974px;
margin : 0 auto;
border-radius: 0px 0px 8px 8px;
margin-top : 20px;
.w47 {
width: 47px;
}
.w184 {
width: 184px;
}
.w155 {
width: 155px;
}
.w120 {
width: 120px;
}
.w88 {
width: 88px;
}
.w103 {
width: 103px;
}
.w100 {
width: 100px
}
.thead {
height : 38px;
background : #DFEAFA;
line-height : 38px;
border-radius: 8px 8px 0px 0px;
padding : 0 15px;
.th {
font-size : 14px;
color : #333;
font-weight : bold;
box-sizing : border-box;
padding-right: 5px;
}
}
.tbody {
font-size : 14px;
color : #555;
border-radius: 0px 0px 8px 8px;
background : #F7FAFF;
overflow : hidden;
input {
width : 132px;
height : 26px;
background : #FAFAFA;
border : 1px solid #DFEAFA;
border-radius: 4px;
line-height : 26px;
color : #333;
}
.tr {
line-height : 20px;
border-bottom: 1px solid #DFEAFA;
padding : 20px 15px;
box-sizing : border-box;
.td {
word-break : break-all;
box-sizing : border-box;
padding-right: 5px;
}
&:last-child {
border: 0px;
}
&.sxbox {
background: rgba(51, 51, 51, 0.2);
input {
background: none;
border : 1px solid #BCBCBC;
}
}
}
.pdf {
color : #F68332;
font-size: 20px;
}
.sx {
width : 100px;
height : 20px;
border : 1px solid #EE1919;
border-radius: 14px;
color : #EE1919;
font-size : 14px;
text-align : center;
line-height : 20px;
position : relative;
top : 1px;
}
}
}
.bot{
width:974px;
margin:0 auto;
margin-top: 20px;
.info-group{
width:487px;
margin-bottom: 20px;
&.rp{width:974px;}
.ht{font-size: 16px;color:#222;font-weight: bold;margin-bottom: 10px;}
.ml20{margin-left: 30px;}
.hcon{font-size: 14px;color:#555;padding-left:18px;}
p{line-height: 30px;}
}
}
}
.salebox{
}
}
\ No newline at end of file
.orderdetailbox .user-right{width:1024px;min-height:500px;background:#FFFFFF;padding-bottom:30px}.orderdetailbox .user-right .head{height:22px;line-height:22px;padding:0 28px;padding-top:28px}.orderdetailbox .user-right .head .ordersn{font-size:16px;color:#222;font-weight:bold}.orderdetailbox .user-right .head .sale{color:#174D9A;font-size:14px;margin-left:60px}.orderdetailbox .user-right .head .down{display:block;color:#555;height:22px;font-size:14px;cursor:pointer}.orderdetailbox .user-right .head .down i{font-size:22px;margin-left:40px}.orderdetailbox .user-right .head .down span{margin-right:4px;position:relative;top:-3px}.orderdetailbox .user-right .head .down:hover{color:#174D9A}.orderdetailbox .user-right .stausbox{margin-top:44px}.orderdetailbox .user-right .stausbox .stausimg{width:940px;height:80px;margin:0 auto}.orderdetailbox .user-right .stausbox .stausimg.step1{background:url(../../images/user/step1.png) no-repeat}.orderdetailbox .user-right .stausbox .stausimg.step2{background:url(../../images/user/step2.png) no-repeat}.orderdetailbox .user-right .stausbox .stausimg.step3{background:url(../../images/user/step3.png) no-repeat}.orderdetailbox .user-right .stausbox .stausimg.step4{background:url(../../images/user/step4.png) no-repeat}.orderdetailbox .user-right .stausbox .stausimg.step5{background:url(../../images/user/step5.png) no-repeat}.orderdetailbox .user-right .stausbox .stausimg.step6{background:url(../../images/user/step6.png) no-repeat}.orderdetailbox .user-right .stausbox .staustime{margin-top:6px;color:#666;font-size:14px}.orderdetailbox .user-right .stausbox .staustime div{width:72px;text-align:center;position:relative}.orderdetailbox .user-right .stausbox .staustime div.left10{left:-10px}.orderdetailbox .user-right .stausbox .staustime div.left8{left:-8px}.orderdetailbox .user-right .stausbox .staustime div.left5{left:-5px}.orderdetailbox .user-right .stausbox .staustime div.left1{left:5px}.orderdetailbox .user-right .h3{font-size:16px;font-weight:bold;color:#222;padding:0 28px;margin-top:50px;margin-bottom:20px}.orderdetailbox .user-right .list-table{width:974px;margin:0 auto;border-radius:0px 0px 8px 8px;margin-top:20px}.orderdetailbox .user-right .list-table .w47{width:47px}.orderdetailbox .user-right .list-table .w184{width:184px}.orderdetailbox .user-right .list-table .w155{width:155px}.orderdetailbox .user-right .list-table .w120{width:120px}.orderdetailbox .user-right .list-table .w88{width:88px}.orderdetailbox .user-right .list-table .w103{width:103px}.orderdetailbox .user-right .list-table .w100{width:100px}.orderdetailbox .user-right .list-table .thead{height:38px;background:#DFEAFA;line-height:38px;border-radius:8px 8px 0px 0px;padding:0 15px}.orderdetailbox .user-right .list-table .thead .th{font-size:14px;color:#333;font-weight:bold;box-sizing:border-box;padding-right:5px}.orderdetailbox .user-right .list-table .tbody{font-size:14px;color:#555;border-radius:0px 0px 8px 8px;background:#F7FAFF;overflow:hidden}.orderdetailbox .user-right .list-table .tbody input{width:132px;height:26px;background:#FAFAFA;border:1px solid #DFEAFA;border-radius:4px;line-height:26px;color:#333}.orderdetailbox .user-right .list-table .tbody .tr{line-height:20px;border-bottom:1px solid #DFEAFA;padding:20px 15px;box-sizing:border-box}.orderdetailbox .user-right .list-table .tbody .tr .td{word-break:break-all;box-sizing:border-box;padding-right:5px}.orderdetailbox .user-right .list-table .tbody .tr:last-child{border:0px}.orderdetailbox .user-right .list-table .tbody .tr.sxbox{background:rgba(51,51,51,0.2)}.orderdetailbox .user-right .list-table .tbody .tr.sxbox input{background:none;border:1px solid #BCBCBC}.orderdetailbox .user-right .list-table .tbody .pdf{color:#F68332;font-size:20px}.orderdetailbox .user-right .list-table .tbody .sx{width:100px;height:20px;border:1px solid #EE1919;border-radius:14px;color:#EE1919;font-size:14px;text-align:center;line-height:20px;position:relative;top:1px}.orderdetailbox .user-right .bot{width:974px;margin:0 auto;margin-top:20px}.orderdetailbox .user-right .bot .info-group{width:487px;margin-bottom:20px}.orderdetailbox .user-right .bot .info-group.rp{width:974px}.orderdetailbox .user-right .bot .info-group .ht{font-size:16px;color:#222;font-weight:bold;margin-bottom:10px}.orderdetailbox .user-right .bot .info-group .ml20{margin-left:30px}.orderdetailbox .user-right .bot .info-group .hcon{font-size:14px;color:#555;padding-left:18px}.orderdetailbox .user-right .bot .info-group p{line-height:30px}
\ No newline at end of file
<div class="mall-header-user-nav">
<div class="user-con-nav w1200 ">
<div class="nav-box row verCenter" style="height:80px;">
<a href="" class="logo"><img src="{{$public}}/assets/images/common/logo.png" alt=""></a>
<div class="menber">Member Center</div>
<div class="login-head-box yesLogin">
<a href="" class="row">
<span><i class="icon iconfont icon-touxiang"></i></span>
<div class="username">460053411@qq.com</div>
</a>
</div>
<a href="" class="about-link">Contact Us</a>
</div>
</div>
</div>
\ No newline at end of file
@extends('layouts.appMall')
@section('css')
<link rel="stylesheet" href="{{$public}}/assets/css/user/orderdetail.min.css?v={{time()}}">
@endsection
@section('body')
<div class="mallpage">
@include('common.mallHeaderTop')
@include('common.mallUserHeaderNav')
<div class="orderdetailbox w1200 ">
<div class="bread-menu row boxsiz bothSide">
<div>
<a href="">Home</a>
<i>></i>
<a href="">Member Center</a>
<i>></i>
<a href="">My Orders</a>
<i>></i>
<span>Order Details</span>
</div>
</div>
<div class="cons row bothSide">
<div class="user-left-nav boxsiz">
<a class="li act">My Orders</a>
<a class="li">My RFQ</a>
<a class="li">My Account</a>
</div>
<div class="user-right boxsiz detailbox" style="display:none;">
<div class="head row bothSide">
<div class="row">
<span class="ordersn">Order No#:1234567890</span>
<a href="" class="sale">After-sales Record</a>
</div>
<div class="row">
<a class="down">
<i class="icon iconfont icon-xiazai"></i>
<span>PI</span>
</a>
<a class="down">
<i class="icon iconfont icon-xiazai"></i>
<span>CI</span>
</a>
</div>
</div>
<div class="stausbox">
<div class="stausimg step2"></div>
<div class="staustime row avarage">
<div class="left8">2022-10-10 12:00:00</div>
<div class="left10">2022-10-10 12:00:00</div>
<div class="left5">2022-10-10 12:00:00</div>
<div>2022-10-10 12:00:00</div>
<div>2022-10-10 12:00:00</div>
<div class="left1">2022-10-10 12:00:00</div>
</div>
</div>
<div class="h3">Items</div>
<div class="list-table">
<div class="thead row boxsiz">
<div class="th w47">
NO.
</div>
<div class="th w155">Part NO.</div>
<div class="th w184">Details</div>
<div class="th w120">Delivery date</div>
<div class="th w88">Quantity</div>
<div class="th w103">Unit Price</div>
<div class="th w100">Ext. Price</div>
<div class="th">Remark</div>
</div>
<div class="tbody boxsiz">
<div class="tr row">
<div class="td w47">
1
</div>
<div class="td w155">
STTH1L06A
<div class="pdf">
<i class="icon iconfont icon-PDF"></i>
</div>
</div>
<div class="td w184">Manufacturers:Yageo</div>
<div class="td w120">2-5 workdays</div>
<div class="td w88">
100
</div>
<div class="td w103">10000</div>
<div class="td w100">$0.0011</div>
<div class="td">
<input type="text" value="55555">
</div>
</div>
<div class="tr row">
<div class="td w47">
1
</div>
<div class="td w155">
STTH1L06A
<div class="pdf">
<i class="icon iconfont icon-PDF"></i>
</div>
</div>
<div class="td w184">Manufacturers:Yageo</div>
<div class="td w120">2-5 workdays</div>
<div class="td w88">
100
</div>
<div class="td w103">10000</div>
<div class="td w100">$0.0011</div>
<div class="td">
<input type="text" value="55555">
</div>
</div>
</div>
</div>
<div class="bot ">
<div class="row">
<div class="info-group">
<div class="ht">Shipping Address</div>
<div class="hcon">
<p>DHL:1234567890</p>
<p><span>Michael Jordan</span> <span class="ml20">Apple inc</span></p>
<p><span>123456@qq.com</span> <span class="ml20">000-000-000-XXXX</span></p>
<p>79, 105 Center Street, Queens, New York City.</p>
</div>
</div>
<div class="info-group">
<div class="ht">Billing Address</div>
<div class="hcon">
<p>DHL:1234567890</p>
<p><span>Michael Jordan</span> <span class="ml20">Apple inc</span></p>
<p><span>123456@qq.com</span> <span class="ml20">000-000-000-XXXX</span></p>
<p>79, 105 Center Street, Queens, New York City.</p>
</div>
</div>
</div>
<div class="info-group rp">
<div class="ht">Settlement Information</div>
<div class="hcon">
<p>Merchandise Total:$2600.35 <span class="ml20">Shipping:$20</span> <span class="ml20">Payment Surcharge:$20</span></p>
<p>Subtotal(3item):$20</p>
</div>
</div>
</div>
</div>
<div class="user-right boxsiz salebox">
售后服务
</div>
</div>
</div>
@include('common.mallFooter')
</div>
@endsection
@section('js')
<script src="{{$public}}/assets/js/user/orderdetail.js?v={{time()}}"></script>
@endsection
\ No newline at end of file
......@@ -48,3 +48,7 @@ Route::get('/search', 'SearchController@index')->name('search.index');
Route::get('/car', 'CarController@car')->name('car.car');
Route::get('/confirm', 'CarController@confirm')->name('car.confirm');
Route::get('/user/order', 'UserController@order')->name('user.order');
Route::get('/user/orderDetail', 'UserController@orderDetail')->name('user.orderDetail');
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment