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

+ 10 - 2
project.config.json

@@ -75,8 +75,16 @@
                 },
                 {
                     "id": -1,
-                    "name": "IMT",
-                    "pathName": "pagesImt/Index",
+                    "name": "服务管家",
+                    "pathName": "pagesChat/ChatDetail",
+                    "query": "toUserId=1&type=admin",
+                    "scene": null
+                },
+                {
+                    "id": -1,
+                    "name": "展商详情",
+                    "pathName": "pagesVendor/Detail",
+                    "query": "id=262",
                     "scene": null
                 }
             ]

+ 1 - 1
src/components/AuthPhone.vue

@@ -9,7 +9,7 @@
         <div class="popup-content">
             <div class="top">
                 <van-image
-                    src="http://imt.oss-cn-hangzhou.aliyuncs.com/micro/home_logo.png"
+                    src="http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/home_logo.png"
                     width="24px"
                     height="24px"
                     fit="contain"

+ 134 - 16
src/components/ChatInfo.vue

@@ -1,36 +1,86 @@
 <template>
     <div>
-        <div class="chatTime">
-            {{ info.time }}
-        </div>
-        <div class="chatInfo" :class="{ right: isMine }" v-if="isInquiry" @click="goDetail">
-            <van-image class="left-icon" :src="info.sendLogo" :width="36" :height="36" round fit="cover" />
+        <div class="chatTime" v-if="time">{{ time }}</div>
+        <div class="chatInfo" :class="{ right: isMine }" v-if="isInquiry && !isService" @click="goDetail">
+            <van-image
+                class="left-icon"
+                :src="logo + '?x-oss-process=image/resize,m_fill,h_100,w_100'"
+                :width="36"
+                :height="36"
+                :radius="4"
+                fit="cover"
+            />
 
             <div class="order">
                 <van-image
-                    src="http://imt.oss-cn-hangzhou.aliyuncs.com/micro/liaotian_img_zixundan.png"
+                    src="http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/liaotian_img_zixundan.png"
                     :width="90"
                     :height="90"
                     fit="cover"
                 />
 
                 <div class="order-info">
-                    <div class="name">咨询单</div>
-                    <div class="time">{{ info.time }}</div>
+                    <div class="name">{{ contentJson.sex ? '咨询单' : '企业认领' }}</div>
+                    <div class="time">{{ info.time.format('YYYY-MM-DD') }}</div>
                     <div class="btn">查看详情</div>
                 </div>
             </div>
-            <van-image class="right-icon" :src="info.receiveLogo" :width="36" :height="36" round fit="cover" />
+            <van-image
+                class="right-icon"
+                :src="logo + '?x-oss-process=image/resize,m_fill,h_100,w_100'"
+                :width="36"
+                :height="36"
+                :radius="4"
+                fit="cover"
+            />
         </div>
         <div class="chatInfo" :class="{ right: isMine }">
-            <van-image class="left-icon" :src="info.sendLogo" :width="36" :height="36" round fit="cover" />
-            <div class="chat-content">{{ content }}</div>
-            <van-image class="right-icon" :src="info.receiveLogo" :width="36" :height="36" round fit="cover" />
+            <van-image
+                class="left-icon"
+                :src="logo + '?x-oss-process=image/resize,m_fill,h_100,w_100'"
+                :width="36"
+                :height="36"
+                :radius="4"
+                fit="cover"
+            />
+            <van-image :src="content" v-if="isImg" :width="100" fit="widthFix" @click="previewImg" />
+            <div class="chat-content" v-else>{{ content }}</div>
+
+            <van-image
+                class="right-icon"
+                :src="logo + '?x-oss-process=image/resize,m_fill,h_100,w_100'"
+                :width="36"
+                :height="36"
+                :radius="4"
+                fit="cover"
+            />
+        </div>
+
+        <div class="chatInfo" :class="{ right: isMine }" v-if="otherProblems">
+            <van-image
+                class="left-icon"
+                :src="logo + '?x-oss-process=image/resize,m_fill,h_100,w_100'"
+                :width="36"
+                :height="36"
+                :radius="4"
+                fit="cover"
+            />
+            <div class="chat-content">{{ otherProblems }}</div>
+
+            <van-image
+                class="right-icon"
+                :src="logo + '?x-oss-process=image/resize,m_fill,h_100,w_100'"
+                :width="36"
+                :height="36"
+                :radius="4"
+                fit="cover"
+            />
         </div>
     </div>
 </template>
 <script>
 import { mapState } from 'vuex';
+import dayjs from 'dayjs';
 export default {
     props: {
         info: {
@@ -38,7 +88,12 @@ export default {
             default: () => {
                 return {};
             }
-        }
+        },
+        type: {
+            type: String,
+            default: 'admin'
+        },
+        beforTime: {}
     },
     data() {
         return {};
@@ -52,10 +107,27 @@ export default {
                 return false;
             }
         },
+        isImg() {
+            if (!this.isInquiry && this.info.content.indexOf('http') !== -1) {
+                return true;
+            } else {
+                return false;
+            }
+        },
         content() {
             if (this.info.content) {
-                if (this.info.content[0] === '{') {
-                    return '你好,我对贵方的产品非常感兴趣,希望可以详细聊聊';
+                if (this.info.content[0] === '{' && this.isService) {
+                    return '咨询:' + this.contentJson.functionalRequirements;
+                    // return (
+                    //    +
+                    //     (this.contentJson.otherProblems ? ':' + this.contentJson.otherProblems : '')
+                    // );
+                } else if (this.info.content[0] === '{') {
+                    return this.contentJson.sex
+                        ? '你好,我对贵方的产品非常感兴趣,希望可以详细聊聊'
+                        : '你好,我对贵方发送了一条企业认领请求';
+                } else if (this.isImg) {
+                    return this.info.content + '?x-oss-process=image/resize,l_100,m_mfit';
                 } else {
                     return this.info.content;
                 }
@@ -63,23 +135,66 @@ export default {
                 return '';
             }
         },
+        otherProblems() {
+            return this.isService ? this.contentJson.otherProblems : '';
+        },
         isMine() {
             if (this.userInfo && this.info.sendUserId === this.userInfo.id) {
                 return true;
             } else {
                 return false;
             }
+        },
+        logo() {
+            if (this.type === 'system' && !this.isMine) {
+                return 'http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/xiaoxi_icon_xitong.png';
+            } else if (this.type === 'admin' && !this.isMine) {
+                return 'http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/xiaoxi_icon_fuwuguanjia.png';
+            } else {
+                return this.info.sendLogo || 'http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/xiaoxi_icon_xitong.png';
+            }
+        },
+        contentJson() {
+            if (this.info.content) {
+                if (this.info.content[0] === '{') {
+                    if (this.info.content.split('=').length > 1) {
+                        return null;
+                    } else {
+                        return JSON.parse(this.info.content);
+                    }
+                } else {
+                    return null;
+                }
+            } else {
+                return null;
+            }
+        },
+        isService() {
+            return this.contentJson && this.contentJson.functionalRequirements;
+        },
+        time() {
+            if (this.beforTime) {
+                return this.beforTime.add(5, 'minute').isBefore(this.info.time) ? this.info.time.fromNow() : '';
+            } else {
+                return this.info.time.format('YYYY-MM-DD HH:mm:ss');
+            }
         }
     },
     methods: {
         goDetail() {
             this.$store.commit('updateChatForm', this.info.content);
             this.navigateTo('/pagesChat/ChatForm');
+        },
+        previewImg() {
+            wx.previewImage({
+                current: this.content, // 当前显示图片的http链接
+                urls: [this.content] // 需要预览的图片http链接列表
+            });
         }
     }
 };
 </script>
-<style lang="less" scoped>
+<style lang="less">
 .chatInfo {
     display: flex;
     padding: 15px 16px;
@@ -93,6 +208,9 @@ export default {
         border-radius: 0px 12px 12px 12px;
         margin: 0 8px;
     }
+    .chat-content + .chat-content {
+        margin-top: 10px;
+    }
     .right-icon {
         visibility: hidden;
     }

+ 26 - 5
src/components/Member.vue

@@ -40,11 +40,13 @@ export default {
     computed: {
         img() {
             if (this.type === 'system') {
-                return 'http://imt.oss-cn-hangzhou.aliyuncs.com/micro/xiaoxi_icon_xitong.png';
+                return 'http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/xiaoxi_icon_xitong.png';
             } else if (this.type === 'admin') {
-                return 'http://imt.oss-cn-hangzhou.aliyuncs.com/micro/xiaoxi_icon_fuwuguanjia.png';
+                return 'http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/xiaoxi_icon_fuwuguanjia.png';
             } else {
-                return this.info.otherLogo || 'http://imt.oss-cn-hangzhou.aliyuncs.com/micro/info_img_touxiang_01.png';
+                return (
+                    this.info.otherLogo || 'http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/info_img_touxiang_01.png'
+                );
             }
         },
         name() {
@@ -60,8 +62,12 @@ export default {
             if (this.type === 'system') {
                 return this.info.content || '';
             } else if (this.info.message) {
-                if (this.info.message[0] === '{') {
-                    return '你好,我对贵方的产品非常感兴趣,希望可以详细聊聊';
+                if (this.info.message[0] === '{' && this.type === 'admin') {
+                    return '咨询:' + this.contentJson.functionalRequirements;
+                } else if (this.info.message[0] === '{') {
+                    return this.contentJson.sex
+                        ? '你好,我对贵方的产品非常感兴趣,希望可以详细聊聊'
+                        : '你好,我对贵方发送了一条企业认领请求';
                 } else {
                     return this.info.message;
                 }
@@ -75,6 +81,21 @@ export default {
             } else {
                 return '';
             }
+        },
+        contentJson() {
+            if (this.info.message) {
+                if (this.info.message[0] === '{') {
+                    if (this.info.message.split('=').length > 1) {
+                        return null;
+                    } else {
+                        return JSON.parse(this.info.message);
+                    }
+                } else {
+                    return null;
+                }
+            } else {
+                return null;
+            }
         }
     },
     methods: {

+ 2 - 2
src/components/News/Grid.vue

@@ -4,11 +4,11 @@
         <div class="text1">{{ info.title }}</div>
         <div class="activity" v-if="isActivity">
             <div class="activity-info">
-                <van-icon name="http://imt.oss-cn-hangzhou.aliyuncs.com/micro/iocn_didian.png" />
+                <van-icon name="http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/iocn_didian.png" />
                 <div class="text">{{ info.address }}</div>
             </div>
             <div class="activity-info">
-                <van-icon name="http://imt.oss-cn-hangzhou.aliyuncs.com/micro/iocn_shijian.png" />
+                <van-icon name="http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/iocn_shijian.png" />
                 <div class="text">{{ info.date }}</div>
             </div>
 

+ 24 - 0
src/components/Robot.vue

@@ -0,0 +1,24 @@
+<template>
+    <van-icon
+        custom-class="adminIcon"
+        :size="47"
+        name="http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/xiaoxi_icon_fuwuguanjia.png"
+    />
+</template>
+<script>
+export default {
+    data() {
+        return {};
+    }
+};
+</script>
+<style lang="less">
+.adminIcon {
+    border-radius: 100%;
+    position: fixed !important;
+    z-index: 200;
+    right: 16px;
+    bottom: 20px;
+    overflow: hidden;
+}
+</style>

+ 1 - 1
src/components/SortList.vue

@@ -34,7 +34,7 @@ export default {
         },
         emptyImg: {
             type: String,
-            default: 'http://imt.oss-cn-hangzhou.aliyuncs.com/micro/kong_img_default.png'
+            default: 'http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/kong_img_default.png'
         },
         emptyText: {
             type: String,

+ 8 - 8
src/components/imt/Bottom.vue

@@ -26,26 +26,26 @@ export default {
         return {
             navigations: [
                 {
-                    img1: 'http://imt.oss-cn-hangzhou.aliyuncs.com/micro/imt_icon_gaikuang.png',
-                    img2: 'http://imt.oss-cn-hangzhou.aliyuncs.com/micro/imt_icon_gaikuang_pre.png',
+                    img1: 'http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/imt_icon_gaikuang.png',
+                    img2: 'http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/imt_icon_gaikuang_pre.png',
                     text: '概况',
                     url: '/pagesImt/Index'
                 },
                 {
-                    img1: 'http://imt.oss-cn-hangzhou.aliyuncs.com/micro/imt_icon_youshi.png',
-                    img2: 'http://imt.oss-cn-hangzhou.aliyuncs.com/micro/imt_icon_youshi_pre.png',
+                    img1: 'http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/imt_icon_youshi.png',
+                    img2: 'http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/imt_icon_youshi_pre.png',
                     text: '优势',
                     url: '/pages/imt/Advantage'
                 },
                 {
-                    img1: 'http://imt.oss-cn-hangzhou.aliyuncs.com/micro/imt_icon_fuwu.png',
-                    img2: 'http://imt.oss-cn-hangzhou.aliyuncs.com/micro/imt_icon_fuwu_pre.png',
+                    img1: 'http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/imt_icon_fuwu.png',
+                    img2: 'http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/imt_icon_fuwu_pre.png',
                     text: '服务',
                     url: '/pages/imt/Service'
                 },
                 {
-                    img1: 'http://imt.oss-cn-hangzhou.aliyuncs.com/micro/imt_icon_lianxi.png',
-                    img2: 'http://imt.oss-cn-hangzhou.aliyuncs.com/micro/imt_icon_lianxi_pre.png',
+                    img1: 'http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/imt_icon_lianxi.png',
+                    img2: 'http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/imt_icon_lianxi_pre.png',
                     text: '联系',
                     url: '/pages/imt/Connect'
                 }

+ 8 - 8
src/components/vendor/Application.vue

@@ -32,14 +32,14 @@ export default {
     data() {
         return {
             bgs: [
-                'http://imt.oss-cn-hangzhou.aliyuncs.com/case/application/yingyong_img_012x.jpg',
-                'http://imt.oss-cn-hangzhou.aliyuncs.com/case/application/yingyong_img_022x.jpg',
-                'http://imt.oss-cn-hangzhou.aliyuncs.com/case/application/yingyong_img_032x.jpg',
-                'http://imt.oss-cn-hangzhou.aliyuncs.com/case/application/yingyong_img_042x.jpg',
-                'http://imt.oss-cn-hangzhou.aliyuncs.com/case/application/yingyong_img_052x.jpg',
-                'http://imt.oss-cn-hangzhou.aliyuncs.com/case/application/yingyong_img_062x.jpg',
-                'http://imt.oss-cn-hangzhou.aliyuncs.com/case/application/yingyong_img_072x.jpg',
-                'http://imt.oss-cn-hangzhou.aliyuncs.com/case/application/yingyong_img_082x.jpg'
+                'http://imttech.oss-cn-hangzhou.aliyuncs.com/case/application/yingyong_img_012x.jpg',
+                'http://imttech.oss-cn-hangzhou.aliyuncs.com/case/application/yingyong_img_022x.jpg',
+                'http://imttech.oss-cn-hangzhou.aliyuncs.com/case/application/yingyong_img_032x.jpg',
+                'http://imttech.oss-cn-hangzhou.aliyuncs.com/case/application/yingyong_img_042x.jpg',
+                'http://imttech.oss-cn-hangzhou.aliyuncs.com/case/application/yingyong_img_052x.jpg',
+                'http://imttech.oss-cn-hangzhou.aliyuncs.com/case/application/yingyong_img_062x.jpg',
+                'http://imttech.oss-cn-hangzhou.aliyuncs.com/case/application/yingyong_img_072x.jpg',
+                'http://imttech.oss-cn-hangzhou.aliyuncs.com/case/application/yingyong_img_082x.jpg'
             ]
         };
     }

+ 2 - 2
src/components/vendor/Row.vue

@@ -11,11 +11,11 @@
         <div class="content">
             <h3>{{ getName(info, ['chCompanyName', 'enCompanyName']) }}</h3>
             <div class="info">
-                <van-icon :size="20" name="http://imt.oss-cn-hangzhou.aliyuncs.com/micro/icon_leibie.png" />
+                <van-icon :size="20" name="http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/icon_leibie.png" />
                 <p>{{ categories }}</p>
             </div>
             <div class="info">
-                <van-icon :size="20" name="http://imt.oss-cn-hangzhou.aliyuncs.com/micro/icon_weizhi.png" />
+                <van-icon :size="20" name="http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/icon_weizhi.png" />
                 <p>{{ country }}</p>
             </div>
         </div>

+ 1 - 0
src/main.js

@@ -148,6 +148,7 @@ export default {
             navigationBarTextStyle: 'black'
         },
         usingComponents: {
+            robot: '/native/robot/index',
             'van-button': '/native/vant/button/index',
             'van-tabs': '/native/vant/tabs/index',
             'van-tab': '/native/vant/tab/index',

+ 6 - 0
src/mixins/commont.js

@@ -1,4 +1,5 @@
 import Dialog from '../native/vant/dialog/dialog';
+import Robot from '../native/robot/robot';
 export default {
     onLoad() {
         const app = getApp();
@@ -12,6 +13,11 @@ export default {
             }
         }
     },
+    computed: {
+        isLogin() {
+            return this.$store.state.userInfo && this.$store.state.userInfo.chCompanyName;
+        }
+    },
     methods: {
         getImport(name) {
             if (this.search) {

+ 20 - 0
src/mixins/pages.js

@@ -0,0 +1,20 @@
+import Robot from '../native/robot/robot';
+export default {
+    watch: {
+        isLogin() {
+            this.setInfo();
+        }
+    },
+    onReady() {
+        this.setInfo();
+    },
+    methods: {
+        setInfo() {
+            this.$nextTick(() => {
+                Robot({
+                    isLogin: this.isLogin
+                });
+            });
+        }
+    }
+};

+ 90 - 0
src/native/robot/index.js

@@ -0,0 +1,90 @@
+const componentOptions = {
+    // 组件选项
+    options: {
+        multipleSlots: true
+    },
+    behaviors: [],
+    properties: {
+        adminId: {
+            type: Number,
+            value: 1
+        },
+        isLogin: {
+            type: Boolean,
+            value: false
+        }
+    },
+    // 组件数据
+    data: {
+        isPageHidden: false // 页面是否处于隐藏状态
+    },
+    // 数据监听器
+    observers: {},
+    // 组件方法
+    methods: {
+        init() {},
+        chatAdmin() {
+            console.log(this.data.isLogin);
+            if (!this.data.isLogin) {
+                wx.showModal({
+                    title: '提示',
+                    content: '需要补全资料方可使用此功能',
+                    confirmText: '立即补全',
+                    cancelText: '稍后再说',
+                    confirmColor: '#FFA526',
+                    cancelColor: '#BCC1CC',
+                    success(res) {
+                        if (res.confirm) {
+                            wx.navigateTo({
+                                url: '/pagesHome/Edit'
+                            });
+                        } else if (res.cancel) {
+                            console.log('用户点击取消');
+                        }
+                    }
+                });
+                return;
+            }
+            wx.navigateTo({
+                url: '/pagesChat/ChatDetail?toUserId=' + this.data.adminId + '&type=admin&isAsk=true'
+            });
+        }
+    },
+    // 组件生命周期
+    lifetimes: {
+        created() {},
+        attached() {
+            this.init();
+        },
+        ready() {},
+        moved() {},
+        detached() {}
+    },
+    definitionFilter() {},
+    // 页面生命周期
+    pageLifetimes: {
+        // 页面被展示
+        show() {
+            const { isPageHidden } = this.data;
+
+            // show事件发生前,页面不是处于隐藏状态时
+            if (!isPageHidden) {
+                return;
+            }
+
+            // 重新执行定时器等操作
+        },
+        // 页面被隐藏
+        hide() {
+            this.setData({
+                isPageHidden: true
+            });
+
+            // 清除定时器等操作
+        },
+        // 页面尺寸变化时
+        resize() {}
+    }
+};
+
+Component(componentOptions);

+ 6 - 0
src/native/robot/index.json

@@ -0,0 +1,6 @@
+{
+  "component": true,
+  "usingComponents": {
+		  "van-icon": "../vant/icon/index"
+	}
+}

+ 7 - 0
src/native/robot/index.wxml

@@ -0,0 +1,7 @@
+<van-icon
+ custom-class="adminIcon"
+ size="47"
+ name="http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/xiaoxi_icon_fuwuguanjia.png"
+ bind:click="chatAdmin"
+/>
+

+ 8 - 0
src/native/robot/index.wxss

@@ -0,0 +1,8 @@
+.adminIcon {
+    border-radius: 100%;
+    position: fixed !important;
+    z-index: 200;
+    right: 32rpx;
+    bottom: 40rpx;
+    overflow: hidden;
+}

+ 38 - 0
src/native/robot/robot.js

@@ -0,0 +1,38 @@
+'use strict';
+var __assign =
+    (this && this.__assign) ||
+    function () {
+        __assign =
+            Object.assign ||
+            function (t) {
+                for (var s, i = 1, n = arguments.length; i < n; i++) {
+                    s = arguments[i];
+                    for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
+                }
+                return t;
+            };
+        return __assign.apply(this, arguments);
+    };
+Object.defineProperty(exports, '__esModule', { value: true });
+var defaultOptions = {
+    selector: '#robot',
+    adminId: '1',
+    isLogin: false
+};
+function getContext() {
+    var pages = getCurrentPages();
+    return pages[pages.length - 1];
+}
+function Robot(options) {
+    options = { ...defaultOptions, ...options };
+    var context = options.context || getContext();
+    var robot = context.selectComponent(options.selector);
+    delete options.context;
+    delete options.selector;
+    if (robot) {
+        robot.setData(options);
+        return robot;
+    }
+    console.warn('未找到 van-notify 节点,请确认 selector 及 context 是否正确');
+}
+exports.default = Robot;

+ 5 - 1
src/pages/Classify.vue

@@ -44,7 +44,7 @@
             <scroll-view :style="{ height: `calc(100vh - ${barHeight}px)` }" :scroll-y="true" class="right">
                 <div class="top" @click="navigateTo('/pagesHome/ProductList?categoryIds=' + firstLevelId)">
                     <van-image
-                        src="http://imt.oss-cn-hangzhou.aliyuncs.com/micro/quanqiu_img_jixie.jpg"
+                        src="http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/quanqiu_img_jixie.jpg"
                         fit="widthFix"
                         width="100%"
                     />
@@ -67,10 +67,13 @@
                 <div style="height:20px"></div>
             </scroll-view>
         </div>
+
+        <robot id="robot" />
     </div>
 </template>
 <script>
 import { mapState } from 'vuex';
+import pages from '../mixins/pages';
 export default {
     data() {
         return {
@@ -81,6 +84,7 @@ export default {
             left: null
         };
     },
+    mixins: [pages],
     computed: {
         ...mapState(['barTop', 'barHeight']),
         narStyle() {

+ 21 - 13
src/pages/Home.vue

@@ -18,8 +18,8 @@
             <div class="swiper">
                 <swiper
                     autoplay
-                    previous-margin="26px"
-                    next-margin="25px"
+                    previous-margin="33px"
+                    next-margin="32px"
                     class="swiper-home"
                     @change="current = $event.detail.current"
                     :current="current"
@@ -27,7 +27,7 @@
                 >
                     <block v-for="(item, index) in banners" :key="item.id">
                         <swiper-item :class="{ active: index === current }">
-                            <van-image :src="item.img" width="100%" height="100%" radius="3" fit="cover" />
+                            <van-image :src="item.img" width="620rpx" height="280rpx" radius="3" fit="cover" />
                         </swiper-item>
                     </block>
                 </swiper>
@@ -52,25 +52,25 @@
                 <van-grid icon-size="40" :border="false">
                     <van-grid-item
                         content-class="menu-info"
-                        icon="http://imt.oss-cn-hangzhou.aliyuncs.com/micro/home_icon_zhanshang.png"
+                        icon="http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/home_icon_zhanshang.png"
                         :text="$t('zhan-shang-zong-lan')"
                         @click="navigateTo('/pagesHome/Brand', false)"
                     />
                     <van-grid-item
                         content-class="menu-info"
-                        icon="http://imt.oss-cn-hangzhou.aliyuncs.com/micro/home_icon_quanqiu.png"
+                        icon="http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/home_icon_quanqiu.png"
                         :text="$t('quan-qiu-chan-pin')"
                         @click="navigateTo('/pagesHome/Product', false)"
                     />
                     <van-grid-item
                         content-class="menu-info"
-                        icon="http://imt.oss-cn-hangzhou.aliyuncs.com/micro/home_icon_imt.png"
+                        icon="http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/home_icon_imt.png"
                         :text="$t('imt-ping-tai')"
                         @click="navigateTo('/pagesImt/Index', false)"
                     />
                     <van-grid-item
                         content-class="menu-info"
-                        icon="http://imt.oss-cn-hangzhou.aliyuncs.com/micro/home_icon_xinwen.png"
+                        icon="http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/home_icon_xinwen.png"
                         :text="$t('xin-wen-zi-xun')"
                         @click="navigateTo('/pagesNews/News', false)"
                     />
@@ -80,7 +80,7 @@
                     width="100%"
                     height="90px"
                     class="pathImg"
-                    src="http://imt.oss-cn-hangzhou.aliyuncs.com/micro/home_img_3dimt.jpg"
+                    src="http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/home_img_3dimt.jpg"
                     @click="navigateTo('/pagesHome/ShowView', false)"
                 />
             </div>
@@ -128,7 +128,7 @@
             <!-- <div class="datas">
                 <van-image
                     width="100%"
-                    src="http://imt.oss-cn-hangzhou.aliyuncs.com/micro/home_img_yewushuju.jpg"
+                    src="http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/home_img_yewushuju.jpg"
                     fit="widthFix"
                 />
 
@@ -212,6 +212,8 @@
                 <product-row v-for="item in list" :key="item.id" :info="item"></product-row>
             </block>
         </sort-list>
+
+        <robot id="robot" />
     </div>
 </template>
 <script>
@@ -223,6 +225,7 @@ import ProductGrid from '../components/product/Grid.vue';
 import VendorGrid from '../components/vendor/Grid';
 import SortList from '../components/SortList.vue';
 import searchList from '../mixins/searchList';
+import pages from '../mixins/pages';
 import FilterSortBar from '../components/bar/FilterSortBar.vue';
 import ProductGridNormal from '../components/product/GridNormal';
 import ProductRow from '../components/product/RowNormal.vue';
@@ -266,7 +269,7 @@ export default {
         ProductGridNormal,
         ProductRow
     },
-    mixins: [searchList],
+    mixins: [searchList, pages],
     computed: {
         ...mapState(['userInfo', 'barHeight']),
         hotProductsList() {
@@ -449,11 +452,16 @@ export default {
         z-index: 2;
 
         ._swiper-item {
-            padding: 7px 7px;
             box-sizing: border-box;
-            transition: padding ease-in-out 0.3s;
+
+            .van-image {
+                transform: scale(0.9);
+                transition: transform ease-in-out 0.3s;
+            }
             &.active {
-                padding: 0 7px;
+                .van-image {
+                    transform: scale(1);
+                }
             }
         }
     }

+ 13 - 9
src/pages/My.vue

@@ -13,7 +13,7 @@
             <van-image
                 width="100%"
                 :height="70 + barHeight + 'px'"
-                src="http://imt.oss-cn-hangzhou.aliyuncs.com/micro/info_top_bg.jpg"
+                src="http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/info_top_bg.jpg"
                 fit="cover"
             />
             <van-button class="btn1" color="#0F264D" plain @click="choose" :style="{ top: barTop + 'px' }">
@@ -49,7 +49,7 @@
 
         <div class="ad" @click="navigateTo('/pagesMine/Enter')">
             <van-image
-                src="http://imt.oss-cn-hangzhou.aliyuncs.com/micro/info_zhanshangruzhu.png"
+                src="http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/info_zhanshangruzhu.png"
                 fit="widthFix"
                 width="100%"
             />
@@ -59,14 +59,14 @@
             <!-- <van-cell
                 custom-class="my-cell"
                 title="我的积分"
-                icon="http://imt.oss-cn-hangzhou.aliyuncs.com/micro/info_icon_collect(1).png"
+                icon="http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/info_icon_collect(1).png"
                 is-link
                 @click="navigateTo('scroe')"
             /> -->
             <van-cell
                 custom-class="my-cell"
                 title="我的收藏"
-                icon="http://imt.oss-cn-hangzhou.aliyuncs.com/micro/info_icon_collect.png"
+                icon="http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/info_icon_collect.png"
                 is-link
                 @click="navigateTo('/pagesMine/Collect')"
             />
@@ -75,7 +75,7 @@
                 custom-class="my-cell"
                 title="浏览记录"
                 @click="navigateTo('/pagesMine/ReadRecords')"
-                icon="http://imt.oss-cn-hangzhou.aliyuncs.com/micro/info_icon_collect(2).png"
+                icon="http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/info_icon_collect(2).png"
                 is-link
             />
 
@@ -83,7 +83,7 @@
                 custom-class="my-cell"
                 title="我的活动"
                 @click="navigateTo('/pagesMine/Activity')"
-                icon="http://imt.oss-cn-hangzhou.aliyuncs.com/micro/info_icon_collect(5).png"
+                icon="http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/info_icon_collect(5).png"
                 is-link
             />
 
@@ -91,7 +91,7 @@
                 custom-class="my-cell"
                 title="产品需求/成交单"
                 @click="navigateTo('/pagesMine/Order')"
-                icon="http://imt.oss-cn-hangzhou.aliyuncs.com/micro/info_icon_collect(3).png"
+                icon="http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/info_icon_collect(3).png"
                 is-link
             />
 
@@ -99,18 +99,21 @@
                 custom-class="my-cell"
                 title="账户与安全"
                 @click="navigateTo('/pagesMine/Account')"
-                icon="http://imt.oss-cn-hangzhou.aliyuncs.com/micro/info_icon_collect(4).png"
+                icon="http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/info_icon_collect(4).png"
                 is-link
             />
         </van-cell-group>
 
         <auth-phone ref="auth" :info="wxInfo" :show.sync="showPhone"></auth-phone>
+
+        <robot id="robot" />
     </div>
 </template>
 
 <script>
 import { mapState } from 'vuex';
 import AuthPhone from '../components/AuthPhone';
+import pages from '../mixins/pages';
 export default {
     data() {
         return {
@@ -125,12 +128,13 @@ export default {
             wxInfo: {}
         };
     },
+    mixins: [pages],
     computed: {
         ...mapState(['userInfo', 'barTop', 'barHeight']),
         icon() {
             return this.userInfo && this.userInfo.avatar
                 ? this.userInfo.avatar
-                : 'http://imt.oss-cn-hangzhou.aliyuncs.com/micro/info_img_touxiang_01.png';
+                : 'http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/info_img_touxiang_01.png';
         },
         name() {
             return this.userInfo ? this.userInfo.nickname : '未登录';

+ 222 - 12
src/pagesChat/ChatDetail.vue

@@ -5,7 +5,7 @@
 }
 </config>
 <template>
-    <div class="page">
+    <div class="page" id="page">
         <scroll-view
             :scroll-top="scrollTop"
             :style="{ height: height }"
@@ -14,8 +14,48 @@
             @scrolltoupper="upper"
         >
             <div class="chat-list" id="chatList">
-                <block v-for="(item, index) in list" :key="index">
-                    <chat-info :info="item"></chat-info>
+                <block v-for="(item, index) in historyList" :key="index">
+                    <chat-info
+                        :info="item"
+                        :type="type"
+                        :beforTime="index === 0 ? '' : historyList[index - 1].time"
+                    ></chat-info>
+                </block>
+
+                <div class="adminTips" v-if="type === 'admin' && isAsk">
+                    <div class="chatInfo">
+                        <van-image class="left-icon" :src="otherInfo.img" :width="36" :height="36" fit="cover" />
+                        <div class="chat-content">
+                            您好,我是IMT服务管家 依靠我们的庞大的资源集群,为您提供专业的定制化一站式服务
+                        </div>
+                        <van-image class="right-icon" :src="otherInfo.img" :width="36" :height="36" fit="cover" />
+                    </div>
+
+                    <div class="chatInfo">
+                        <van-image class="left-icon" :src="otherInfo.img" :width="36" :height="36" fit="cover" />
+                        <div class="flex1">
+                            <div class="chat-content">
+                                选择以下服务,然后详细描述您的需求,我们会尽快回复您!
+                            </div>
+
+                            <div class="service-list">
+                                <block v-for="(item, index) in services" :key="index">
+                                    <van-button :color="$colors.warn" plain @click="subService(item)">{{
+                                        item
+                                    }}</van-button>
+                                </block>
+                            </div>
+                        </div>
+                        <van-image class="right-icon" :src="otherInfo.img" :width="36" :height="36" fit="cover" />
+                    </div>
+                </div>
+
+                <block v-for="(item, index) in newList" :key="index">
+                    <chat-info
+                        :info="item"
+                        :beforTime="index === 0 ? nowDate : newList[index - 1].time"
+                        :type="type"
+                    ></chat-info>
                 </block>
             </div>
         </scroll-view>
@@ -27,13 +67,22 @@
                 placeholder="请输入需要咨询的问题"
                 confirm-type="send"
                 @confirm="confirm"
+                @focus="showImg = false"
             />
-            <van-icon name="plus" color="#0F264D" :size="20" />
+            <van-icon name="plus" :class="{ showImg }" color="#0F264D" @click="showImg = !showImg" :size="20" />
+        </div>
+
+        <div class="upload">
+            <van-grid clickable :gutter="16" :border="false">
+                <van-grid-item icon="photo" text="图片" @click="choosePhoto" />
+            </van-grid>
         </div>
     </div>
 </template>
 <script>
 import ChatInfo from '../components/ChatInfo.vue';
+import dayjs from 'dayjs';
+import { adminAutoReply } from '../utils/chat';
 export default {
     components: { ChatInfo },
     data() {
@@ -42,24 +91,45 @@ export default {
             type: '',
             list: [],
             toUserId: 0,
-            value: ''
+            value: '',
+            services: [
+                '进出口代理服务',
+                '技术培训',
+                '融资租赁',
+                '维修',
+                '商务租赁',
+                '仓储与分拨(保税/非保)',
+                '商务咨询',
+                '产能共享',
+                '保税参展服务',
+                '检测认证',
+                '数据统计',
+                '综合物流',
+                '安装调试',
+                '技术集成',
+                '二手设备交易'
+            ],
+            nowDate: '',
+            total: '100vh',
+            showImg: false,
+            isAsk: false
         };
     },
     computed: {
         otherInfo() {
             if (this.type === 'system') {
                 return {
-                    img: 'http://imt.oss-cn-hangzhou.aliyuncs.com/micro/xiaoxi_icon_xitong.png',
+                    img: 'http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/xiaoxi_icon_xitong.png',
                     name: '系统消息'
                 };
             } else if (this.type === 'admin') {
                 return {
-                    img: 'http://imt.oss-cn-hangzhou.aliyuncs.com/micro/xiaoxi_icon_fuwuguanjia.png',
+                    img: 'http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/xiaoxi_icon_fuwuguanjia.png',
                     name: '服务管家'
                 };
             } else {
                 return {
-                    img: 'http://imt.oss-cn-hangzhou.aliyuncs.com/micro/xiaoxi_icon_xitong.png',
+                    img: 'http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/xiaoxi_icon_xitong.png',
                     name: '系统消息'
                 };
             }
@@ -73,19 +143,50 @@ export default {
         },
         height() {
             if (this.noBack) {
-                return '100vh';
+                return `${this.total}`;
             } else {
-                return 'calc(100vh - 120rpx)';
+                return `calc(${this.total} - 120rpx - ${this.showImg ? 220 : 0}rpx)`;
             }
+        },
+        historyList() {
+            var list = [...this.list];
+            return list.filter(item => {
+                return this.nowDate.isAfter(item.time);
+            });
+        },
+        newList() {
+            var list = [...this.list];
+            return list.filter(item => {
+                return this.nowDate.isBefore(item.time);
+            });
         }
     },
     onLoad(options) {
+        this.nowDate = dayjs();
         if (options.type === 'system') {
             wx.setNavigationBarTitle({
                 title: '系统消息'
             });
             this.$http.get('/email/details').then(res => {
-                this.list = res;
+                this.list = res = res.map(item => {
+                    return {
+                        ...item,
+                        time: dayjs(item.time || item.createdAt, 'YYYY-MM-DD HH:mm:ss')
+                    };
+                });
+
+                this.$nextTick(() => {
+                    setTimeout(() => {
+                        this.$loading.close();
+                        wx.createSelectorQuery()
+                            .select('#chatList')
+                            .boundingClientRect(rect => {
+                                this.scrollTop = rect.height;
+                            })
+                            .exec();
+                    }, 500);
+                });
+                this.$http.post('/email/readAll');
             });
         } else if (options.type === 'admin') {
             wx.setNavigationBarTitle({
@@ -93,6 +194,10 @@ export default {
             });
         }
 
+        if (options.isAsk) {
+            this.isAsk = true;
+        }
+
         if (options.toUserId) {
             this.toUserId = Number(options.toUserId);
             this.getDetail();
@@ -102,6 +207,15 @@ export default {
             this.type = options.type;
         }
     },
+    onReady() {
+        wx.createSelectorQuery()
+            .select('#page')
+            .boundingClientRect(rect => {
+                console.log(rect);
+                this.total = rect.height + 'px';
+            })
+            .exec();
+    },
     methods: {
         upper() {},
         getDetail() {
@@ -112,8 +226,16 @@ export default {
                 })
                 .then(res => {
                     console.log(res);
-                    this.list = res;
+                    this.list = res.map(item => {
+                        return {
+                            ...item,
+                            time: dayjs(item.time || item.createdAt, 'YYYY-MM-DD HH:mm:ss')
+                        };
+                    });
 
+                    this.$http.post('/message/batchRead', {
+                        otherUserId: this.toUserId
+                    });
                     this.$nextTick(() => {
                         setTimeout(() => {
                             this.$loading.close();
@@ -152,6 +274,48 @@ export default {
                 .catch(e => {
                     this.toast(e.error);
                 });
+        },
+        subService(info) {
+            this.$http
+                .post(
+                    '/demandSteward/save',
+                    {
+                        functionalRequirements: info,
+                        otherProblems: '',
+                        userId: this.$store.state.userInfo.id
+                    },
+                    {
+                        header: {
+                            'Content-Type': 'application/json'
+                        }
+                    }
+                )
+                .then(res => {
+                    this.getDetail();
+
+                    setTimeout(() => {
+                        adminAutoReply(this.$store.state.userInfo.id).then(res => {
+                            this.getDetail();
+                        });
+                    }, 1000);
+                })
+                .catch(e => {
+                    this.toast(e.error);
+                });
+        },
+        choosePhoto() {
+            wx.chooseImage({
+                count: 1, // 默认9
+                sizeType: ['original'], // 可以指定是原图还是压缩图,默认二者都有
+                sourceType: ['album', 'camera'], // 可以指定来源是相册还是相机,默认二者都有
+                success: res => {
+                    const src = res.tempFilePaths[0];
+                    this.$http.uploadFile(src).then(res => {
+                        this.showImg = false;
+                        this.send(res);
+                    });
+                }
+            });
         }
     }
 };
@@ -159,6 +323,14 @@ export default {
 <style lang="less">
 .scrollView {
     background: #f2f3f5;
+    transition: height ease-in-out 0.3s;
+}
+
+.page {
+    display: flex;
+    flex-direction: column;
+    height: calc(100vh - env(safe-area-inset-bottom));
+    height: calc(100vh - constant(safe-area-inset-bottom));
 }
 
 .input {
@@ -166,6 +338,7 @@ export default {
     display: flex;
     align-items: center;
     flex-shrink: 0;
+
     .weui-input {
         height: 44px;
         background: #f5f7fa;
@@ -178,4 +351,41 @@ export default {
         border-radius: 100px;
     }
 }
+
+.service-list {
+    --button-border-width: 0px;
+    padding: 14px 0;
+    margin-right: -10px;
+    ._van-button {
+        .van-button {
+            background-color: #ffa52612;
+            min-width: 110px;
+            padding: 0 2px;
+            margin-right: 10px;
+        }
+
+        &:nth-child(n + 3) {
+            .van-button {
+                margin-top: 10px;
+            }
+        }
+    }
+}
+
+._van-icon {
+    .van-icon {
+        transition: transform ease-in-out 0.3s;
+    }
+    &.showImg {
+        .van-icon {
+            transform: rotate(45deg);
+        }
+    }
+}
+
+.upload {
+    padding: 0 16px;
+    --grid-item-icon-size: 32px;
+    --grid-item-text-color: #878d99;
+}
 </style>

+ 4 - 3
src/pagesChat/ChatForm.vue

@@ -7,11 +7,12 @@
     <div>
         <van-cell-group :border="false">
             <van-cell :border="false" title="姓名" :value="info.nickname" />
-            <van-cell :border="false" title="称呼" :value="sex" />
+            <van-cell :border="false" title="称呼" v-if="sex" :value="sex" />
             <van-cell :border="false" title="电话" :value="info.phone" />
             <van-cell :border="false" title="邮箱" :value="info.email" />
-            <van-cell :border="false" title="公司名称" :value="info.chCompanyName" />
+            <van-cell :border="false" title="公司名称" :value="info.chCompanyName || info.companyName" />
             <van-cell :border="false" title="职位" :value="info.position" />
+            <van-cell :border="false" title="备注" v-if="info.remark" :value="info.remark" />
             <van-cell
                 :border="false"
                 title="功能需求"
@@ -20,7 +21,7 @@
             />
             <van-cell :border="false" title="计划加工" v-if="info.artifact" :value="info.artifact" />
             <van-cell :border="false" title="需求描述" v-if="info.otherProblems" :value="info.otherProblems" />
-            <van-cell :border="false" title="意向产品">
+            <van-cell :border="false" title="意向产品" v-if="info.products">
                 <div class="product-list">
                     <product-row
                         v-for="(item, index) in info.products"

+ 1 - 0
src/pagesHome/Brand.vue

@@ -84,6 +84,7 @@
                 </div>
             </sort-list>
         </div>
+        <robot id="robot" />
     </div>
 </template>
 <script>

+ 1 - 1
src/pagesHome/FilterPage.vue

@@ -11,7 +11,7 @@
         <product-brand v-model="brand" v-if="pageType === 'product'"></product-brand>
         <product-tags v-model="tagIds" v-if="pageType === 'product'"></product-tags>
         <enterprise-type v-model="enterpriseType" v-if="pageType === 'vendor'"></enterprise-type>
-        <application v-model="applicationField" ></application>
+        <application v-model="applicationField"></application>
 
         <div class="fixed-bottom">
             <div class="btn-list">

+ 10 - 10
src/pagesImt/Advantage.vue

@@ -18,30 +18,30 @@ export default {
         return {
             advantages: [
                 {
-                    img: 'http://imt.oss-cn-hangzhou.aliyuncs.com/micro/imt_youshi_img_01.jpg',
-                    icon: 'http://imt.oss-cn-hangzhou.aliyuncs.com/case/imt_youshi_icon_02.png',
+                    img: 'http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/imt_youshi_img_01.jpg',
+                    icon: 'http://imttech.oss-cn-hangzhou.aliyuncs.com/case/imt_youshi_icon_02.png',
                     name:
                         '强大的行业集聚性贸易服务平台<br/>专业、专项、专注<br/>充分利用自贸区国际贸易便利化优势<br/>为智能制造产业客户提供更大的灵活性和实效性优势'
                 },
                 {
-                    img: 'http://imt.oss-cn-hangzhou.aliyuncs.com/micro/imt_youshi_img_02.jpg',
-                    icon: 'http://imt.oss-cn-hangzhou.aliyuncs.com/case/imt_youshi_icon_04.png',
+                    img: 'http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/imt_youshi_img_02.jpg',
+                    icon: 'http://imttech.oss-cn-hangzhou.aliyuncs.com/case/imt_youshi_icon_04.png',
                     name: '庞大的专业客户集群'
                 },
                 {
-                    img: 'http://imt.oss-cn-hangzhou.aliyuncs.com/micro/imt_youshi_img_03.jpg',
-                    icon: 'http://imt.oss-cn-hangzhou.aliyuncs.com/case/imt_youshi_icon_01.png',
+                    img: 'http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/imt_youshi_img_03.jpg',
+                    icon: 'http://imttech.oss-cn-hangzhou.aliyuncs.com/case/imt_youshi_icon_01.png',
                     name: '惠享自贸区贸易、财政、先试先行政策,为企业在该区域开展相关业务给予直接的政策支撑'
                 },
                 {
-                    img: 'http://imt.oss-cn-hangzhou.aliyuncs.com/micro/imt_youshi_img_04.jpg',
-                    icon: 'http://imt.oss-cn-hangzhou.aliyuncs.com/case/imt_youshi_icon_05.png',
+                    img: 'http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/imt_youshi_img_04.jpg',
+                    icon: 'http://imttech.oss-cn-hangzhou.aliyuncs.com/case/imt_youshi_icon_05.png',
                     name: '丰富的行业交流、政企交流活动'
                 },
 
                 {
-                    img: 'http://imt.oss-cn-hangzhou.aliyuncs.com/micro/imt_youshi_img_05.jpg',
-                    icon: 'http://imt.oss-cn-hangzhou.aliyuncs.com/case/imt_youshi_icon_03.png',
+                    img: 'http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/imt_youshi_img_05.jpg',
+                    icon: 'http://imttech.oss-cn-hangzhou.aliyuncs.com/case/imt_youshi_icon_03.png',
                     name: '与各国行业协会建立长期合作关系<br/>发展“中国智造”'
                 }
             ]

+ 17 - 18
src/pagesImt/Connect.vue

@@ -2,7 +2,7 @@
     <div class="connect">
         <map
             id="myMap"
-            style="width: 100%; height: 300px;"
+            style="width: 100%; height: 300px"
             latitude="31.298919"
             longitude="121.629521"
             :markers="markers"
@@ -10,23 +10,21 @@
             @callouttap="goLocation"
         >
             <cover-view slot="callout">
-                <cover-view marker-id="1">
-                    <van-button :color="$colors.warn" size="small">去这里</van-button>
-                </cover-view>
+                <cover-view marker-id="1" class="goHrea"> 去这里 </cover-view>
             </cover-view>
         </map>
 
         <div class="connect-box">
             <div class="connect-info">
-                <van-icon name="http://imt.oss-cn-hangzhou.aliyuncs.com/micro/footer_icon_dianhua.png" :size="20" />
+                <van-icon name="http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/footer_icon_dianhua.png" :size="20" />
                 <h3 class="fontNormal">{{ phone }}</h3>
             </div>
             <div class="connect-info">
-                <van-icon name="http://imt.oss-cn-hangzhou.aliyuncs.com/micro/footer_icon_youjian.png" :size="20" />
+                <van-icon name="http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/footer_icon_youjian.png" :size="20" />
                 <h3 class="fontNormal">{{ email }}</h3>
             </div>
             <div class="connect-info" @click="goLocation">
-                <van-icon name="http://imt.oss-cn-hangzhou.aliyuncs.com/micro/footer_icon_dizhi.png" :size="20" />
+                <van-icon name="http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/footer_icon_dizhi.png" :size="20" />
                 <h3 class="fontNormal link">中国(上海)自由贸易试验区富特东三路526号</h3>
             </div>
             <div class="btn">
@@ -45,25 +43,18 @@ export default {
                     id: 1,
                     latitude: 31.298919,
                     longitude: 121.629521,
-                    iconPath: 'http://imt.oss-cn-hangzhou.aliyuncs.com/micro/icon_dingwei.png',
+                    iconPath: 'http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/icon_dingwei.png',
                     width: 24,
                     height: 30,
-                    customCallout: {
-                        display: 'ALWAYS',
-                        anchorY: -10
-                    }
+                    customCallout: { display: 'ALWAYS', anchorY: -10 }
                 }
             ]
         };
     },
-    computed: {
-        ...mapState(['phone', 'email'])
-    },
+    computed: { ...mapState(['phone', 'email']) },
     methods: {
         takePhone() {
-            wx.makePhoneCall({
-                phoneNumber: this.phone //仅为示例,并非真实的电话号码
-            });
+            wx.makePhoneCall({ phoneNumber: this.phone });
         },
         goLocation() {
             wx.openLocation({
@@ -114,4 +105,12 @@ export default {
     left: 50%;
     transform: translateX(-50%);
 }
+
+.goHrea {
+    padding: 5px 10px;
+    background-color: #ffa526;
+    font-size: 12px;
+    border-radius: 2px;
+    color: #fff;
+}
 </style>

+ 18 - 18
src/pagesImt/Index.vue

@@ -100,14 +100,14 @@ export default {
             scrollTop: 0,
             banners: [
                 {
-                    img: 'http://imt.oss-cn-hangzhou.aliyuncs.com/micro/imt_top_banner.jpg'
+                    img: 'http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/imt_top_banner.jpg'
                 }
             ],
             modulars: [
                 {
                     imgs: [
-                        'http://imt.oss-cn-hangzhou.aliyuncs.com/case/imt_hexin_img_01_a.jpg',
-                        'http://imt.oss-cn-hangzhou.aliyuncs.com/case/imt_hexin_img_01_b.jpg'
+                        'http://imttech.oss-cn-hangzhou.aliyuncs.com/case/imt_hexin_img_01_a.jpg',
+                        'http://imttech.oss-cn-hangzhou.aliyuncs.com/case/imt_hexin_img_01_b.jpg'
                     ],
                     title: '高端的服务定位',
                     sub: '打造功能集成的智能制造服务产业平台',
@@ -116,10 +116,10 @@ export default {
                 },
                 {
                     imgs: [
-                        'http://imt.oss-cn-hangzhou.aliyuncs.com/case/imt_hexin_img_02_a.jpg',
-                        'http://imt.oss-cn-hangzhou.aliyuncs.com/case/imt_hexin_img_02_b.jpg',
-                        'http://imt.oss-cn-hangzhou.aliyuncs.com/case/imt_hexin_img_02_c.jpg',
-                        'http://imt.oss-cn-hangzhou.aliyuncs.com/case/imt_hexin_img_02_d.jpg'
+                        'http://imttech.oss-cn-hangzhou.aliyuncs.com/case/imt_hexin_img_02_a.jpg',
+                        'http://imttech.oss-cn-hangzhou.aliyuncs.com/case/imt_hexin_img_02_b.jpg',
+                        'http://imttech.oss-cn-hangzhou.aliyuncs.com/case/imt_hexin_img_02_c.jpg',
+                        'http://imttech.oss-cn-hangzhou.aliyuncs.com/case/imt_hexin_img_02_d.jpg'
                     ],
                     title: '成熟的运营模式',
                     sub: '集聚性、专业化、便利化',
@@ -128,13 +128,13 @@ export default {
                 },
                 {
                     imgs: [
-                        'http://imt.oss-cn-hangzhou.aliyuncs.com/case/imt_hexin_img_03_a.jpg',
-                        'http://imt.oss-cn-hangzhou.aliyuncs.com/case/imt_hexin_img_03_b.jpg',
-                        'http://imt.oss-cn-hangzhou.aliyuncs.com/case/imt_hexin_img_03_c.jpg',
-                        'http://imt.oss-cn-hangzhou.aliyuncs.com/case/imt_hexin_img_03_d.jpg',
-                        'http://imt.oss-cn-hangzhou.aliyuncs.com/case/imt_hexin_img_03_e.jpg',
-                        'http://imt.oss-cn-hangzhou.aliyuncs.com/case/imt_hexin_img_03_f.jpg',
-                        'http://imt.oss-cn-hangzhou.aliyuncs.com/case/imt_hexin_img_03_g.jpg'
+                        'http://imttech.oss-cn-hangzhou.aliyuncs.com/case/imt_hexin_img_03_a.jpg',
+                        'http://imttech.oss-cn-hangzhou.aliyuncs.com/case/imt_hexin_img_03_b.jpg',
+                        'http://imttech.oss-cn-hangzhou.aliyuncs.com/case/imt_hexin_img_03_c.jpg',
+                        'http://imttech.oss-cn-hangzhou.aliyuncs.com/case/imt_hexin_img_03_d.jpg',
+                        'http://imttech.oss-cn-hangzhou.aliyuncs.com/case/imt_hexin_img_03_e.jpg',
+                        'http://imttech.oss-cn-hangzhou.aliyuncs.com/case/imt_hexin_img_03_f.jpg',
+                        'http://imttech.oss-cn-hangzhou.aliyuncs.com/case/imt_hexin_img_03_g.jpg'
                     ],
                     title: '顶级机床及设备',
                     sub: '高精密、智能化',
@@ -142,8 +142,8 @@ export default {
                 },
                 {
                     imgs: [
-                        'http://imt.oss-cn-hangzhou.aliyuncs.com/case/imt_hexin_img_04_a.jpg',
-                        'http://imt.oss-cn-hangzhou.aliyuncs.com/case/imt_hexin_img_04_b.jpg'
+                        'http://imttech.oss-cn-hangzhou.aliyuncs.com/case/imt_hexin_img_04_a.jpg',
+                        'http://imttech.oss-cn-hangzhou.aliyuncs.com/case/imt_hexin_img_04_b.jpg'
                     ],
                     title: '行业协会、专业机构',
                     sub: '国际化、专业化',
@@ -152,8 +152,8 @@ export default {
                 },
                 {
                     imgs: [
-                        'http://imt.oss-cn-hangzhou.aliyuncs.com/case/imt_hexin_img_05_a.jpg',
-                        'http://imt.oss-cn-hangzhou.aliyuncs.com/case/imt_hexin_img_05_b.jpg'
+                        'http://imttech.oss-cn-hangzhou.aliyuncs.com/case/imt_hexin_img_05_a.jpg',
+                        'http://imttech.oss-cn-hangzhou.aliyuncs.com/case/imt_hexin_img_05_b.jpg'
                     ],
                     title: '特色平台',
                     sub: '权威、专业',

+ 1 - 1
src/pagesImt/ServiceDetail.vue

@@ -32,7 +32,7 @@
 
         <!-- <div class="case" v-if="!cases">
             <van-empty
-                image="http://imt.oss-cn-hangzhou.aliyuncs.com/micro/kong_img_default.png"
+                image="http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/kong_img_default.png"
                 description="暂无案例展示"
             >
             </van-empty>

+ 1 - 1
src/pagesMine/Collect.vue

@@ -41,7 +41,7 @@
             </div>
         </van-sticky>
         <sort-list
-            emptyImg="http://imt.oss-cn-hangzhou.aliyuncs.com/micro/kong_img_shouchang.png"
+            emptyImg="http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/kong_img_shouchang.png"
             emptyText="当前暂无收藏哦~"
             :empty="empty"
             :loading="loading"

+ 5 - 5
src/pagesMine/Enter.vue

@@ -8,7 +8,7 @@
         <div class="top">
             <van-image
                 height="180"
-                src="http://imt.oss-cn-hangzhou.aliyuncs.com/micro/ruzhu_top_bg2x.jpg"
+                src="http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/ruzhu_top_bg2x.jpg"
                 fit="cover"
             />
 
@@ -48,7 +48,7 @@ export default {
         return {
             processes: [
                 {
-                    icon: 'http://imt.oss-cn-hangzhou.aliyuncs.com/micro/ruzhu_icon_jieduan01.png',
+                    icon: 'http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/ruzhu_icon_jieduan01.png',
                     preTitle: '阶段一',
                     title: '入驻申请',
                     steps: [
@@ -65,7 +65,7 @@ export default {
                     ]
                 },
                 {
-                    icon: 'http://imt.oss-cn-hangzhou.aliyuncs.com/micro/ruzhu_icon_jieduan02.png',
+                    icon: 'http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/ruzhu_icon_jieduan02.png',
                     preTitle: '阶段二',
                     title: '信息审核',
                     steps: [
@@ -78,7 +78,7 @@ export default {
                     ]
                 },
                 {
-                    icon: 'http://imt.oss-cn-hangzhou.aliyuncs.com/micro/ruzhu_icon_jieduan03.png',
+                    icon: 'http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/ruzhu_icon_jieduan03.png',
                     preTitle: '阶段三',
                     title: '选择套餐',
                     steps: [
@@ -92,7 +92,7 @@ export default {
                     ]
                 },
                 {
-                    icon: 'http://imt.oss-cn-hangzhou.aliyuncs.com/micro/ruzhu_icon_jieduan04.png',
+                    icon: 'http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/ruzhu_icon_jieduan04.png',
                     preTitle: '阶段四',
                     title: '店铺上线',
                     steps: [

+ 1 - 1
src/pagesMine/Order.vue

@@ -25,7 +25,7 @@
             </div>
         </van-sticky>
         <sort-list
-            emptyImg="http://imt.oss-cn-hangzhou.aliyuncs.com/micro/kong_img_qingdan.png"
+            emptyImg="http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/kong_img_qingdan.png"
             :empty="empty"
             :loading="loading"
             :finish="finish"

+ 2 - 1
src/store/index.js

@@ -4,6 +4,7 @@ export default new Vuex.Store({
     state: {
         phone: '86-21-60797117',
         email: 'imttech@itoc.com.cn',
+        _3durl: 'https://www.forjoygroup.com/3dvshow/demo/waigaoqiao/ifr.html',
         sessionKey: '',
         safeAreaTop: 0,
         safeAreaBottom: 0,
@@ -141,7 +142,7 @@ export default new Vuex.Store({
             }
         },
         getArea(context) {
-            http.http.get('http://imt.oss-cn-hangzhou.aliyuncs.com/utils/area.json').then(res => {
+            http.http.get('http://imttech.oss-cn-hangzhou.aliyuncs.com/utils/area.json').then(res => {
                 console.log(res);
                 context.commit('updateAreaList', res);
             });

+ 1 - 1
src/styles/fonts.less

@@ -1,6 +1,6 @@
 @font-face {
     font-family: 'OSP';
-    src: url(http://imt.oss-cn-hangzhou.aliyuncs.com/micro/OSP-DIN.ttf);
+    src: url(http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/OSP-DIN.ttf);
 }
 
 @font-face {

+ 22 - 0
src/utils/chat.js

@@ -0,0 +1,22 @@
+import http from '../plugins/http';
+
+// 需求管家自动回复
+function adminAutoReply(userId) {
+    return http.http.post('/user/getAdmin').then(res => {
+        return http.http.post(
+            '/message/save',
+            {
+                sendUserId: res,
+                receiveUserId: userId,
+                content: '管家已收到您的消息,稍后会有专人与您联系,请您保持手机畅通哦!'
+            },
+            {
+                header: {
+                    'Content-Type': 'application/json'
+                }
+            }
+        );
+    });
+}
+
+export { adminAutoReply };

+ 38 - 38
src/utils/imtPageInfo.js

@@ -1,7 +1,7 @@
 const services = [
     {
         name: '综合物流',
-        icon: 'http://imt.oss-cn-hangzhou.aliyuncs.com/micro/imt_fuwu_icon_01.png',
+        icon: 'http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/imt_fuwu_icon_01.png',
         sub: '全面的贸易物流与进出口业务解决方案',
         content:
             '配备专业的贸易及物流服务团队,为客户提供全面的贸易物流解决方案,包括进出口业务服务、运输服务、保税展示物流、仓储管理与分拨、机械设备维修物流等。',
@@ -9,9 +9,9 @@ const services = [
         cases: [
             {
                 imgs: [
-                    'http://imt.oss-cn-hangzhou.aliyuncs.com/case/imt_fuwu_wuliu_case01_a.jpg',
-                    'http://imt.oss-cn-hangzhou.aliyuncs.com/case/imt_fuwu_wuliu_case01_b.jpg',
-                    'http://imt.oss-cn-hangzhou.aliyuncs.com/case/imt_fuwu_wuliu_case01_c.jpg'
+                    'http://imttech.oss-cn-hangzhou.aliyuncs.com/case/imt_fuwu_wuliu_case01_a.jpg',
+                    'http://imttech.oss-cn-hangzhou.aliyuncs.com/case/imt_fuwu_wuliu_case01_b.jpg',
+                    'http://imttech.oss-cn-hangzhou.aliyuncs.com/case/imt_fuwu_wuliu_case01_c.jpg'
                 ],
                 name: '中国国际进口博览会保税参展物流服务',
                 content:
@@ -19,9 +19,9 @@ const services = [
             },
             {
                 imgs: [
-                    'http://imt.oss-cn-hangzhou.aliyuncs.com/case/imt_fuwu_wuliu_case02_a.jpg',
-                    'http://imt.oss-cn-hangzhou.aliyuncs.com/case/imt_fuwu_wuliu_case02_b.jpg',
-                    'http://imt.oss-cn-hangzhou.aliyuncs.com/case/imt_fuwu_wuliu_case02_c.jpg'
+                    'http://imttech.oss-cn-hangzhou.aliyuncs.com/case/imt_fuwu_wuliu_case02_a.jpg',
+                    'http://imttech.oss-cn-hangzhou.aliyuncs.com/case/imt_fuwu_wuliu_case02_b.jpg',
+                    'http://imttech.oss-cn-hangzhou.aliyuncs.com/case/imt_fuwu_wuliu_case02_c.jpg'
                 ],
                 name: 'Liebherr保税仓储与物流服务',
                 content:
@@ -31,7 +31,7 @@ const services = [
     },
     {
         name: '商务租赁',
-        icon: 'http://imt.oss-cn-hangzhou.aliyuncs.com/micro/imt_fuwu_icon_02.png',
+        icon: 'http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/imt_fuwu_icon_02.png',
         sub: '多种功能的物业空间,专业的物业管理',
         content:
             '拥有多种功能的物业空间,包括商务办公楼、设备展示体验馆、多功能会议厅、多媒体中心,并提供专业的物业管理服务。',
@@ -39,9 +39,9 @@ const services = [
         cases: [
             {
                 imgs: [
-                    'http://imt.oss-cn-hangzhou.aliyuncs.com/case/imt_fuwu_zulin_case01_a.jpg',
-                    'http://imt.oss-cn-hangzhou.aliyuncs.com/case/imt_fuwu_zulin_case01_b.jpg',
-                    'http://imt.oss-cn-hangzhou.aliyuncs.com/case/imt_fuwu_zulin_case01_c.jpg'
+                    'http://imttech.oss-cn-hangzhou.aliyuncs.com/case/imt_fuwu_zulin_case01_a.jpg',
+                    'http://imttech.oss-cn-hangzhou.aliyuncs.com/case/imt_fuwu_zulin_case01_b.jpg',
+                    'http://imttech.oss-cn-hangzhou.aliyuncs.com/case/imt_fuwu_zulin_case01_c.jpg'
                 ],
                 name: 'GF 加工方案',
                 content:
@@ -49,9 +49,9 @@ const services = [
             },
             {
                 imgs: [
-                    'http://imt.oss-cn-hangzhou.aliyuncs.com/case/imt_fuwu_zulin_case02_a.jpg',
-                    'http://imt.oss-cn-hangzhou.aliyuncs.com/case/imt_fuwu_zulin_case02_b.jpg',
-                    'http://imt.oss-cn-hangzhou.aliyuncs.com/case/imt_fuwu_zulin_case02_c.jpg'
+                    'http://imttech.oss-cn-hangzhou.aliyuncs.com/case/imt_fuwu_zulin_case02_a.jpg',
+                    'http://imttech.oss-cn-hangzhou.aliyuncs.com/case/imt_fuwu_zulin_case02_b.jpg',
+                    'http://imttech.oss-cn-hangzhou.aliyuncs.com/case/imt_fuwu_zulin_case02_c.jpg'
                 ],
                 name: 'INDEX',
                 content:
@@ -61,16 +61,16 @@ const services = [
     },
     {
         name: '检测认证',
-        icon: 'http://imt.oss-cn-hangzhou.aliyuncs.com/micro/imt_fuwu_icon_03.png',
+        icon: 'http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/imt_fuwu_icon_03.png',
         sub: '政策咨询、投资咨询、公司事务代理等',
         content:
             '行业专业检测机构,为客户提供进口机床法定检验、机床精度及性能检测等服务。实行进口机床现场法定检验及采信第三方检测报告。',
         cases: [
             {
                 imgs: [
-                    'http://imt.oss-cn-hangzhou.aliyuncs.com/case/imt_fuwu_jiance_case01_a.jpg',
-                    'http://imt.oss-cn-hangzhou.aliyuncs.com/case/imt_fuwu_jiance_case01_b.jpg',
-                    'http://imt.oss-cn-hangzhou.aliyuncs.com/case/imt_fuwu_jiance_case01_c.jpg'
+                    'http://imttech.oss-cn-hangzhou.aliyuncs.com/case/imt_fuwu_jiance_case01_a.jpg',
+                    'http://imttech.oss-cn-hangzhou.aliyuncs.com/case/imt_fuwu_jiance_case01_b.jpg',
+                    'http://imttech.oss-cn-hangzhou.aliyuncs.com/case/imt_fuwu_jiance_case01_c.jpg'
                 ],
                 name: '机械工业机床产品质量检测中心',
                 content:
@@ -80,16 +80,16 @@ const services = [
     },
     {
         name: '专业培训',
-        icon: 'http://imt.oss-cn-hangzhou.aliyuncs.com/micro/imt_fuwu_icon_04.png',
+        icon: 'http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/imt_fuwu_icon_04.png',
         sub: '进口机床现场法定检验及采信第三方检测报告',
         content:
             '园区设立 “上海市智能制造高技能人才培养基地外高桥分基地”,是由上海市智能制造产业协会、上海浦东智能制造协共同组建的专业化培训平台,旨在服务更多智能制造优秀企业,以产业发展、企业需求为导向,加快为企业输送智能制造高技能人才。',
         cases: [
             {
                 imgs: [
-                    'http://imt.oss-cn-hangzhou.aliyuncs.com/case/imt_fuwu_peixun_case01_a.jpg',
-                    'http://imt.oss-cn-hangzhou.aliyuncs.com/case/imt_fuwu_peixun_case01_b.jpg',
-                    'http://imt.oss-cn-hangzhou.aliyuncs.com/case/imt_fuwu_peixun_case01_c.jpg'
+                    'http://imttech.oss-cn-hangzhou.aliyuncs.com/case/imt_fuwu_peixun_case01_a.jpg',
+                    'http://imttech.oss-cn-hangzhou.aliyuncs.com/case/imt_fuwu_peixun_case01_b.jpg',
+                    'http://imttech.oss-cn-hangzhou.aliyuncs.com/case/imt_fuwu_peixun_case01_c.jpg'
                 ],
                 name: '工业大数据助推智能工厂建设',
                 content:
@@ -99,15 +99,15 @@ const services = [
     },
     {
         name: '商务咨询',
-        icon: 'http://imt.oss-cn-hangzhou.aliyuncs.com/micro/imt_fuwu_icon_05.png',
+        icon: 'http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/imt_fuwu_icon_05.png',
         sub: '行业展会、政企交流活动、研讨会、技术论坛',
         content: '配备专业政策咨询及公司事务咨询团队,为客户提供政策咨询、投资咨询、公司事务代理等服务。',
         cases: [
             {
                 imgs: [
-                    'http://imt.oss-cn-hangzhou.aliyuncs.com/case/imt_fuwu_zixun_case01_a.jpg',
-                    'http://imt.oss-cn-hangzhou.aliyuncs.com/case/imt_fuwu_zixun_case01_b.jpg',
-                    'http://imt.oss-cn-hangzhou.aliyuncs.com/case/imt_fuwu_zixun_case01_c.jpg'
+                    'http://imttech.oss-cn-hangzhou.aliyuncs.com/case/imt_fuwu_zixun_case01_a.jpg',
+                    'http://imttech.oss-cn-hangzhou.aliyuncs.com/case/imt_fuwu_zixun_case01_b.jpg',
+                    'http://imttech.oss-cn-hangzhou.aliyuncs.com/case/imt_fuwu_zixun_case01_c.jpg'
                 ],
                 name: '通快',
                 content:
@@ -117,52 +117,52 @@ const services = [
     },
     {
         name: '参展服务',
-        icon: 'http://imt.oss-cn-hangzhou.aliyuncs.com/micro/imt_fuwu_icon_06.png',
+        icon: 'http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/imt_fuwu_icon_06.png',
         sub: '为企业输送智能制造高技能人才',
         color: '#64776F',
         content: '为客户提供设备保税参展服务,从设备到港到设备进馆完成调试的全流程服务。',
-        img: 'http://imt.oss-cn-hangzhou.aliyuncs.com/case/imt_fuwu_img_062x.jpg'
+        img: 'http://imttech.oss-cn-hangzhou.aliyuncs.com/case/imt_fuwu_img_062x.jpg'
     },
     {
         name: '行业交流',
-        icon: 'http://imt.oss-cn-hangzhou.aliyuncs.com/micro/imt_fuwu_icon_07.png',
+        icon: 'http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/imt_fuwu_icon_07.png',
         sub: '设备保税参展全流程服务',
         color: '#B3775B',
         content: '组织筹办国际性的行业展会、组织政企交流活动、举办研讨会、技术论坛等专业活动。',
-        img: 'http://imt.oss-cn-hangzhou.aliyuncs.com/case/imt_fuwu_img_072x.jpg'
+        img: 'http://imttech.oss-cn-hangzhou.aliyuncs.com/case/imt_fuwu_img_072x.jpg'
     },
     {
         name: '融资租赁',
-        icon: 'http://imt.oss-cn-hangzhou.aliyuncs.com/micro/imt_fuwu_icon_08.png',
+        icon: 'http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/imt_fuwu_icon_08.png',
         sub: '配置优质金融服务解决方案',
         color: '#BF782C',
         content:
             '与银行系统进行金融战略合作,搭建产融合作平台,为平台智能制造企业和相关重点项目配置优质金融服务解决方案。',
-        img: 'http://imt.oss-cn-hangzhou.aliyuncs.com/case/imt_fuwu_img_082x.jpg'
+        img: 'http://imttech.oss-cn-hangzhou.aliyuncs.com/case/imt_fuwu_img_082x.jpg'
     },
     {
         name: '维修',
-        icon: 'http://imt.oss-cn-hangzhou.aliyuncs.com/micro/imt_fuwu_icon_09.png',
+        icon: 'http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/imt_fuwu_icon_09.png',
         sub: '整合专业技术团队资源,提供高效维修服务',
         color: '#204758',
         content: '整合专业技术团队资源,为客户提供高效便捷的维修服务。',
-        img: 'http://imt.oss-cn-hangzhou.aliyuncs.com/case/imt_fuwu_img_092x.jpg'
+        img: 'http://imttech.oss-cn-hangzhou.aliyuncs.com/case/imt_fuwu_img_092x.jpg'
     },
     {
         name: '产能共享',
-        icon: 'http://imt.oss-cn-hangzhou.aliyuncs.com/micro/imt_fuwu_icon_10.png',
+        icon: 'http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/imt_fuwu_icon_10.png',
         sub: '整合生产资源,提供产能供应与需求配置服务',
         color: '#88785B',
         content: '整合生产资源,为客提供产能供应与需求的配置服务。',
-        img: 'http://imt.oss-cn-hangzhou.aliyuncs.com/case/imt_fuwu_img_102x.jpg'
+        img: 'http://imttech.oss-cn-hangzhou.aliyuncs.com/case/imt_fuwu_img_102x.jpg'
     },
     {
         name: '技术系统集成',
-        icon: 'http://imt.oss-cn-hangzhou.aliyuncs.com/micro/imt_fuwu_icon_11.png',
+        icon: 'http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/imt_fuwu_icon_11.png',
         sub: '整合行业资源,寻找最佳技术系统集成方案',
         color: '#5C493B',
         content: '整合行业众多优质资源,为客户寻找最佳的技术系统集成方案。',
-        img: 'http://imt.oss-cn-hangzhou.aliyuncs.com/case/imt_fuwu_img_112x.jpg'
+        img: 'http://imttech.oss-cn-hangzhou.aliyuncs.com/case/imt_fuwu_img_112x.jpg'
     }
 ];