From a5a81f2a5dc4228dd3200dbaee34ad7d579126d5 Mon Sep 17 00:00:00 2001 From: Sum1Dream <418471657@qq.com> Date: Fri, 28 Oct 2022 09:38:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=AF=9D=E8=B4=B9=E8=AE=A2?= =?UTF-8?q?=E5=8D=95=E5=AF=BC=E5=87=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/admin/order-manage/order-manage-routing.module.ts | 4 +++- src/app/admin/order-manage/order-manage.module.ts | 3 ++- src/app/pipes/order/order-pay-type.pipe.ts | 2 ++ src/styles.scss | 3 +++ 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/app/admin/order-manage/order-manage-routing.module.ts b/src/app/admin/order-manage/order-manage-routing.module.ts index cfe430d..c62cd7a 100644 --- a/src/app/admin/order-manage/order-manage-routing.module.ts +++ b/src/app/admin/order-manage/order-manage-routing.module.ts @@ -3,12 +3,14 @@ import { Routes, RouterModule } from '@angular/router'; import {OrderOilListComponent} from './order-oil/order-oil-list/order-oil-list.component'; import {OrderCouponListComponent} from './order-coupon/order-coupon-list/order-coupon-list.component'; import {OrderIntegralRechargeComponent} from './order-integral-recharge/order-integral-recharge.component'; +import {KfcOrderListComponent} from './kfc-order/kfc-order-list/kfc-order-list.component'; const routes: Routes = [ { path: 'order-oil-list', component: OrderOilListComponent }, { path: 'order-coupon-list', component: OrderCouponListComponent }, - { path: 'order-integral-recharge-list', component: OrderIntegralRechargeComponent} + { path: 'order-integral-recharge-list', component: OrderIntegralRechargeComponent}, + { path: 'order-kfc-list', component: KfcOrderListComponent} ]; @NgModule({ diff --git a/src/app/admin/order-manage/order-manage.module.ts b/src/app/admin/order-manage/order-manage.module.ts index f214fac..03b9753 100644 --- a/src/app/admin/order-manage/order-manage.module.ts +++ b/src/app/admin/order-manage/order-manage.module.ts @@ -9,10 +9,11 @@ import {BreadcrumbModule} from '../../common/breadcrumb/breadcrumb.module'; import {AppCommonModule} from '../../app-common.module'; import { OrderCouponListComponent } from './order-coupon/order-coupon-list/order-coupon-list.component'; import { OrderIntegralRechargeComponent } from './order-integral-recharge/order-integral-recharge.component'; +import { KfcOrderListComponent } from './kfc-order/kfc-order-list/kfc-order-list.component'; @NgModule({ - declarations: [OrderOilListComponent, OrderCouponListComponent, OrderIntegralRechargeComponent], + declarations: [OrderOilListComponent, OrderCouponListComponent, OrderIntegralRechargeComponent, KfcOrderListComponent], imports: [ CommonModule, OrderManageRoutingModule, diff --git a/src/app/pipes/order/order-pay-type.pipe.ts b/src/app/pipes/order/order-pay-type.pipe.ts index a105349..da7bd12 100644 --- a/src/app/pipes/order/order-pay-type.pipe.ts +++ b/src/app/pipes/order/order-pay-type.pipe.ts @@ -21,6 +21,8 @@ export class OrderPayTypePipe implements PipeTransform { return '银联分期'; case 7: return '嗨森逛油卡'; + default: + return '积分抵扣'; } } diff --git a/src/styles.scss b/src/styles.scss index b45d7aa..08e907c 100644 --- a/src/styles.scss +++ b/src/styles.scss @@ -30,6 +30,9 @@ } .search-button{ text-align: center; + a { + margin-left: 8px; + } } .search-button button{ margin-left: 10px;