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,93 @@
// pages/chatDetail/chatDetail.js
Page({
/**
* 页面的初始数据
*/
data: {
},
toPayment(){
wx.navigateTo({
url: '/pages/payment/payment',
})
},
//获取详情
findWxPayResult(data){
let reqDTO = {
out_trade_no:data
}
wx.request({
url: 'http://192.168.0.97:8085/api/wxpay/findWxPayResult',
method:'POST',
data:reqDTO,
header:{
'content-type':'application/json'
},
success: (res)=> {
}
})
},
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
wx.setNavigationBarTitle({
title: '门诊缴费详情'
})
this.findWxPayResult(options.id)
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady() {
},
/**
* 生命周期函数--监听页面显示
*/
onShow() {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide() {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload() {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom() {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage() {
}
})

View File

@@ -0,0 +1,4 @@
{
"usingComponents": {},
"navigationBarBackgroundColor": "#efedef"
}

View File

@@ -0,0 +1,49 @@
<!--pages/chatDetail/chatDetail.wxml-->
<view class="detail">
<scroll-view class="scroll" scroll-y>
<view class="font">
<view class="success">
<van-icon name="passed" />
<text>门诊缴费成功</text>
</view>
<view class="text">
您已缴费成功,有取药,检验,检查等相关执行操作时,请前往对应的执行科室出示二维码扫码确认。
</view>
</view>
<view class="picture">
<view class="text">
<text class="text1">就诊凭条</text>
<text class="text2">凭以下二维码检查、检验、拿药</text>
</view>
<view class="img">tu</view>
</view>
<view class="list">
<view class="list_item">
<text class="list_text">医院类型</text>
<text class="list_text1">私立医院</text>
</view>
<view class="list_item">
<text class="list_text">医院名称</text>
<text class="list_text1">新疆库尔勒妇幼保健院</text>
</view>
<view class="list_item">
<text class="list_text">缴费时间</text>
<text class="list_text1">2022-10-09 12:32:23</text>
</view>
<view class="list_item">
<text class="list_text">就诊人</text>
<text class="list_text1">张三丰</text>
</view>
</view>
</scroll-view>
<view class="bottom">
<view class="arrow">
<van-icon name="arrow-left" bindtap='toPayment'/>
<view class="right">
<van-icon name="arrow" />
</view>
</view>
</view>
</view>

View File

@@ -0,0 +1,104 @@
/* pages/chatDetail/chatDetail.wxss */
.detail{
width: 100%;
height: 100vh;
background-color: #f9f7fa;
}
.font{
width: 100%;
height: 190rpx;
padding:20rpx 20rpx 0;
box-sizing: border-box;
background-color: #fff;
border-bottom:2rpx solid #eee;
}
.success{
display: flex;
align-items: center;
font-size: 32rpx;
margin-bottom: 20rpx;
color:#abcac8;
}
.van-icon, .van-icon:before {
font-size: 60rpx !important;
margin-right: 8rpx;
}
.text{
font-size: 24rpx;
line-height: 40rpx;
}
.text1{
font-size: 32rpx;
color:#000;
}
.text2{
color:#e1be9f;
margin-left: 10rpx;
}
.picture{
width: 100%;
height: 580rpx;
background-color: #f3f4fc;
display: flex;
flex-direction: column;
justify-content: center;
font-size: 24rpx;
align-items: center;
padding-bottom:40rpx;
}
.img{
width: 540rpx;
height: 500rpx;
margin-top: 10rpx;
background-color: pink;
border-radius: 10rpx;
}
.list{
width: 100%;
background-color: #fff;
padding:0 28rpx;
box-sizing: border-box;
}
.list_item{
width: 100%;
height: 80rpx;
border-bottom:1px solid #eee;
display: flex;
justify-content: space-between;
align-items: center;
}
.list_text{
font-size: 30rpx;
color:#000;
}
.list_text1{
font-size: 26rpx;
color:#666;
}
.bottom{
width: 100%;
height: 80rpx;
position: fixed;
bottom:100rpx;
z-index: 999;
display: flex;
justify-content: center;
}
.arrow{
width: 300rpx;
display: flex;
justify-content: space-between;
}
.van-icon, .van-icon:before {
font-size: 60rpx !important;
}
.right{
display: flex;
align-items: center;
}
.right >van-icon{
color:#e2e1e3;
}
.scroll{
height: calc(100vh - 180rpx);
}