xiaoming_global преди 5 години
родител
ревизия
ad73b3a3fd
променени са 3 файла, в които са добавени 25 реда и са изтрити 17 реда
  1. 1 1
      config/sit.env.js
  2. 12 9
      src/scrm_pages/activity/activity.vue
  3. 12 7
      src/scrm_pages/microHome/microHome.vue

+ 1 - 1
config/sit.env.js Целия файл

@@ -1,7 +1,7 @@
1 1
 module.exports = {
2 2
   NODE_ENV: '"production"',
3 3
   ENV_CONFIG: '"sit"',
4
-  BASE_API: '"http://api.test1.sgjyun.com"',
4
+  BASE_API: '"http://api.jk.test.sgjyun.com"',
5 5
 
6 6
   SSO_HOST: '"https://testsso.sgjyun.com"',
7 7
   SRCM_HOST: '"http://test1.sgjyun.com"',

+ 12 - 9
src/scrm_pages/activity/activity.vue Целия файл

@@ -51,15 +51,18 @@ export default {
51 51
     staffCreateTime(time) {
52 52
       return uParseTime(time, "{y}-{m}-{d} {h}:{i}:{s}");
53 53
     },
54
-    singleActivitInfo(id, orgid) {
55
-      this.$router.push({
56
-        path: "/activityDetail",
57
-        query: {
58
-          id: id,
59
-          orgid,
60
-          orgid
61
-        }
62
-      });
54
+    // singleActivitInfo(id, orgid) {
55
+    //   this.$router.push({
56
+    //     path: "/activityDetail",
57
+    //     query: {
58
+    //       id: id,
59
+    //       orgid,
60
+    //       orgid
61
+    //     }
62
+    //   });
63
+    // }
64
+    singleActivitInfo(id){
65
+      window.location.href = "http://wx.kuyicloud.com/weixin/activity/"+id;
63 66
     }
64 67
   },
65 68
   created() {

+ 12 - 7
src/scrm_pages/microHome/microHome.vue Целия файл

@@ -51,7 +51,7 @@
51 51
               </div>
52 52
               <div class="detail">
53 53
                 <p class="detailTitle">{{it.title}}</p>
54
-                <p class="detailMessage">{{it.content}}</p>
54
+                <!-- <p class="detailMessage">{{it.content}}</p> -->
55 55
               </div>
56 56
             </div>
57 57
           </div>
@@ -194,8 +194,7 @@
194 194
           class="tabOne"
195 195
           v-for="item in this.navigationdata"
196 196
           :key="item.id"
197
-          @click="CallPhone(item.linktype,item.navaddress)"
198
-        >
197
+          @click="CallPhone(item.linktype,item.navaddress)">
199 198
           <img :src="item.navimages" alt />
200 199
           <span>{{item.navtitle}}</span>
201 200
         </li>
@@ -324,15 +323,21 @@ export default {
324 323
     },
325 324
     NavigationClick(title, address, orgid) {
326 325
       console.log("orgid", orgid);
327
-      if (title == "联系我们") {
328
-        this.$router.push({
326
+      //  debugger
327
+      if(title == "加入会员"){
328
+        window.location.href = "http://wx.kuyicloud.com/weixin/membershipagree/"+orgid;
329
+      }else if(title == "联系我们"){
330
+          this.$router.push({
329 331
           path: "/contact",
330 332
           query: {
331 333
             orgid: orgid
332 334
           }
333
-        });
335
+         });
336
+      }else if(title =="咨询客服"){
337
+         window.location.href = "http://wx.kuyicloud.com/weixin/im/"+orgid;
338
+      }else{
339
+        window.location.href = address;
334 340
       }
335
-      window.location.href = address;
336 341
     },
337 342
 
338 343
     CallPhone(linktype, address) {