换皮:新增peko

This commit is contained in:
Dragon
2022-09-27 15:34:30 +08:00
parent 3cf89feaa0
commit eca795c6a4
449 changed files with 21845 additions and 2202 deletions

View File

@@ -1,7 +1,7 @@
let browser = checkVersion()
let info = {}
// let betaUrl = 'https://yeying.api.shengxuanwangluo.com/peko/modules/inviteCode/share.html?uid=' + info.uid
// let realUrl = 'https://yeying.api.shengxuanwangluo.com/peko/modules/inviteCode/share.html?uid=' + info.uid
// let betaUrl = 'https://beta.api.pekolive.com/peko/modules/inviteCode/share.html?uid=' + info.uid
// let realUrl = 'https://api.lecheng163.com/peko/modules/inviteCode/share.html?uid=' + info.uid
let betaUrl, realUrl
// let link = (EnvCheck() == 'test') ? betaUrl : realUrl
// console.log(6, link);
@@ -9,10 +9,10 @@ if (EnvCheck() === 'test') {
new VConsole()
}
let share = {
title: '玩游戏交朋友,来大鹅',
title: '玩游戏交朋友,来peko',
// link: link,
desc: '人美声甜小姐姐在线连麦陪玩,有趣的人正在等你~',
imgUrl: 'https://yeying.api.shengxuanwangluo.com/peko/modules/wxPubPay/images/logo.png'
imgUrl: 'https://api.lecheng163.com/peko/modules/wxPubPay/images/logo.png'
}
let shareObj = {
type: 2,
@@ -66,8 +66,8 @@ $(function () {
noRecordRender()
}
// noRecordRender()
betaUrl = 'https://yeying.api.shengxuanwangluo.com/peko/modules/inviteCode/share.html?inviteCode=' + res.data.inviteCode
realUrl = 'https://yeying.api.shengxuanwangluo.com/peko/modules/inviteCode/share.html?inviteCode=' + res.data.inviteCode
betaUrl = 'https://beta.api.pekolive.com/peko/modules/inviteCode/share.html?inviteCode=' + res.data.inviteCode
realUrl = 'https://api.lecheng163.com/peko/modules/inviteCode/share.html?inviteCode=' + res.data.inviteCode
shareObj.data.link = shareObj.data.showUrl = (EnvCheck() == 'test') ? betaUrl : realUrl
$('.invite-btn').on('click', function () {