zhh пре 6 година
родитељ
комит
efc924e448

Разлика између датотеке није приказан због своје велике величине
+ 0 - 0
src/icons/svg/sms-ad.svg


+ 1 - 0
src/icons/svg/sms-coupon.svg

@@ -0,0 +1 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1541582872263" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="8264" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24"><defs><style type="text/css"></style></defs><path d="M695.466667 535.466667h-153.6v-78.933334h147.2v-59.733333h-130.133334l108.8-108.8-38.4-38.4-117.333333 117.333333-117.333333-117.333333-38.4 38.4 108.8 108.8h-130.133334v59.733333h147.2v78.933334h-153.6V597.333333h153.6v177.066667h59.733334V597.333333h153.6z" fill="" p-id="8265"></path><path d="M870.4 936.533333H153.6c-53.333333 0-96-38.4-96-87.466666V661.333333c0-14.933333 12.8-25.6 25.6-25.6 68.266667 0 121.6-55.466667 121.6-121.6 0-68.266667-55.466667-121.6-121.6-121.6-14.933333 0-25.6-12.8-25.6-25.6V172.8c0-49.066667 42.666667-87.466667 96-87.466667h716.8c53.333333 0 96 38.4 96 87.466667V362.666667c0 14.933333-12.8 25.6-25.6 25.6-68.266667 0-121.6 55.466667-121.6 121.6 0 68.266667 55.466667 121.6 121.6 121.6 14.933333 0 25.6 12.8 25.6 25.6v189.866666c0 53.333333-42.666667 89.6-96 89.6zM110.933333 684.8v166.4c0 19.2 19.2 34.133333 42.666667 34.133333h716.8c23.466667 0 42.666667-14.933333 42.666667-34.133333v-166.4c-83.2-12.8-149.333333-85.333333-149.333334-172.8s64-160 149.333334-172.8V172.8c0-19.2-19.2-34.133333-42.666667-34.133333H153.6c-23.466667 0-42.666667 14.933333-42.666667 34.133333v166.4c83.2 12.8 149.333333 85.333333 149.333334 172.8s-64 160-149.333334 172.8z" fill="" p-id="8266"></path></svg>

Разлика између датотеке није приказан због своје велике величине
+ 0 - 0
src/icons/svg/sms-hot.svg


Разлика између датотеке није приказан због своје велике величине
+ 0 - 0
src/icons/svg/sms-new.svg


+ 1 - 0
src/icons/svg/sms-subject.svg

@@ -0,0 +1 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1541582717560" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="6519" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24"><defs><style type="text/css"></style></defs><path d="M868.8 98.2H157.3c-32.7 0-59.3 26.5-59.3 59.3V869c0 32.7 26.5 59.3 59.3 59.3h711.5c32.7 0 59.3-26.5 59.3-59.3V157.5c0-32.7-26.6-59.3-59.3-59.3z m-18.5 704.1c0 26.6-21.6 48.2-48.2 48.2H224c-26.6 0-48.2-21.6-48.2-48.2V224.2c0-26.6 21.6-48.2 48.2-48.2h578.1c26.6 0 48.2 21.6 48.2 48.2v578.1z" p-id="6520"></path><path d="M275.9 631.8h118.6v177.9H275.9zM453.7 631.8h118.6v177.9H453.7zM631.6 631.8h118.6v177.9H631.6zM216.6 216.8h592.9V454H216.6z" p-id="6521"></path></svg>

+ 1 - 0
src/icons/svg/sms.svg

@@ -0,0 +1 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1541582420630" class="icon" style="" viewBox="0 0 1031 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3681" xmlns:xlink="http://www.w3.org/1999/xlink" width="24.1640625" height="24"><defs><style type="text/css"></style></defs><path d="M320 275.2C320 275.2 320 275.2 320 275.2l0 467.2c0 0 0 0 0 0l147.2-128C480 614.4 499.2 608 512 608s32 6.4 44.8 12.8l147.2 128c0 0 0 0 0 0L704 281.6c0 0 0 0 0 0L320 281.6z" p-id="3682"></path><path d="M889.6 0 134.4 0C57.6 0 0 57.6 0 134.4l0 761.6C0 966.4 57.6 1024 134.4 1024l761.6 0c70.4 0 134.4-57.6 134.4-134.4L1030.4 134.4C1024 57.6 966.4 0 889.6 0zM768 742.4c0 38.4-32 64-64 64-12.8 0-32-6.4-44.8-19.2L512 672l-147.2 121.6c-25.6 19.2-64 19.2-89.6 0C262.4 780.8 256 761.6 256 742.4L256 281.6c0-38.4 32-64 64-64L704 217.6c38.4 0 64 32 64 64L768 742.4z" p-id="3683"></path></svg>

+ 40 - 0
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}
 ]
 

+ 13 - 0
src/views/sms/advertise/index.vue

@@ -0,0 +1,13 @@
+<template> 
+  <div> {{msg}}</div>
+</template>
+<script>
+  export default {
+    data() {
+      return {msg: '首页广告列表'}
+    }
+  }
+</script>
+<style></style>
+
+

+ 13 - 0
src/views/sms/brand/index.vue

@@ -0,0 +1,13 @@
+<template> 
+  <div> {{msg}}</div>
+</template>
+<script>
+  export default {
+    data() {
+      return {msg: '首页品牌推荐'}
+    }
+  }
+</script>
+<style></style>
+
+

+ 13 - 0
src/views/sms/coupon/index.vue

@@ -0,0 +1,13 @@
+<template> 
+  <div> {{msg}}</div>
+</template>
+<script>
+  export default {
+    data() {
+      return {msg: '优惠券列表'}
+    }
+  }
+</script>
+<style></style>
+
+

+ 13 - 0
src/views/sms/hot/index.vue

@@ -0,0 +1,13 @@
+<template> 
+  <div> {{msg}}</div>
+</template>
+<script>
+  export default {
+    data() {
+      return {msg: '首页人气推荐'}
+    }
+  }
+</script>
+<style></style>
+
+

+ 13 - 0
src/views/sms/new/index.vue

@@ -0,0 +1,13 @@
+<template> 
+  <div> {{msg}}</div>
+</template>
+<script>
+  export default {
+    data() {
+      return {msg: '首页新品推荐'}
+    }
+  }
+</script>
+<style></style>
+
+

+ 13 - 0
src/views/sms/subject/index.vue

@@ -0,0 +1,13 @@
+<template> 
+  <div> {{msg}}</div>
+</template>
+<script>
+  export default {
+    data() {
+      return {msg: '首页专题推荐'}
+    }
+  }
+</script>
+<style></style>
+
+

Неке датотеке нису приказане због велике количине промена