美团/饿了么外卖CPS联盟返利公众号小程序核心源码代码
作者:互联网
编辑搜图
请点击输入图片描述(最多18字)
直接上代码:
return {
current: 0,
tabs: [
{
icon: '/static/all.png',
text: '全部',
tabId: 0
},
{
icon: '/static/ele.png',
text: '饿了么',
tabId: 1
},
{
icon: '/static/meituan.png',
text: '美团',
tabId: 2
},
// {
// icon: '/static/11.png',
// text: '双十一',
// tabId: 5,
// },
{
icon: '/static/didi.jpg',
text: '打车',
tabId: 3
},
{
icon: '/static/vip.png',
text: '更多',
tabId: 4,
}
],
couponList: [],
coupons: [
{
name: '饿了么红包',
icon: '/static/coupon/ele.png',
bannerPic: '/static/coupon/ele_banner.png',
url:
'https://tb.ele.me/wow/ele-ad/act/elmtkhd?wh_biz=tm&from=cps_tk&ali_trackid=2:mm_17120259_1010400477_109662050039:1607398661_119_1629495769&e=-s022gHq5crPAmiDjxfUJROfATV4nr9Y1FFtZuCzlv27mRUTeZ0QE64UVHKHFuMuONvsF6zKMmObEje2lfmV4xcMndCkKGN82ncKjxDgv3oKeRnj5dFGkw0BGavJ6RgdkoJLCXMnrHGjPEv5ttQNbNMm9WDjC2BxL9aGWjy0uED82X4WDcbFzM3Z7VR28KvAIMmPfPPQ7PIUSSnsLX1wF8KDVT7Ixewyypsi41tM8dvXtd1UEu8xf6eiPgnegetzxUeG0IYKPKv91Nsuybs9m5BFKdKN&union_lens=lensId%3AAPP%401607395473%400b83472c_0fa8_176403c777e_1409%40023MZVePSQEXiGt6FZGcA7R4',
type: 1,
tabId: 1,
minapp: {
appid: 'wxece3a9a4c82f58c9',
path:
'pages/sharePid/web/index?scene=s.click.ele.me%2FeoTiVtu'
}
},
{
name: '饿了么超级红包',
icon: '/static/coupon/ele.png',
bannerPic: '/static/coupon/elede.png',
url:
'https://tb.ele.me/wow/ele-ad/act/elmtkhd?wh_biz=tm&from=cps_tk&ali_trackid=2:mm_17120259_1010400477_109662050039:1607398661_119_1629495769&e=-s022gHq5crPAmiDjxfUJROfATV4nr9Y1FFtZuCzlv27mRUTeZ0QE64UVHKHFuMuONvsF6zKMmObEje2lfmV4xcMndCkKGN82ncKjxDgv3oKeRnj5dFGkw0BGavJ6RgdkoJLCXMnrHGjPEv5ttQNbNMm9WDjC2BxL9aGWjy0uED82X4WDcbFzM3Z7VR28KvAIMmPfPPQ7PIUSSnsLX1wF8KDVT7Ixewyypsi41tM8dvXtd1UEu8xf6eiPgnegetzxUeG0IYKPKv91Nsuybs9m5BFKdKN&union_lens=lensId%3AAPP%401607395473%400b83472c_0fa8_176403c777e_1409%40023MZVePSQEXiGt6FZGcA7R4',
type: 3,
tabId: 1,
minapp: {
appid: 'wxece3a9a4c82f58c9',
path:
'ele-recommend-price/pages/guest/index?inviterId=28d2c682'
}
},
{
name: '饿了么果蔬大折扣',
icon: '/static/coupon/ele.png',
bannerPic: '/static/coupon/elecs.png',
url: 'https://tb.ele.me/wow/ele-ad/act/dgz-xls-online?wh_biz=tm&ali_trackid=2:mm_17120259_1010400477_109662050039:1607411389_119_1507480059&e=-s029aNb27DVXFFiL6Ir4pMplDoS0coNnv6WsDyi0fC9REQSHrKXuXkIRL2IW0dQYccl1oImXofSsHyPcJkhJeoLAoPIcnvr7QvBsE4lTLsu1afVA0hSy8h6GPr3BUqDrMJYUnmqdEMKATgqH3AN1P9Ejt90zKB2sI805JoDlIIsGHvqKWn1Fa4VRVAma4imlDsYJOExCch6S0MePZAfdpKZeOI6jmFi9t0cQEBZH3zDwCGFfWNnIhtCxkhjyeGsCmjeZRqyKu5kugrME&union_lens=lensId%3AAPP%401607411363%40210751e2_0da7_176412eef2f_789a%40024umgIuxX5oWPZd7lsKJbVd',
type: 3,
tabId: 1,
minapp: {
appid: 'wxece3a9a4c82f58c9',
path: 'pages/sharePid/web/index?scene=s.click.ele.me%2FmZsiVtu'
}
},
{
name: '美团外卖红包',
icon: '/static/coupon/meituan.png',
bannerPic: '/static/coupon/mt56.png',
url:
'https%3a%2f%2fact.meituan.com%2fclover%2fpage%2fadunioncps%2fshare_coupon%3futmSource%3d57967%26utmMedium%3d3F46DFE8D61434CD17CF77DB9230DCE6%26activity%3dOwMkGzn6oK',
type: 1,
tabId: 2,
minapp: {
appid: 'wxde8ac0a21135c07d',
path:
'/index/pages/h5/h5?weburl=https%3a%2f%2fact.meituan.com%2fclover%2fpage%2fadunioncps%2fshare_coupon%3futmSource%3d57967%26utmMedium%3d3F46DFE8D61434CD17CF77DB9230DCE6%26activity%3dOwMkGzn6oK'
}
},
{
name: '美团生鲜红包',
icon: '/static/coupon/meituan.png',
bannerPic: '/static/coupon/mtsx.png',
url:
'https%3a%2f%2fact.meituan.com%2fclover%2fpage%2fadunioncps%2fshare_coupon%3futmSource%3d57967%26utmMedium%3d3F46DFE8D61434CD17CF77DB9230DCE6%26activity%3dLj7hGmmCBO',
type: 1,
tabId: 2,
minapp: {
appid: 'wxde8ac0a21135c07d',
path:
'/index/pages/h5/h5?weburl=https%3a%2f%2fact.meituan.com%2fclover%2fpage%2fadunioncps%2fshare_coupon%3futmSource%3d57967%26utmMedium%3d3F46DFE8D61434CD17CF77DB9230DCE6%26activity%3dLj7hGmmCBO'
}
},
{
name: '美团商城优惠券',
icon: '/static/coupon/meituan.png',
bannerPic: '/static/coupon/mtyhq.png',
url:
'https%3a%2f%2fact.meituan.com%2fclover%2fpage%2fadunioncps%2fcoupon_shop%3futmSource%3d57967%26utmMedium%3d3F46DFE8D61434CD17CF77DB9230DCE6%26activity%3d0AlN4OtEIa',
type: 3,
tabId: 2,
minapp: {
appid: 'wxde8ac0a21135c07d',
path:
'/index/pages/h5/h5?weburl=https%3a%2f%2fact.meituan.com%2fclover%2fpage%2fadunioncps%2fcoupon_shop%3futmSource%3d57967%26utmMedium%3d3F46DFE8D61434CD17CF77DB9230DCE6%26activity%3d0AlN4OtEIa'
}
},
{
name: '花小猪打车(首单免费)',
icon: '/static/didi.jpg',
bannerPic: '/static/coupon/hxz.png',
url:'https://s.click.taobao.com/Gcs9vuu',
type: 3,
tabId: 3,
minapp: {
appid: 'wxd98a20e429ce834b',
path:
'pages/index/index?scene=zxOgqk&f_dpsid=6452798febb04629bd6db53f4a8fbc7e&entrance_channel=&g_channel=2f9e032794de100a0b8eb5a203bd2a37&channel_id=2001001001&share_code=btkatveq4c3bknkdd800&longitude=118.09906768798828&latitude=24.509170532226562&city_id=32'
}
},
{
name: '海量微信斗图表情包',
icon: '/static/vip.png',
bannerPic: '/static/coupon/doutu.png',
url:'https://s.click.taobao.com/Gcs9vuu',
type: 3,
tabId: 4,
minapp: {
appid: 'wxb75ea8869bf95966',
path:
'pages/index/index'
}
},
{
name: '排休倒班随时查',
icon: '/static/vip.png',
bannerPic: '/static/coupon/paiban.jpg',
url:'https://s.click.taobao.com/Gcs9vuu',
type: 3,
tabId: 4,
minapp: {
appid: 'wx2565a906d37ee6b1',
path:
'pages/calendar/calendar'
}
},
]
};
},
欢迎大家补充、完善这篇文章,为后来者提供更多帮助。感谢!欢迎转载,分享有心
标签:tabId,coupon,ele,源码,static,外卖,返利,png,icon 来源: https://blog.csdn.net/weixin_54114838/article/details/115171177