panhui 5 лет назад
Родитель
Сommit
d77679b284

+ 1 - 1
project.config.json

@@ -83,7 +83,7 @@
                 {
                     "id": -1,
                     "name": "展商详情",
-                    "pathName": "pagesVendor/Connect",
+                    "pathName": "pagesVendor/Detail",
                     "query": "id=1421",
                     "scene": null
                 },

+ 1 - 0
src/components/vendor/Application.vue

@@ -70,6 +70,7 @@ export default {
         display: flex;
         align-items: center;
         justify-content: center;
+        background-color: #00000044;
     }
 }
 </style>

+ 1 - 1
src/pages/Classify.vue

@@ -70,7 +70,7 @@
             </scroll-view>
         </div>
 
-        <robot id="robot" @chatAdmin="chatAdmin"/>
+        <robot id="robot" @chatAdmin="chatAdmin" />
     </div>
 </template>
 <script>

+ 16 - 11
src/pages/Home.vue

@@ -82,15 +82,16 @@
                         @click="navigateTo('/pagesNews/News', false)"
                     />
                 </van-grid>
-
-                <van-image
-                    width="100%"
-                    height="90px"
-                    class="pathImg"
-                    :radius="4"
-                    src="http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/home_img_3dimt.jpg"
-                    @click="navigateTo('/pagesHome/ShowView', false)"
-                />
+                <div class="pathImg">
+                    <van-image
+                        width="100%"
+                        height="90px"
+                        :radius="4"
+                        v-if="tDurl && tDurl !== 'null'"
+                        src="http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/home_img_3dimt.jpg"
+                        @click="navigateTo('/pagesHome/ShowView', false)"
+                    />
+                </div>
             </div>
             <div class="hot" v-if="hotProductsList.length > 0">
                 <div class="title">
@@ -266,7 +267,8 @@ export default {
             brands: '',
             url: '/product/show',
             tagIds: '',
-            applicationField: ''
+            applicationField: '',
+            tDurl: ''
         };
     },
     components: {
@@ -356,6 +358,9 @@ export default {
         }
     },
     onLoad() {
+        this.$http.get('/sysConfig/get/ThreeD_URL').then(res => {
+            this.tDurl = res.value;
+        });
         getBanner('HOME').then(res => {
             console.log(res);
             this.banners = res;
@@ -563,8 +568,8 @@ export default {
 }
 
 .pathImg {
+    margin-top: 30px;
     .van-image {
-        margin-top: 30px;
         margin-bottom: 45px;
     }
 }

+ 2 - 1
src/pagesHome/Brand.vue

@@ -103,6 +103,7 @@ import VendorRow from '../components/vendor/Row';
 import SearchBar from '../components/bar/SearchBarWithValue.vue';
 import FilterSortBar from '../components/bar/FilterSortBar';
 import SortList from '../components/SortList';
+import pages from '../mixins/pages';
 import { EnterpriseType } from '../utils/appState';
 import EnterpriseTypeFilter from '../components/filter/EnterpriseType';
 import ProductCategoryFilter from '../components/filter/ProductCategory';
@@ -153,7 +154,7 @@ export default {
             return this.enterpriseType ? EnterpriseType.get(this.enterpriseType) : '';
         }
     },
-    mixins: [searchList],
+    mixins: [searchList, pages],
     onLoad() {
         getBanner('VENDOR').then(res => {
             console.log(res);

+ 7 - 2
src/pagesImt/Index.vue

@@ -23,7 +23,7 @@
             </div>
 
             <div class="main" id="main">
-                <div class="thirdbtn">
+                <div class="thirdbtn" v-if="tDurl && tDurl !== 'null'">
                     <img src="../static/imgs/imt_topbanner_icon_3d.png" alt="" />
                     <div class="text">
                         <h4>点击观看 IMT 3D展厅</h4>
@@ -161,7 +161,8 @@ export default {
                         '瞄准科技前沿和高端产业,上海集中推出26个面积在3至5平方公里的特色产业园区,我们被评选为智能制造板块8个特色园区之一,将在上海市经信委智能制造产业推进处的专业指导下全力打造智能制造产业发展新高地。凭借着一直坚持为客户提供的长短结合的展示推广服务经验,我们获批成为中国国际进口博览会智能及高端设备板块中唯一“6天+365天”常年展示交易平台。'
                 }
             ],
-            active: 0
+            active: 0,
+            tDurl: ''
         };
     },
     computed: {
@@ -177,6 +178,10 @@ export default {
         setTimeout(() => {
             this.showBottom = true;
         }, 1000);
+
+        this.$http.get('/sysConfig/get/ThreeD_URL').then(res => {
+            this.tDurl = res.value;
+        });
     },
     components: {
         Banner,