wangxy 2 rokov pred
rodič
commit
c130db5841

+ 3 - 1
components/common/layout/desComp/desWithCode.vue

@@ -33,7 +33,8 @@ export default {
       switch (this.source) {
         case 'exam':
           // 严肃考试
-          result = Object.assign({title, p2}, {topClass: 'kefu'}, {topStyle: 'background: none'}, {imgUrl: this.imgUrl});
+           result = Object.assign({title, p2}, {topClass: 'kefu'}, {topStyle: 'background: none'}, {imgUrl: this.imgUrl});
+           break;
         case 'peixun':
           // 企业培训
           result = Object.assign({
@@ -64,6 +65,7 @@ export default {
             title,
             p2
           }, {topClass: 'kefu_level2'}, {topStyle: `background: url(${this.bg2})`}, {imgUrl: this.imgUrl});
+          break;
       }
       return result;
     },

+ 1 - 1
pages/solution/education.vue

@@ -121,7 +121,7 @@
     </div>
 
     <!--  立即咨询  -->
-    <desWithCode class="education"></desWithCode>
+    <desWithCode source="education"></desWithCode>
 
     <videoDialog :source="curVideo" :visible.sync="visible"></videoDialog>