init version kelfy-mini for new gitea

This commit is contained in:
terry.wang
2025-11-13 13:38:59 +08:00
commit 493fa4f1e1
763 changed files with 55626 additions and 0 deletions

View File

@@ -0,0 +1,84 @@
// pages/outpatientPage/outpatientPage.js
var app = getApp();
let common = require('../../config/common.js')
var crypto = require('../../config/crypto.js')
Page({
/**
* 页面的初始数据
*/
data: {
// url: 'https://fy.btlsoln.com:8090/#/outpatient?openid=',
url: 'https://fy.btlsoln.com:8090/#/opd?openid='
},
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady() {
},
/**
* 生命周期函数--监听页面显示
*/
onShow() {
console.log(app.globalData.openId)
if (app.globalData.openId == "" || app.globalData.openId == null) {
common.checkGlobalOpenId().then(res => {
// var result = crypto.AES_EN(res)
this.setData({
url: this.data.url + res
})
})
} else {
// var result = crypto.AES_EN(app.globalData.openId)
this.setData({
url: this.data.url + app.globalData.openId
})
}
console.log(this.data.url)
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide() {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload() {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom() {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage() {
}
})

View File

@@ -0,0 +1,3 @@
{
"usingComponents": {}
}

View File

@@ -0,0 +1 @@
<web-view src="{{url}}"/>

View File

@@ -0,0 +1 @@
/* pages/outpatientPage/outpatientPage.wxss */