纸通宝SAAS仓库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

29 lines
623 B

// pages/home/qrcode/index.js
import Scene from '../../index/scene'
const app = getApp()
Scene({
/**
* 页面的初始数据
*/
data: {
userInfo: {}
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
this.setData({ userInfo: app.userInfo})
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
return {
title: '纸通宝工厂版——' + this.data.userInfo.factoryName,
path: 'pages/login/index?qrcode=562333739288498176',
imageUrl: '/assets/image/icon_logo.png',
success: function (res) {}
}
}
})