Browse Source

修改代码找问题

xiaomin 4 years ago
parent
commit
ab7fafe1b6

BIN
node_modules.zip


BIN
src/assets/image/fuwu.jpg


BIN
src/assets/image/fuwu.png


BIN
src/assets/image/houyao.swf


BIN
src/assets/image/shalong.jpg


BIN
src/assets/image/yaoshi.swf


+ 1 - 0
src/components/MyBreadcrumb.vue

@@ -10,6 +10,7 @@
 export default{
   name: 'MyBreadcrumb',
   props: ['level1', 'level2', 'level3','flag'],
+
 }
 </script>
 

+ 1 - 1
src/views/index.vue

@@ -32,7 +32,7 @@
         <div class="fwcont">
           <ul>
             <li v-for="(item, index) in projectService" @click="jumpsecondary(item)">
-              <img src="../assets/image/fuwu.jpg">
+              <img src="../assets/image/fuwu.png">
               <span>{{item.name}}</span>
             </li>
 

+ 5 - 5
src/views/newsDetails.vue

@@ -3,9 +3,9 @@
     <header-nav  :id="id"/>
 
     <div class="newscont">
-      <div>
-        <my-breadcrumb level1="首页" :level2="level2" :level3="level3" :flag="flagtag" style="height: 50px; line-height: 50px;"></my-breadcrumb>
-      </div>
+      <!-- <div>
+        <my-breadcrumb level1="首页" :level2="level2" :level3="level3" style="height: 50px; line-height: 50px;"></my-breadcrumb>
+      </div> -->
       <div class="newsOnly">
         <h1>{{this.formData.title}}</h1>
         <div class="content" v-html="this.formData.content"></div>
@@ -19,14 +19,14 @@
 <script>
 import headerNav from '@/components/header';
 import footerNav from '@/components/footer';
-import myBreadcrumb from '@/components/myBreadcrumb';
+// import myBreadcrumb from '@/components/myBreadcrumb';
 export default {
   data() {
     return {
       id: 11,
       flagtag: false,
       level2: "",
-      level3: "",
+      level3: "新闻详情",
       aid: '',
       formData: {}
     };