|
|
@@ -1,19 +1,153 @@
|
|
|
<template>
|
|
|
- <div class="app-content"></div>
|
|
|
+ <div class="app-content">
|
|
|
+ <!-- order-top -->
|
|
|
+ <div class="module-com order-wrap">
|
|
|
+ <div class="order-det">
|
|
|
+ <div>
|
|
|
+ <div class="label">订单号</div>
|
|
|
+ <div>201911232495</div>
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ <div class="label">下单时间</div>
|
|
|
+ <div>2019-10-10 20:00:00</div>
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ <div class="label">商品名称</div>
|
|
|
+ <div>--</div>
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ <div class="label">金额</div>
|
|
|
+ <div>¥390</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="order-img">
|
|
|
+ <img src="../../../static/images/order/default.png" alt mode="widthFix" />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <!-- order-bottom -->
|
|
|
+ <div class="module-com order-axis">
|
|
|
+ <!-- 列表 -->
|
|
|
+ <!-- 选择订单 -->
|
|
|
+ <block v-if="showIndex == 0">
|
|
|
+ <sel-order />
|
|
|
+ </block>
|
|
|
+ <!-- 选择发货 -->
|
|
|
+ <block v-if="showIndex == 1">
|
|
|
+ <sel-ship />
|
|
|
+ </block>
|
|
|
+ <!-- 选择自提 -->
|
|
|
+ <block v-if="showIndex == 2">
|
|
|
+ <sel-mention />
|
|
|
+ </block>
|
|
|
+ <!-- 快递送待接单 -->
|
|
|
+ <block v-if="showIndex == 3">
|
|
|
+ <sel-pending-order />
|
|
|
+ </block>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-import TimeAxis from '@/pages/admin/components/plugin/time-axis'
|
|
|
-import TimeaxisItem from '@/pages/admin/components/plugin/timeaxis-item'
|
|
|
+// 选择订单
|
|
|
+import SelOrder from './components/sel-order'
|
|
|
+// 选择发货
|
|
|
+import SelShip from './components/sel-ship'
|
|
|
+// 选择自提
|
|
|
+import SelMention from './components/sel-mention'
|
|
|
+// 快递送待接单
|
|
|
+import SelPendingOrder from './components/sel-pending-order'
|
|
|
export default {
|
|
|
name: 'admin-ship',
|
|
|
components: {
|
|
|
- TimeAxis,
|
|
|
- TimeaxisItem
|
|
|
+ SelOrder,
|
|
|
+ SelShip,
|
|
|
+ SelMention,
|
|
|
+ SelPendingOrder
|
|
|
+ },
|
|
|
+ data() {
|
|
|
+ return {
|
|
|
+ showIndex: 3
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
-
|
|
|
+ .app-content {
|
|
|
+ background-color: #fff;
|
|
|
+ }
|
|
|
+ // 公共
|
|
|
+ .module-com {
|
|
|
+ padding: 30px;
|
|
|
+ // margin-bottom: 20px;
|
|
|
+ }
|
|
|
+ // 订单信息
|
|
|
+ .order-wrap {
|
|
|
+ @include disFlex(center, space-between);
|
|
|
+ border-bottom: 20px solid $backColor;
|
|
|
+ .order-det {
|
|
|
+ font-size: 28px;
|
|
|
+ & > div {
|
|
|
+ @include disFlex(center, flex-start);
|
|
|
+ margin-top: 2px;
|
|
|
+ .label {
|
|
|
+ width: 140px;
|
|
|
+ color: $fontColor2;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .order-img {
|
|
|
+ width: 146px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ // 订单详情
|
|
|
+ .order-axis {
|
|
|
+ padding-top: 50px;
|
|
|
+ // 公共
|
|
|
+ /deep/.axis-list {
|
|
|
+ margin-bottom: 50px;
|
|
|
+ .axis-slot-wrap {
|
|
|
+ position: relative;
|
|
|
+ top: -14px;
|
|
|
+ .axis-title {
|
|
|
+ font-size: 30px;
|
|
|
+ font-weight: 600;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .btn-wrap-com {
|
|
|
+ .admin-button-com {
|
|
|
+ width: 120px;
|
|
|
+ margin-left: 20px;
|
|
|
+ &:first-child {
|
|
|
+ margin-left: 0;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ // 首个圆点
|
|
|
+ /deep/.axis-first {
|
|
|
+ .node-big {
|
|
|
+ position: absolute;
|
|
|
+ top: 0;
|
|
|
+ left: -20px;
|
|
|
+ transform-origin: 0;
|
|
|
+ transform: translateX(-50%);
|
|
|
+ width: 32px !important;
|
|
|
+ height: 32px !important;
|
|
|
+ border-radius: 50%;
|
|
|
+ background: #FDC3B8;
|
|
|
+ }
|
|
|
+ .node-small {
|
|
|
+ position: absolute;
|
|
|
+ top: 8px;
|
|
|
+ left: 16px;
|
|
|
+ transform-origin: 0;
|
|
|
+ transform: translateX(-50%);
|
|
|
+ background: #f51608;
|
|
|
+ width: 16px !important;
|
|
|
+ height: 16px !important;
|
|
|
+ border-radius: 50%;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
</style>
|