瀏覽代碼

修复详情异常

ming 1 年之前
父節點
當前提交
3f66ac2e4b
共有 2 個文件被更改,包括 6 次插入2 次删除
  1. 4 0
      assets/css/style.css
  2. 2 2
      assets/js/commonVue.js

+ 4 - 0
assets/css/style.css

@@ -6700,6 +6700,10 @@
 
 
         
         
                
                
+            }@media(max-width:465px){
+                .feedBackBox .contactInner{
+                    width:312px;  
+                }
             }
             }
 
 
 
 

+ 2 - 2
assets/js/commonVue.js

@@ -130,7 +130,6 @@ var app = new Vue({
     handleColumnData() {
     handleColumnData() {
       this.currentPath = window.location.pathname;
       this.currentPath = window.location.pathname;
       this.columnList = JSON.parse(localStorage.getItem('storeColumnList')).data;
       this.columnList = JSON.parse(localStorage.getItem('storeColumnList')).data;
-      this.requestParams.categoryid = this.columnList[0].id
       console.log(JSON.parse(localStorage.getItem('storeColumnList')))
       console.log(JSON.parse(localStorage.getItem('storeColumnList')))
       console.log(Date.now())
       console.log(Date.now())
 
 
@@ -152,6 +151,7 @@ var app = new Vue({
         if (_this.columnList[i].sname == '/index.html' && (window.location.pathname == '/'||window.location.pathname == '')) {
         if (_this.columnList[i].sname == '/index.html' && (window.location.pathname == '/'||window.location.pathname == '')) {
           getSeoCommon()
           getSeoCommon()
 
 
+          this.requestParams.categoryid = this.columnList[0].id
           _this.modelType = _this.columnList[0].modelType;
           _this.modelType = _this.columnList[0].modelType;
           _this.columnImage = _this.columnList[0].imagePath;
           _this.columnImage = _this.columnList[0].imagePath;
           setTimeout(() => {
           setTimeout(() => {
@@ -271,7 +271,7 @@ var app = new Vue({
           console.log(bb)
           console.log(bb)
           console.log(_this.articalArray[0])
           console.log(_this.articalArray[0])
           _this.articalArrayRelated = bb.filter(obj => obj.title != _this.articalArray[0].title);
           _this.articalArrayRelated = bb.filter(obj => obj.title != _this.articalArray[0].title);
-          // _this.articalArrayRelated = bb
+          _this.articalArrayRelated = bb
           console.log(_this.articalArrayRelated)
           console.log(_this.articalArrayRelated)
         }
         }
         // _this.loading = false;
         // _this.loading = false;