init version kelfy-mini for new gitea
This commit is contained in:
87
pages/inHospitalStatistics/inHospitalStatistics.js
Normal file
87
pages/inHospitalStatistics/inHospitalStatistics.js
Normal file
@@ -0,0 +1,87 @@
|
||||
// pages/inHospitalStatistics/inHospitalStatistics.js
|
||||
var app = getApp();
|
||||
Page({
|
||||
/**
|
||||
* 页面的初始数据
|
||||
*/
|
||||
data: {
|
||||
encryptData: ''
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad(options) {
|
||||
},
|
||||
|
||||
toRevenuePage() {
|
||||
wx.navigateTo({
|
||||
url: '/pages/revenuePage/revenuePage',
|
||||
})
|
||||
},
|
||||
toOutpatientPage() {
|
||||
wx.navigateTo({
|
||||
url: '/pages/outpatientPage/outpatientPage',
|
||||
})
|
||||
},
|
||||
toHospitalizationPage() {
|
||||
wx.navigateTo({
|
||||
url: '/pages/hospitalizationPage/hospitalizationPage',
|
||||
})
|
||||
},
|
||||
toDeptCountPage() {
|
||||
wx.navigateTo({
|
||||
url: '/pages/deptcount/deptcount',
|
||||
})
|
||||
},
|
||||
/**
|
||||
* 生命周期函数--监听页面初次渲染完成
|
||||
*/
|
||||
onReady() {
|
||||
wx.setNavigationBarTitle({
|
||||
title: '院内统计'
|
||||
})
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面显示
|
||||
*/
|
||||
onShow() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面隐藏
|
||||
*/
|
||||
onHide() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面卸载
|
||||
*/
|
||||
onUnload() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面相关事件处理函数--监听用户下拉动作
|
||||
*/
|
||||
onPullDownRefresh() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面上拉触底事件的处理函数
|
||||
*/
|
||||
onReachBottom() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 用户点击右上角分享
|
||||
*/
|
||||
onShareAppMessage() {
|
||||
|
||||
}
|
||||
})
|
||||
3
pages/inHospitalStatistics/inHospitalStatistics.json
Normal file
3
pages/inHospitalStatistics/inHospitalStatistics.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"usingComponents": {}
|
||||
}
|
||||
35
pages/inHospitalStatistics/inHospitalStatistics.wxml
Normal file
35
pages/inHospitalStatistics/inHospitalStatistics.wxml
Normal file
@@ -0,0 +1,35 @@
|
||||
<view class="app_container">
|
||||
<view class="item_container">
|
||||
<view class="icon_synthesis" bindtap="toRevenuePage">
|
||||
<view class="font_container">
|
||||
<view class="font_title">全院综合统计</view>
|
||||
<view class="font_detail">点击查看详情</view>
|
||||
</view>
|
||||
<view class="place_holder"></view>
|
||||
</view>
|
||||
<view class="icon_outpatient" bindtap="toOutpatientPage">
|
||||
<view class="font_container">
|
||||
<view class="font_title">门诊统计</view>
|
||||
<view class="font_detail">点击查看详情</view>
|
||||
</view>
|
||||
<view class="place_holder"></view>
|
||||
</view>
|
||||
<view class="icon_hospitalization" bindtap="toHospitalizationPage">
|
||||
<view class="font_container">
|
||||
<view class="font_title">住院统计</view>
|
||||
<view class="font_detail">点击查看详情</view>
|
||||
</view>
|
||||
<view class="place_holder"></view>
|
||||
</view>
|
||||
|
||||
<view class="icon_outpatient" bindtap="toDeptCountPage">
|
||||
<view class="font_container">
|
||||
<view class="font_title">科室统计(门诊)</view>
|
||||
<view class="font_detail">点击查看详情</view>
|
||||
</view>
|
||||
<view class="place_holder"></view>
|
||||
</view>
|
||||
|
||||
|
||||
</view>
|
||||
</view>
|
||||
59
pages/inHospitalStatistics/inHospitalStatistics.wxss
Normal file
59
pages/inHospitalStatistics/inHospitalStatistics.wxss
Normal file
@@ -0,0 +1,59 @@
|
||||
.item_container {
|
||||
margin-top: 1.5vh;
|
||||
height: 63vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.icon_hospitalization {
|
||||
width: 96vw;
|
||||
height: 20vh;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 15px;
|
||||
background-size: cover;
|
||||
background-image: url(https://hnwjyy.oss-cn-shanghai.aliyuncs.com/tjbg3.png);
|
||||
}
|
||||
|
||||
.icon_outpatient {
|
||||
width: 96vw;
|
||||
height: 20vh;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 15px;
|
||||
background-size: cover;
|
||||
background-image: url(https://hnwjyy.oss-cn-shanghai.aliyuncs.com/tjbg2.png);
|
||||
}
|
||||
|
||||
.place_holder {
|
||||
width: 40vw;
|
||||
}
|
||||
|
||||
.font_title {
|
||||
font-size: x-large;
|
||||
}
|
||||
|
||||
.font_detail {
|
||||
font-size: xx-small;
|
||||
}
|
||||
|
||||
.font_container {
|
||||
height: 6vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.icon_synthesis {
|
||||
width: 96vw;
|
||||
height: 20vh;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 15px;
|
||||
background-size: cover;
|
||||
background-image: url(https://hnwjyy.oss-cn-shanghai.aliyuncs.com/tjbg1.png);
|
||||
}
|
||||
Reference in New Issue
Block a user