diff --git a/src/icons/svg/sms-ad.svg b/src/icons/svg/sms-ad.svg new file mode 100644 index 0000000..6aac9ae --- /dev/null +++ b/src/icons/svg/sms-ad.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/sms-coupon.svg b/src/icons/svg/sms-coupon.svg new file mode 100644 index 0000000..6699dc7 --- /dev/null +++ b/src/icons/svg/sms-coupon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/sms-hot.svg b/src/icons/svg/sms-hot.svg new file mode 100644 index 0000000..2fd46b6 --- /dev/null +++ b/src/icons/svg/sms-hot.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/sms-new.svg b/src/icons/svg/sms-new.svg new file mode 100644 index 0000000..7255c5d --- /dev/null +++ b/src/icons/svg/sms-new.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/sms-subject.svg b/src/icons/svg/sms-subject.svg new file mode 100644 index 0000000..5d02ead --- /dev/null +++ b/src/icons/svg/sms-subject.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/sms.svg b/src/icons/svg/sms.svg new file mode 100644 index 0000000..b113bea --- /dev/null +++ b/src/icons/svg/sms.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/router/index.js b/src/router/index.js index 12006ea..42b40cb 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -194,6 +194,46 @@ export const constantRouterMap = [ } ] }, + { + path:'/sms', + component: Layout, + redirect: '/sms/coupon', + name: 'sms', + meta: {title: '营销', icon: 'sms'}, + children: [ + { + path: 'coupon', + name: 'coupon', + component: () => import('@/views/sms/coupon/index'), + meta: {title: '优惠券列表', icon: 'sms-coupon'} + },{ + path: 'brand', + name: 'homeBrand', + component: () => import('@/views/sms/brand/index'), + meta: {title: '品牌推荐', icon: 'product-brand'} + },{ + path: 'new', + name: 'homeNew', + component: () => import('@/views/sms/new/index'), + meta: {title: '新品推荐', icon: 'sms-new'} + },{ + path: 'hot', + name: 'homeHot', + component: () => import('@/views/sms/hot/index'), + meta: {title: '人气推荐', icon: 'sms-hot'} + },{ + path: 'subject', + name: 'homeSubject', + component: () => import('@/views/sms/subject/index'), + meta: {title: '专题推荐', icon: 'sms-subject'} + },{ + path: 'advertise', + name: 'homeAdvertise', + component: () => import('@/views/sms/advertise/index'), + meta: {title: '广告列表', icon: 'sms-ad'} + } + ] + }, {path: '*', redirect: '/404', hidden: true} ] diff --git a/src/views/sms/advertise/index.vue b/src/views/sms/advertise/index.vue new file mode 100644 index 0000000..53209ec --- /dev/null +++ b/src/views/sms/advertise/index.vue @@ -0,0 +1,13 @@ + + + + + diff --git a/src/views/sms/brand/index.vue b/src/views/sms/brand/index.vue new file mode 100644 index 0000000..fd7f67b --- /dev/null +++ b/src/views/sms/brand/index.vue @@ -0,0 +1,13 @@ + + + + + diff --git a/src/views/sms/coupon/index.vue b/src/views/sms/coupon/index.vue new file mode 100644 index 0000000..65d4bc7 --- /dev/null +++ b/src/views/sms/coupon/index.vue @@ -0,0 +1,13 @@ + + + + + diff --git a/src/views/sms/hot/index.vue b/src/views/sms/hot/index.vue new file mode 100644 index 0000000..72a72a7 --- /dev/null +++ b/src/views/sms/hot/index.vue @@ -0,0 +1,13 @@ + + + + + diff --git a/src/views/sms/new/index.vue b/src/views/sms/new/index.vue new file mode 100644 index 0000000..99876fb --- /dev/null +++ b/src/views/sms/new/index.vue @@ -0,0 +1,13 @@ + + + + + diff --git a/src/views/sms/subject/index.vue b/src/views/sms/subject/index.vue new file mode 100644 index 0000000..ae39e00 --- /dev/null +++ b/src/views/sms/subject/index.vue @@ -0,0 +1,13 @@ + + + + +