2025-03-01 13:36:26 +00:00

92 lines
1.8 KiB
JavaScript

// pages/chat/chat.js
Page({
/**
* Page initial data
*/
data: {
initial_message: [
{
type: 'text',
content: '欢迎使用徵象AI,让每一次验证都成为与品牌的深度对话。'
},
{
type: 'text',
content: '为保障您的权益,本系统采用多模态AI深度鉴真引擎,通过多重校验机制实现智能二维码防伪核验。'
},
{
type: 'text',
content: '请将手机摄像头对准产品智能二维码,'
},
{
type: 'scanguidecss',
},
{
type: 'text',
content: '保持画面完整覆盖定位点(图示区域), 系统将自动触发高精度图像分割算法完成验证。 '
},
]
},
/**
* Lifecycle function--Called when page load
*/
onLoad(options) {
},
/**
* Lifecycle function--Called when page is initially rendered
*/
onReady() {
},
/**
* Lifecycle function--Called when page show
*/
onShow() {
},
/**
* Lifecycle function--Called when page hide
*/
onHide() {
},
/**
* Lifecycle function--Called when page unload
*/
onUnload() {
},
/**
* Page event handler function--Called when user drop down
*/
onPullDownRefresh() {
},
/**
* Called when page reach bottom
*/
onReachBottom() {
},
/**
* Called when user click on the top right corner to share
*/
onShareAppMessage() {
},
goto_camera() {
wx.navigateTo({
url: '/pages/camera/camera',
})
}
})