患者1.2

This commit is contained in:
zoujiandong
2024-01-10 08:57:23 +08:00
parent 49c01e8922
commit 5d865d1bbb
339 changed files with 23720 additions and 267 deletions
@@ -0,0 +1,668 @@
// pages/sugarSickInfo/sugarSickInfo.js
import {nation} from "../../../api/common"
import {getLocation,getDiseaseList,getDoctorList,createDetection,getPurposeList,getProject,getArea} from "../../../api/checkSugar"
import {getProvince,getCity,getCountry} from "../../../api/consultExpert"
import {throttle} from "../../../utils/util"
import Dialog from '@vant/weapp/dialog/dialog';
import {client_type} from "../../../utils/isPc"
let wait_time=15;
const beforeClose = (action) =>
new Promise((resolve) => {
console.log(action,wait_time);
try {
if (action === 'confirm' && wait_time<=0) {
resolve(true);
}else if (action === 'cancel') {
resolve(true);
}else {
// 拦截取消操作
resolve(false);
}
} catch (error) {
}
});
const app = getApp();
let provinceArr=[{area_id:'', area_name: "全国"}];
let cityArr=[];
Page({
/**
* 页面的初始数据
*/
data: {
showSick:false,
showNation:false,
showDoctor:false,
currentPatientName:'',
showNationSelect:false,
showCity:false,
confirmtext:"同意",
currentPosition:"全国",
detection_project_id:1,
sick_name:'',
real_name:'',
doctor_name:'',
nation_name:'',
nation_id:'',
purpose_id:'',
purpose_name:'',
confirmColor:"#bfbfbf",
nationcolumns:[],
sickList:[],
sex:"",
age:'',
showAgree:false,
messageAgree:'',
doctorList:[],
timer:null,
doctorResult:'',
select_doctor_id:'',
showdialog:false,
order_detection_id:'',
messageTitle:"",
cancelBtn:false,
columns: [{
values: [],
className: 'column1',
},
{
values: [],
className: 'column2',
defaultIndex: 1,
},
{
values: [],
className: 'column3',
defaultIndex: 1,
}
],
sickResult:[],
disease_ids:[],
area:{
province_id:'',
city_id:'',
county_id:''
},
img_host:'https://oss.prod.applets.igandanyiyuan.com/applet/patient/static'
},
cancelAgree(){
this.setData({
showAgree: false
})
},
confirmAgree(event){
if (event.detail ) {
this.setData({
showAgree: false
})
}
},
cancelAlert(){
this.setData({
showdialog: false
})
},
confirm(event) {
if (event.detail) {
this.setData({
showdialog: false
})
}
if(this.data.messageTitle=="当前患者存在进行中检测订单"){
let {order_detection_id}=this.data;
app.method.navigateTo({
url: '/pages/checkOrderDetail/checkOrderDetail?order_detection_id='+ order_detection_id,
})
}
},
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
this.setData({
family_id:options.family_id,
real_name:options.real_name,
sex:options.sex,
age:options.age,
nation_id:options.nation_id,
nation_name:options.nation_name,
detection_project_id:options.detection_project_id
})
// {{real_name}}{{sex==1?'男':'女'}} | {{age}}岁 {{showNationSelect?" | "+nation_name:''}}
let sex=options.sex==1?'男':'女';
if(options.nation_id){
this.setData({
currentPatientName:options.real_name+""+sex+" | "+options.age+"岁 | "+options.nation_name+"",
showNationSelect:false
})
}else{
this.setData({
currentPatientName:options.real_name+""+sex+" | "+options.age+"岁"+"",
showNationSelect:true
})
}
this.handelGetProject();
this.handleWxLocation();
this.getNation();
this.handlegetDiseaseList();
this.handleGetPurposeList();
},
handleWxLocation(){
let that=this;
try {
wx.getFuzzyLocation({
type: 'gcj02',
success (res) {
if(res.errMsg=='getFuzzyLocation:ok'){
const latitude = res.latitude;
const longitude = res.longitude;
that.handleGetLocation(longitude,latitude);
}
},
fail(err){
console.log(err)
console.log("获取位置信息失败")
that.handleGetDoctorList();
}
})
} catch (error) {
}
},
goAgree(){
let {detection_project_id}=this.data;
app.method.navigateTo({
url:'/pages/agreement/agreement?detection_project_id='+detection_project_id
})
},
handelGetProject(){
let {detection_project_id}=this.data;
getProject(
detection_project_id
).then(data=>{
this.setData({
nodes:data.informed_consent_form
})
})
},
handleCreateDetection:throttle(function(){
let {nation_id,doctorResult,sickResult,real_name,purpose_id,showNationSelect,disease_ids,timer}=this.data;
let detection_disease_class_ids='';
sickResult.forEach((item)=>{
if(!detection_disease_class_ids){
detection_disease_class_ids+=item
}else{
detection_disease_class_ids+=","+item
}
})
if(!real_name){
wx.showToast({
title:"请输入真实姓名",
icon:"none"
});
return false
};
if(!nation_id && showNationSelect){
wx.showToast({
title:"请选择民族",
icon:"none"
});
return false
};
if(disease_ids.length==0){
wx.showToast({
title:"请选择既往病史",
icon:"none"
});
return false
};
if(!purpose_id){
wx.showToast({
title:"请选择目的",
icon:"none"
});
return false
};
if(!doctorResult){
wx.showToast({
title:"请选择申请医生",
icon:"none"
});
return false
};
wait_time=15;
this.setData({
confirmColor:wait_time==0?"#3CC7C0":"#bfbfbf"
});
Dialog.confirm({
title: '知情同意书',
width:'710rpx',
message: '弹窗内容',
selector:"#agreeDialog",
confirmButtonText :wait_time==0?"同意":"同意("+wait_time+"S)",
beforeClose:beforeClose,
}).then(() => {
this.goPay();
// on confirm
}).catch(() => {
console.log("none")
// on cancel
});
if(this.data.timer){
clearInterval(this.data.timer);
};
let timerSetInterval=setInterval(()=>{
if(wait_time<=1){
clearInterval(timer);
wait_time=0;
this.setData({
waitTime:0,
confirmColor:"#3CC7C0",
confirmtext:"同意",
})
return false
}
wait_time--;
this.setData({
confirmtext:"同意("+wait_time+"S)",
})
},1000)
this.setData({
timer:timerSetInterval
})
}),
goPay:throttle(function(){
let {family_id,nation_id,detection_project_id,doctorResult,sickResult,purpose_id}=this.data;
let detection_disease_class_ids='';
sickResult.forEach((item)=>{
if(!detection_disease_class_ids){
detection_disease_class_ids+=item
}else{
detection_disease_class_ids+=","+item
}
})
createDetection({
company_id:1,
patient_id:wx.getStorageSync('CLIENT_USER_ID'),
family_id,
doctor_id:doctorResult,
nation_id,
purpose_id,
detection_disease_class_ids,
detection_project_id,
client_type:client_type
}).then(data=>{
if(data.status==1){
app.method.navigateTo({
url: '/pages/payOrder/payOrder?&inquiry_no=' + data.data.inquiry_no + "&order_detection_id="+ data.data.order_no+"&order_type=3&fromType="+encodeURIComponent('pages/checkOrder/checkOrder')
})
}else if(data.status==2){
this.setData({
showdialog:true,
messageTitle:"当前患者存在进行中检测订单",
order_detection_id: data.data.order_no,
cancelBtn:true
})
}
})
}),
onChangeSick(event) {
console.log(event.detail)
let result=event.detail;
this.setData({
sickResult:result ,
});
const {sickList}=this.data;
for (let i = 0; i < sickList.length; i++) {
let temp="sickList["+i+"].check";
if(result.indexOf(sickList[i].id)!==-1){
this.setData({
[temp]:true
})
}else{
this.setData({
[temp]:false
})
}
}
//console.log(sickList);
},
onChangeDoctor(event) {
// console.log(event)
this.setData({
doctorResult: event.detail,
});
},
showNation() {
this.setData({
showNation: true
})
},
onCancelNation() {
this.setData({
showNation: false
})
},
onConfirmNation(event) {
const {
value
} = event.detail;
this.setData({
"nation_name": `${value.nation_name}`,
"nation_id": `${value.nation_id}`,
showNation: false
})
},
openPurpose(){
this.setData({
showPurpose: true
})
},
onConfirmPurpose(event) {
const {
value
} = event.detail;
this.setData({
"purpose_name": `${value.purpose_name}`,
"purpose_id": `${value.purpose_id}`,
showPurpose: false
})
},
onCancelPurpose(){
this.setData({
showPurpose: false
})
},
getNation(){
nation().then(data=>{
this.setData({
nationcolumns:data
})
})
},
handleGetArea(){
getArea().then(data=>{
console.log('获取地址')
console.log(data)
let position ='';
if(data.province || data.city || data.county){
position=data.province+data.city+data.county
}else{
position="全国"
}
this.setData({
area:data,
currentPosition:position
})
this.handleGetDoctorList();
})
},
handleGetLocation(lon,lat){
getLocation({
lon,
lat
}).then(data=>{
this.handleGetArea();
})
},
handleGetPurposeList(){
getPurposeList().then(data=>{
this.setData({
purposecolumns:data
})
})
},
handlegetDiseaseList(){
getDiseaseList({
detection_project_id:1
}).then(data=>{
//let arr=[];
data.forEach(item=>{
item.check=false;
})
this.setData({
sickList:data
})
})
},
handleGetDoctorList(){
const {area}=this.data;
const postData={
company_id:1,
province_id:area.province_id,
city_id:area.city_id,
county_id:area.county_id
}
getDoctorList(postData).then(data=>{
this.setData({
doctorList:data
})
})
},
toggleSick(event) {
const { index } = event.currentTarget.dataset;
const checkbox = this.selectComponent(`.checkboxessick-${index}`);
checkbox.toggle();
},
onClickDcotor(event){
const {name,userid,doctorname,hospital} = event.currentTarget.dataset;
console.log(userid,name)
this.setData({
doctorResult: name,
doctor_name:doctorname+""+hospital+"",
showDoctor:false
});
},
noop() {},
onConfirmSick() {
let {sickResult,sickList}=this.data;
this.setData({
showSick: false,
disease_ids:sickResult
});
let sick_name="";
sickList.forEach((item)=>{
if(sickResult.indexOf(item.id)!=-1){
if(!sick_name){
sick_name+=item.name;
}else{
sick_name+=" | "+item.name
}
}
})
this.setData({
sick_name
})
},
closeDoctor(){
this.setData({
showDoctor: false
})
},
openCity(){
this.provinceList()
this.setData({
showCity:true
})
},
openSick() {
this.setData({
showSick: true
})
},
openDoctor(){
this.setData({
showDoctor:true
})
},
closeSick() {
this.setData({
showSick: false
})
},
provinceList(){
getProvince().then((res)=>{
provinceArr= provinceArr.concat(res);
let province=[{area_id:'', area_name: "全国"}];//
for (let i = 0; i < res.length; i++) {
province.push(res[i]);
};
this.setData({
'columns[0].values':province
})
//this.cityList(province[0].area_id);
})
},
cityList(area_id){
getCity({
area_id:area_id
}).then((res)=>{
cityArr=res;
let city=[];
for (let i = 0; i < res.length; i++) {
city.push(res[i]);
};
this.setData({
'columns[1].values':city,
// 'area.county_id':res[0].area_id
})
this.countryList(res[0].area_id);
})
},
countryList(area_id){
getCountry({
area_id:area_id
}).then((res)=>{
let area=[];
for (let i = 0; i < res.length; i++) {
area.push(res[i]);
};
this.setData({
'columns[2].values':area,
isLoding:false
})
})
},
onConfirm(event) {
const {value} = event.detail;
let currentPosition=''
for (let index = 0; index < value.length; index++) {
if(!value[0].area_id){
currentPosition="全国";
this.setData({
area:{
province_id:'',
city_id:'',
county_id:'',
province:'',
city:'',
county:''
}
})
}else{
currentPosition+=value[index].area_name;
if(index===0){
this.setData({
'area.province_id':value[index].area_id
})
}else if(index==1){
this.setData({
'area.city_id':value[index].area_id,
})
}else if(index==2){
this.setData({
'area.county_id':value[index].area_id
})
}
}
}
this.setData({
currentPosition:currentPosition,
showCity: false
});
console.log(this.data.area);
this.handleGetDoctorList();
},
onChangePicker(event) {
const { picker, value, index } = event.detail;
if(index===0){
let currentIndex=picker.getIndexes()[0];
if(provinceArr[currentIndex].area_id){
this.cityList(provinceArr[currentIndex].area_id);
}else{
this.setData({
'columns[1].values':[],
'columns[2].values':[]
})
}
}
},
onCancel() {
this.setData({
showCity: false
})
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady() {
},
/**
* 生命周期函数--监听页面显示
*/
onShow() {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide() {
clearInterval(this.data.timer);
// this.setData({
// sickResult:[],
// doctorResult:''
// })
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload() {
clearInterval(this.timer);
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom() {
},
})
@@ -0,0 +1,16 @@
{
"usingComponents": {
"van-popup": "@vant/weapp/popup/index",
"van-picker": "@vant/weapp/picker/index",
"nav":"../../../components/nav/nav",
"van-checkbox": "@vant/weapp/checkbox/index",
"van-cell": "@vant/weapp/cell/index",
"van-cell-group": "@vant/weapp/cell-group/index",
"van-checkbox-group": "@vant/weapp/checkbox-group/index",
"van-radio": "@vant/weapp/radio/index",
"van-radio-group": "@vant/weapp/radio-group/index",
"dialog":"../../../components/dialog/dialog",
"van-dialog": "@vant/weapp/dialog/index"
},
"navigationStyle":"custom"
}
@@ -0,0 +1,127 @@
<!--pages/sugarSickInfo/sugarSickInfo.wxml-->
<nav navName="填写信息"></nav>
<view class="page">
<view class="infobox">
<view class="sickbox">
<view class="info">
<view class="name">真实姓名<text>*</text></view>
<view class="iptbox">
<input value="{{currentPatientName}}" type="text" placeholder="请输入真实姓名"
disabled="{{true}}"/>
</view>
</view>
<view class="info" bindtap="showNation" wx:if="{{showNationSelect}}">
<view class="name">民族<text>*</text></view>
<view class="iptbox">
<input value="{{nation_name}}" type="text" placeholder="请选择民族" disabled="{{true}}"/>
<image src="{{img_host+'/righticon.png'}}" class="righticon"></image>
</view>
</view>
<view class="info" bindtap="openSick">
<view class="name">既往病史<text>*</text></view>
<view class="iptbox">
<input value="{{sick_name}}" type="text" placeholder="请选择既往病史" disabled="{{true}}" />
<image src="{{img_host+'/righticon.png'}}" class="righticon"></image>
</view>
</view>
<view class="info" bindtap="openPurpose">
<view class="name">目的<text>*</text></view>
<view class="iptbox">
<input value="{{purpose_name}}" type="text" placeholder="请选择目的" disabled="{{true}}" />
<image src="{{img_host+'/righticon.png'}}" class="righticon"></image>
</view>
</view>
<view class="info" bindtap="openDoctor">
<view class="name">申请医生<text>*</text></view>
<view class="iptbox">
<input value="{{doctor_name}}" type="text" placeholder="请选择申请医生" disabled="{{true}}"/>
<image src="{{img_host+'/righticon.png'}}" class="righticon"></image>
</view>
</view>
</view>
<view class="tips">
根据国家互联网诊疗相关政策的要求,请您在使用服务前仔细阅读<text class="navigator" bindtap="goAgree">《风险告知与知情同意书》</text>,肝胆相照互联网医院平台医生,仅为您提供健康咨询服务,咨询意见供您参考。继续操作表示您知悉并同意上述告诉内容。
</view>
</view>
<view class="bottom">
<view class="pay" bindtap="handleCreateDetection">
立即支付
</view>
</view>
</view>
<van-popup show="{{ showDoctor }}" closeable round z-index="9999" bind:close="closeDoctor" custom-style="height: 60%" position="bottom">
<view class="sickcon">
<view class="titlebox" style="justify-content: center;margin-top: 28rpx;">
<view class="title"> 申请医生</view>
</view>
<view class="site" style="margin-bottom: 20rpx;" bindtap="openCity">
<!-- <text wx:if="{{area.province&&area.city&&area.county}}">{{area.province}}{{area.city}}{{area.county}}</text> -->
<text>{{currentPosition}}</text>
<image src="../../assets/images/sugar_down.png" class="siteimg" />
</view>
<view class="doctorlist">
<van-radio-group value="{{ doctorResult }}" bind:change="onChangeDoctor" wx:if="{{doctorList.length>0}}">
<van-cell-group >
<van-cell border="{{false}}" wx:for="{{ doctorList }}"
bind:click="onClickDcotor" wx:key="index" value-class="value-class" custom-class="{{item.doctor_id==doctorResult?'rootclass':''}}" clickable data-name="{{ item.doctor_id }}" data-hospital="{{item.hospital_name}}" data-doctorname="{{item.user_name}}" data-userid="{{item.user_id}}" >
<view slot="title" class="celltitle">
<image src="{{item.avatar}}" class="head" wx:if="item.avatar"/>
<image src="{{img_host+'/doctor_avatar.png'}}" class="head" wx:else/>
<view class="namebox">
<view class="van-cell-text">
<text>{{ item.user_name}}</text>
<!-- 1:主任医师 2:主任中医师 3:副主任医师 4:副主任中医师 5:主治医师 6:住院医师) -->
<text decode="true" style="margin-left:20rpx;" wx:if="{{item.doctor_title==1}}">主任中医师</text>
<text decode="true" style="margin-left:20rpx;" wx:elif="{{item.doctor_title==2}}">主任医师</text>
<text decode="true" style="margin-left:20rpx;" wx:elif="{{item.doctor_title==3}}">副主任医师</text>
<text decode="true" style="margin-left:20rpx;" wx:elif="{{item.doctor_title==4}}">副主任中医师</text>
<text decode="true" style="margin-left:20rpx;" wx:elif="{{item.doctor_title==5}}">主治医师</text>
<text decode="true" style="margin-left:20rpx;" wx:elif="{{item.doctor_title==6}}">住院医师</text>
</view>
<view class="hospital" wx:if="item.hospital">{{item.hospital_name}} </view>
</view>
</view>
<van-radio checked-color="#3CC7C0" icon-size="20px" catch:tap="noop" class="checkboxesdoctor-{{ index }}" name="{{ item.doctor_id}}" data-doctorname="{{item.user_name}}" data-userid="{{item.user_id}}" catchtap="onClickDcotor" data-name="{{ item.doctor_id}}" data-hospital="{{item.hospital_name}}"/>
</van-cell>
</van-cell-group>
</van-radio-group>
<view class="nonedata" wx:else>暂无医生数据!</view>
</view>
</view>
</van-popup>
<van-popup show="{{ showSick }}" round bind:close="onClose" custom-style="height: 60%;" position="bottom" custom-class="sickpop" z-index="9999" >
<view class="sickcon">
<view class="titlebox">
<view class="cancel" bindtap="closeSick">取消</view>
<view class="title"> 既往病史(最多3项)</view>
<view class="ok" bindtap="onConfirmSick">确定</view>
</view>
<van-checkbox-group value="{{ sickResult }}" bind:change="onChangeSick" max="{{3}}" style="flex:1;overflow-y: scroll;-webkit-overflow-scrolling: touch;">
<van-cell-group>
<van-cell border="{{false}}" wx:for="{{ sickList }}" wx:key="index" title="{{ item.name }}" value-class="value-class" clickable data-index="{{ index }}" bind:click="toggleSick">
<van-checkbox shape="square" checked-color="#3CC7C0" icon-size="18px" catch:tap="noop" class="checkboxessick-{{ index }}" name="{{ item.id }}" disabled="{{sickResult.length==3 && !item.check}}"/>
</van-cell>
</van-cell-group>
</van-checkbox-group></view>
</van-popup>
<van-popup show="{{ showNation }}" position="bottom" custom-style="height: auto">
<van-picker show-toolbar title="选择民族" columns="{{ nationcolumns }}" value-key="nation_name" bind:cancel="onCancelNation" bind:confirm="onConfirmNation" />
</van-popup>
<van-popup show="{{ showPurpose }}" position="bottom" custom-style="height: auto">
<van-picker show-toolbar title="选择目的" columns="{{ purposecolumns }}" value-key="purpose_name" bind:cancel="onCancelPurpose" bind:confirm="onConfirmPurpose" />
</van-popup>
<van-popup show="{{ showCity}}" round position="bottom" custom-style="height: 50%" bind:close="onClose" z-index="10000" >
<van-picker columns="{{ columns }}" show-toolbar title="选择地区" columns="{{ columns }}" value-key="area_name" bind:cancel="onCancel" bind:change="onChangePicker" bind:confirm="onConfirm" />
</van-popup>
<dialog bind:confirm="confirm" bind:cancel="cancelAlert" showDialog="{{showdialog}}" message="{{messageTitle}}" cancelBtn="{{cancelBtn}}"></dialog>
<van-dialog id="agreeDialog" use-slot title="知情同意书" message="{{messageAgree}}" show-cancel-button="{{true}}" cancel-button-text="取消" confirm-button-text="{{confirmtext}}" confirm-button-color="{{confirmColor}}" >
<view class="agreecon">
<rich-text nodes="{{nodes}}" space="nbsp"></rich-text></view>
<!-- bind:cancel="onClose" bind:close="onCloseAgree" show="{{showAgree}}"bind:confirm="confirmAgree" -->
</van-dialog>
<!-- <dialog bind:confirm="confirmAgree" bind:cancel="cancelAgree" showDialog="{{showAgree}}" message="{{messageAgree}}" confirmtext="{{confirmtext}}" cancelBtn="{{true}}" confirmColor="{{confirmColor}}"></dialog> -->
@@ -0,0 +1,327 @@
/* pages/sugarSickInfo/sugarSickInfo.wxss */
/**app.wxss**/
.container {
padding-top: 135px;
padding-bottom: 10rpx;
/* top:280rpx; */
/* position: absolute; */
width:100%;
/* overflow-y: scroll; */
background: #F2F2F2;
}
input{
font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica,
}
page{
position: relative;
width:100%;
height:100%;
font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica,
Segoe UI, Arial, Roboto, 'PingFang SC', 'miui', 'Hiragino Sans GB', 'Microsoft Yahei',
sans-serif;
}
.page{
width:100vw;
height:100vh;
background: #f2f2f2;
}
.contain{padding: 0 30rpx 0rpx;height: 100%;overflow: hidden;position: relative;}
::-webkit-scrollbar {
display: none;
width: 0;
height: 0;
color: transparent;
}
.van-picker__confirm {
color:#3CC7C0!important;
font-size: 32rpx!important;
}
.van-picker__title{
font-weight: 600!important;
color: rgba(0,0,0,0.9)!important;
font-size: 32rpx!important;
}
.van-picker__cancel{
color: rgba(0,0,0,0.6)!important;
font-size: 32rpx!important;
}
.nonedata{
width:100%;
color:#666;
min-height: 320rpx;
font-size: 28rpx;
display: flex;
justify-content: center;
align-items: center;
}
.ui-navigatorbar {
position: fixed;
z-index:99;
top: 0;
width: 750rpx;
height: 172rpx;
background: #F2F2F2;
backdrop-filter: blur(20px);
}
.ui-navigatorbar-back {
position: absolute;
padding-left:40rpx;
padding-right:40rpx;
width:30rpx;
height:60rpx;
left: 0rpx;
bottom: 20rpx;
}
.ui-title {
position: absolute;
width: 350rpx;
height: 88rpx;
line-height: 56rpx;
font-size: 36rpx;
color: #000000;
bottom: 0;
left: 200rpx;
display: flex;
justify-content: center;
align-items: center;
}
.droptitle.active{
color:#3CC7C0;
}
.slotmsg{
-webkit-overflow-scrolling: touch;
font-size: 28rpx;
line-height:40rpx;
max-height:60vh;
overflow-y: auto;
padding:48rpx;
text-align: center;
}
.van-dropdown-item__title{
width:100%!important;
flex:1;
text-align: center;
}
.van-dropdown-item__icon{
z-index:2;
position: absolute!important;
right:25rpx;
}
.van-cell__value{
flex:none!important;
z-index:1;
}
.onlinebox .icon{
top:60rpx;
left:50%;
position: absolute;
margin-left: -48rpx;
width:96rpx;
height:34rpx;
border-radius: 0;
}
.page{
overflow: hidden;
display: flex;
flex-direction: column;
}
.infobox{
overflow-y: scroll;
flex:1;
-webkit-overflow-scrolling: touch;
}
.sickbox{
padding-top: 10rpx;
background-color: #fff;
margin: 196rpx 32rpx 0;
box-shadow: 0rpx 2rpx 16rpx 2rpx rgba(0,0,0,0.02);
border-radius: 12rpx
}
.info {
display: flex;
align-items: center;
height: 112rpx;
color: #333333;
}
.info .name {
white-space: nowrap;
width: 180rpx;
display: flex;
align-items: center;
margin-left:32rpx;
color: #333333;
font-size: 34rpx;
}
.info text {
margin-top: 20rpx;
color:#E34D59;
display: flex;
align-items: center;
}
.info .iptbox{
display: flex;
align-items: center;
margin-left: 15rpx;
margin-right: 32rpx;
flex: 1;
border-bottom: 1rpx solid #E7E7E7;
}
.info input {
height:112rpx;
position: relative;
z-index:1;
display: flex;
align-items: center;
width:100%;
}
.agreecon{
padding:20rpx 30rpx;
height:600rpx;
overflow: scroll;
}
.info:last-child .iptbox{
border: none;
}
.input-placeholder {
color: #999999;
font-size: 28rpx;
}
.tips{
padding:24rpx 20rpx;
margin:0rpx 32rpx 20rpx;
font-size: 24rpx;
color: rgba(0,0,0,0.45);
border-radius: 12rpx;
}
.warntitle{
color: #E34D59;
font-size: 28rpx;
}
.warn{
margin-top: 20rpx;
font-size: 24rpx;
line-height: 36rpx;
color: #666666;
}
.righticon {
width: 24rpx;
height: 48rpx;
}
.navigator{
color: #3CC7C0 ;
}
.bottom{
position: absolute;
bottom: 0;
width:100%;
height: 186rpx;
background: #FFFFFF;
}
.bottom .pay{
display: flex;
justify-content: center;
align-items: center;
height: 94rpx;
background: #3CC7C0;
border-radius: 47rpx;
font-size: 36rpx;
font-weight: 400;
color: #FFFFFF;
margin:16rpx 32rpx 0;
}
.sickcon{
height:100%;
display: flex;
flex-direction: column;
}
.titlebox{
/* position: absolute;
top:0; */
display: flex;
font-size: 32rpx;
margin:40rpx 32rpx;
justify-content: space-between;
}
.cancel{
color: rgba(0,0,0,0.45);
}
.ok{
color: #3CC7C0;
}
.title{
font-weight: 500;
color: rgba(0,0,0,0.85);
}
.doctorlist{
margin-top: 0rpx;
flex:1;overflow-y: scroll;
-webkit-overflow-scrolling: touch;
}
.site{
margin:0 32rpx;
display: flex;
align-items: center;
}
.namebox{
margin-left: 20rpx;
}
.rootclass{
background: rgba(60,199,192,0.08)!important;
}
.van-cell-text{
font-size: 30rpx;
font-weight: 400;
font-family: PingFangSC-Regular, PingFang SC;
color: rgba(0,0,0,0.85)
}
.value-class{
display: flex;
align-items: center;
}
.hospital{
font-size: 24rpx;
font-weight: 400;
color: rgba(0,0,0,0.65)
}
.siteimg{
margin-left: 8rpx;
width: 32rpx;
height:32rpx;
}
.celltitle{
display: flex;
align-items: center;
}
.head{
width: 80rpx;
height: 80rpx;
border-radius: 50%;
}
.van-hairline, .van-hairline--bottom, .van-hairline--left, .van-hairline--right, .van-hairline--surround, .van-hairline--top, .van-hairline--top-bottom {
position: static!important;
}
#agreeDialog .van-dialog__header {
padding-top:30rpx!important;
padding-bottom: 25rpx;
border-bottom: 1px solid rgba(0,0,0,0.1);
}
#agreeDialog .van-dialog__footer{
border-top: 1px solid rgba(0,0,0,0.1);
}
#agreeDialog .van-dialog__button:first-child{
border-right: 1px solid rgba(0,0,0,0.1);
}