Commit a54ca9b6 by mamingqun

上线版本

parent d4e657b2
...@@ -113,7 +113,7 @@ export default { ...@@ -113,7 +113,7 @@ export default {
setTimeout(() => { setTimeout(() => {
this.getWeixinPower1(); this.getWeixinPower1();
}, 300); }, 200);
// let noSharp = location.href.split('#')[0]; // let noSharp = location.href.split('#')[0];
......
...@@ -237,6 +237,9 @@ export default { ...@@ -237,6 +237,9 @@ export default {
// this.bannerHeight = $('.topBox5686').height(); // this.bannerHeight = $('.topBox5686').height();
// }, 200); // }, 200);
}, },
activated(){
this.getWeixinPowerShare();
},
methods: { methods: {
getUserInfo() { getUserInfo() {
axios.get('/contest/user/info').then(res => { axios.get('/contest/user/info').then(res => {
...@@ -589,7 +592,7 @@ export default { ...@@ -589,7 +592,7 @@ export default {
{ {
title: _this.$randomText(), // 分享标题 title: _this.$randomText(), // 分享标题
link: api.wrapHref, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致 link: api.wrapHref, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
imgUrl: '' // 分享图标 imgUrl: api.shareImg // 分享图标
}, },
function (res) { function (res) {
//这里是回调函数 //这里是回调函数
......
...@@ -106,12 +106,6 @@ Vue.prototype.$randomText = function () { ...@@ -106,12 +106,6 @@ Vue.prototype.$randomText = function () {
case 6: case 6:
str = '春节回家,用手机拍下故乡里的人间风味。'; str = '春节回家,用手机拍下故乡里的人间风味。';
break; break;
case 7:
str = '回家去看看刻着你名字的老树,将它定格在记忆的底片上';
break;
case 8:
str = '马上就能吃到妈妈做得红烧排骨啦!开心!';
break;
case 9: case 9:
str = '春节回家,用手机拍下故乡里的人间风味'; str = '春节回家,用手机拍下故乡里的人间风味';
break; break;
......
...@@ -93,6 +93,11 @@ export default { ...@@ -93,6 +93,11 @@ export default {
this.getUserImgList(); this.getUserImgList();
}) })
}, },
activated(){
setTimeout(() => {
this.getWeixinPowerShare();
}, 400);
},
methods: { methods: {
tongbudianzan(arr, data) { tongbudianzan(arr, data) {
var ele = arr.find(value => { var ele = arr.find(value => {
......
...@@ -91,12 +91,6 @@ Vue.prototype.$randomText = function () { ...@@ -91,12 +91,6 @@ Vue.prototype.$randomText = function () {
case 6: case 6:
str = '春节回家,用手机拍下故乡里的人间风味。'; str = '春节回家,用手机拍下故乡里的人间风味。';
break; break;
case 7:
str = '回家去看看刻着你名字的老树,将它定格在记忆的底片上';
break;
case 8:
str = '马上就能吃到妈妈做得红烧排骨啦!开心!';
break;
case 9: case 9:
str = '春节回家,用手机拍下故乡里的人间风味'; str = '春节回家,用手机拍下故乡里的人间风味';
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment