add file
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
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);})
|
||||
}
|
||||
})
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"te-nav-bar": "/commpents/te_navbar"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
<!-- 收益明细 -->
|
||||
<te-nav-bar navbar-data='{{navbarData}}' ></te-nav-bar>
|
||||
<view class="container" style="height: calc(100vh - 96rpx - {{height}}px);">
|
||||
<view class="order_list">
|
||||
<view class="order_item">
|
||||
<view class="order_item_content">
|
||||
<view class="order_item_content_top ">
|
||||
快速问诊
|
||||
<view class="order_status order_status_ing">接诊中</view>
|
||||
</view>
|
||||
<view class="order_item_content_data">
|
||||
<view class="order_id">订单编号:<text style="font-size: 30rpx;color: #666666;">2131231xxxx</text></view>
|
||||
<view class="order_id">就诊患者:<text style="font-size: 30rpx;color: #666666;">张三三(女,25岁)</text></view>
|
||||
<view class="order_id">接诊时间:<text style="font-size: 30rpx;color: #666666;">2022-12-30 11:23:23</text></view>
|
||||
<view class="order_id">结束时间:<text style="font-size: 30rpx;color: #666666;">2022-12-12 11:23:23</text></view>
|
||||
<view class="order_id">订单金额:<text style="font-size: 30rpx;color: #666666;">¥1212.00元</text></view>
|
||||
<view class="order_id">预计收入:<text style="font-size: 30rpx;color: #666666;">¥112.00元</text></view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="order_item">
|
||||
<view class="order_item_content">
|
||||
<view class="order_item_content_top">
|
||||
快速问诊
|
||||
<view class="order_status order_status_cancle">已取消</view>
|
||||
</view>
|
||||
<view class="order_item_content_data">
|
||||
<view class="order_id">就诊患者:<text style="font-size: 30rpx;color: #666666;">张三三/18/男</text></view>
|
||||
<view class="order_id">订单编号:<text style="font-size: 30rpx;color: #666666;">2131231xxxx</text></view>
|
||||
<view class="order_id">订单金额:<text style="font-size: 30rpx;color: #666666;">¥1212.00元</text></view>
|
||||
<view class="order_id">完成时间:<text style="font-size: 30rpx;color: #666666;">2022.12.30</text></view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -0,0 +1,57 @@
|
||||
.container{
|
||||
background-color: #F4F4F4;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
}
|
||||
.order_list{
|
||||
display: flex;
|
||||
width: 92vw;
|
||||
margin: 0 auto;
|
||||
flex-direction: column;
|
||||
}
|
||||
.order_item{
|
||||
display: flex;
|
||||
width: 100%;
|
||||
margin-top: 30rpx;
|
||||
}
|
||||
.order_item_content{
|
||||
flex: 10;
|
||||
background-color: #fff;
|
||||
border-radius: 20rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 20rpx;
|
||||
height: 600rpx;
|
||||
}
|
||||
.order_item_content_top{
|
||||
flex: 1;
|
||||
border-bottom: 1px solid #E5E5E5;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
font-size: 36rpx;
|
||||
justify-content:space-between;
|
||||
}
|
||||
.order_status{
|
||||
padding: 10rpx 20rpx;
|
||||
font-size: 24rpx;
|
||||
border-radius: 10rpx;
|
||||
}
|
||||
.order_status_ing{
|
||||
background-color: #FFF2E8;
|
||||
color: #FA541C;
|
||||
}
|
||||
.order_status_cancle{
|
||||
background-color: #C5C5C5;
|
||||
color: #fff;
|
||||
}
|
||||
.order_item_content_data{
|
||||
flex: 3;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.order_id{
|
||||
flex: 1;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
font-size: 30rpx;
|
||||
}
|
||||
Reference in New Issue
Block a user