订单管理页面

zhc4dev
暖暖 2 years ago
parent bf194a1dba
commit 6379a3b93f
  1. 3
      ant-design-vue-jeecg/src/permission.js
  2. 6
      ant-design-vue-jeecg/src/views/shopping/components/Header/HeaderView.vue
  3. 2
      ant-design-vue-jeecg/src/views/shopping/pages/gerenzhongxin.vue
  4. 248
      ant-design-vue-jeecg/src/views/shopping/pages/orderDetails.vue
  5. 28
      ant-design-vue-jeecg/src/views/shopping/shopHome.vue

@ -18,7 +18,8 @@ const whiteList = ['/user/login','/userequip/loginequip','/user/sgin',
'/gygl/gyglzxt','/sykesjk/sykcsjkzxt','/scrysjk/scrysjkzxt','/jxrysjk/jxrysjkzxt','/jxzz/jxzzglsjkzxt','/scys/scyssjkzxt',
'/sckz/sckzzxt','/sbjm/sbjmsjkzxt','/jxgl/jxglsjkzxt','/szls/szlssjkzxt','/jxdsj/jxdsjzszxt',
'/ybgl/ybglsjkzxt','/mflgl/mflglsjkzxt','/ddcl/ddclzxt','/ddgl/ddglzxt','/dyhsc/dyhsczxt','/znyy/znyysczhgkzzrj',
'/znyyjc/znyycjrjxt','/gdgz/gdgzzxt','/shopping/shopHome','/shopping/clothType','/shopping/sirendingzhi','/shopping/ClothDetail','/shopping/person','/shopping/person','/shopping/order'] // no redirect whitelist
'/znyyjc/znyycjrjxt','/gdgz/gdgzzxt','/shopping/shopHome','/shopping/clothType','/shopping/sirendingzhi',
'/shopping/ClothDetail','/shopping/person','/shopping/person','/shopping/order'] // no redirect whitelist
router.beforeEach((to, from, next) => {
NProgress.start() // start progress bar

@ -6,10 +6,10 @@
</div>
<div class="middle d-flex">
<router-link to="/shopping/shopHome" :style="{ color: fontColor }">首页</router-link>
<router-link to="/shopping/views/clothType" :style="{ color: fontColor }"
<router-link to="/shopping/clothType" :style="{ color: fontColor }"
>服装类型</router-link
>
<router-link to="/shopping/views/sirendingzhi" :style="{ color: fontColor }"
<router-link to="/shopping/sirendingzhi" :style="{ color: fontColor }"
>私人定制</router-link
>
<router-link to="cytj" :style="{ color: fontColor }"
@ -24,7 +24,7 @@
<!-- <img src="@/assets/sousuo.png" alt="" /> -->
<span class="iconfont icon-sousuo" :style="{ color: fontColor }"></span>
</router-link>
<router-link to="/shopping/views/person">
<router-link to="/shopping/person">
<!-- <img src="@/assets/gerenzhongxin.png" alt=""/> -->
<span
class="iconfont icon-gerenzhongxin"

@ -71,7 +71,7 @@
<span class="f_20 c_1B">总计¥ {{item.total}}</span>
<span class="f_16 c_333 ">
<a class="btn ljzf" v-if="!item.pay">立即支付</a>
<router-link to="/shopping/views/order" class="btn ckxq">查看详情</router-link>
<router-link to="/shopping/order" class="btn ckxq">查看详情</router-link>
</span>
</p>
</div>

@ -11,6 +11,112 @@
<el-breadcrumb-item :to="{ path: '/shopping/views/clothType' }">上级页面</el-breadcrumb-item>
<!-- <el-breadcrumb-item>{{this.$route.query.title }}</el-breadcrumb-item>-->
</el-breadcrumb>
<div class="d-flex">
<div class="l">
<div class="card">
<p class="f_24">已发货</p>
<a class="c_333 f_12">查看发票详情</a>
</div>
<div class="steps">
<a-steps direction="vertical" size="small" :current="1">
<a-step title="提交订单" description="2022-12-24 12:23:00" >
<a-icon slot="icon" type="container" />
</a-step>
<a-step title="已支付" description="This is a description." >
<a-icon slot="icon" type="credit-card" />
</a-step>
<a-step title="待生产" description="This is a description." >
<a-icon slot="icon" type="rocket" />
</a-step>
<a-step title="生产中" description="2022-12-24 12:23:00" >
<a-icon slot="icon" type="reconciliation" />
</a-step>
<a-step title="已发货" description="2022-12-24 12:23:00">
<a-icon slot="icon" type="car" />
</a-step>
<a-step title="已到货" description="This is a description." >
<a-icon slot="icon" type="home" />
</a-step>
<a-step title="已签收" description="This is a description." >
<a-icon slot="icon" type="printer" />
</a-step>
</a-steps>
</div>
</div>
<div class="r">
<div class="title d-flex">
<span class="f_20 c_333">订单号#6789086655<span class="line f_16 c_1B">|</span>2022-08-19</span>
<div class="right d-flex f_16"><span>数量</span><span>价格</span><span>总计</span></div>
</div>
<div class="d-flex orderDiv">
<div class="orderAddr">
<p class="headline">配送至</p>
<p class="text">河南省</p>
<p class="text">驻马店市 驿城区</p>
<p class="text">黄淮学院南校区学府花园26号楼3602</p>
<p class="text">463000</p>
<p class="headline">已发货</p>
<p class="text">您的订单已经发出</p>
<p class="headline">尊享免费配送您的物流单号</p>
<p class="text">4263882788397</p>
</div>
<div class="orderList ">
<div class="item d-flex">
<div class="img">
<img src="../assets/cloth001.png">
</div>
<div class="info">
<p class="f_14 c_333 headline">商品名商品名商品名商品名商品</p>
<p class="d-flex">款式<span>衬衫</span></p>
<p class="d-flex">尺码<span>XXL</span></p>
<p class="d-flex">主辅料<span>主料1辅料2辅料3辅料4辅料5辅料6</span></p>
</div>
<div class="right d-flex f_14 c_333">
<span>1</span><span>2478</span><span>2478</span>
</div>
</div>
<div class="item d-flex">
<div class="img">
<img src="../assets/cloth001.png">
</div>
<div class="info">
<p class="f_14 c_333 headline">商品名商品名商品名商品名商品</p>
<p class="d-flex">款式<span>衬衫</span></p>
<p class="d-flex">尺码<span>XXL</span></p>
<p class="d-flex">主辅料<span>主料1辅料2辅料3辅料4辅料5辅料6</span></p>
</div>
<div class="right d-flex f_14 c_333">
<span>1</span><span>2478</span><span>2478</span>
</div>
</div>
</div>
</div>
<div class="heji">
<p class="d-flex">
<span class="leftSide f_20" style="font-weight:500">购买人</span>
<span class="midst f_16">小记</span>
<span class="rightSide f_16" style="font-weight:500">4,956</span>
</p>
<p class="d-flex">
<span class="leftSide f_18">王贰</span>
<span class="midst f_16">运费总计</span>
<span class="rightSide f_16" style="font-weight:500">0</span>
</p>
<p class="d-flex">
<span class="leftSide"></span>
<span class="midst f_20" style="font-weight:600">总计</span>
<span class="rightSide f_20" style="font-weight:600">4,956</span>
</p>
</div>
</div>
</div>
<div class="btn"><a class="c_fff f_16">返回</a></div>
</div>
</div>
<Footer></Footer>
@ -40,10 +146,152 @@
@import '../assets/common.css';
.orderMain{
background: #F6F6F6;
padding-bottom: 100px;
.jz{
.breadcrumb{
padding-top: 50px;
padding-bottom: 50px;
}
.d-flex{
justify-content: space-between;
.l{
width: 300px;
.card{
width: 300px;
height: 157px;
background: #FFFFFF;
margin-bottom: 20px;
text-align: center;
padding-top: 40px;
.f_24{
color: #C8A985;
margin-bottom: 20px;
}
.f_12{
padding: 5px 14px;
border: 1px solid #333333;
}
}
.steps{
width: 300px;
height: 736px;
background: #FFFFFF;
padding: 32px 55px;
}
}
.r{
width: 1110px;
height: 913px;
background: #FFFFFF;
padding: 54px 48px;
.title{
padding-bottom: 15px;
border-bottom: 1px solid #DADADA;
.line{
margin-left: 10px;
margin-right: 10px;
}
.right{
width: 25%;
span{
color: #C8A985;
}
}
}
.orderDiv{
padding-bottom: 20px;
border-bottom: 1px solid #DADADA;
.orderAddr{
width: 25%;
color: #333;
font-size: 16px;
p{
margin-bottom: 10px;
}
.headline{
font-weight: 500;
color: #C8A985;
margin-top: 30px;
}
.text{
font-weight: 400;
}
}
.orderList{
width: 75%;
.item{
padding-top: 30px;
border-bottom: 1px solid #DADADA;
&:last-of-type{
border: none;
}
.img{
width: 23.33%;
img{
width: 180px;
height: 180px;
}
}
.info{
width: 43.33%;
padding-right: 10px;
.headline{
font-weight: 500;
}
p{
span{
margin-left: 10px;
display: inline-block;
width: 80%;
}
}
}
.right{
width: 33.33%;
font-weight: 500;
}
}
}}
.heji{
padding: 30px 20px;
p{
span{
width: 20%;
color: #333;
}
.leftSide{
text-align: left;
}
.midst{
text-align: center;
}
.rightSide{
text-align: right;
}
}
}
}
}
}
.btn{
a{
display: inline-block;
width: 284px;
height: 56px;
background: #1B1B1B;
line-height: 56px;
}
&:hover{
color: red;
}
text-align: center;
margin-top: 60px;
}
}
</style>

@ -69,15 +69,33 @@
<div class="orange"></div>
<p class="desc">Recommending Commodities</p>
</div>
<el-carousel type="card" arrow="always">
<el-carousel-item v-for="(item, index) in clothList2" :key="index">
<div class="box">
<a-carousel arrows :slides-to-show="3" :slides-to-scroll="1">
<div
slot="prevArrow"
slot-scope="props"
class="custom-slick-arrow"
style="left: 10px;zIndex: 1"
>
<a-icon type="left-circle" />
</div>
<div slot="nextArrow" slot-scope="props" class="custom-slick-arrow" style="right: 10px">
<a-icon type="right-circle" />
</div>
<div class="box" v-for="(item, index) in clothList2" :key="index">
<img :src="item.imgUrl" alt="" />
<p class="box1">CLOTHING NAM</p>
<p class="box2">15分钟前定制</p>
</div>
</el-carousel-item>
</el-carousel>
</a-carousel>
<!-- <el-carousel type="card" arrow="always">-->
<!-- <el-carousel-item v-for="(item, index) in clothList2" :key="index">-->
<!-- <div class="box">-->
<!-- <img :src="item.imgUrl" alt="" />-->
<!-- <p class="box1">CLOTHING NAM</p>-->
<!-- <p class="box2">15分钟前定制</p>-->
<!-- </div>-->
<!-- </el-carousel-item>-->
<!-- </el-carousel>-->
</div>
</div>
<div class="section5">

Loading…
Cancel
Save