xuhaolan 4 years ago
parent
commit
30ce25458b
3 changed files with 8 additions and 4 deletions
  1. 2 2
      pages/index/index.vue
  2. 4 0
      pages/product/product.vue
  3. 2 2
      store/index.js

+ 2 - 2
pages/index/index.vue

@@ -398,8 +398,8 @@
 				path += 'spread=' + this.userInfo.uid;
 				let data = {
 					link: this.baseURL + path,
-					title: this.userInfo.nickname + '邀请您进入Xingwang鑫旺',
-					desc: '欢迎加入Xingwang鑫旺',
+					title: this.userInfo.nickname + '邀请您进入Xingwang永省购',
+					desc: '欢迎加入Xingwang永省购',
 					imgUrl: 'http://xw.liuniu946.com/static/img/logo.png'
 				};
 				console.log(data, '分享数据');

+ 4 - 0
pages/product/product.vue

@@ -419,7 +419,9 @@
 						obj.mer_id = data.mer_id;
 						console.log(obj.mer_id,'商户编号')
 						obj.goodsObjact = goods;
+						// #ifdef H5
 						obj.IndexShare()
+						// #endif
 						if (obj.goodsObjact.description != null) {
 							obj.description = obj.goodsObjact.description.replace(/\<img/gi,
 								'<img class="rich-img"');
@@ -481,7 +483,9 @@
 						obj.goodsNumberMax = goods.num;
 						console.log(obj.seckillObj, '数据');
 						obj.goodsObjact = goods;
+						// #ifdef H5
 						obj.IndexShare()
+						// #endif
 						if (obj.goodsObjact.description != null) {
 							obj.description = obj.goodsObjact.description.replace(/\<img/gi,
 								'<img class="rich-img"');

+ 2 - 2
store/index.js

@@ -8,8 +8,8 @@ Vue.use(Vuex)
 const store = new Vuex.Store({
 	state: {
 		// baseURL:"http://yrh.liuniu946.com",//'http://eb.shuibo.net',//请求地址配置 
-		// baseURL:'https://ysg.liuniu946.com',//请求地址配置 
-		baseURL:'http://ysg.frp.liuniu946.com',//请求地址配置 
+		baseURL:'https://ysg.liuniu946.com',//请求地址配置 
+		// baseURL:'http://ysg.frp.liuniu946.com',//请求地址配置 
 		// baseURL:'http://www.zjxwcm.cn',
 		urlFile:'/index',//项目部署所在文件夹
 		userInfo: {}, //登录信息