Browse Source

微网站

xiaoming_global 5 years ago
parent
commit
ad73b3a3fd
3 changed files with 25 additions and 17 deletions
  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 View File

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

+ 12 - 9
src/scrm_pages/activity/activity.vue View File

51
     staffCreateTime(time) {
51
     staffCreateTime(time) {
52
       return uParseTime(time, "{y}-{m}-{d} {h}:{i}:{s}");
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
   created() {
68
   created() {

+ 12 - 7
src/scrm_pages/microHome/microHome.vue View File

51
               </div>
51
               </div>
52
               <div class="detail">
52
               <div class="detail">
53
                 <p class="detailTitle">{{it.title}}</p>
53
                 <p class="detailTitle">{{it.title}}</p>
54
-                <p class="detailMessage">{{it.content}}</p>
54
+                <!-- <p class="detailMessage">{{it.content}}</p> -->
55
               </div>
55
               </div>
56
             </div>
56
             </div>
57
           </div>
57
           </div>
194
           class="tabOne"
194
           class="tabOne"
195
           v-for="item in this.navigationdata"
195
           v-for="item in this.navigationdata"
196
           :key="item.id"
196
           :key="item.id"
197
-          @click="CallPhone(item.linktype,item.navaddress)"
198
-        >
197
+          @click="CallPhone(item.linktype,item.navaddress)">
199
           <img :src="item.navimages" alt />
198
           <img :src="item.navimages" alt />
200
           <span>{{item.navtitle}}</span>
199
           <span>{{item.navtitle}}</span>
201
         </li>
200
         </li>
324
     },
323
     },
325
     NavigationClick(title, address, orgid) {
324
     NavigationClick(title, address, orgid) {
326
       console.log("orgid", orgid);
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
           path: "/contact",
331
           path: "/contact",
330
           query: {
332
           query: {
331
             orgid: orgid
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
     CallPhone(linktype, address) {
343
     CallPhone(linktype, address) {