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.
30 lines
680 B
30 lines
680 B
// pages/home/qrcode/index.js
|
|
import { getCustomerList } from "../../../api/saas"
|
|
const util = require('../../../utils/util')
|
|
const app = getApp()
|
|
|
|
Page({
|
|
/**
|
|
* 页面的初始数据
|
|
*/
|
|
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) {}
|
|
}
|
|
}
|
|
})
|