sunlupeng 1 year ago
parent
commit
77aa3b4717
4 changed files with 8 additions and 2 deletions
  1. 1 1
      public/index.html
  2. BIN
      src/assets/image/logo.png
  3. 6 0
      src/components/AppHeader.vue
  4. 1 1
      src/views/HomeView/Index.vue

+ 1 - 1
public/index.html

@@ -6,7 +6,7 @@
     <meta name="viewport" content="width=device-width,initial-scale=1.0">
     <link rel="icon" href="<%= BASE_URL %>favicon.ico">
     <!-- <title><%= htmlWebpackPlugin.options.title %></title> -->
-    <title>积分商城</title>
+    <title>商城</title>
   </head>
   <body>
     <noscript>

BIN
src/assets/image/logo.png


+ 6 - 0
src/components/AppHeader.vue

@@ -1,6 +1,7 @@
 <template>
     <div style="position: relative;height: 5rem;">
         <nav class="header-box" :class="{'visible':visible}">
+            <img class="logo" src="./../assets/image/logo.png"/>
             <router-link to="/home">
                 <div class="header-item">
                     <i class="icon-mall-gongnengguanli"></i>功能列表
@@ -29,6 +30,11 @@ export default {
 </script>
 
 <style>
+.logo{
+    position: absolute;
+    left: 120px;
+    width: 110px;
+}
 .header-box {
   display: flex;
   justify-content: center;

+ 1 - 1
src/views/HomeView/Index.vue

@@ -93,7 +93,7 @@ export default{
         let data = {
             limit:10,
             page:this.page,
-            type:0,
+            type:'0,2',
         };
         msgList(data).then(response=>{
             if(this.page==1){