import { API } from './../../../utils/network/api' const api = new API() const app = getApp() Page({ data: { navbarData: { showCapsule: 1, //是否显示左上角图标 1表示显示 0表示不显示 title: '问诊详情 ', //导航栏 中间的标题 }, height: app.globalData.height, current_page: 1, total: 0, per_page: 0, last_page: 0 }, onLoad(option){ let date = option.date; console.log(date); //获取我的账户日账单明细数据 api.getDoctorAccountInfo({date:date}).then(response => { console.log(response); //暂没数据 }).catch(errors => {console.error(errors);}) } })