Compare commits

..

285 Commits

Author SHA1 Message Date
Dragon
5c042369fc 修复榜单 2023-08-19 00:17:33 +08:00
Dragon
269415685d 替换规则 2023-08-18 23:57:46 +08:00
Dragon
abd8deec4c 修改榜单奖励 2023-08-18 23:43:56 +08:00
Dragon
95416c0ef0 修复榜单溢出问题 2023-08-18 19:38:02 +08:00
Dragon
b4fdf87984 修改万单位判断条件 2023-08-18 19:37:59 +08:00
Dragon
b03374eddb 修改小时榜单 2023-08-18 19:37:57 +08:00
Dragon
b650b04101 修复时间格式 2023-08-18 19:37:55 +08:00
Dragon
6619db011d 替换榜单规则 2023-08-18 19:37:53 +08:00
Dragon
5c9597188f 替换图片 2023-08-18 19:37:51 +08:00
Dragon
4d49228ea6 取消限制连点抽奖 2023-08-18 19:37:46 +08:00
Dragon
7c0ec3a053 修复动效和榜单bug 2023-08-18 19:37:43 +08:00
Dragon
4f5a4bd2f1 修复bug 2023-08-18 19:37:40 +08:00
Dragon
b4e5279dd1 修复bug 2023-08-18 19:37:36 +08:00
Dragon
f00ef26431 替换为繁体 2023-08-18 19:37:30 +08:00
Dragon
660cbde145 完成所有接口联调 2023-08-18 19:37:27 +08:00
Dragon
bdf9d34ea7 暂存,仅剩第一个tab接口 2023-08-18 19:37:23 +08:00
Dragon
5a695caac4 暂存情缘榜 2023-08-18 19:37:19 +08:00
Dragon
f26364ffef 联调鹊桥接口动效以及房间榜接口 2023-08-18 19:37:17 +08:00
Dragon
9c3a66300e 完成七夕所有静态页面 2023-08-18 19:37:13 +08:00
Dragon
b6fe002a9f 暂存 2023-08-18 19:36:54 +08:00
Dragon
a41ff15608 暂存七夕 2023-08-18 19:36:51 +08:00
Dragon
579a25a047 暂存 2023-08-18 19:36:46 +08:00
Dragon
b13763b0b3 暂存 2023-08-18 19:36:42 +08:00
Dragon
9e82ab9cfc 暂存 2023-08-18 19:36:39 +08:00
Dragon
779dddffc8 暂存 2023-08-18 19:36:34 +08:00
Dragon
ac7a7b51d3 转存 2023-08-18 19:36:31 +08:00
Dragon
e2595fbb11 暂存 2023-08-18 19:36:25 +08:00
Dragon
edd003ceb4 暂存七夕互动 2023-08-18 19:36:21 +08:00
Dragon
06d2f79d49 修改未登入code 2023-08-18 19:27:54 +08:00
Dragon
b2b2cbe10d 替换代充图 2023-08-17 18:21:06 +08:00
Dragon
bb48955bc6 更新代充静态图 2023-08-17 16:56:21 +08:00
Dragon
e90f2fcccb 更新等级icon 2023-08-16 18:51:44 +08:00
Dragon
cda5b1a2e7 修改用户充值协议 2023-08-16 17:44:25 +08:00
Dragon
8963f2228d 修改获取房间id参数方式 2023-08-11 11:00:22 +08:00
Dragon
777cba90bd 兼容ios幸运塔罗性能问题 2023-08-11 10:56:45 +08:00
Dragon
7c9c75b9ae 新增代充跳转页 2023-08-09 18:53:40 +08:00
Dragon
c62c02655a 新增金币账单 2023-08-09 11:06:43 +08:00
Dragon
b522baca60 更新账单 2023-08-09 11:00:48 +08:00
Dragon
e72bcc1ce1 新增金币提现驳回账单 2023-08-09 11:00:47 +08:00
Dragon
bb2784dae7 修改logo和下载链接 2023-08-09 10:57:48 +08:00
Dragon
6983b611f6 替换遗漏pike 2023-08-08 16:02:54 +08:00
Dragon
96fc251f09 更新塔罗规则 2023-08-07 16:04:50 +08:00
Dragon
bb2c2b44cb 隐藏提现驳回账单 2023-08-07 16:04:47 +08:00
Dragon
ef6bcac4e9 修复账单无法登入过期问题 2023-08-07 16:04:42 +08:00
Dragon
52925e948b 更新办单和账单 2023-08-07 16:04:38 +08:00
Dragon
43736ecd86 回复commitpiko关键字 2023-08-07 16:04:30 +08:00
Dragon
63c10b4e2a 修改下载链接 2023-08-07 16:04:28 +08:00
Dragon
4a87f8e70f 完成迭代1.10.0 2023-08-07 16:04:25 +08:00
Dragon
d06a9136cc 修复提现其他无法保存问题 2023-08-07 15:05:28 +08:00
Dragon
3e9a323e77 修复寻爱免责声明 2023-08-04 14:33:06 +08:00
Dragon
192846f665 活动新增免责声明 2023-08-04 14:10:07 +08:00
Dragon
04ec4e1213 写死注销传参 2023-08-03 14:47:59 +08:00
Dragon
d4edc4d7f9 更新注销逻辑 2023-08-02 14:51:36 +08:00
Dragon
33b327ef08 修复流水太长样式异常问题 2023-08-01 22:45:49 +08:00
Dragon
c402e91b4b 修复不选择充值档位的情况下 仍然可以发起支付问题 2023-08-01 16:54:12 +08:00
Dragon
e5bc021b76 替换塔罗动效 2023-07-27 19:26:08 +08:00
Dragon
7ad353af3a 新增动效 2023-07-27 19:04:32 +08:00
Dragon
6ef6df6bd5 修复金币账单文案错误问题 2023-07-26 19:36:52 +08:00
Dragon
3b2d5f3ec8 修改金币账单文案提示 2023-07-26 19:25:19 +08:00
Dragon
b23b00110b 更改首页榜单,修复大陆提现校验问题 2023-07-26 18:36:28 +08:00
Dragon
effa4fc182 新增房间流水登入 2023-07-26 18:03:32 +08:00
Dragon
fda137edd4 新增房间柳树 2023-07-26 14:36:41 +08:00
Dragon
104c2a5ea9 修改遗漏繁体 2023-07-24 10:46:55 +08:00
Dragon
9c8dcfc5bc 隐藏塔罗充值弹窗,增加roomuid 2023-07-24 10:46:54 +08:00
Dragon
59dfb185c7 新增余额不足弹窗 2023-07-24 10:46:54 +08:00
Dragon
f9bf2c5473 修改roomUid 2023-07-24 10:46:54 +08:00
Dragon
cbbe553bf0 完成新塔罗 2023-07-24 10:46:54 +08:00
Dragon
3f314a647b 新塔罗暂存 2023-07-24 10:46:52 +08:00
Dragon
775a68a23c 新塔罗 2023-07-24 10:46:49 +08:00
Dragon
46db54d18b 隐藏厨房滚动条 2023-07-21 16:06:32 +08:00
Dragon
23630c40b9 修改贵族排行榜默认值 2023-07-21 10:40:56 +08:00
Dragon
c9b16d9fac 新增返回按钮 2023-07-20 16:10:45 +08:00
Dragon
9e345cf51a 修复无法跳转,名字不居中问题 2023-07-20 16:04:06 +08:00
Dragon
3d0df56d13 更新我的收益文件 2023-07-20 10:26:20 +08:00
Dragon
aeba089ded 去除顶部钻石记录 2023-07-20 10:16:59 +08:00
Dragon
50223def70 修改小精灵跳转方式 2023-07-19 19:37:52 +08:00
Dragon
6d251a0399 修复自己贵族不展示问题 2023-07-19 16:41:41 +08:00
Dragon
673005f471 修改bug替换贵族icon 2023-07-19 16:30:18 +08:00
Dragon
b9c7691b98 修复不显示自己榜单问题 2023-07-18 17:45:34 +08:00
Dragon
0c23babc9d 新增贵族 2023-07-18 17:45:33 +08:00
Dragon
bf6f941752 修复上传身份证问题 2023-07-18 17:32:28 +08:00
Dragon
2f88fdc21d 修改礼物获得文案 2023-07-17 22:15:16 +08:00
Dragon
661db811c0 设置token值 2023-07-17 15:35:38 +08:00
Dragon
7747ee7e93 修改请求头公共参数 2023-07-17 15:27:10 +08:00
Dragon
c625084bbb 新增请求头 2023-07-17 15:19:03 +08:00
Dragon
aaf2b2f6ed 修改请求头 2023-07-17 15:03:29 +08:00
Dragon
be4a1e09b2 修改登入传参 2023-07-17 14:32:06 +08:00
Dragon
47864dabdb 修改meta标签 2023-07-17 01:06:17 +08:00
Dragon
8f5bd66761 限制缩放 2023-07-17 00:40:35 +08:00
Dragon
7351a4b76d 修改默认值,加清除缓存 2023-07-17 00:22:26 +08:00
Dragon
6b16354f64 修改礼物收入数据异常问题 2023-07-14 17:51:07 +08:00
Dragon
1b3986bcf3 修改收益类型 2023-07-14 17:31:18 +08:00
Dragon
c19d1c92a2 加密账号 2023-07-14 17:20:38 +08:00
Dragon
f1badb8d03 新增金币账单,修复验证码登入失败问题 2023-07-14 16:37:12 +08:00
Dragon
131a276e58 修复bug 2023-07-14 15:27:25 +08:00
Dragon
f594d0de0c 修改取值 2023-07-12 18:27:12 +08:00
Dragon
2c0f58f815 新增判断 2023-07-12 18:11:00 +08:00
Dragon
844dc5c831 加密手机号,压缩图片 2023-07-12 17:29:57 +08:00
Dragon
f9886b9089 完善提现功能 2023-07-12 17:00:50 +08:00
Dragon
733ab19c71 解决厨房商店包undefined问题 2023-07-11 19:17:12 +08:00
Dragon
80bea3e94a 厨房修改商店包跳转 2023-07-11 19:10:12 +08:00
Dragon
f937063d9b 修改邀请好友获取uid失效 2023-07-11 18:35:47 +08:00
Dragon
cdc8f2290c 联调登入 2023-07-11 18:01:38 +08:00
Dragon
296a640744 修改uid和ticket传参规则 2023-07-11 17:05:35 +08:00
Dragon
c41e8dd980 新增登入接口 2023-07-11 16:05:21 +08:00
Dragon
7a21b824ab 暂存 2023-07-11 15:50:39 +08:00
Dragon
1148a0753e 新增福袋 2023-07-11 15:27:08 +08:00
Dragon
3c57f4e780 修改引入文件 2023-07-10 19:08:55 +08:00
Dragon
d300b7a056 提交福袋规则页面,暂存提现 2023-07-10 18:52:04 +08:00
Dragon
e47906fd91 提现 2023-07-10 09:56:34 +08:00
Dragon
c0dfb7c41b 更新apk下载链接 2023-07-06 14:29:21 +08:00
Dragon
daf57dd1ad 更新下载链接 2023-07-06 14:26:18 +08:00
Dragon
c6df9a0872 支持连点,去除左右动效 2023-07-05 15:34:33 +08:00
Dragon
180d64064a 优化图片加载过慢问题 2023-07-05 14:16:21 +08:00
Dragon
518bac9298 压缩图片 2023-07-03 17:20:30 +08:00
Dragon
9974ad913c 优化选择食材动效 2023-06-27 14:16:41 +08:00
Dragon
609dea5884 修改举报页面请求域名 2023-06-25 18:08:45 +08:00
Dragon
8fba10d4d5 厨房:修改第三阶段判断条件 2023-06-15 14:27:44 +08:00
qf
ca8e33ce2d peko商店包时间修改 2023-05-18 14:42:38 +08:00
qf
cf14b11790 tishen替换 2023-05-04 18:34:57 +08:00
qf
29f19415f9 获取渠道出错解决 2023-05-04 18:22:29 +08:00
qf
3c91a1d197 pubInfo.deviceInfo类型判断 2023-05-04 18:10:07 +08:00
qf
aa59c5eab2 渠道查询 2023-05-04 17:47:06 +08:00
qf
a37bd171fc 用户充值协议渠道链接修改 2023-05-04 17:35:48 +08:00
qf
b23e8e7aa1 协议增加商店包渠道跳转 2023-05-04 17:32:58 +08:00
qf
f26cbc90a5 提审用户充值协议:钻石规则修改 2023-05-04 16:47:13 +08:00
qf
9eb04842f8 新增peko提审包协议 2023-05-04 16:02:13 +08:00
qf
de73fbf5c1 提审官网:删除移动端样式 2023-04-27 18:29:13 +08:00
qf
0d69f497cf 提审官网:公共文件修改 2023-04-27 17:08:31 +08:00
qf
96aaa4bd69 提审官网:换标题 2023-04-27 17:05:42 +08:00
qf
e1dda9d536 提审官网 2023-04-27 16:55:41 +08:00
Dragon
79523d2c16 寻爱:更新获奖记录、获奖概率页面 2023-03-28 19:12:35 +08:00
Dragon
73e1e53d79 我的收益:新增寻爱之旅账单 2023-03-28 19:12:28 +08:00
Dragon
b3a364af70 厨房:更新字体颜色 2023-03-28 18:59:01 +08:00
Dragon
f10829421c 厨房:调整榜单标题间距 2023-03-28 18:33:37 +08:00
Dragon
0a1514f7d9 厨房:榜单标题调整间距 2023-03-28 18:27:23 +08:00
Dragon
dfd9bdc23c 厨房:替换今日榜单ui 2023-03-28 17:27:58 +08:00
Dragon
aee9ee1819 个播:魅力榜无数据问题 2023-03-23 15:54:22 +08:00
Dragon
15b88a3930 厨房:新增刷新逻辑 2023-03-23 11:26:12 +08:00
qf
7f7e13d1d6 夺宝:购买头饰用户钻石大小写修改 2023-03-21 15:53:50 +08:00
qf
0d9ac965ce 夺宝:替换规则 2023-03-21 15:39:34 +08:00
qf
fe16f7d03c 夺宝:充值埋点 2023-03-21 15:39:34 +08:00
qf
5f586d0280 夺宝:渲染礼物列表繁体化 2023-03-21 15:39:34 +08:00
qf
f2b1592d91 夺宝:缺省页图标替换 2023-03-21 15:39:34 +08:00
qf
840c745b41 夺宝:ui修改替换 2023-03-21 15:39:34 +08:00
qf
760c38a415 夺宝:修改充值跳转方法 2023-03-21 15:39:34 +08:00
qf
906c1623e0 新增夺宝精灵和账单 2023-03-21 15:39:33 +08:00
Dragon
b66051c24a 修改sdk,修复隐私曾策 2023-03-15 15:22:21 +08:00
Dragon
7eefa8c5d7 厨房:新增动效 2023-03-10 11:38:51 +08:00
Dragon
5a3f71dbe8 厨房:更改规则 2023-03-09 17:50:35 +08:00
Dragon
26004af207 厨房:替换规则 2023-03-09 17:50:32 +08:00
Dragon
592d5da683 厨房:调整榜单间距 2023-03-09 17:50:29 +08:00
Dragon
642c383576 厨房:修复今日排名溢出问题 2023-03-09 17:50:27 +08:00
Dragon
141a589b69 厨房:修复苹果老手机加载异常 2023-03-09 17:50:24 +08:00
Dragon
edc6375e11 厨房:修复进入闪烁第三阶段问题,修复钻石异常问题,修复名字重叠问题 2023-03-09 17:50:22 +08:00
Dragon
c12b08e3f8 厨房:完成所有接口联调,提测 2023-03-09 17:50:20 +08:00
Dragon
0a4ff7e83c 修改sdk 2023-03-09 17:49:26 +08:00
qf
4c8e0c6a9a 星级厨房:撤销cdn 2023-02-23 12:00:45 +08:00
qf
865c5496cf 寻海之旅用户头像变形修复 2023-02-23 12:00:45 +08:00
Dragon
54dc906e35 厨房:解决下厨不成功后,无法再次下单问题 2023-02-23 12:00:45 +08:00
qf
9398b10240 房间榜单:全局背景修改 2023-02-22 18:26:04 +08:00
qf
e73df1d25a 房间榜单:前三昵称不换行显示 2023-02-22 18:14:50 +08:00
qf
ba5e5a6b77 房间榜单:样式细节调整 2023-02-21 15:35:16 +08:00
qf
09985ea05a 房间榜单:增加会话存储加载榜单,样式修改 2023-02-20 18:06:32 +08:00
qf
3ff071780b 新增声海规则 2023-02-15 15:25:05 +08:00
qf
e1f6253807 星级厨房:调整细节样式 2023-02-15 15:10:23 +08:00
qf
3caed7927b 23情人节:自己没有cp时跳转个人主页错误解决 2023-02-10 11:04:21 +08:00
qf
1871830a8c 23情人节:恭喜弹窗名字不展示修改 2023-02-09 18:27:00 +08:00
qf
0347d1d055 23情人节:消耗情签字体修改 2023-02-09 18:05:45 +08:00
qf
3eaa4c2fae 23情人节:替换规则切图 2023-02-09 17:53:37 +08:00
qf
9f946f0837 23情人节:替换规则图片 2023-02-09 15:10:33 +08:00
qf
8afbeb96e8 23情人节:抽靓号渲染图片删除多余prop 2023-02-09 14:27:47 +08:00
qf
5de1125e3c 23情人节:cp弹窗提示修改 2023-02-08 18:54:41 +08:00
qf
724cf39448 23情人节:remain修改 2023-02-08 18:01:03 +08:00
qf
989c70160c 23情人节:购买后值不刷新修改,cp奖励记录弹窗修改 2023-02-08 17:29:35 +08:00
qf
6452505805 2023情人节:样式调整 2023-02-08 14:55:54 +08:00
qf
a259af6c6a 23情人节:自己排名、购买成功礼物样式,替换图片 2023-02-07 16:28:05 +08:00
qf
8729fc7f5b 23情人节:购买接口增加未中奖提示 2023-02-06 18:46:18 +08:00
qf
82dc3faf62 23情人节:cp列表渲染修改 2023-02-06 14:55:52 +08:00
qf
f238bb7555 23情人节:缔结按钮不可点击修改,换图 2023-02-06 14:47:29 +08:00
qf
bcdd71940b 2023情人节:购买后刷新,修改我的cp样式 2023-02-06 11:28:16 +08:00
qf
8961247913 23情人节:增加礼物轮播,修改文案 2023-02-05 22:29:53 +08:00
qf
8f1f3ffd05 2023情人节:抽奖记录请求参数修改 2023-02-03 18:42:12 +08:00
qf
88338517c4 新增2023情人节活动 2023-02-02 18:36:38 +08:00
qf
e3a6e343bd 小精灵:成功找到钻石字段修改 2023-01-16 16:55:00 +08:00
qf
bb9ad461b0 小精灵:请求失败关闭动效 2023-01-11 17:46:35 +08:00
qf
303c60e445 小精灵:动效改为播放一秒后请求 2023-01-11 17:44:19 +08:00
qf
39469b924d 小精灵:取消cdn加载 2023-01-11 17:19:42 +08:00
qf
24b3a8ca5e 小精灵:动效改为本地加载 2023-01-11 16:08:57 +08:00
qf
30709845dd 小精灵:清缓存 2023-01-11 15:28:39 +08:00
qf
b88da33b28 小精灵:cdn获取图片 2023-01-11 11:48:35 +08:00
qf
1f638070cc 小精灵:关闭小精灵弹窗修改请求状态字段,记录请求增加loading 2023-01-10 16:14:35 +08:00
qf
edfeb646f6 修改结果弹窗礼物名称字段,中奖记录弹窗初始化 2023-01-10 15:40:07 +08:00
qf
ab175d9390 小精灵优化,钻石收入增加小精灵奖励 2023-01-10 11:58:13 +08:00
qf
e4faf289a9 星级厨房:切换图片域名 2022-12-30 17:59:13 +08:00
qf
f1871efd20 星级厨房:图片动效资源改为cdn获取 2022-12-29 11:52:54 +08:00
qf
3f18ee1b3b 星级厨房:增加轮次,游戏记录优化,替换规则图片 2022-12-28 15:09:16 +08:00
qf
dc18fe1855 房间榜单:长头像变形修复 2022-12-28 15:09:16 +08:00
qf
99bef1bc05 新年活动:替换礼物价值切图 2022-12-28 10:18:12 +08:00
qf
2911cfbc69 钻石记录:增加新年烟花抽奖支出记录 2022-12-27 17:35:02 +08:00
qf
495eca12ca 新年活动:增加谷歌包跳转充值 2022-12-27 15:02:47 +08:00
qf
bed6c791d8 新年活动:修改安卓跳转充值方法 2022-12-27 14:44:30 +08:00
qf
e87f43e915 新年活动:点燃烟花按钮增加防抖,去充值跳转方法修改 2022-12-27 14:35:01 +08:00
qf
3c98cda3fb 新年活动:余额不足状态码修改 2022-12-27 14:10:27 +08:00
qf
2a5dbc8bb5 新年活动:投入最多改为99 2022-12-26 14:51:03 +08:00
qf
269c4830c6 新年活动:个人排名问题修复 2022-12-26 11:31:05 +08:00
qf
53ee72b18c 新年活动:余额不足状态码问题修复,替换规则图片 2022-12-26 11:12:47 +08:00
qf
66d1cff449 新年活动:关闭余额不足弹窗蒙层,我的奖励分页处理,开奖接口等待动效结束执行,替换图片 2022-12-24 19:20:15 +08:00
qf
cff7e3fd60 新增2022新年活动 2022-12-23 14:05:04 +08:00
qf
d046757f97 星级厨房:开奖页no1对齐 2022-12-16 19:14:59 +08:00
qf
7b87ef9636 星級廚房:規則說明按照切图修改 2022-12-16 18:42:46 +08:00
qf
c6ef22dd31 星级厨房:修改规则,修改中奖页样式 2022-12-16 18:33:32 +08:00
Dragon
b4b77f43d3 新增网络延迟,优化下注以及优化中奖ui展示 2022-12-15 16:00:23 +08:00
qf
5c530716a5 星级厨房:榜单改为只展示前20位 2022-12-15 15:23:17 +08:00
qf
6dfb3df3ed 星际厨房:删除‘今日奖励’字段 2022-12-15 15:23:17 +08:00
qf
564c4c80a3 星级厨房:榜单增加跳转主页,我的钻石展示十位数宽 2022-12-15 15:23:16 +08:00
qf
b489c22d8c 星级厨房:+按钮修改为跳转充值页 2022-12-15 15:23:16 +08:00
qf
d2f0970bda 星级厨房:点击跳转用户主页无效修改 2022-12-15 15:23:16 +08:00
qf
2db5fd90c7 星级厨房:修改开奖页面 2022-12-15 15:23:16 +08:00
qf
bc9bc487c1 星级厨房:发送抽奖接口数据类型修改 2022-12-15 15:23:16 +08:00
qf
7ef958b09c 星级厨房:修改用户抽奖接口参数格式,新增50轮中奖结果页,优化游戏记录 2022-12-15 15:23:16 +08:00
Dragon
636bb2519f 糖果树:新增网络延时 2022-12-08 17:13:55 +08:00
Dragon
62f23e6b26 延迟请求秒数 2022-12-08 11:51:52 +08:00
qf
52351df8d5 星级厨房:更改厨房档位 2022-12-03 20:10:35 +08:00
Dragon
a49abd0cfc 解决注册页面倒计时点击完之后无法再次倒计时问题 2022-12-02 16:35:50 +08:00
Dragon
972af47fb1 解决倒计时显示异常 2022-12-02 16:07:17 +08:00
Dragon
c88f8f81df 1.3.0:优化peko注册页面 2022-12-02 16:07:17 +08:00
Dragon
b0defffdd5 完成h5注册页面 2022-12-02 16:07:17 +08:00
Dragon
896431e871 暂存 2022-12-02 16:07:17 +08:00
Dragon
cb316076f9 1.3.0:新增提现记录 2022-12-02 16:07:17 +08:00
Dragon
a1081a5bd5 解决工会周榜无法跳转族长主页问题 2022-12-02 16:07:17 +08:00
Dragon
025245be64 1.3.0 三方充值返回默认选中&跳转个人信息页 2022-12-02 16:07:16 +08:00
Dragon
2cfaef4531 小精灵:解决小精灵文案重叠 2022-11-24 15:58:14 +08:00
qf
fa3450d1d5 充值pc端记录用户选择地区 2022-11-17 17:40:50 +08:00
qf
2f8b967a03 ios判断内核下载 2022-11-17 16:20:02 +08:00
qf
9c3dc535c1 官网修改储值按钮位置 2022-11-16 22:56:29 +08:00
qf
61abca1e19 替换官网apk下载链接 2022-11-16 15:35:18 +08:00
qf
04e05c8383 peko官网增加下载链接,充值弹窗点击蒙层可关闭 2022-11-16 11:33:42 +08:00
qf
045aabeb49 修改peko官网图片大小写 2022-11-14 15:50:27 +08:00
qf
09cb3a81bb 新增充值pc页面, 官网 2022-11-14 10:01:40 +08:00
Dragon
5211698d8a 账单:解决礼物获得账单报错问题 2022-11-07 10:48:47 +08:00
Dragon
db3448187d 账单:解决支出错误显示异常问题 2022-11-04 10:56:25 +08:00
Dragon
ad741f6f30 账单:新增房间、私聊、转赠礼物途径记录逻辑; 2022-11-01 17:10:09 +08:00
Dragon
b5a7e051e3 账单:新增礼物获得收入逻辑 2022-11-01 11:30:11 +08:00
Dragon
8e56c229ec 分享房间:解决ios无法跳转房间问题 2022-10-28 16:21:11 +08:00
Dragon
aa0bc47671 解决小精灵和星级厨房跳转充值方式 2022-10-28 11:29:03 +08:00
Dragon
ec6ec70293 小精灵:修复中级高级支付错误和选择异常问题,星际厨房新增今日奖励和我的钻石展示 2022-10-27 19:03:08 +08:00
Dragon
b8f138b445 修改客服号 2022-10-27 14:38:10 +08:00
Dragon
f034dae28d 三方支付解决app内打开充值样式问题 2022-10-26 17:28:50 +08:00
Dragon
32e1ff567c 修改关键字 2022-10-26 15:41:50 +08:00
Dragon
ec72d816d0 三方充值:新增兼容APP内外充值;修复小精灵以及星际厨房问题 2022-10-26 14:29:26 +08:00
Dragon
ded1887e4e 寻爱之旅:去除随机关键字;新增账号注销繁体化 2022-10-26 09:47:31 +08:00
Dragon
ce61d55e68 星际厨娘:修改规则 2022-10-25 17:27:39 +08:00
Dragon
71a557590c 寻爱之旅:修改规则 2022-10-25 14:57:02 +08:00
Dragon
8b3408358d 寻找小精灵:解决获奖记录显示错误问题 2022-10-25 14:45:44 +08:00
Dragon
db84a7e5b9 小精灵去除选择头饰逻辑,修改糖果树规则,修复星际厨娘游戏记录错误问题 2022-10-24 17:48:31 +08:00
Dragon
4f05498020 解决游戏记录异常问题 2022-10-22 21:20:14 +08:00
Dragon
668c234e33 解决星际厨娘中奖undefined问题 2022-10-22 20:25:30 +08:00
Dragon
038c52220c 解决星际厨娘跳转充值失败问题 2022-10-22 20:16:36 +08:00
Dragon
def1c08c82 解决星际厨娘打不开页面问题 2022-10-22 20:13:27 +08:00
Dragon
e016dbb4d3 修改星级厨娘 2022-10-22 20:08:44 +08:00
Dragon
e64304a8e3 新增账单类型 2022-10-22 16:20:49 +08:00
Dragon
1eb14c3489 解决星级厨房遗漏繁,修改钻字段 2022-10-22 15:17:05 +08:00
Dragon
f73cb53f04 修改糖果树关键字,新增三方充值接口参数 2022-10-21 18:11:54 +08:00
Dragon
5cbe8dc09f 账单新增小精灵,处理邀请好友没有繁体 2022-10-21 12:49:23 +08:00
Dragon
2546449fda 修复繁体遗漏,替换小精灵头饰 2022-10-21 10:32:31 +08:00
Dragon
8c74ae9767 修改房间分享logo 2022-10-20 18:48:14 +08:00
Dragon
fabea89a1c 完成糖果树以及星级厨房 2022-10-20 18:44:45 +08:00
Dragon
7931c60a68 完成邀请好友页面,联调第三方充值,迁移星级厨房页面 2022-10-20 16:28:50 +08:00
Dragon
9743ac86b1 修复糖果记录报错,修改分享房间参数 2022-10-19 17:51:05 +08:00
Dragon
6221038b0e 赠送账单相关,贵族介绍显示异常 2022-10-19 16:29:05 +08:00
Dragon
a9a648206e 糖果树活动繁体化;解决分享房间跳转anan问题 2022-10-19 12:03:56 +08:00
Dragon
d64cc10930 修改客服关键字、更新新的周星榜 2022-10-18 15:03:59 +08:00
Dragon
d175ad6349 1、上传充值2、完成第三方分享modLink3、替换帮助繁体化 2022-10-17 16:41:03 +08:00
Dragon
ab02f2c609 1.1.0:将深海奇缘改成奇遇森林 2022-10-12 14:16:57 +08:00
Dragon
81664dc139 peko1.1.0:新增房间分享ios所需参数;优化账礼物获得文案 2022-10-11 18:31:07 +08:00
Dragon
a09ccc4e85 1.1.0:修改我的等级;替换账单关键字;新增三方充值静态页面 2022-10-11 15:38:44 +08:00
Dragon
8f90583cda 账单:新增区分测试环境判断条件 2022-10-10 18:15:09 +08:00
Dragon
23efebffd0 1.0.1:迁移账单 2022-10-10 14:23:18 +08:00
Dragon
89044f0113 我的等级:修复测试环境uid异常问题 2022-10-09 17:40:32 +08:00
Dragon
0ed4436d49 peko1.1.0:暂存账单以及常驻活动 2022-10-09 17:32:21 +08:00
Dragon
295de6a184 peko:替换正是域名,新增官网 2022-09-29 16:09:05 +08:00
Dragon
591c346091 peko:新增编译标题为繁体 2022-09-28 16:36:24 +08:00
Dragon
6e47a45c47 ‘poko:1、新增繁体编译代码2、修改相关政策’ 2022-09-28 12:13:17 +08:00
Dragon
eca795c6a4 换皮:新增peko 2022-09-27 15:34:30 +08:00
850 changed files with 39336 additions and 2649 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 289 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 479 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 120 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 718 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 729 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 161 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 407 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

View File

@@ -0,0 +1,381 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<title>情定cp 缔结良缘</title>
<link rel="stylesheet" href="../../common/css/reset.css">
<link rel="stylesheet" href="./css/swiper-bundle.min.css">
<link rel="stylesheet" href="./css/index.css?v=1.43">
</head>
<body>
<div class="wrap no-in-app">
<!-- 主视觉 -->
<div class="banner"><img src="./images/main.png" alt=""></div>
<div class="mycp"><img src="./images/btn_cp.png" alt=""></div>
<div class="unread">0</div>
<div class="rule"><img src="./images/btn_rule.png" alt=""></div>
<!-- 情缘信物 -->
<div class="letter-wrap">
<div class="tips">購買並贈送CP信物對方同意締結後即可結成CP<br>送情人節限定禮物和信物都能增加情緣值喲~</div>
<div class="cp_record">CP獎勵記錄</div>
<div class="letter">
<div class="imgbox">
<img src="./images/letter_gift.png" alt="">
</div>
<p>我的信物:<e>0</e></p>
<div class="letter_rule">締結CP後互送情人節限定禮物積攢<br>情緣值即可獲得豐厚特權獎勵~</div>
</div>
<div class="but">
<input type="number" value="1" maxlength="999"
onkeyup="value=(value.replace(/\D/g,'')==''?'':parseInt(value))">
<img src="./images/btn_add.png" class="add" alt="">
<img src="./images/btn_cut.png" class="cut" alt="">
</div>
<!-- 获取信物按钮 -->
<div class="get_letter">
<img src="./images/get_letter.png" alt="">
</div>
<!-- 特权奖励 -->
<div class="award_title">
<img class="line" src="./images/line_l.png" alt="">
<span>特權獎勵</span>
<img class="line" src="./images/line_r.png" alt="">
</div>
<div class="subheard">達到相應的情緣值即可獲得對應特權獎勵哦~</div>
<div class="award">
<div class="giftbox">
<img src="./images/special1.png" alt="">
<span>一見鐘情</span>
<p>10000情緣值</p>
</div>
<img class="arrow" src="./images/arrows.png" alt="">
<div class="giftbox">
<img src="./images/special2.png" alt="">
<span>情竇初開</span>
<p>52000情緣值</p>
</div>
<img class="arrow" src="./images/arrows.png" alt="">
<div class="giftbox">
<img src="./images/special3.png" alt="">
<span>心心相印</span>
<p>131400情緣值</p>
</div>
<img class="arrow" src="./images/arrows.png" alt="">
<div class="giftbox">
<img src="./images/special4.png" alt="">
<span>緣定今生</span>
<p>334400情緣值</p>
</div>
</div>
</div>
<img class="bling0" src="./images/bling0.png" alt="">
<!-- 礼物轮播 -->
<div class="swiper-title"></div>
<div class="swiper-container swiper">
<div class="swiper-wrapper">
<div class="swiper-slide">
<img src="./images/slide1.png" alt="">
</div>
<div class="swiper-slide">
<img src="./images/slide2.png" class="slide2" alt="">
</div>
</div>
<!-- <div class="swiper-pagination swp"></div> -->
</div>
<img class="bling1" src="./images/bling1.png" alt="">
<!-- 送礼得情签 -->
<div class="petition_title"></div>
<div class="petition-wrap">
<div class="myticket">
<span>我的情簽: <e></e></span>
<div class="charge">兌換記錄</div>
</div>
<div class="subheard">贈送情人節限定禮物,送出一個禮物可得對應數量的「幸運情簽」,且可增加CP間的情緣值情簽可兌換特權或抽獎喲~</div>
<div class="chargeTab">
<div class="item itemact">兌換好禮</div>
<div class="item">幸運靚號</div>
</div>
<ul class="gift-wrap">
<li class="li1">
<div class="giftbg">
<img class="mingpai" src="./images/mingpai.png" alt="">
</div>
<span></span>
<div class="but">
<input type="number" value="1" onkeyup="value=(value.replace(/\D/g,'')==''?'':parseInt(value))">
<img src="./images/btn_add.png" class="add" alt="">
<img src="./images/btn_cut.png" class="cut" alt="">
</div>
<div class="btn">兌換銘牌</div>
<p><e></e>情签一次</p>
</li>
<li class="li2">
<div class="giftbg">
<img class="gift" src="./images/ziliaoka.png" alt="">
</div>
<span></span>
<div class="but">
<input type="number" value="1" onkeyup="value=(value.replace(/\D/g,'')==''?'':parseInt(value))">
<img src="./images/btn_add.png" class="add" alt="">
<img src="./images/btn_cut.png" class="cut" alt="">
</div>
<div class="btn">兌換資料卡</div>
<p><e></e>情签一次</p>
</li>
<li class="li3">
<div class="giftbg">
<img class="gift" src="./images/toushi.png" alt="">
</div>
<span></span>
<div class="but">
<input type="number" value="1" onkeyup="value=(value.replace(/\D/g,'')==''?'':parseInt(value))">
<img src="./images/btn_add.png" class="add" alt="">
<img src="./images/btn_cut.png" class="cut" alt="">
</div>
<div class="btn">兌換頭飾</div>
<p><e></e>情签一次</p>
</li>
<li class="li4">
<div class="giftbg">
<img class="gift" src="./images/zuojia.png" alt="">
</div>
<span></span>
<div class="but">
<input type="number" value="1" onkeyup="value=(value.replace(/\D/g,'')==''?'':parseInt(value))">
<img src="./images/btn_add.png" class="add" alt="">
<img src="./images/btn_cut.png" class="cut" alt="">
</div>
<div class="btn">兌換座駕</div>
<p><e></e>情签一次</p>
</li>
</ul>
<ul class="number-wrap" style="display: none;">
<li>
<div class="giftbg">
<img class="gift" src="./images/lianghao.png" alt="">
</div>
<span>幸運靚號(52***)1組</span>
<div class="but">
<input type="number" value="1" onkeyup="value=(value.replace(/\D/g,'')==''?'':parseInt(value))">
<img src="./images/btn_add.png" class="add" alt="">
<img src="./images/btn_cut.png" class="cut" alt="">
</div>
<div class="btn">抽取靚號</div>
<p><e></e>情签一次</p>
<div class="tips">中獎後請聯系客服領取哦~</div>
</li>
</ul>
</div>
<img class="bling2" src="./images/bling2.png" alt="">
<!-- 榜单 -->
<div class="rank_title"></div>
<div class="rank-wrap">
<!-- 奖励 -->
<img src="./images/rankAward.png" class="reward" alt="">
<!-- 榜单列表 -->
<div class="list">
<div class="no1">
<div class="txbox1">
<img src="./images/logo.png" class="tx" alt="">
</div>
<div class="txbox2">
<img src="./images/logo.png" class="tx" alt="">
</div>
<div class="nick1">虛位以待</div>
<div class="nick2">虛位以待</div>
<img src="./images/xin.png" class="xin" alt="">
<div class="score">情緣值:<b>0</b></div>
</div>
<ul>
<!-- <li>
<div class="num">2</div>
<div class="txbox1">
<img src="./images/logo.png" class="tx" alt="">
</div>
<div class="txbox2">
<img src="./images/logo.png" class="tx" alt="">
</div>
<div class="nick1"></div>
<div class="nick2"></div>
<img src="./images/xin.png" class="xin" alt="">
<span>情緣值</span>
<div class="score"></div>
</li>
<li><p>等你來上榜~</p></li> -->
</ul>
</div>
<div class="myRank">
<div class="num">未上榜</div>
<div class="txbox1">
<img src="./images/logo.png" class="tx" alt="">
</div>
<div class="txbox2">
<img src="./images/logo.png" class="tx" alt="">
</div>
<div class="nick1">暫無cp</div>
<div class="nick2">暫無cp</div>
<img src="./images/myxin.png" class="xin" alt="">
<span>情緣值</span>
<div class="score">0</div>
</div>
</div>
</div>
<!-- 恭喜获得弹窗1,2 -->
<div class="gx">
<div class="gx_in">
<img src="./images/close.png" class="close" alt="">
<ul class="box">
<li>
<div class="bg">
<img src="./images/logo.png" alt="">
</div>
<span></span>
</li>
</ul>
<img src="./images/btn_sure.png" class="sure" alt="">
<div class="tips">奖励将自动发放到装扮中心,快去展示自己吧~</div>
<!-- <div class="tips">*情人节限定5位靓号:52XXXXXX为随机数字一组为2个靓号<br>联系客服领取LINE: pikoyuyin)</div> -->
</div>
</div>
<!-- 我的cp弹窗 -->
<div class="mycpBox">
<div class="mycp_in">
<img src="./images/close.png" class="close" alt="">
<div class="tishi">*CP一旦結成不可取消</div>
<p>
<span>我的CP</span>
<span>情缘值</span>
<span>状态</span>
</p>
<ul class="box">
<li>
<b>CP1的昵称...</b>
<b class="cpValue">170011703</b>
<span class="pass">已缔结</span>
</li>
<li>
<b>CP1的昵称...</b>
<b class="cpValue">170011703</b>
<span class="waitpass" inviterUid="2346">可通过</span>
</li>
<li>
<b>Cp1的昵称...</b>
<b class="cpValue">170011703</b>
<span class="canpass">待通过</span>
</li>
</ul>
<div class="tips">暫無更多記錄~</div>
</div>
</div>
<!-- cp奖励记录弹窗 -->
<div class="cpRecordBox">
<div class="cpRecord_in">
<img src="./images/close.png" class="close" alt="">
<p>
<span>时间</span>
<span>我的CP</span>
<span>情缘等级</span>
<span>奖励</span>
</p>
<ul class="box">
<li>
<b>08.31 <e>23:23</e></b>
<b>CP1的昵称...</b>
<b>缘定今生</b>
<b class="jiangli">XXX座驾1天*1组</b>
</li>
</ul>
<div class="tips">暫無更多記錄~</div>
</div>
</div>
<!-- 情签抽奖记录弹窗 -->
<div class="drawBox">
<div class="draw_in">
<img src="./images/close.png" class="close" alt="">
<p>
<span>时间</span>
<span>消耗情签</span>
<span>奖励</span>
</p>
<ul class="box">
<li>
<b>08.31 <e>23:23</e></b>
<b>38</b>
<b class="number">幸运靓号1组</b>
</li>
<li>
<b>08.31 <e>23:23</e></b>
<b>38</b>
<b class="number">未中奖</b>
</li>
</ul>
<div class="tips">暫無更多記錄~</div>
</div>
</div>
<!-- 情签兑换记录弹窗 -->
<div class="exchangeBox">
<div class="exchange_in">
<img src="./images/close.png" class="close" alt="">
<p>
<span>时间</span>
<span>消耗情签</span>
<span>奖励</span>
<span>奖励天数</span>
</p>
<ul class="box">
<li>
<b>08.31 <e>23:23</e></b>
<b>28</b>
<b>缘定今生</b>
<b>1天</b>
</li>
</ul>
<div class="tips">暫無更多記錄~</div>
</div>
</div>
<!-- 规则弹窗 -->
<div class="ruleBox">
<div class="rule_in">
<img src="./images/close.png" class="close" alt="">
<div class="box">
<img src="./images/rule.png" alt="">
</div>
</div>
</div>
<!-- 榜單獎勵 -->
<div class="rewardBox">
<div class="reward_in">
<img src="./images/close.png" class="close" alt="">
<div class="box">
<img src="./images/cpAward.png" alt="">
</div>
</div>
</div>
<!-- 温馨提示 -->
<div class="tishiBox">
<div class="tishi_in">
<div class="title">鉆石不足,請充值後再來獲取信物吧~</div>
<img src="./images/to_charge.png" class="recharge" alt="">
<img src="./images/close.png" class="close" alt="">
</div>
</div>
<script src="../../common/js/flexible.js"></script>
<script src="../../common/js/jquery-3.2.1.min.js"></script>
<script src="../../common/js/common2.js"></script>
<script src="../../common/js/layer.js"></script>
<script src="../../common/js/vconsole.min.js"></script>
<script src="./js/swiper-bundle.min.js"></script>
<script src="./js/index.js?v=1.43"></script>
</body>
</html>

View File

@@ -0,0 +1,876 @@
let urlPrefix = getUrlPrefix()
let browser = checkVersion()
let env = EnvCheck();
if (env == 'test') {
new VConsole();
}
// 封裝layer消息提醒框
let layerIndex
const showLoading = (content = '加載中...') => {
layer.open({
type: 2,
shadeClose: false,
content,
success(e) {
layerIndex = $(e).attr('index')
}
})
}
const hideLoading = (index) => {
layer.close(index)
}
const toastMsg = (content = '操作完成', time = 2) => {
layer.open({
content,
time,
skin: 'msg',
offset: 'b'
})
}
if (false) {//!browser.app
toastMsg('請在app內打開');
} else {
$('.wrap').removeClass('no-in-app')
}
var nowTime = new Date().getTime()
var startTime
var endTime
var canGet = true
$(function () {
getInfoFromClient()
setTimeout(function () {
getLetterInit()
getPetitionInit()
cpOffset()
getRank()
swiperFun()
}, 100)
})
// 礼物轮播
function swiperFun() {
var swiper = new Swiper('.swiper', {
autoplay: {
delay: 2000,//2秒切换一次
},
// loop: true, // 循环模式选项
direction: 'horizontal',
});
}
// 获取信物配置
function getLetterInit() {
showLoading()
networkRequest({
type: 'GET',
url: urlPrefix + '/act/valentineCp/getKeepsakeConfig',
success(res) {
if (res.code === 200) {
startTime = res.data.startTime;
endTime = res.data.endTime;
$('.letter-wrap .letter .imgbox img').attr('src', res.data.keepsake.icon)
$('.letter-wrap .letter p e').text(res.data.keepsakeNum)
$('.letter-wrap .get_letter').attr('id', res.data.keepsake.id)
$('.letter-wrap .get_letter').attr('type', res.data.keepsake.type)
if (nowTime >= res.data.endTime) {
$('.letter-wrap .get_letter').css('filter', 'grayscale(0.7)')
}
hideLoading(layerIndex)
} else {
toastMsg(res.message)
hideLoading(layerIndex)
}
},
error(err) {
hideLoading(layerIndex)
toastMsg('網絡錯誤,請退出重進')
}
})
}
// 获取兑换/抽奖配置
function getPetitionInit() {
showLoading()
networkRequest({
type: 'GET',
url: urlPrefix + '/act/valentineCp/getPropItemConfig',
success(res) {
if (res.code === 200) {
$('.petition-wrap .myticket span e').html(res.data.cpCurrency)
let numberList = res.data.propTabs.find(item => {
return item.type == 2
})
let chargeList = res.data.propTabs.find(item => {
return item.type == 1
})
chargeList.props.forEach((res, i) => {
$(`.petition-wrap .gift-wrap .li${i + 1} .giftbg img`).attr('src', res.icon)
$(`.petition-wrap .gift-wrap .li${i + 1} span`).html(res.name)
$(`.petition-wrap .gift-wrap .li${i + 1} .btn`).attr('id', res.id)
$(`.petition-wrap .gift-wrap .li${i + 1} .btn`).attr('type', res.type)
$(`.petition-wrap .gift-wrap .li${i + 1} .btn`).html(res.type == 2 ? '兌換銘牌' : res.type == 3 ? '兌換資料卡' : res.type == 4 ? '兌換頭飾' : '兌換座駕')
$(`.petition-wrap .gift-wrap .li${i + 1} p e`).html(res.price)
})
numberList.props.forEach(res => {
$('.petition-wrap .number-wrap .giftbg img').attr('src', res.icon)
$('.petition-wrap .number-wrap span').html(res.name)
$('.petition-wrap .number-wrap .btn').attr('id', res.id)
$('.petition-wrap .number-wrap .btn').attr('type', res.type)
$('.petition-wrap .number-wrap p e').html(res.price)
})
hideLoading(layerIndex)
} else {
toastMsg(res.message)
hideLoading(layerIndex)
}
},
error(err) {
hideLoading(layerIndex)
toastMsg('網絡錯誤,請退出重進')
}
})
}
// 我的cp未读数
function cpOffset() {
networkRequest({
type: 'GET',
url: urlPrefix + '/act/valentineCp/cpOffset',
success(res) {
if (res.code === 200) {
if (res.data > 9) {
$('.wrap .unread').html('9+')
} else if (res.data == 0) {
$('.wrap .unread').hide()
} else {
$('.wrap .unread').html(res.data)
}
} else {
toastMsg(res.message)
}
},
error(err) {
toastMsg('網絡錯誤,請退出重進')
}
})
}
// 我的cp列表
function myCpList() {
showLoading()
networkRequest({
type: 'GET',
url: urlPrefix + '/act/valentineCp/cpList',
success(res) {
if (res.code === 200) {
let cpList = ''
if (res.data == 0 || !res.data) {
$('.mycpBox .mycp_in .tips').show()
} else {
res.data.forEach(res => {
cpList += `
<li>
<b>${res.nick.length > 5 ? res.nick.slice(0, 5) + '...' : res.nick}</b>
<b class="cpValue">${res.cpValue}</b>
<span inviterUid="${res.uid}" class='${res.status == 0 ? "canpass" : res.status == 1 ? "waitpass" : "pass"}'>${res.status == 0 ? "待通過" : res.status == 1 ? "可通過" : "已締結"}</span>
</li>
`
})
$('.mycpBox .mycp_in ul').append(cpList)
}
$('.mycpBox').show();
$('.mycpBox .mycp_in .box li').off()
$('.mycpBox .mycp_in .box li').on("click", '.waitpass', function () {
let index = $(this).parents().index()
let inviterUid = $(this).attr('inviterUid')
confirmCp(inviterUid, index)
})
hideLoading(layerIndex)
} else {
toastMsg(res.message)
hideLoading(layerIndex)
}
},
error(err) {
hideLoading(layerIndex)
toastMsg('網絡錯誤,請退出重進')
}
})
}
// 通过cp缔结
function confirmCp(inviterUid, index) {
showLoading()
networkRequest({
type: 'GET',
url: urlPrefix + '/act/valentineCp/confirmCp',
data: { inviterUid },
success(res) {
if (res.code === 200) {
$('.mycpBox .mycp_in .box li').eq(index).find('span').addClass('pass')
$('.mycpBox .mycp_in .box li').eq(index).find('span').removeClass('waitpass')
$('.mycpBox .mycp_in .box li').eq(index).find('span').html('已締結')
toastMsg('締結成功快去增加和TA的情緣值吧~')
} else {
toastMsg(res.message)
}
hideLoading(layerIndex)
},
error(err) {
toastMsg('網絡錯誤,請退出重進')
hideLoading(layerIndex)
}
})
}
// cp奖励记录
var cpRecordPage = 1
var cpRecordScroll = true
function cpRewardRecord(cpRecordPage) {
cpRecordScroll = false;
showLoading()
networkRequest({
type: 'GET',
url: urlPrefix + '/act/valentineCp/pageCpRewardRecord',
data: { page: cpRecordPage, pageSize: 10 },
success(res) {
if (res.code === 200) {
if (res.data.records.length > 0) {
let str = ``;
res.data.records.forEach((res, i) => {
str += `
<li>
<b>${res.dateTime}</b>
<b>${res.nick.length > 5 ? res.nick.slice(0, 5) + '...' : res.nick}</b>
<b>${res.levelDesc}</b>
<b class="jiangli">${res.rewardDesc}</b>
</li>
`
});
$('.cpRecordBox .cpRecord_in .box').append(str);
cpRecordScroll = true;
} else {
cpRecordScroll = false;
$('.cpRecordBox .cpRecord_in .tips').show();
}
$('.cpRecordBox').show();
hideLoading(layerIndex)
} else {
cpRecordScroll = true;
bodyScroolFun(false)
hideLoading(layerIndex)
toastMsg(res.message)
}
},
error(err) {
cpRecordScroll = true;
bodyScroolFun(false)
hideLoading(layerIndex)
toastMsg('網絡錯誤,請退出重進')
}
})
}
// 获取兑换/抽奖记录
var drawPage = 1
var drawScroll = true
function getDrawRecord(drawPage, tab) {
drawScroll = false;
showLoading()
networkRequest({
type: 'GET',
url: urlPrefix + '/act/valentineCp/pageRecord',
data: { page: drawPage, pageSize: 10, tab },
success(res) {
if (res.code === 200) {
if (res.data.records.length > 0) {
let str = ``;
if (tab == 1) {
res.data.records.forEach((res, i) => {
str += `
<li>
<b>${res.dateTime}</b>
<b>${res.cost}</b>
<b>${res.rewardDesc}</b>
<b>${res.rewardDays}天</b>
</li>
`
});
$('.exchangeBox .exchange_in .box').append(str);
$('.exchangeBox').show();
} else {
res.data.records.forEach((res, i) => {
str += `
<li>
<b>${res.dateTime}</b>
<b>${res.cost}</b>
<b>${res.rewardDesc}</b>
</li>
`
});
$('.drawBox .draw_in .box').append(str);
$('.drawBox').show();
}
drawScroll = true;
} else {
drawScroll = false;
if (tab == 1) {
$('.exchangeBox .exchange_in .tips').show();
$('.exchangeBox').show();
} else {
$('.drawBox .draw_in .tips').show();
$('.drawBox').show();
}
}
hideLoading(layerIndex)
} else {
drawScroll = true;
bodyScroolFun(false)
hideLoading(layerIndex)
toastMsg(res.message)
}
},
error(err) {
drawScroll = true;
bodyScroolFun(false)
hideLoading(layerIndex)
toastMsg('網絡錯誤,請退出重進')
}
})
}
// 购买信物、兑换、抽奖 (道具id,数量)
function buy(id, num, type) {
showLoading()
networkRequest({
type: 'POST',
url: urlPrefix + '/act/valentineCp/buy',
data: { id, num },
success(res) {
if (res.code === 200) {
if (res.data.prop) {
if (res.data.prop.type == 1) {
$('.letter-wrap .letter p e').html(res.data.remain)
toastMsg('購買成功信物已放進背包快送給你心儀的TA吧~')
canGet = true
} else if (res.data.prop.type == 6) {
$('.petition-wrap .myticket span e').html(res.data.remain)
$('.gx .gx_in .box li img').attr('src', res.data.prop.icon)
$('.gx .gx_in .box li span').html( res.data.prop.name)
$('.gx .gx_in .tips').html(`*情人節限定5位靚號:52XXXXXX為隨機數字一組為2個靚號<br>聯系客服領取LINE: pikoyuyin)`)
$('.gx').show()
} else {
// if (res.data.prop.type == 2){
// $('.gx .gx_in .box li img').addClass('mingpai')
// }else {
// $('.gx .gx_in .box li img').removeClass('mingpai')
// }
$('.petition-wrap .myticket span e').html(res.data.remain)
$('.gx .gx_in .box li img').attr('src', res.data.prop.icon)
$('.gx .gx_in .box li span').html(res.data.prop.name)
$('.gx .gx_in .tips').html(`獎勵將自動發放到裝扮中心,快去展示自己吧~`)
$('.gx').show()
}
} else {
if (type == 6) {
toastMsg('很遺憾沒有抽到,距離靚號就差一點啦~')
$('.petition-wrap .myticket span e').html(res.data.remain)
} else if(type == 1,type == 3,type == 4,type == 5){
$('.petition-wrap .myticket span e').html(res.data.remain)
}else{
$('.letter-wrap .letter p e').html(res.data.remain)
toastMsg(res.message)
}
canGet = true
}
hideLoading(layerIndex)
} else if (res.code == 31005) {
$('.tishiBox').show()
canGet = true
hideLoading(layerIndex)
} else {
toastMsg(res.message)
canGet = true
hideLoading(layerIndex)
}
},
error(err) {
canGet = true
hideLoading(layerIndex)
toastMsg('網絡錯誤,請退出重進')
}
})
}
// 榜单接口
function getRank() {
$('.rank-wrap .list ul li').remove();
showLoading()
networkRequest({
type: 'GET',
url: urlPrefix + '/act/valentineCp/getRank',
success(res) {
if (res.code === 200) {
// 前一
var top1 = res.data.rankList.slice(0, 1);
var notTop1 = res.data.rankList.slice(1);
if (top1.length < 1) {
let arr = new Array(1 - top1.length).fill({
inviterAvatar: './images/logo.png',
inviterNick: '虛位以待',
cpValue: 0,
inviteeAvatar: './images/logo.png',
inviteeNick: '虛位以待',
})
top1.push(...arr)
}
top1.forEach((res, index) => {
$(`.rank-wrap .list .no${index + 1} .txbox1 img`).attr('src', res.inviterAvatar);
$(`.rank-wrap .list .no${index + 1} .txbox1`).attr('uid', res.inviterUid);
$(`.rank-wrap .list .no${index + 1} .nick1`).html(res.inviterNick.length > 5 ? res.inviterNick.slice(0, 5) + '...' : res.inviterNick);
$(`.rank-wrap .list .no${index + 1} .txbox2 img`).attr('src', res.inviteeAvatar);
$(`.rank-wrap .list .no${index + 1} .txbox2`).attr('uid', res.inviteeUid);
$(`.rank-wrap .list .no${index + 1} .nick2`).html(res.inviteeNick.length > 5 ? res.inviteeNick.slice(0, 5) + '...' : res.inviteeNick);
$(`.rank-wrap .list .no${index + 1} .score b`).html(`${res.cpValue > 10000 ? (Math.floor(res.cpValue / 1000) / 10).toFixed(1) + 'w' : res.cpValue}`);
});
// 非前
let str = ``;
notTop1.forEach((res, i) => {
str += `
<li>
<div class="num">${res.ranking}</div>
<div class="txbox1" uid="${res.inviterUid}">
<img src="${res.inviterAvatar}" uid="${res.inviterUid}" class="tx" alt="">
</div>
<div class="txbox2" uid="${res.inviteeUid}">
<img src="${res.inviteeAvatar}" uid="${res.inviteeUid}" class="tx" alt="">
</div>
<div class="nick1">${res.inviterNick.length > 5 ? res.inviterNick.slice(0, 5) + '...' : res.inviterNick}</div>
<div class="nick2">${res.inviteeNick.length > 5 ? res.inviteeNick.slice(0, 5) + '...' : res.inviteeNick}</div>
<img src="./images/xin.png" class="xin" alt="">
<span>情緣值</span>
<div class="score">${res.cpValue > 10000 ? (Math.floor(res.cpValue / 1000) / 10).toFixed(1) + 'w' : res.cpValue}</div>
</li>
`
})
$('.rank-wrap .list ul').append(str);
if (notTop1.length < 9) {
$('.rank-wrap .list ul li').eq(notTop1.length - 1).after(`<li><p>等你來上榜~</p></li>`)
}
if (notTop1.length == 0) {
$('.rank-wrap .list ul').append(`<li><p>等你來上榜~</p></li>`)
}
$('.rank-wrap .list ul li').on('click', '.txbox1,.txbox2', function () {
console.log(123456);
let uid = $(this).attr('uid')
console.log(uid);
if (uid) {
openPerson(uid)
}
})
// 自己排名
if (res.data.meRank) {
if (res.data.meRank.ranking == 0) {
$('.rank-wrap .myRank .num').removeClass('norank')
} else {
$('.rank-wrap .myRank .num').addClass('norank')
}
$('.rank-wrap .myRank .num').html(res.data.meRank.ranking == 0 ? '未上榜' : res.data.meRank.ranking);
$('.rank-wrap .myRank .txbox1 img').attr('src', res.data.meRank.inviterAvatar);
$('.rank-wrap .myRank .txbox2 img').attr('src', res.data.meRank.inviteeAvatar);
$('.rank-wrap .myRank .nick1').text(res.data.meRank.inviterNick.length > 5 ? res.data.meRank.inviterNick.slice(0, 5) + '...' : res.data.meRank.inviterNick)
if(res.data.meRank.inviteeNick){
$('.rank-wrap .myRank .nick2').text(res.data.meRank.inviteeNick.length > 5 ? res.data.meRank.inviteeNick.slice(0, 5) + '...' : res.data.meRank.inviteeNick)
}
$('.rank-wrap .myRank .score').html(`${res.data.meRank.cpValue > 10000 ? (Math.floor(res.data.meRank.cpValue / 1000) / 10).toFixed(1) + 'w' : res.data.meRank.cpValue}`);
}
hideLoading(layerIndex)
} else {
toastMsg(res.message)
hideLoading(layerIndex)
}
},
error(err) {
hideLoading(layerIndex)
toastMsg('網絡錯誤,請退出重進')
}
})
}
// 埋点接口
// event去充值=pay_show, 活动规则=rule_click, 排行榜奖励=list_click, 跳转个人主页=pages_click
function sendLog(event) {
networkRequest({
type: 'POST',
url: urlPrefix + '/act/valentineCp/log',
data: { event: event },
success(res) {
if (res.code === 200) {
// console.log(res);
}
},
error(err) {
toastMsg('網絡錯誤,請退出重進')
}
})
}
// 点击跳转个人主页
$('.rank-wrap .list .no1 .tx').click(function () {
let uid = $(this).parent().attr('uid')
if (uid) {
openPerson(uid)
}
})
// 情缘信物投入+
$('.letter-wrap .but .add').click(function () {
let val = $('.letter-wrap .but input').val();
if (val >= 999) {
toastMsg('最多可輸入999')
$('.letter-wrap .but input').val(parseInt(999))
} else {
$('.letter-wrap .but input').val(parseInt(val) + 1)
}
})
// 情缘信物投入-
$('.letter-wrap .but .cut').click(function () {
let val = $('.letter-wrap .but input').val();
if (val <= 1) {
toastMsg('至少投入1')
$('.letter-wrap .but input').val(parseInt(1))
} else {
$('.letter-wrap .but input').val(parseInt(val) - 1)
}
})
// 情缘信物监听输入框
$('.letter-wrap .but').on('input', 'input', function () {
if ($(this).val() >= 999) {
toastMsg('最多可輸入999')
$('.letter-wrap .but input').val(parseInt(999))
} else if ($(this).val() <= 1) {
toastMsg('至少投入1')
$('.letter-wrap .but input').val(parseInt(1))
}
})
// 购买情缘信物按钮
$('.letter-wrap .get_letter').click(function () {
if (nowTime >= endTime) {
toastMsg('活動已結束~')
} else if (nowTime <= startTime) {
toastMsg('活動未開始~')
} else {
let id = $(this).attr('id')
let type = $(this).attr('type')
let num = $('.letter-wrap .but input').val()
if (num == 0) {
toastMsg('至少投入1')
return
}
if (canGet) {
console.log('id:', id, 'num:', num);
buy(id, num, type)
} else {
toastMsg('信物獲取中,請稍後~')
}
}
})
// 兑换好礼按钮输入框
// 投入+
$('.petition-wrap .gift-wrap li .but .add').click(function () {
let liIndex = $(this).parents('li').index()
let val = $('.petition-wrap .gift-wrap li').eq(liIndex).find('.but input').val();
if (val >= 999) {
toastMsg('最多可輸入999')
$('.petition-wrap .gift-wrap li').eq(liIndex).find('.but input').val(parseInt(999))
} else {
$('.petition-wrap .gift-wrap li').eq(liIndex).find('.but input').val(parseInt(val) + 1)
}
})
// 投入-
$('.petition-wrap .gift-wrap li .but .cut').click(function () {
let liIndex = $(this).parents('li').index()
let val = $('.petition-wrap .gift-wrap li').eq(liIndex).find('.but input').val();
if (val <= 1) {
toastMsg('至少投入1')
$('.petition-wrap .gift-wrap li').eq(liIndex).find('.but input').val(parseInt(1))
} else {
$('.petition-wrap .gift-wrap li').eq(liIndex).find('.but input').val(parseInt(val) - 1)
}
})
// 监听输入框
$('.petition-wrap .gift-wrap li').on('input', 'input', function () {
let liIndex = $(this).parents('li').index()
let val = $('.petition-wrap .gift-wrap li').eq(liIndex).find('.but input').val();
if (val >= 999) {
toastMsg('最多可輸入999')
$('.petition-wrap .gift-wrap li').eq(liIndex).find('.but input').val(parseInt(999))
} else if (val <= 1) {
toastMsg('至少投入1')
$('.petition-wrap .gift-wrap li').eq(liIndex).find('.but input').val(parseInt(1))
}
})
// 兑换按钮
$('.petition-wrap .gift-wrap li .btn').click(function () {
let liIndex = $(this).parents('li').index()
let num = $('.petition-wrap .gift-wrap li').eq(liIndex).find('.but input').val();
let id = $('.petition-wrap .gift-wrap li').eq(liIndex).find('.btn').attr('id');
let type = $('.petition-wrap .gift-wrap li').eq(liIndex).find('.btn').attr('type');
buy(id, num, type)
})
// 靓号按钮输入框
// 投入+
$('.petition-wrap .number-wrap .but .add').click(function () {
let val = $('.petition-wrap .number-wrap .but input').val();
if (val >= 999) {
toastMsg('最多可輸入999')
$('.petition-wrap .number-wrap .but input').val(parseInt(999))
} else {
$('.petition-wrap .number-wrap .but input').val(parseInt(val) + 1)
}
})
// 投入-
$('.petition-wrap .number-wrap .but .cut').click(function () {
let val = $('.petition-wrap .number-wrap .but input').val();
if (val <= 1) {
toastMsg('至少投入1')
$('.petition-wrap .number-wrap .but input').val(parseInt(1))
} else {
$('.petition-wrap .number-wrap .but input').val(parseInt(val) - 1)
}
})
// 监听输入框
$('.petition-wrap .number-wrap .but').on('input', 'input', function () {
if ($(this).val() >= 999) {
toastMsg('最多可輸入999')
$('.petition-wrap .number-wrap .but input').val(parseInt(999))
} else if ($(this).val() <= 1) {
toastMsg('至少投入1')
$('.petition-wrap .number-wrap .but input').val(parseInt(1))
}
})
// 抽取靓号
$('.petition-wrap .number-wrap .btn').click(function () {
let id = $(this).attr('id');
let type = $(this).attr('type');
let num = $('.petition-wrap .number-wrap .but input').val();
buy(id, num, type)
})
// 关闭恭喜获得弹窗
$('.gx .gx_in .sure,.close').click(function () {
$('.gx').hide()
})
// 我的cp弹窗
$('.mycp').click(function () {
bodyScroolFun(true)
$('.mycpBox .mycp_in ul li').remove()
$('.mycpBox .mycp_in .box .tips').hide()
myCpList()
})
$('.mycpBox .close').click(function () {
bodyScroolFun(false)
cpOffset()
$('.mycpBox').hide();
})
// 监听我的cp滚动
$('.mycpBox .mycp_in .box').scroll(function () {
let scrollTop = $(this).scrollTop()
let scrollHeight = $('.mycpBox .mycp_in .box')[0].scrollHeight
let ulHeight = $(this).innerHeight()
if (scrollTop + ulHeight + 100 >= scrollHeight) {
$('.mycpBox .mycp_in .tips').show()
}
})
// cp奖励记录弹窗
$('.letter-wrap .cp_record').click(function () {
bodyScroolFun(true)
cpRecordPage = 1;
totalList = 0
$('.cpRecordBox .cpRecord_in .box li').remove();
$('.cpRecordBox .cpRecord_in .tips').hide();
cpRewardRecord(cpRecordPage)
})
$('.cpRecordBox .close').click(function () {
bodyScroolFun(false)
$('.cpRecordBox').hide();
})
// cp奖励记录监听滚动
$('.cpRecordBox .cpRecord_in .box').scroll(function () {
let scrollTop = $(this).scrollTop()
let scrollHeight = $('.cpRecordBox .cpRecord_in .box')[0].scrollHeight
let ulHeight = $(this).innerHeight()
if (scrollTop + ulHeight + 100 >= scrollHeight) {
if (cpRecordScroll) {
cpRecordPage++;
cpRewardRecord(cpRecordPage)
}
}
})
// 兑换好礼/靓号切换
var petitionType = 1 //1:兌換好禮 2:幸運靚號
$('.petition-wrap .chargeTab .item').click(function () {
let index = $(this).index();
$(this).addClass('itemact').siblings().removeClass('itemact')
if (index == 0) {
$('.petition-wrap .gift-wrap').show()
$('.petition-wrap .number-wrap').hide()
$('.petition-wrap .myticket .charge').html('兌換記錄')
petitionType = 1
} else {
$('.petition-wrap .gift-wrap').hide()
$('.petition-wrap .number-wrap').show()
$('.petition-wrap .myticket .charge').html('抽獎記錄')
petitionType = 2
}
})
// 兑换好礼记录/抽奖记录弹窗
$('.petition-wrap .charge').click(function () {
bodyScroolFun(true)
drawPage = 1;
if (petitionType == 1) {
$('.exchangeBox .exchange_in .box li').remove();
$('.exchangeBox .exchange_in .tips').hide();
// $('.exchangeBox').show();
} else {
$('.drawBox .draw_in .box li').remove();
$('.drawBox .draw_in .tips').hide();
// $('.drawBox').show();
}
getDrawRecord(drawPage, petitionType)
})
$('.drawBox .close').click(function () {
bodyScroolFun(false)
$('.drawBox').hide();
})
$('.exchangeBox .close').click(function () {
bodyScroolFun(false)
$('.exchangeBox').hide();
})
// 情签兑换记录监听滚动
$('.exchangeBox .exchange_in .box').scroll(function () {
let scrollTop = $(this).scrollTop()
let scrollHeight = $('.exchangeBox .exchange_in .box')[0].scrollHeight
let ulHeight = $(this).innerHeight()
if (scrollTop + ulHeight + 100 >= scrollHeight) {
if (drawScroll) {
drawPage++;
getDrawRecord(drawPage, petitionType)
}
}
})
// 抽奖记录监听滚动
$('.drawBox .draw_in .box').scroll(function () {
let scrollTop = $(this).scrollTop()
let scrollHeight = $('.drawBox .draw_in .box')[0].scrollHeight
let ulHeight = $(this).innerHeight()
if (scrollTop + ulHeight + 100 >= scrollHeight) {
if (drawScroll) {
drawPage++;
getDrawRecord(drawPage, petitionType)
}
}
})
// 规则弹窗
$('.rule').click(function () {
bodyScroolFun(true)
$('.ruleBox').show();
sendLog('rule_click')
})
$('.ruleBox .close').click(function () {
bodyScroolFun(false)
$('.ruleBox').hide();
})
// 榜單獎勵
$('.rank-wrap .reward').click(function () {
bodyScroolFun(true)
$('.rewardBox').show();
sendLog('list_click')
})
$('.rewardBox .close').click(function () {
bodyScroolFun(false)
$('.rewardBox').hide();
})
// 溫馨提示
$('.tishiBox .close').click(function () {
bodyScroolFun(false)
$('.tishiBox').hide();
})
// 去充值(pay_show=点击去充值埋点)
$('.tishiBox').on('click', '.recharge', function () {
if (browser.app) {
if (browser.android) {
let channel = pubInfo.deviceInfo.channel;
console.log(pubInfo.deviceInfo);
if (channel == "google") {
sendLog('pay_show')
window.androidJsObj.openChargePage(0);
} else {
sendLog('pay_show')
window.location.href = urlPrefix + '/peko/modules/pay/index.html?channelType=4';
}
} else if (browser.ios) {
sendLog('pay_show')
window.webkit.messageHandlers.openChargePage.postMessage(null)
}
} else {
toastMsg('請在app內打開')
}
})
//跳转个人主页 pages_click=跳转主页埋点)
function openPerson(uid) {
if (browser.app) {
if (browser.ios) {
sendLog('pages_click')
window.webkit.messageHandlers.openPersonPage.postMessage(uid);
} else if (browser.android) {
if (androidJsObj && typeof androidJsObj === 'object') {
sendLog('pages_click')
window.androidJsObj.openPersonPage(uid);
}
}
} else {
toastMsg('請在app內打開')
}
}
// 控制body是否可以滑动
function bodyScroolFun(bool) {
if (bool) {
$('body').css('overflow', 'hidden');
} else {
$('body').css('overflow', 'auto');
}
}

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 478 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 867 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 601 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Some files were not shown because too many files have changed in this diff Show More