Files
danyang-match/miniapp/pages/anti-fraud/anti-fraud.js
T

28 lines
1.0 KiB
JavaScript

Page({
data: {
risks: [
{ title: '投资博彩诱导', description: '刚认识便引导投资、博彩或下载陌生应用' },
{ title: '借款资金周转', description: '以生病、工程或临时周转为由反复借款' },
{ title: '索取隐私资料', description: '催促脱离平台并索要验证码、银行卡或证件信息' },
{ title: '冒充平台人员', description: '以认证、保证金或解冻账户为由要求转账' },
],
},
report() {
wx.navigateTo({ url: '/pages/report/report?type=fraud' })
},
requestHelp() {
wx.showModal({
title: '安全求助',
content: '如有财产损失或人身危险,请立即拨打 110;非紧急问题可前往平台帮助中心。',
confirmText: '拨打 110',
cancelText: '帮助中心',
success(result) {
if (result.confirm) wx.makePhoneCall({ phoneNumber: '110' })
else if (result.cancel) wx.navigateTo({ url: '/pages/help-center/help-center' })
},
})
},
})