1.22
This commit is contained in:
@@ -0,0 +1,265 @@
|
||||
// pages/medinceOrderDetail/medinceOrderDetail.js
|
||||
const app = getApp()
|
||||
import {productDetail,cancelPayProduct,delProduct} from "../../../api/medinceOrder"
|
||||
import {fllowDoctor,notfllowDoctor} from "../../../api/consultExpert"
|
||||
import {throttle} from "../../../utils/util"
|
||||
Page({
|
||||
|
||||
/**
|
||||
* 页面的初始数据
|
||||
*/
|
||||
data: {
|
||||
time: 30 * 60 * 60 * 1000,
|
||||
order_product_id:'',
|
||||
showDialog:false,
|
||||
message:'',
|
||||
fromType:'',
|
||||
order_product:{},
|
||||
order_product_item:{},
|
||||
user_doctor:{},
|
||||
patient_family_data:'',
|
||||
img_host:'https://oss.prod.applets.igandanyiyuan.com/applet/patient/static'
|
||||
},
|
||||
goBack(){
|
||||
let {fromType}=this.data;
|
||||
if(app.globalData.origion==1){
|
||||
wx.reLaunch({
|
||||
url: '/pages/index/index',
|
||||
})
|
||||
}else if(app.globalData.origion==2){
|
||||
wx.reLaunch({
|
||||
url: '/pages/index/index',
|
||||
})
|
||||
}else{
|
||||
if(fromType){
|
||||
let url=decodeURIComponent(fromType);
|
||||
let goUrl='';
|
||||
if(url.indexOf('?')!=-1){
|
||||
goUrl='/'+url+"&fromType="+url;
|
||||
}else{
|
||||
goUrl='/'+url+"?fromType="+url;
|
||||
}
|
||||
//处理聊天收到消息不及时;
|
||||
if(url.indexOf("TUIService/pages/index")!=-1){
|
||||
app.method.navigateTo({
|
||||
url:goUrl
|
||||
})
|
||||
}else{
|
||||
wx.redirectTo({
|
||||
url: goUrl
|
||||
})
|
||||
}
|
||||
|
||||
}else{
|
||||
wx.navigateBack({
|
||||
delta: 1,
|
||||
fail:function(){
|
||||
wx.reLaunch({
|
||||
url: '/pages/index/index',
|
||||
})
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
},
|
||||
goExpress:throttle(function(event){
|
||||
let id=event.currentTarget.dataset.id;
|
||||
app.method.navigateTo({
|
||||
url: '/pages/expressDetail/expressDetail?logistics_no='+id,
|
||||
})
|
||||
}),
|
||||
goExpert:throttle(function(){
|
||||
let id=this.data.user_doctor.doctor_id;
|
||||
app.method.navigateTo({
|
||||
url: '/pages/expertDetail/expertDetail?doctor_id='+id,
|
||||
})
|
||||
}),
|
||||
handleProductDetail(flag=false){
|
||||
let id =this.data.order_product_id;
|
||||
productDetail(id).then(data=>{
|
||||
if(flag){
|
||||
let pages = getCurrentPages();
|
||||
let prevPage = pages[pages.length - 2]; //上一页
|
||||
this.setData({
|
||||
prevData:JSON.stringify({
|
||||
changeStatus: data.inquiry_status,
|
||||
changeId:id
|
||||
})
|
||||
});
|
||||
prevPage.setData({
|
||||
changeStatus:data.order_product.order_product_status,
|
||||
changeId:id
|
||||
});
|
||||
};
|
||||
this.setData({
|
||||
order_product:data.order_product,
|
||||
order_product_item:data.order_product_item,
|
||||
user_doctor:data.user_doctor
|
||||
});
|
||||
})
|
||||
},
|
||||
confirmDelOrder(){
|
||||
this.setData({
|
||||
showDialog:true,
|
||||
message:"您确定是要删除订单记录么?"
|
||||
})
|
||||
},
|
||||
confirmCancelPay(){
|
||||
this.setData({
|
||||
showDialog:true,
|
||||
message:"您确定取消支付么?"
|
||||
})
|
||||
},
|
||||
confirm:throttle(function(event){
|
||||
if(event.detail && this.data.message=="您确定是要删除订单记录么?"){
|
||||
this.handelDelProduct();
|
||||
}else{
|
||||
this.handelCancelPayProduct();
|
||||
}
|
||||
}),
|
||||
handelCancelPayProduct(){
|
||||
let id =this.data.order_product_id;
|
||||
cancelPayProduct(id).then(data=>{
|
||||
wx.showToast({
|
||||
title: '取消支付成功',
|
||||
icon:"none"
|
||||
})
|
||||
this.handleProductDetail();
|
||||
})
|
||||
},
|
||||
copy(event){
|
||||
let text=event.target.dataset.text;
|
||||
wx.setClipboardData({
|
||||
data:text
|
||||
})
|
||||
},
|
||||
goPay:throttle(function(){
|
||||
let {order_product_id,order_product_no}=this.data.order_product;
|
||||
app.method.navigateTo({
|
||||
url: '/patient/pages/payOrder/payOrder?inquiry_no='+ order_product_no +"&order_product_id="+order_product_id+"&order_type=2&fromType="+encodeURIComponent('pages/medinceOrder/medinceOrder')
|
||||
})
|
||||
}),
|
||||
handelDelProduct(){
|
||||
let id =this.data.order_product_id;
|
||||
delProduct(id).then(data=>{
|
||||
let pages = getCurrentPages();
|
||||
//获取所需页面
|
||||
let prevPage = pages[pages.length - 2]; //上一页
|
||||
prevPage.setData({
|
||||
delId: id//需要传过去的数据
|
||||
});
|
||||
wx.navigateBack({
|
||||
delta: 1,
|
||||
})
|
||||
wx.showToast({
|
||||
title: '订单删除成功',
|
||||
icon:"none"
|
||||
});
|
||||
|
||||
})
|
||||
},
|
||||
goPrescriptionDetail:throttle(function(event){
|
||||
let id=event.currentTarget.dataset.id;
|
||||
app.method.navigateTo({
|
||||
url: '/patient/pages/prescriptDetail/prescriptDetail?order_prescription_id='+id,
|
||||
})
|
||||
}),
|
||||
handelfllowDoctor(){
|
||||
let id=this.data.user_doctor.doctor_id
|
||||
fllowDoctor(id).then(data=>{
|
||||
this.setData({
|
||||
"user_doctor.follow":true
|
||||
})
|
||||
wx.showToast({
|
||||
title: '关注成功',
|
||||
icon:"none"
|
||||
})
|
||||
})
|
||||
},
|
||||
handenotfllowDoctor(){
|
||||
let id=this.data.user_doctor.doctor_id;
|
||||
notfllowDoctor(id).then(data=>{
|
||||
this.setData({
|
||||
"user_doctor.follow":false
|
||||
})
|
||||
wx.showToast({
|
||||
title: '已取消关注',
|
||||
icon:"none"
|
||||
})
|
||||
})
|
||||
},
|
||||
toggleFllow(){
|
||||
if(this.data.order.user_doctor.follow){
|
||||
this.handenotfllowDoctor()
|
||||
}else{
|
||||
this.handelfllowDoctor()
|
||||
}
|
||||
},
|
||||
/**
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad(options) {
|
||||
if(options.fromType){
|
||||
this.setData({
|
||||
fromType:options.fromType
|
||||
})
|
||||
}
|
||||
let order_product_id=options.order_product_id;
|
||||
if(order_product_id){
|
||||
this.setData({
|
||||
order_product_id
|
||||
});
|
||||
this.handleProductDetail();
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面初次渲染完成
|
||||
*/
|
||||
onReady() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面显示
|
||||
*/
|
||||
onShow() {
|
||||
this.setData({
|
||||
img_host:app.hostConfig().imghost
|
||||
});
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面隐藏
|
||||
*/
|
||||
onHide() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面卸载
|
||||
*/
|
||||
onUnload() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面相关事件处理函数--监听用户下拉动作
|
||||
*/
|
||||
onPullDownRefresh() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面上拉触底事件的处理函数
|
||||
*/
|
||||
onReachBottom() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 用户点击右上角分享
|
||||
*/
|
||||
|
||||
})
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"usingComponents": {
|
||||
"van-count-down": "@vant/weapp/count-down/index",
|
||||
"dialog":"../../../components/dialog/dialog",
|
||||
"van-dialog": "@vant/weapp/dialog/index"
|
||||
},
|
||||
"navigationStyle":"custom",
|
||||
"disableScroll":true,
|
||||
"navigationBarTitleText": "肝胆相照互联网医院"
|
||||
}
|
||||
@@ -0,0 +1,224 @@
|
||||
<!--pages/medinceOrderDetail/medinceOrderDetail.wxml-->
|
||||
<wxs src="../../../filters/filter.wxs" module="filter"></wxs>
|
||||
<view class="ui-navigatorbar" style="border-bottom: 1rpx solid #E3E4E5;background:#fff;">
|
||||
<image class="ui-navigatorbar-back" bindtap="goBack" src="{{img_host+'/back.png'}}" />
|
||||
<view class="ui-title">药品订单详情</view>
|
||||
</view>
|
||||
<view class="page">
|
||||
<view class="outwraper {{order_product.order_product_status==1?'active':''}}">
|
||||
<view class="addressbox">
|
||||
<view class="left">
|
||||
<image src="{{img_host+'/addressicon.png'}}" class="icon"></image>
|
||||
<view class="info">
|
||||
<view class="name">{{order_product.consignee_name}} {{order_product.consignee_tel}}</view>
|
||||
<view class="address">{{order_product.province}}{{order_product.city}}{{order_product.county}}{{order_product.address}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="rowbox">
|
||||
<view class="titlebox">
|
||||
<view class="name">订单信息</view>
|
||||
|
||||
<!-- 订单状态(1:待支付 2:待发货 3:已发货 4:已签收 5:已取消) -->
|
||||
<!-- 支付状态(1:未支付 2:已支付 3:支付中 4:支付失败 5:支付超时 6:支付关闭 7:已撤销 8:转入退款) -->
|
||||
<view class="status" wx:if="{{order_product.order_product_status==1}}">
|
||||
<view class="waitpay">待支付</view>
|
||||
<view class="countdown">
|
||||
<van-count-down time="{{filter.countDown(order_product.created_at)}}" />
|
||||
</view>
|
||||
</view>
|
||||
<view class="status" wx:elif="{{order_product.order_product_status==2}}">待发货</view>
|
||||
<view class="status" wx:elif="{{order_product.order_product_status==3}}">已发货</view>
|
||||
<view class="status" wx:elif="{{order_product.order_product_status==4}}">已收货</view>
|
||||
<view class="status" wx:elif="{{order_product.order_product_status==5 && order_product.pay_status!=5}}">取消订单</view>
|
||||
<view class="status" wx:elif="{{order_product.order_product_status==5 && order_product.pay_status==5}}">支付超时</view>
|
||||
</view>
|
||||
<view class="row first">
|
||||
<view class="name">订单编号</view>
|
||||
<view class="dot">:</view>
|
||||
<view class="desc">{{order_product.order_product_no}}</view>
|
||||
<view class="copy" bindtap="copy" data-text="{{order_product.order_product_no}}">复制</view>
|
||||
</view>
|
||||
<view class="row">
|
||||
<view class="name">下单时间</view>
|
||||
<view class="dot">:</view>
|
||||
<view class="desc">{{order_product.created_at}}</view>
|
||||
</view>
|
||||
<view class="row" wx:if="{{order_product.delivery_time && order_product.order_product_status==4}}">
|
||||
<view class="name">完成时间</view>
|
||||
<view class="dot">:</view>
|
||||
<view class="desc">{{order_product.delivery_time}}</view>
|
||||
</view>
|
||||
<!-- <view class="row">
|
||||
<view class="name">问诊类型:</view>
|
||||
<view class="desc">极速问诊/专家问诊/公益问诊/问诊购药;</view>
|
||||
</view> -->
|
||||
<view class="row">
|
||||
<view class="name">药品金额</view>
|
||||
<view class="dot">:</view>
|
||||
<view class="desc price">¥{{order_product.amount_total}}</view>
|
||||
</view>
|
||||
<view class="row">
|
||||
<view class="name"><view class="textyou"><view >优</view><view>惠</view><view>券</view></view></view>
|
||||
<view class="dot">:</view>
|
||||
<view class="desc">
|
||||
<text wx:if="{{filter.formatMoney(order_product.coupon_amount_total)>0}}">- ¥{{filter.formatMoney(order_product.coupon_amount_total)}}</text>
|
||||
<text wx:else>无</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="row">
|
||||
<view class="name"><text>邮</text><text>费</text></view>
|
||||
<view class="dot">:</view>
|
||||
<view class="desc price">¥{{order_product.logistics_fee}}</view>
|
||||
</view>
|
||||
<view class="row">
|
||||
<view class="name">支付金额</view>
|
||||
<view class="dot">:</view>
|
||||
<view class="desc price">¥{{order_product.payment_amount_total}}</view>
|
||||
</view>
|
||||
<view class="row beizhu" wx:if="{{order_product.cancel_reason}}">
|
||||
<view class="name"><text>备</text><text>注</text></view>
|
||||
<view class="dot">:</view>
|
||||
<!-- 1:主动取消 2:复核失败/库存不足 3:支付超时 4:客服取消 -->
|
||||
<view class="desc" wx:if="{{order_product.cancel_reason==1}}">主动取消 </view>
|
||||
<view class="desc" wx:elif="{{order_product.cancel_reason==2}}">复核失败/库存不足 </view>
|
||||
<view class="desc" wx:elif="{{order_product.cancel_reason==3}}">支付超时</view>
|
||||
<view class="desc" wx:elif="{{order_product.cancel_reason==4}}"> 客服取消</view>
|
||||
</view>
|
||||
<!-- 商品订单退款状态(0:无退款 1:申请退款 2:退款中 3:退款成功 4:拒绝退款 5:退款关闭) -->
|
||||
<view class="row" wx:if="{{order_product.order_product_status==5 && order_product.pay_status==2}}">
|
||||
<view class="name">退款进度</view>
|
||||
<view class="dot">:</view>
|
||||
<view class="desc" wx:if="{{order_product.refund_status==0}}">
|
||||
无退款
|
||||
</view>
|
||||
<view class="desc" wx:elif="{{order_product.refund_status==1}}">
|
||||
申请退款
|
||||
</view>
|
||||
<view class="desc" wx:elif="{{order_product.refund_status==2}}">
|
||||
退款中
|
||||
</view>
|
||||
<view class="desc" wx:elif="{{order_product.refund_status==3}}">
|
||||
退款成功
|
||||
</view>
|
||||
<view class="desc" wx:elif="{{order_product.refund_status==4}}">
|
||||
拒绝退款
|
||||
</view>
|
||||
<view class="desc" wx:elif="{{order_product.refund_status==5}}">
|
||||
退款关闭
|
||||
</view>
|
||||
</view>
|
||||
<!-- <view class="orderrow" wx:if="{{order_product.order_product_status==4 || order_product.order_product_status==5}}">
|
||||
<view class="express" bindtap="confirmDelOrder" >删除订单</view>
|
||||
</view> -->
|
||||
</view>
|
||||
<view class="rowbox" wx:if="{{order_product.logistics_no}}">
|
||||
<view class="titlebox">
|
||||
<view class="name">物流信息</view>
|
||||
<view class="status">
|
||||
<view class="express" bindtap="goExpress" data-id="{{order_product.order_product_id}}">物流详情</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="row first" >
|
||||
<view class="name">物流编号</view>
|
||||
<view class="dot">:</view>
|
||||
<view class="desc">{{order_product.logistics_no}}</view>
|
||||
<view class="copy" bindtap="copy" data-text="{{order_product.logistics_no}}">复制</view>
|
||||
</view>
|
||||
<view class="row wuliu">
|
||||
<image src="{{img_host+'/wuliucar.png'}}" class="wuliucar"></image>
|
||||
<view class="desc">
|
||||
<view class="dizhi">{{order_product.province+order_product.city+order_product.county+order_product.address}}</view>
|
||||
<view class="date">{{order_product.updated_at}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="infobox" >
|
||||
<view class="title">
|
||||
<view>共{{order_product_item.length}}个药品</view>
|
||||
</view>
|
||||
<view class="medincebox">
|
||||
<view class="cell" wx:for="{{order_product_item}}" wx:key="product_item_id">
|
||||
<view class="imgbox">
|
||||
<image src="{{img_host+'/nomedince.png'}}" class="yaoimg"></image>
|
||||
<view class="desc">
|
||||
<view class="tip">处方药品</view>
|
||||
<view class="tip">依据法规不展示包装</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="rightinfo">
|
||||
<view class="name">{{item.product_name}}<text class="namenum">{{item.product_spec}}</text></view>
|
||||
<view class="own">
|
||||
<view class="company">{{item.manufacturer}}</view>
|
||||
<view class="num">数量:{{item.amount}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="btnbox">
|
||||
<view class="btn orderDetail" bindtap="goPrescriptionDetail" data-id="{{order_product.order_prescription_id}}">查看处方</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
<view class="titlebox personinfo" wx:if="user_doctor && user_doctor.doctor_id">
|
||||
<view class="name">问诊医生</view>
|
||||
</view>
|
||||
<view class="personinfobox" bindtap="goExpert">
|
||||
|
||||
<view class="namebox" style="justify-content: flex-start;">
|
||||
<image src="{{user_doctor.avatar}}" class="head" wx:if="{{user_doctor.avatar}}" mode="aspectFill"></image>
|
||||
<image src="{{img_host+'/doctor_avatar.png'}}" class="head" wx:else></image>
|
||||
<view class="namewraper">
|
||||
<view class="row">
|
||||
<view class="name">{{user_doctor.user_name}}</view>
|
||||
<!--
|
||||
<view class="position" wx:elif="{{user_doctor.doctor_title==1}}">主任中医师</view>
|
||||
<view class="position" wx:elif="{{user_doctor.doctor_title==2}}">主任医师</view>
|
||||
<view class="position" wx:elif="{{user_doctor.doctor_title==3}}">副主任中医师</view>
|
||||
<view class="position" wx:elif="{{user_doctor.doctor_title==4}}">副主任医师</view>
|
||||
<view class="position" wx:elif="{{user_doctor.doctor_title==5}}">主治医师</view>
|
||||
<view class="position" wx:elif="{{user_doctor.doctor_title==6}}">住院医师</view> -->
|
||||
<view class="type" wx:if="{{user_doctor.hospital.hospital_level_name != '未知'&& item.hospital.hospital_level_name}}">{{user_doctor.hospital.hospital_level_name}}</view>
|
||||
<view class="type" wx:if="{{user_doctor.multi_point_status == 1 && user_doctor.multi_point_enable==1}}">可处方</view>
|
||||
</view>
|
||||
<view class="hospital">
|
||||
<!-- 1主任医师、2主任中医师、3副主任医师、4副主任中医师、5主治医师、8住院医师 -->
|
||||
|
||||
<text class="doctor_title" wx:if="{{user_doctor.doctor_title==1}}">主任医师</text>
|
||||
<text class="doctor_title" wx:elif="{{user_doctor.doctor_title==2}}">主任中医师</text>
|
||||
<text class="doctor_title" wx:elif="{{user_doctor.doctor_title==3}}">副主任医师</text>
|
||||
<text class="doctor_title" wx:elif="{{user_doctor.doctor_title==4}}">副主任中医师</text>
|
||||
<text class="doctor_title" wx:elif="{{user_doctor.doctor_title==5}}">主治医师</text>
|
||||
<text class="doctor_title" wx:elif="{{user_doctor.doctor_title==6}}">住院医师</text>
|
||||
|
||||
<text>{{user_doctor.department_custom_name}}</text>
|
||||
</view>
|
||||
<view class="hospital">{{user_doctor.hospital.hospital_name}}</view>
|
||||
</view>
|
||||
<!-- <view class="guanzhu" wx:if="{{!user_doctor.follow}}" catchtap="toggleFllow">
|
||||
<image src="{{img_host+'/star.png'}}" ></image>
|
||||
<text decode="true"> 关注</text>
|
||||
</view>
|
||||
<view class="guanzhu" wx:else catchtap="toggleFllow">
|
||||
<image src="{{img_host+'/star_on.png'}}" ></image>
|
||||
<text decode="true"> 关注</text>
|
||||
</view> -->
|
||||
|
||||
|
||||
</view>
|
||||
<view class="borderbox">
|
||||
<view class="goodjob" style="margin-top: 30rpx;">
|
||||
擅长:{{user_doctor.be_good_at}}
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
|
||||
</view>
|
||||
<view class="paybox" wx:if="{{order_product.order_product_status==1}}">
|
||||
<view class="left" bindtap="confirmCancelPay">取消支付</view>
|
||||
<view class="right" bindtap="goPay">立即支付:¥{{order_product.payment_amount_total}}</view>
|
||||
</view>
|
||||
<dialog bind:confirm="confirm" showDialog="{{showDialog}}" message="{{message}}"></dialog>
|
||||
<van-dialog id="van-dialog" confirm-button-color="#3CC7C0" />
|
||||
@@ -0,0 +1,520 @@
|
||||
/* pages/medinceOrderDetail/medinceOrderDetail.wxss */
|
||||
.page{
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin-bottom:0rpx;
|
||||
}
|
||||
.outwraper{
|
||||
flex:1;
|
||||
overflow-y: scroll;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
}
|
||||
.outwraper.active{
|
||||
padding-bottom: 104rpx;
|
||||
}
|
||||
.add {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 120rpx;
|
||||
background: #FFFFFF;
|
||||
font-weight: 600;
|
||||
color: #ED9C00;
|
||||
font-size: 32rpx;
|
||||
}
|
||||
.addicon{
|
||||
width: 40rpx;
|
||||
height:40rpx;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.addressbox {
|
||||
margin-top:172rpx;
|
||||
align-items: center;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
padding: 32rpx 32rpx;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.addressbox .left {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.addressbox .icon {
|
||||
width: 40rpx;
|
||||
flex-shrink: 0;
|
||||
height: 47rpx;
|
||||
|
||||
}
|
||||
|
||||
.addressbox .info {
|
||||
margin-left: 30rpx;
|
||||
}
|
||||
|
||||
.addressbox .ricon {
|
||||
width: 24rpx;
|
||||
height: 48rpx;
|
||||
}
|
||||
|
||||
.info .name {
|
||||
font-size: 28rpx;
|
||||
font-weight: 600;
|
||||
color: #333333
|
||||
}
|
||||
|
||||
.info .address {
|
||||
margin-top: 10rpx;
|
||||
color: #333333;
|
||||
font-size: 28rpx;
|
||||
}
|
||||
.row {
|
||||
align-items: center;
|
||||
padding: 0 32rpx;
|
||||
display: flex;
|
||||
line-height: 52rpx
|
||||
}
|
||||
|
||||
.row.first {
|
||||
margin-top: 34rpx;
|
||||
}
|
||||
|
||||
.rowbox .row .name {
|
||||
white-space: nowrap;
|
||||
font-size: 28rpx;
|
||||
color: #333;
|
||||
font-weight: 600;
|
||||
display: flex;
|
||||
width:114rpx;
|
||||
align-items: baseline;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.row .dot{
|
||||
font-weight: 600;
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
}
|
||||
.row .desc {
|
||||
align-items: baseline;
|
||||
font-size: 28rpx;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.rowdesc {
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.rowdesc .desc {
|
||||
text-overflow: -o-ellipsis-lastline;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 2;
|
||||
line-clamp: 2;
|
||||
-webkit-box-orient: vertical
|
||||
}
|
||||
|
||||
.row .price {
|
||||
color: #EF4F20;
|
||||
font-weight: bold;
|
||||
font-size: 34rpx
|
||||
}
|
||||
|
||||
.row.last {
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.copy {
|
||||
width: 80rpx;
|
||||
height: 40rpx;
|
||||
color: #FFFFFF;
|
||||
font-size: 24rpx;
|
||||
display: flex;
|
||||
margin-left: 20rpx;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: #3CC7C0;
|
||||
border-radius: 6rpx;
|
||||
}
|
||||
.row .left {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.row .right {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.titlebox .name {
|
||||
color: #000;
|
||||
font-size: 34rpx;
|
||||
}
|
||||
.rowbox{
|
||||
margin-top: 20rpx;
|
||||
background-color: #fff;
|
||||
padding-bottom: 30rpx;
|
||||
}
|
||||
.titlebox {
|
||||
padding: 0 32rpx;
|
||||
height: 112rpx;
|
||||
border-bottom: 1rpx solid #E3E4E5;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
.titlebox .status{
|
||||
font-size: 28rpx
|
||||
}
|
||||
.waitpay {
|
||||
text-align: right;
|
||||
color: #EF4F20
|
||||
}
|
||||
|
||||
.headicon {
|
||||
width: 80rpx;
|
||||
height: 80rpx;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.van-count-down {
|
||||
margin-top: 5rpx;
|
||||
color: #EF4F20 !important;
|
||||
}
|
||||
.infobox {
|
||||
margin-top: 20rpx;
|
||||
background:#fff;
|
||||
|
||||
}
|
||||
.infobox .status{
|
||||
font-size: 28rpx;
|
||||
font-weight: 400;
|
||||
color: #333333;
|
||||
}
|
||||
.infobox .status.wait{
|
||||
color: #EF4F20;
|
||||
}
|
||||
.infobox .status.timeout{
|
||||
color: #EF4F20;
|
||||
}
|
||||
.infobox .title {
|
||||
padding: 0 32rpx;
|
||||
background-color: #fff;
|
||||
font-size: 34rpx;
|
||||
height: 112rpx;
|
||||
align-items: center;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
border-bottom: 1rpx solid #E3E4E5;
|
||||
}
|
||||
|
||||
.imgbox {
|
||||
border-radius:8rpx;
|
||||
border:1rpx solid #ccc;
|
||||
width: 200rpx;
|
||||
height: 200rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.yaoimg {
|
||||
width: 120rpx;
|
||||
height: 128rpx;
|
||||
}
|
||||
|
||||
.imgbox .desc {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
font-size: 22rpx;
|
||||
font-weight: 400;
|
||||
color: #666666;
|
||||
line-height: 30rpx;
|
||||
transform: translateY(-50%);
|
||||
}
|
||||
|
||||
.imgbox .desc .tip {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.medincebox .cell {
|
||||
padding: 30rpx 32rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
border-bottom: 1rpx solid #E3E4E5;
|
||||
}
|
||||
.medincebox .cell:nth-last-child(2){
|
||||
border-bottom:none;
|
||||
}
|
||||
.rightinfo {
|
||||
margin-left: 30rpx;
|
||||
flex: 1;
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.medincebox .cell .name {
|
||||
word-break: break-all;
|
||||
font-size: 32rpx;
|
||||
font-weight: bold;
|
||||
color: #333;
|
||||
text-overflow: ellipsis;
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: 2;
|
||||
overflow: hidden;
|
||||
}
|
||||
.row.beizhu{
|
||||
align-items: flex-start;
|
||||
}
|
||||
.rightinfo .own {
|
||||
margin-top: 47rpx;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
font-size: 28rpx;
|
||||
font-weight: 400;
|
||||
color: #333333;
|
||||
}
|
||||
.btnbox{
|
||||
display: flex;
|
||||
padding:0 32rpx;
|
||||
font-size: 30rpx;
|
||||
padding-bottom: 30rpx;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
.btnbox .btn{
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 0 20rpx;
|
||||
height:58rpx;
|
||||
background: #FFFFFF;
|
||||
border-radius: 30rpx;
|
||||
margin-left: 20px;
|
||||
|
||||
}
|
||||
.btnbox .orderDetail{
|
||||
background: #3CC7C0;
|
||||
color:#fff;
|
||||
border: 1rpx solid #3CC7C0;
|
||||
}
|
||||
.personinfo{
|
||||
margin-top: 20rpx;
|
||||
background: #fff;
|
||||
}
|
||||
.personinfobox {
|
||||
padding: 30rpx 32rpx 40rpx;
|
||||
background: #fff;
|
||||
margin-bottom:10rpx;
|
||||
}
|
||||
.personinfobox .title {
|
||||
background-color: #fff;
|
||||
font-size: 32rpx;
|
||||
height: 112rpx;
|
||||
align-items: center;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
border-bottom: 1rpx solid #E3E4E5;
|
||||
}
|
||||
.personinfobox .namebox .head {
|
||||
width: 80rpx;
|
||||
height:80rpx;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.personinfobox .namebox .guanzhu image {
|
||||
width: 28rpx;
|
||||
height: 26rpx;
|
||||
}
|
||||
|
||||
|
||||
.personinfobox .namewraper {
|
||||
flex:1;
|
||||
display: flex;
|
||||
|
||||
justify-content: space-between;
|
||||
flex-direction: column;
|
||||
margin-left: 20rpx;
|
||||
}
|
||||
.personinfobox .type {
|
||||
height: 32rpx;
|
||||
display: flex;
|
||||
margin-bottom: 6rpx;
|
||||
line-height: 32rpx;
|
||||
white-space: nowrap;
|
||||
align-items: center;
|
||||
margin-left: 18rpx;
|
||||
padding: 0rpx 6rpx;
|
||||
background: #ED9C00;
|
||||
border-radius: 4rpx;
|
||||
color: #FFFFFF;
|
||||
font-size: 24rpx;
|
||||
}
|
||||
|
||||
.personinfobox .namebox .row {
|
||||
display: flex;
|
||||
padding:0;
|
||||
align-items: flex-end;
|
||||
|
||||
}
|
||||
|
||||
.personinfobox .namebox {
|
||||
display: flex;
|
||||
align-items:stretch;
|
||||
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.personinfobox .namebox .name {
|
||||
display: inline-block;
|
||||
overflow: hidden;
|
||||
max-width:400rpx;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
font-weight: 600;
|
||||
color: #333333;
|
||||
font-size: 34rpx;
|
||||
}
|
||||
|
||||
.personinfobox .position {
|
||||
font-size: 30rpx;
|
||||
white-space: normal;
|
||||
word-break: break-all;
|
||||
}
|
||||
.doctor_title{
|
||||
margin-right: 10rpx;
|
||||
}
|
||||
.personinfobox .namebox .row{
|
||||
line-height: 40rpx;
|
||||
align-items: flex-end;
|
||||
}
|
||||
.personinfobox .hospital {
|
||||
margin-top: 12rpx;
|
||||
color: #333333;
|
||||
font-size: 28rpx;
|
||||
white-space: normal;
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
|
||||
.personinfobox .namebox .position {
|
||||
font-weight: normal;
|
||||
white-space: nowrap;
|
||||
margin-left: 15rpx;
|
||||
font-size: 30rpx;
|
||||
}
|
||||
.personinfobox .goodjob {
|
||||
color: #666666;
|
||||
margin-top: 38rpx;
|
||||
line-height: 42rpx;
|
||||
margin-left: 100rpx;
|
||||
font-size: 28rpx;
|
||||
word-break: break-all;
|
||||
|
||||
}
|
||||
.paybox{
|
||||
bottom:0px;
|
||||
background: #FFFFFF;
|
||||
position: absolute;
|
||||
display: flex;
|
||||
z-index:9;
|
||||
width:100%;
|
||||
}
|
||||
.paybox .left{
|
||||
flex:1;
|
||||
font-size: 28rpx;
|
||||
|
||||
font-weight: 600;
|
||||
color: #999999;
|
||||
height:104rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
}
|
||||
.orderrow{
|
||||
display: flex;
|
||||
margin:10rpx 32rpx 0;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
.paybox .right{
|
||||
font-size: 28rpx;
|
||||
color: #FFFFFF;
|
||||
font-weight: 600;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: #3CC7C0;
|
||||
height:104rpx;
|
||||
flex:2;
|
||||
}
|
||||
.express{
|
||||
width: 158rpx;
|
||||
height: 60rpx;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
background: #F8F8F8;
|
||||
font-size: 26rpx;
|
||||
font-weight: 400;
|
||||
color: #353535;
|
||||
border-radius: 6rpx;
|
||||
border: 1rpx solid rgba(5,5,5,0.1);
|
||||
}
|
||||
.namenum{
|
||||
font-size: 28rpx;
|
||||
font-weight: 400;
|
||||
color: #333333;
|
||||
}
|
||||
.row.wuliu{
|
||||
margin-top: 20rpx;
|
||||
align-items: flex-start;
|
||||
}
|
||||
.row.wuliu .desc{
|
||||
margin-left: 20rpx;
|
||||
}
|
||||
.desc .dizhi{
|
||||
font-size: 28rpx;
|
||||
font-weight: 400;
|
||||
color: #333333;
|
||||
line-height: 28rpx;
|
||||
}
|
||||
.wuliucar{
|
||||
width:40rpx;
|
||||
height:33rpx;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.row.wuliu .date{
|
||||
font-size: 24rpx;
|
||||
font-weight: 400;
|
||||
color: #666666;
|
||||
}
|
||||
.guanzhu {
|
||||
flex-shrink: 0;
|
||||
display: flex;
|
||||
white-space: nowrap;
|
||||
color: #3CC7C0;
|
||||
font-size: 30rpx;
|
||||
font-weight: 600;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
font-size: 24rpx;
|
||||
|
||||
}
|
||||
.namebox .guanzhu image {
|
||||
width: 35rpx;
|
||||
height: 32rpx;
|
||||
}
|
||||
.textyou{
|
||||
width:112rpx;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
Reference in New Issue
Block a user