feat: implement miniapp C-group pages with real API calls and design tokens

This commit is contained in:
Codex
2026-09-14 10:02:22 +08:00
parent bb380d40f6
commit 63cbbff2de
20 changed files with 300 additions and 23 deletions
+27 -1
View File
@@ -1 +1,27 @@
Page({data:{warnings:['刚认识就引导投资或博彩','以生病、工程、周转为由借款','催促脱离平台并索要隐私资料']},report(){wx.navigateTo({url:'/pages/report/report?type=fraud'})}})
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' })
},
})
},
})