Commit a8c14c7b authored by AU-Pro-mac's avatar AU-Pro-mac

add new code

parent dcc308f4
...@@ -434,7 +434,7 @@ Page({ ...@@ -434,7 +434,7 @@ Page({
onShareAppMessage() { onShareAppMessage() {
// 返回自定义分享信息 // 返回自定义分享信息
clickStat(app.activityId, 'share') clickStat(app.activityId, 'share')
SHARE_CONFIG.imageUrl = '' SHARE_CONFIG.imageUrl = 'https://yun.duiba.com.cn/spark/assets/雅顿分享.df56b46d59b3048292e0891ab2f5540bfa1d6dd8.png'
SHARE_CONFIG.path = this.changeURLArg('/pages/homePage/homePage', 'inviteId', app.openId) SHARE_CONFIG.path = this.changeURLArg('/pages/homePage/homePage', 'inviteId', app.openId)
return SHARE_CONFIG; return SHARE_CONFIG;
}, },
......
...@@ -48,7 +48,7 @@ Page({ ...@@ -48,7 +48,7 @@ Page({
onShareAppMessage() { onShareAppMessage() {
// 返回自定义分享信息 // 返回自定义分享信息
clickStat(app.activityId, 'share') clickStat(app.activityId, 'share')
SHARE_CONFIG.imageUrl = '' SHARE_CONFIG.imageUrl = 'https://yun.duiba.com.cn/spark/assets/雅顿分享.df56b46d59b3048292e0891ab2f5540bfa1d6dd8.png'
SHARE_CONFIG.path = this.changeURLArg('/pages/homePage/homePage', 'inviteId', app.openId) SHARE_CONFIG.path = this.changeURLArg('/pages/homePage/homePage', 'inviteId', app.openId)
return SHARE_CONFIG; return SHARE_CONFIG;
}, },
......
...@@ -226,7 +226,8 @@ Component({ ...@@ -226,7 +226,8 @@ Component({
this.gamePrize = { this.gamePrize = {
name: data.prize.name, name: data.prize.name,
image: data.prize.image, image: data.prize.image,
type: data.prize.type type: data.prize.type,
num: data.prize.awardLotteryTimes ? data.prize.awardLotteryTimes : 1
} }
console.log('%cgamePrize:', ConsoleStyle, this.gamePrize) console.log('%cgamePrize:', ConsoleStyle, this.gamePrize)
this.postMessage('mine.getPrizeInfo', {data:this.gamePrize}) this.postMessage('mine.getPrizeInfo', {data:this.gamePrize})
...@@ -234,7 +235,8 @@ Component({ ...@@ -234,7 +235,8 @@ Component({
this.gamePrize ={ this.gamePrize ={
name: '谢谢参与', name: '谢谢参与',
image: '', image: '',
type: 5 type: 5,
num: data.prize.awardLotteryTimes ? data.prize.awardLotteryTimes : 1
} }
console.log('%cgamePrize:', ConsoleStyle, this.gamePrize) console.log('%cgamePrize:', ConsoleStyle, this.gamePrize)
this.postMessage('mine.getPrizeInfo', {data:this.gamePrize}) this.postMessage('mine.getPrizeInfo', {data:this.gamePrize})
......
...@@ -368,7 +368,7 @@ Page({ ...@@ -368,7 +368,7 @@ Page({
onShareAppMessage() { onShareAppMessage() {
// 返回自定义分享信息 // 返回自定义分享信息
clickStat(app.activityId, 'share') clickStat(app.activityId, 'share')
SHARE_CONFIG.imageUrl = '' SHARE_CONFIG.imageUrl = 'https://yun.duiba.com.cn/spark/assets/雅顿分享.df56b46d59b3048292e0891ab2f5540bfa1d6dd8.png'
SHARE_CONFIG.path = this.changeURLArg('/pages/homePage/homePage', 'inviteId', app.openId) SHARE_CONFIG.path = this.changeURLArg('/pages/homePage/homePage', 'inviteId', app.openId)
return SHARE_CONFIG; return SHARE_CONFIG;
}, },
......
...@@ -736,6 +736,12 @@ const resList = { ...@@ -736,6 +736,12 @@ const resList = {
ext: '.png', ext: '.png',
url: '//yun.duiba.com.cn/spark/assets/关闭按钮_白.482eff6f4b25953c989ddaa608b754cd8af488b7.png', url: '//yun.duiba.com.cn/spark/assets/关闭按钮_白.482eff6f4b25953c989ddaa608b754cd8af488b7.png',
uuid: '4d77ca71-1a5f-4db9-87dd-e54dfc671266' uuid: '4d77ca71-1a5f-4db9-87dd-e54dfc671266'
},
'b93248a7-a134-4b2f-8426-a52864ded90f': {
name: '雅顿分享',
ext: '.png',
url: '//yun.duiba.com.cn/spark/assets/雅顿分享.df56b46d59b3048292e0891ab2f5540bfa1d6dd8.png',
uuid: 'b93248a7-a134-4b2f-8426-a52864ded90f'
} }
}; };
export default resList; export default resList;
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 to comment