Quellcode durchsuchen

[fixed] formart

x vor 5 Jahren
Ursprung
Commit
a07855f4ea
1 geänderte Dateien mit 10 neuen und 8 gelöschten Zeilen
  1. 10 8
      src/views/shop/GoodsCon.vue

+ 10 - 8
src/views/shop/GoodsCon.vue

@@ -598,7 +598,7 @@ import ProductWindow from "@components/ProductWindow";
 import StorePoster from "@components/StorePoster";
 import ShareInfo from "@components/ShareInfo";
 import debounce from "lodash.debounce";
-import WeChat from "@libs/pay"
+import WeChat from "@libs/pay";
 import { goShopDetail } from "@libs/order";
 import {
   getProductDetail,
@@ -895,7 +895,7 @@ export default {
         this.posters = false;
         console.log("todo wechat friend");
         // todo wechat send to friend
-        
+
         var data = this.storeInfo;
         var message = {
           title: data.store_name,
@@ -907,7 +907,7 @@ export default {
           }
         };
         WeChat.shareLink(message, function(success) {
-          if(success) console.log("share success !");
+          if (success) console.log("share success !");
           else console.log("share falied !");
         });
       }
@@ -925,7 +925,7 @@ export default {
       // this.posterImageStatus = !this.posterImageStatus;
       this.posters = false;
       console.log("todo wechat friends");
-      
+
       var data = this.storeInfo;
       var message = {
         title: data.store_name,
@@ -936,10 +936,12 @@ export default {
           webpageUrl: "http://www.shotshock.shop"
         }
       };
-      WeChat.shareLink(message, function(success) {
-        if(success) console.log("share success !");
-        else console.log("share falied !");
-      }, false);
+      WeChat.shareLink(
+        message,
+        function(success) {
+          if (success) console.log("share success !");
+          else console.log("share falied !");
+        }, false);
     },
     //产品详情接口;
     productCon: function() {