服务包跳转

This commit is contained in:
zoujiandong 2024-04-15 15:54:39 +08:00
parent e42276f343
commit bd3f004c60
10 changed files with 1045 additions and 684 deletions

View File

@ -26,8 +26,6 @@ function serviceList(data){ //获取患者检测订单列表
}; };
module.exports={ module.exports={
cancelCheckPay, cancelCheckPay,
cancelCheckOrder, cancelCheckOrder,

View File

@ -1,6 +1,6 @@
// pages/medinceOrderDetail/medinceOrderDetail.js // pages/medinceOrderDetail/medinceOrderDetail.js
const app = getApp() const app = getApp()
import {serviceDetail,bindCheck,cancelCheckPay,delCheckOrder,cancelCheckOrder,checkInquiry} from "../../../api/health" import {serviceDetail,cancelCheckPay,delCheckOrder,cancelCheckOrder,checkInquiry} from "../../../api/health"
import {cancelPay} from "../../../api/consultOrder" import {cancelPay} from "../../../api/consultOrder"
import {cancelOrder} from "../../../api/consultOrder" import {cancelOrder} from "../../../api/consultOrder"
import {fllowDoctor,notfllowDoctor} from "../../../api/consultExpert" import {fllowDoctor,notfllowDoctor} from "../../../api/consultExpert"
@ -155,7 +155,7 @@ Page({
if(url.indexOf('?')!=-1){ if(url.indexOf('?')!=-1){
goUrl='/'+url+"&fromType="+url; goUrl='/'+url+"&fromType="+url;
}else{ }else{
goUrl='/'+url+"?fromType="+url; goUrl='/healthyService/pages/healthyOrder/healthyOrder'
} }
console.log(goUrl) console.log(goUrl)
//处理聊天收到消息不及时; //处理聊天收到消息不及时;
@ -411,6 +411,12 @@ confirmCancelOrder(){
message:"是否确定要取消订单?" message:"是否确定要取消订单?"
}) })
}, },
goSickInfo(event){
let order_inquiry_id=event.currentTarget.dataset.id;
app.method.navigateTo({
url: '/patient/pages/sickInfo/sickInfo?order_inquiry_id='+order_inquiry_id
})
},
confirmDelOrder(){ confirmDelOrder(){
this.setData({ this.setData({
showDialog:true, showDialog:true,
@ -473,6 +479,7 @@ copy(event){
data:text data:text
}) })
}, },
goPay:throttle(function(){ goPay:throttle(function(){
let {order_service_id,order_service_no,order_service_type}=this.data.order; let {order_service_id,order_service_no,order_service_type}=this.data.order;
let order_type=order_service_type==1?4:5; let order_type=order_service_type==1?4:5;
@ -540,12 +547,7 @@ toggleFllow(){
* 生命周期函数--监听页面加载 * 生命周期函数--监听页面加载
*/ */
onLoad(options) { onLoad(options) {
const cover=wx.getStorageSync('showCover');
if(cover){
this.setData({
showCover:false
})
}
if(options.fromType){ if(options.fromType){
this.setData({ this.setData({
fromType:options.fromType fromType:options.fromType
@ -558,6 +560,7 @@ toggleFllow(){
order_service_id order_service_id
}); });
this.handleServiceDetail(); this.handleServiceDetail();
} }
}, },

View File

@ -86,6 +86,26 @@
</view> </view>
<view class="moneydetail">明细<van-icon name="arrow-down" color="#fff" size="12"/></view> <view class="moneydetail">明细<van-icon name="arrow-down" color="#fff" size="12"/></view>
</view> </view>
<view class="detaibox">
<view class="row">
<view class="namebox">
<view class="name">药 品 费</view>
<view class="dot"></view>
</view>
<view class="desc ">
¥{{order.discount_product_total_amount}}
</view>
</view>
<view class="row">
<view class="namebox">
<view class="name">问 诊 费</view>
<view class="dot"></view>
</view>
<view class="desc ">
¥{{(pay_money-order.discount_product_total_amount)}}
</view>
</view>
</view>
<view class="row beizhu" wx:if="{{order.cancel_reason}}"> <view class="row beizhu" wx:if="{{order.cancel_reason}}">
<view class="namebox"> <view class="namebox">
<view class="name"><text>备</text><text>注</text></view> <view class="name"><text>备</text><text>注</text></view>
@ -133,8 +153,108 @@
</view> </view>
<view class="quanyibox rowbox ">
<view class="topbox">
<view class="title">服务权益</view>
<view class="row">
<view class="namebox">
<view class="name">有 效 期</view>
<view class="dot"></view>
</view>
<view class="desc time">2012</view>
</view>
<view class="row">
<view class="namebox">
<view class="name">当月时间</view>
<view class="dot"></view>
</view>
<view class="desc time">2012</view>
</view>
</view>
<view class="medbox">
<view class="title">问诊服务</view>
<view class="row" style="position: relative;margin-bottom: 22rpx;">
<view class="namebox">
<view class="name"><text decode>内&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;容</text></view>
<view class="dot"></view>
</view>
<view class="desc"><text class="red">3个</text>月内,每月<text class="red">2次</text>问诊</view>
</view>
<view class="row" style="position: relative;margin-bottom: 22rpx;">
<view class="namebox">
<view class="name">药品剩余</view>
<view class="dot"></view>
</view>
<view class="desc"><text class="red">1盒</text>干爽颗粒</view>
<view class="expand">收起 <van-icon name="arrow-up" /></view>
</view>
<view class="usebox">
<view class="time">下单时间2024.12.12</view>
<view class="detail">已签收</view>
</view>
<view class="usebox">
<view class="time">下单时间2024.12.12</view>
<view class="detail">已签收</view>
</view>
</view>
<view class="medbox">
<view class="title">药品服务</view>
<view class="row" style="position: relative;margin-bottom: 22rpx;">
<view class="namebox">
<view class="name">药品剩余</view>
<view class="dot"></view>
</view>
<view class="desc"><text class="red">1盒</text>干爽颗粒</view>
<view class="expand">收起 <van-icon name="arrow-up" /></view>
</view>
<view class="usebox">
<view class="time">下单时间2024.12.12</view>
<view class="detail">已签收</view>
</view>
<view class="usebox">
<view class="time">下单时间2024.12.12</view>
<view class="detail">已签收</view>
</view>
</view>
<view class="medbox">
<view class="title">优惠卷</view>
<view class="row" style="position: relative;margin-bottom: 22rpx;align-items: flex-start;">
<view class="namebox">
<view class="name"><text decode>内&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;容</text></view>
<view class="dot"></view>
</view>
<view class="desc">
<view>1、 价值5元的全品类药品优惠劵2张</view>
<view >
2、价值100元的肝胆商城优惠劵1张</view>
</view>
<view class="expand">收起 <van-icon name="arrow-up" /></view>
</view>
<view class="usebox">
<view class="time">10元的全品类药品优惠劵</view>
<view class="detail">未使用</view>
</view>
<view class="usebox">
<view class="time">100元的肝胆商城优惠劵</view>
<view class="detail">注册即发放</view>
</view>
</view>
</view>
<view class="patientBox">
<view class="titlebox">
<view class="title">患者信息</view>
<view class="more">查看详情病情信息<van-icon name="arrow" /></view>
</view>
<view class="patientdesc">
<view class="name">{{order.patient_name}}<text wx:if="{{order.patient_sex==1}}">男</text><text wx:elif="{{order.patient_sex==2}}">女</text><text wx:else>未知</text>{{order.patient_age}}岁)</view>
<view class="nameinfo">
<view class="name">所患疾病:{{order.case.disease_class_name}}</view>
<view class="name">病情主诉:{{order.case.disease_desc}}</view>
</view>
</view>
</view>
<view class="personinfobox" bindtap="goExpert" wx:if="user_doctor && user_doctor.doctor_id"> <view class="personinfobox" bindtap="goExpert" wx:if="user_doctor && user_doctor.doctor_id">
<view class="namebox" style="justify-content: flex-start;"> <view class="namebox" style="justify-content: flex-start;">

View File

@ -9,9 +9,11 @@
/* overflow-y: scroll; */ /* overflow-y: scroll; */
background: #F2F2F2; background: #F2F2F2;
} }
input { input {
font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica,
} }
page { page {
position: relative; position: relative;
width: 100%; width: 100%;
@ -20,31 +22,43 @@
Segoe UI, Arial, Roboto, 'PingFang SC', 'miui', 'Hiragino Sans GB', 'Microsoft Yahei', Segoe UI, Arial, Roboto, 'PingFang SC', 'miui', 'Hiragino Sans GB', 'Microsoft Yahei',
sans-serif; sans-serif;
} }
.page { .page {
width: 100vw; width: 100vw;
height: 100vh; height: 100vh;
background: #f2f2f2; background: #f2f2f2;
} }
.contain{padding: 0 30rpx 0rpx;height: 100%;overflow: hidden;position: relative;}
.contain {
padding: 0 30rpx 0rpx;
height: 100%;
overflow: hidden;
position: relative;
}
::-webkit-scrollbar { ::-webkit-scrollbar {
display: none; display: none;
width: 0; width: 0;
height: 0; height: 0;
color: transparent; color: transparent;
} }
.van-picker__confirm { .van-picker__confirm {
color: #3CC7C0 !important; color: #3CC7C0 !important;
font-size: 32rpx !important; font-size: 32rpx !important;
} }
.van-picker__title { .van-picker__title {
font-weight: 600 !important; font-weight: 600 !important;
color: rgba(0, 0, 0, 0.9) !important; color: rgba(0, 0, 0, 0.9) !important;
font-size: 32rpx !important; font-size: 32rpx !important;
} }
.van-picker__cancel { .van-picker__cancel {
color: rgba(0, 0, 0, 0.6) !important; color: rgba(0, 0, 0, 0.6) !important;
font-size: 32rpx !important; font-size: 32rpx !important;
} }
.nonedata { .nonedata {
width: 100%; width: 100%;
color: #666; color: #666;
@ -54,6 +68,7 @@
justify-content: center; justify-content: center;
align-items: center; align-items: center;
} }
.ui-navigatorbar { .ui-navigatorbar {
position: fixed; position: fixed;
z-index: 99; z-index: 99;
@ -87,9 +102,11 @@
justify-content: center; justify-content: center;
align-items: center; align-items: center;
} }
.droptitle.active { .droptitle.active {
color: #3CC7C0; color: #3CC7C0;
} }
.slotmsg { .slotmsg {
-webkit-overflow-scrolling: touch; -webkit-overflow-scrolling: touch;
font-size: 28rpx; font-size: 28rpx;
@ -99,21 +116,25 @@
padding: 48rpx; padding: 48rpx;
text-align: center; text-align: center;
} }
.van-dropdown-item__title { .van-dropdown-item__title {
width: 100% !important; width: 100% !important;
flex: 1; flex: 1;
text-align: center; text-align: center;
} }
.van-dropdown-item__icon { .van-dropdown-item__icon {
z-index: 2; z-index: 2;
position: absolute !important; position: absolute !important;
right: 25rpx; right: 25rpx;
} }
.van-cell__value { .van-cell__value {
flex: none !important; flex: none !important;
z-index: 1; z-index: 1;
} }
.onlinebox .icon { .onlinebox .icon {
top: 60rpx; top: 60rpx;
left: 50%; left: 50%;
@ -123,21 +144,25 @@
height: 34rpx; height: 34rpx;
border-radius: 0; border-radius: 0;
} }
.page { .page {
position: relative; position: relative;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
margin-bottom: 0rpx; margin-bottom: 0rpx;
} }
.outwraper { .outwraper {
flex: 1; flex: 1;
overflow-y: scroll; overflow-y: scroll;
-webkit-overflow-scrolling: touch; -webkit-overflow-scrolling: touch;
padding-bottom: 200rpx; padding-bottom: 200rpx;
} }
.outwraper.active { .outwraper.active {
padding-bottom: 220rpx; padding-bottom: 220rpx;
} }
.add { .add {
width: 100%; width: 100%;
display: flex; display: flex;
@ -149,11 +174,13 @@
color: #ED9C00; color: #ED9C00;
font-size: 32rpx; font-size: 32rpx;
} }
.addicon { .addicon {
width: 40rpx; width: 40rpx;
height: 40rpx; height: 40rpx;
flex-shrink: 0; flex-shrink: 0;
} }
.addressbox { .addressbox {
margin-top: 172rpx; margin-top: 172rpx;
align-items: center; align-items: center;
@ -195,6 +222,7 @@
color: #333333; color: #333333;
font-size: 28rpx; font-size: 28rpx;
} }
.row { .row {
align-items: center; align-items: center;
padding: 0 32rpx; padding: 0 32rpx;
@ -216,11 +244,13 @@
align-items: baseline; align-items: baseline;
justify-content: space-between; justify-content: space-between;
} }
.row .dot { .row .dot {
font-weight: 600; font-weight: 600;
display: flex; display: flex;
align-items: baseline; align-items: baseline;
} }
.row .desc { .row .desc {
align-items: baseline; align-items: baseline;
font-size: 28rpx; font-size: 28rpx;
@ -257,7 +287,8 @@
background: #3CC7C0; background: #3CC7C0;
border-radius: 6rpx; border-radius: 6rpx;
height: 40rpx; height: 40rpx;
color: #fff;width: 80rpx; color: #fff;
width: 80rpx;
height: 40rpx; height: 40rpx;
background: #3CC7C0; background: #3CC7C0;
border-radius: 6rpx; border-radius: 6rpx;
@ -268,6 +299,7 @@ border-radius: 6rpx;
justify-content: center; justify-content: center;
border-radius: 6rpx; border-radius: 6rpx;
} }
.row .left { .row .left {
display: flex; display: flex;
} }
@ -280,11 +312,13 @@ border-radius: 6rpx;
color: #000; color: #000;
font-size: 34rpx; font-size: 34rpx;
} }
.rowbox { .rowbox {
margin-top: 20rpx; margin-top: 20rpx;
background-color: #fff; background-color: #fff;
padding-bottom: 30rpx; padding-bottom: 30rpx;
} }
.titlebox { .titlebox {
padding: 0 32rpx; padding: 0 32rpx;
height: 112rpx; height: 112rpx;
@ -293,9 +327,11 @@ border-radius: 6rpx;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
} }
.titlebox .status { .titlebox .status {
font-size: 28rpx font-size: 28rpx
} }
.waitpay { .waitpay {
text-align: right; text-align: right;
color: #EF4F20 color: #EF4F20
@ -311,22 +347,27 @@ border-radius: 6rpx;
margin-top: 5rpx; margin-top: 5rpx;
color: #EF4F20 !important; color: #EF4F20 !important;
} }
.infobox { .infobox {
margin-top: 20rpx; margin-top: 20rpx;
background: #fff; background: #fff;
} }
.infobox .status { .infobox .status {
font-size: 28rpx; font-size: 28rpx;
font-weight: 400; font-weight: 400;
color: #333333; color: #333333;
} }
.infobox .status.wait { .infobox .status.wait {
color: #EF4F20; color: #EF4F20;
} }
.infobox .status.timeout { .infobox .status.timeout {
color: #EF4F20; color: #EF4F20;
} }
.infobox .title { .infobox .title {
padding: 0 32rpx; padding: 0 32rpx;
background-color: #fff; background-color: #fff;
@ -378,9 +419,11 @@ border-radius: 6rpx;
align-items: center; align-items: center;
border-bottom: 1rpx solid #E3E4E5; border-bottom: 1rpx solid #E3E4E5;
} }
.medincebox .cell:nth-last-child(2) { .medincebox .cell:nth-last-child(2) {
border-bottom: none; border-bottom: none;
} }
.rightinfo { .rightinfo {
margin-left: 30rpx; margin-left: 30rpx;
flex: 1; flex: 1;
@ -401,9 +444,11 @@ border-radius: 6rpx;
-webkit-line-clamp: 2; -webkit-line-clamp: 2;
overflow: hidden; overflow: hidden;
} }
.row.beizhu { .row.beizhu {
align-items: flex-start; align-items: flex-start;
} }
.rightinfo .own { .rightinfo .own {
margin-top: 47rpx; margin-top: 47rpx;
display: flex; display: flex;
@ -413,6 +458,7 @@ border-radius: 6rpx;
font-weight: 400; font-weight: 400;
color: #333333; color: #333333;
} }
.btnbox { .btnbox {
display: flex; display: flex;
padding: 0 32rpx; padding: 0 32rpx;
@ -420,6 +466,7 @@ border-radius: 6rpx;
padding-bottom: 30rpx; padding-bottom: 30rpx;
justify-content: flex-end; justify-content: flex-end;
} }
.btnbox .btn { .btnbox .btn {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
@ -431,21 +478,25 @@ border-radius: 6rpx;
margin-left: 20px; margin-left: 20px;
} }
.btnbox .orderDetail { .btnbox .orderDetail {
background: #3CC7C0; background: #3CC7C0;
color: #fff; color: #fff;
border: 1rpx solid #3CC7C0; border: 1rpx solid #3CC7C0;
} }
.personinfo { .personinfo {
margin-top: 20rpx; margin-top: 20rpx;
background: #fff; background: #fff;
} }
.personinfobox { .personinfobox {
padding: 30rpx 32rpx 40rpx; padding: 30rpx 32rpx 40rpx;
background: #fff; background: #fff;
margin-top: 20rpx; margin-top: 20rpx;
margin-bottom: 10rpx; margin-bottom: 10rpx;
} }
.personinfobox .title { .personinfobox .title {
background-color: #fff; background-color: #fff;
font-size: 32rpx; font-size: 32rpx;
@ -455,6 +506,7 @@ border-radius: 6rpx;
justify-content: space-between; justify-content: space-between;
border-bottom: 1rpx solid #E3E4E5; border-bottom: 1rpx solid #E3E4E5;
} }
.personinfobox .namebox .head { .personinfobox .namebox .head {
width: 80rpx; width: 80rpx;
height: 80rpx; height: 80rpx;
@ -475,6 +527,7 @@ border-radius: 6rpx;
flex-direction: column; flex-direction: column;
margin-left: 20rpx; margin-left: 20rpx;
} }
.personinfobox .type { .personinfobox .type {
height: 32rpx; height: 32rpx;
display: flex; display: flex;
@ -520,13 +573,16 @@ border-radius: 6rpx;
white-space: normal; white-space: normal;
word-break: break-all; word-break: break-all;
} }
.doctor_title { .doctor_title {
margin-right: 10rpx; margin-right: 10rpx;
} }
.personinfobox .namebox .row { .personinfobox .namebox .row {
line-height: 40rpx; line-height: 40rpx;
align-items: flex-end; align-items: flex-end;
} }
.personinfobox .hospital { .personinfobox .hospital {
margin-top: 12rpx; margin-top: 12rpx;
color: #333333; color: #333333;
@ -542,6 +598,7 @@ border-radius: 6rpx;
margin-left: 15rpx; margin-left: 15rpx;
font-size: 30rpx; font-size: 30rpx;
} }
.personinfobox .goodjob { .personinfobox .goodjob {
color: #666666; color: #666666;
margin-top: 38rpx; margin-top: 38rpx;
@ -550,6 +607,7 @@ border-radius: 6rpx;
font-size: 28rpx; font-size: 28rpx;
word-break: break-all; word-break: break-all;
} }
.paybox { .paybox {
bottom: 0px; bottom: 0px;
height: 104rpx; height: 104rpx;
@ -559,6 +617,7 @@ border-radius: 6rpx;
z-index: 1; z-index: 1;
width: 100%; width: 100%;
} }
.submitbtn { .submitbtn {
width: 100%; width: 100%;
margin: 3px 32rpx 0; margin: 3px 32rpx 0;
@ -571,10 +630,12 @@ align-items: center;
font-size: 36rpx; font-size: 36rpx;
color: #FFFFFF; color: #FFFFFF;
} }
.submitbtn.active { .submitbtn.active {
color: #000000; color: #000000;
background: rgba(0, 0, 0, 0.1); background: rgba(0, 0, 0, 0.1);
} }
.paybox .left { .paybox .left {
height: 104rpx; height: 104rpx;
border-radius: 47rpx; border-radius: 47rpx;
@ -589,11 +650,13 @@ color: #999;
justify-content: center; justify-content: center;
} }
.orderrow { .orderrow {
display: flex; display: flex;
margin: 10rpx 32rpx 0; margin: 10rpx 32rpx 0;
justify-content: flex-end; justify-content: flex-end;
} }
.freetalk { .freetalk {
position: absolute; position: absolute;
width: 403rpx; width: 403rpx;
@ -601,6 +664,7 @@ color: #999;
top: -53rpx; top: -53rpx;
left: 25rpx; left: 25rpx;
} }
.paybox .right { .paybox .right {
position: relative; position: relative;
@ -618,6 +682,7 @@ color: #FFFFFF;
flex: 2; flex: 2;
} }
.express { .express {
width: 158rpx; width: 158rpx;
height: 60rpx; height: 60rpx;
@ -631,34 +696,41 @@ color: #353535;
border-radius: 6rpx; border-radius: 6rpx;
border: 1rpx solid rgba(5, 5, 5, 0.1); border: 1rpx solid rgba(5, 5, 5, 0.1);
} }
.namenum { .namenum {
font-size: 28rpx; font-size: 28rpx;
font-weight: 400; font-weight: 400;
color: #333333; color: #333333;
} }
.row.wuliu { .row.wuliu {
margin-top: 20rpx; margin-top: 20rpx;
align-items: flex-start; align-items: flex-start;
} }
.row.wuliu .desc { .row.wuliu .desc {
margin-left: 20rpx; margin-left: 20rpx;
} }
.desc .dizhi { .desc .dizhi {
font-size: 28rpx; font-size: 28rpx;
font-weight: 400; font-weight: 400;
color: #333333; color: #333333;
line-height: 28rpx; line-height: 28rpx;
} }
.wuliucar { .wuliucar {
width: 40rpx; width: 40rpx;
height: 33rpx; height: 33rpx;
flex-shrink: 0; flex-shrink: 0;
} }
.row.wuliu .date { .row.wuliu .date {
font-size: 24rpx; font-size: 24rpx;
font-weight: 400; font-weight: 400;
color: #666666; color: #666666;
} }
.guanzhu { .guanzhu {
flex-shrink: 0; flex-shrink: 0;
display: flex; display: flex;
@ -671,37 +743,41 @@ color: #666666;
font-size: 24rpx; font-size: 24rpx;
} }
.namebox .guanzhu image { .namebox .guanzhu image {
width: 35rpx; width: 35rpx;
height: 32rpx; height: 32rpx;
} }
.patientbox{
margin-top: 172rpx; .patientBox {
margin-top: 20rpx;
width: 100%; width: 100%;
box-sizing: border-box; box-sizing: border-box;
padding:0 32rpx;
display: flex;
align-items: center;
justify-content: space-between;
height: 109rpx;
background: #FFFFFF; background: #FFFFFF;
} }
.patientdesc{
padding:0 32rpx;
}
.patient_name { .patient_name {
font-size: 32rpx; font-size: 32rpx;
font-weight: 400; font-weight: 400;
color: rgba(0, 0, 0, 0.85) color: rgba(0, 0, 0, 0.85)
} }
.patientbox .rightcon { .patientbox .rightcon {
font-size: 28rpx; font-size: 28rpx;
font-weight: 400; font-weight: 400;
color: rgba(0, 0, 0, 0.65) color: rgba(0, 0, 0, 0.65)
} }
.namebox { .namebox {
display: flex; display: flex;
} }
.rowbox .row{
/* justify-content: space-between; */
}
.bar { .bar {
margin-left: 30rpx; margin-left: 30rpx;
color: rgba(0, 0, 0, 0.45); color: rgba(0, 0, 0, 0.45);
@ -710,16 +786,19 @@ color: rgba(0,0,0,0.85)
display: flex; display: flex;
align-items: center; align-items: center;
} }
.rightbox { .rightbox {
display: flex; display: flex;
align-items: center; align-items: center;
} }
.bindbox { .bindbox {
overflow: hidden; overflow: hidden;
padding: 0 32rpx 10rpx; padding: 0 32rpx 10rpx;
margin: 20rpx 0rpx; margin: 20rpx 0rpx;
background: #FFFFFF; background: #FFFFFF;
} }
.errorbox { .errorbox {
margin-top: 10rpx; margin-top: 10rpx;
display: flex; display: flex;
@ -730,6 +809,7 @@ padding:0 20rpx;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
} }
.tiptitle { .tiptitle {
height: 80rpx; height: 80rpx;
align-items: center; align-items: center;
@ -737,14 +817,17 @@ padding:0 20rpx;
justify-content: space-between; justify-content: space-between;
margin-top: 10rpx; margin-top: 10rpx;
} }
.tipleft { .tipleft {
font-size: 32rpx; font-size: 32rpx;
color: rgba(0, 0, 0, 0.85); color: rgba(0, 0, 0, 0.85);
} }
.tipright { .tipright {
color: #4096FF; color: #4096FF;
font-size: 28rpx; font-size: 28rpx;
} }
.iptbox { .iptbox {
margin-top: 24rpx; margin-top: 24rpx;
width: 100%; width: 100%;
@ -754,30 +837,36 @@ border: 2rpx solid #3CC7C0;
display: flex; display: flex;
align-items: center; align-items: center;
} }
.iptbox.active { .iptbox.active {
border: 2rpx solid #FF4D4F; border: 2rpx solid #FF4D4F;
} }
.mybar { .mybar {
height: 38rpx; height: 38rpx;
margin: 0 30rpx; margin: 0 30rpx;
width: 2rpx; width: 2rpx;
background: #3CC7C0; background: #3CC7C0;
} }
.ipt { .ipt {
margin-left: 20rpx; margin-left: 20rpx;
flex: 1; flex: 1;
} }
.scan { .scan {
margin-right: 20rpx; margin-right: 20rpx;
width: 40rpx; width: 40rpx;
height: 40rpx; height: 40rpx;
} }
.uploadbox { .uploadbox {
margin: 24rpx 0rpx 0; margin: 24rpx 0rpx 0;
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
} }
.uploadbox .close { .uploadbox .close {
z-index: 9; z-index: 9;
top: 5rpx; top: 5rpx;
@ -786,6 +875,7 @@ align-items: center;
width: 30rpx; width: 30rpx;
height: 30rpx; height: 30rpx;
} }
.uploadbox .upload { .uploadbox .upload {
position: relative; position: relative;
object-fit: cover; object-fit: cover;
@ -793,13 +883,16 @@ align-items: center;
flex-direction: column; flex-direction: column;
margin: 5px 19rpx 5px 0; margin: 5px 19rpx 5px 0;
} }
.uploadbox .upload:nth-child(4n) { .uploadbox .upload:nth-child(4n) {
margin-right: 0; margin-right: 0;
} }
.van-icon-plus { .van-icon-plus {
color: #333; color: #333;
font-size: 80rpx !important; font-size: 80rpx !important;
} }
.upload { .upload {
width: 148rpx; width: 148rpx;
height: 148rpx; height: 148rpx;
@ -809,9 +902,11 @@ align-items: center;
background: #F2F2F2; background: #F2F2F2;
border-radius: 4rpx border-radius: 4rpx
} }
.uploadbox view:first-child { .uploadbox view:first-child {
margin-left: 0 !important; margin-left: 0 !important;
} }
.upload .text { .upload .text {
font-size: 28rpx; font-size: 28rpx;
} }
@ -820,15 +915,18 @@ align-items: center;
display: flex; display: flex;
align-items: center; align-items: center;
} }
.checkerror { .checkerror {
margin-right: 10rpx; margin-right: 10rpx;
width: 40rpx; width: 40rpx;
height: 40rpx; height: 40rpx;
} }
.checkclose { .checkclose {
width: 32rpx; width: 32rpx;
height: 32rpx; height: 32rpx;
} }
.wrapper { .wrapper {
width: 100%; width: 100%;
display: flex; display: flex;
@ -837,12 +935,15 @@ align-items: center;
justify-content: center; justify-content: center;
margin: 285rpx auto; margin: 285rpx auto;
} }
.timg1 { .timg1 {
width: 694rpx; width: 694rpx;
} }
.timg2 { .timg2 {
width: 506rpx; width: 506rpx;
} }
.button { .button {
display: flex; display: flex;
align-items: center; align-items: center;
@ -856,6 +957,7 @@ color: #FFFFFF;
border-radius: 47rpx; border-radius: 47rpx;
border: 1rpx solid #FFFFFF; border: 1rpx solid #FFFFFF;
} }
.contactbox { .contactbox {
width: 320rpx; width: 320rpx;
margin: 20rpx auto 0rpx; margin: 20rpx auto 0rpx;
@ -868,11 +970,13 @@ font-size: 28rpx;
justify-content: center; justify-content: center;
display: flex; display: flex;
} }
.kefu { .kefu {
width: 32rpx; width: 32rpx;
margin-right: 10rpx; margin-right: 10rpx;
height: 32rpx; height: 32rpx;
} }
.finish { .finish {
margin-top: 20rpx; margin-top: 20rpx;
display: flex; display: flex;
@ -880,16 +984,19 @@ justify-content: center;
margin-bottom: 20rpx; margin-bottom: 20rpx;
align-items: center; align-items: center;
} }
.finish .left { .finish .left {
font-size: 32rpx; font-size: 32rpx;
font-weight: 400; font-weight: 400;
color: rgba(0, 0, 0, 0.85); color: rgba(0, 0, 0, 0.85);
} }
.finish .right { .finish .right {
font-size: 28rpx; font-size: 28rpx;
font-weight: 400; font-weight: 400;
color: rgba(0, 0, 0, 0.45); color: rgba(0, 0, 0, 0.45);
} }
.moneydetail { .moneydetail {
width: 96rpx; width: 96rpx;
height: 40rpx; height: 40rpx;
@ -902,11 +1009,13 @@ color: rgba(0,0,0,0.45);
justify-content: center; justify-content: center;
color: #FFFFFF; color: #FFFFFF;
} }
.dealbox { .dealbox {
display: flex; display: flex;
margin: 20rpx 30rpx 0; margin: 20rpx 30rpx 0;
justify-content: flex-end; justify-content: flex-end;
} }
.linkbtn { .linkbtn {
width: 168rpx; width: 168rpx;
display: flex; display: flex;
@ -918,6 +1027,7 @@ color: #FFFFFF;
border-radius: 29rpx; border-radius: 29rpx;
background-color: #3CC7C0; background-color: #3CC7C0;
} }
.cancelbtn { .cancelbtn {
width: 168rpx; width: 168rpx;
display: flex; display: flex;
@ -931,3 +1041,96 @@ border-radius: 29rpx;
background: #CECECE; background: #CECECE;
} }
.quanyibox {
border-radius: 20rpx 20rpx 0 0;
padding: 10rpx 0rpx;
margin-top: 20rpx;
background-color: #fff;
}
.topbox {
border-bottom: 1rpx solid #E3E4E5;
}
.topbox .title {
margin: 20rpx 30rpx 16rpx;
font-weight: 500;
font-size: 34rpx;
color: rgba(0, 0, 0, 0.9);
}
.expand {
position: absolute;
right: 0;
color: #999;
font-size: 24rpx;
}
.medbox .row {
margin-right: 30rpx;
}
.usebox {
padding: 0 15rpx;
height: 78rpx;
display: flex;
align-items: center;
font-size: 28rpx;
margin: 0 30rpx 16rpx;
justify-content: space-between;
background-color: #fafafa;
}
.medbox .title {
margin: 26rpx 30rpx 26rpx;
font-size: 30rpx;
color: #000000;
}
.medbox .detail {
font-size: 28rpx;
color: #000000;
}
.medbox {
border-bottom: 1rpx solid #E3E4E5;
}
.medbox:last-child {
border-bottom: none;
}
.quanyibox .row .name{
font-weight: normal;
}
.topbox .time{
font-size: 30rpx;
color: #F06036;
}
.usebox .time{
font-weight: 400;
font-size: 28rpx;
color: #666666;
}
.titlebox{
display: flex;
}
.patientdesc .name{
font-size: 28rpx;
margin-top: 20rpx;
}
.nameinfo{
font-size: 28rpx;
color:#999;
padding:0rpx 0 15rpx;
}
.more{
font-size: 28rpx;
color: #333333;
}
.red{
color:#EF4F20
}

View File

@ -11,6 +11,9 @@ Page({
* 页面的初始数据 * 页面的初始数据
*/ */
data: { data: {
order_no:'',
order_inquiry_id:'',
status:'',
follow_package_item_id:'', follow_package_item_id:'',
message:'', message:'',
showWarn:false, showWarn:false,
@ -80,6 +83,21 @@ Page({
}, },
goHasOrder(){ goHasOrder(){
let status=this.data.status;
if(status==4){
let id=this.data.order_inquiry_id;
app.method.navigateTo({
url: '/patient/pages/orderDetail/orderDetail?order_inquiry_id='+id,
})
}else if(status==2){
let id=this.data.order_no;
app.method.navigateTo({
url: '/healthyService/pages/healthyOrderDetail/healthyOrderDetail?order_service_id='+id,
})
}
}, },
addPatient() { addPatient() {
this.setData({ this.setData({
@ -267,6 +285,8 @@ Page({
}else if(res.status==2){ }else if(res.status==2){
this.setData({ this.setData({
showWarn:true, showWarn:true,
order_no:res.data.order_no,
status:2,
message:res.message message:res.message
}) })
@ -276,7 +296,13 @@ Page({
}) })
}else if(res.status==4){ }else if(res.status==4){
this.setData({
showWarn:true,
order_no:res.data.order_no,
order_inquiry_id:res.data.order_inquiry_id,
status:4,
message:res.message
})
}else if(res.status==5){ }else if(res.status==5){
} }

View File

@ -167,7 +167,7 @@
theme='green' theme='green'
show="{{showWarn}}" show="{{showWarn}}"
confirm-button-color="#3CC7C0" confirm-button-color="#3CC7C0"
cancel-button-text="确定" cancel-button-text="取消"
> >
</van-dialog> </van-dialog>

View File

@ -38,7 +38,8 @@ Page({
if(url.indexOf('?')!=-1){ if(url.indexOf('?')!=-1){
goUrl='/'+url+"&fromType="+url; goUrl='/'+url+"&fromType="+url;
}else{ }else{
goUrl='/'+url+"?fromType="+url; // goUrl='/'+url+"?fromType="+url;
goUrl='/patient/pages/medinceOrder/medinceOrder'
} }
//处理聊天收到消息不及时; //处理聊天收到消息不及时;
if(url.indexOf("TUIService/pages/index")!=-1){ if(url.indexOf("TUIService/pages/index")!=-1){

View File

@ -530,6 +530,7 @@ Page({
order_inquiry_id, order_inquiry_id,
order_type, order_type,
order_id, order_id,
order_no,
order_product_id, order_product_id,
fromType fromType
} = this.data; } = this.data;
@ -541,6 +542,10 @@ Page({
app.method.navigateTo({ app.method.navigateTo({
url: '/sugarCheck/pages/checkOrderDetail/checkOrderDetail?order_detection_id=' + order_detection_id +"&fromType=" + fromType url: '/sugarCheck/pages/checkOrderDetail/checkOrderDetail?order_detection_id=' + order_detection_id +"&fromType=" + fromType
}) })
}else if(order_type == 4 || order_type == 5){
app.method.navigateTo({
url: '/healthyService/pages/healthyOrderDetail/healthyOrderDetail?order_service_id=' + order_no + "&fromType=" + fromType,
})
}else { }else {
// 订单类型1:专家问诊 2:快速问诊 3:公益问诊 4:问诊购药) // 订单类型1:专家问诊 2:快速问诊 3:公益问诊 4:问诊购药)
if (inquiry_type == 1) { if (inquiry_type == 1) {

View File

@ -147,6 +147,7 @@ Page({
order_inquiry_id, order_inquiry_id,
order_type, order_type,
order_id, order_id,
order_no,
order_product_id, order_product_id,
order_detection_id, order_detection_id,
fromType fromType
@ -160,6 +161,10 @@ Page({
wx.redirectTo({ wx.redirectTo({
url: '/sugarCheck/pages/checkOrderDetail/checkOrderDetail?order_detection_id=' + order_detection_id + "&fromType=" + fromType, url: '/sugarCheck/pages/checkOrderDetail/checkOrderDetail?order_detection_id=' + order_detection_id + "&fromType=" + fromType,
}) })
}else if(order_type == 4 || order_type == 5){
wx.redirectTo({
url: '/healthyService/pages/healthyOrderDetail/healthyOrderDetail?order_service_id=' + order_no + "&fromType=" + fromType,
})
}else { }else {
// 订单类型1:专家问诊 2:快速问诊 3:公益问诊 4:问诊购药) // 订单类型1:专家问诊 2:快速问诊 3:公益问诊 4:问诊购药)
if (inquiry_type == 1) { if (inquiry_type == 1) {

View File

@ -153,7 +153,7 @@ Page({
if(url.indexOf('?')!=-1){ if(url.indexOf('?')!=-1){
goUrl='/'+url+"&fromType="+url; goUrl='/'+url+"&fromType="+url;
}else{ }else{
goUrl='/'+url+"?fromType="+url; goUrl='/sugarCheck/pages/checkOrder/checkOrder'
} }
//处理聊天收到消息不及时; //处理聊天收到消息不及时;
if(url.indexOf("TUIService/pages/index")!=-1){ if(url.indexOf("TUIService/pages/index")!=-1){