sadjv3_jishi/my/order/revenueDetails.vue

3478 lines
115 KiB
Vue
Raw Normal View History

2024-06-26 16:58:53 +08:00
<template>
<view class="content">
2024-06-28 23:12:07 +08:00
<view class="nav-view">
<image class="nav-img" src="../../static/fanhui.png" mode="" @click="goBack()"></image>
<view class="nav-text">详情</view>
<view class="kong"></view>
</view>
2024-06-26 16:58:53 +08:00
<view class="header"></view>
<view class="mian">
2024-07-05 14:18:41 +08:00
<!-- 普通项目订单 -->
2024-07-06 17:27:57 +08:00
<view v-if="order.userPackageDetailId==null">
2024-07-05 14:18:41 +08:00
<!-- 普通订单 升级 或者 有升级有加钟 -->
<view v-if="order.isSupplement=='2'">
<view class="mian-top">
<view class="countDown" style="text-align: center;" v-if="order.status == 6">
<u-count-down :timestamp="endOfServiceTimer" separator-color="#20C675" color="#20C675"
font-size="74" separator-size="74" @change="onCountdownChange"></u-count-down>
</view>
<view class="mian-top-head">
<image v-if="order && order.ordersMassageList"
:src="(order.ordersMassageList[0].massageType || {}).massageImg"
2024-07-24 23:53:35 +08:00
class="mian-top-head-img"></image>
2024-07-05 14:18:41 +08:00
<view class="mian-top-head-right">
<view class="mian-title" v-if="order && order.ordersMassageList">
2024-07-06 17:27:57 +08:00
<view class="mian-title-view">{{order.entryName}}</view>
2024-07-05 14:18:41 +08:00
<!-- <view class="nav-btn" v-if="order.status ==1">待支付</view> -->
<view class="nav-btn" v-if="order.status ==2">待服务</view>
<view class="nav-btn" v-if="order.status ==3">待评价</view>
<!-- <view class="nav-btn" v-if="order.status ==4">已取消</view> -->
<view class="nav-btn" v-if="order.status ==5">已完成</view>
<view class="nav-btn" v-if="order.status ==6">服务中</view>
<view class="nav-btn" v-if="order.status ==7">技师出发</view>
<view class="nav-btn" v-if="order.status ==8">技师到达</view>
<view class="nav-btn" v-if="order.status ==9">确认接单</view>
</view>
<view class="mian-time" v-if="order && order.ordersMassageList">
2024-07-24 23:53:35 +08:00
<text class="title-font">服务时长</text><text
class="value-font">{{order.duration}}分钟</text>
2024-07-01 20:29:10 +08:00
</view>
2024-07-05 14:18:41 +08:00
<view class="mian-money" style="justify-content: space-between;">
<view class="flex" style="flex-direction: row;align-items: center;">
2024-07-24 23:53:35 +08:00
<view class="title-font">项目价格</view>
<view class="value-font">
2024-07-05 14:18:41 +08:00
<span class="fuhao"></span>
<span class="number">
2024-07-19 15:25:51 +08:00
{{order.priceMarkup}}
2024-07-05 14:18:41 +08:00
</span>
</view>
</view>
<view class="jiajian">
<view class="jian">-</view>
2024-07-06 17:27:57 +08:00
<view class="view-num">{{order.massageNum}}</view>
2024-07-05 14:18:41 +08:00
<view class="jia">+</view>
<!-- <uni-number-box :disabled="true" :value="order.ordersMassageList[0].num" :width='27' :min="1" @change="changeValue" /> -->
</view>
2024-06-28 23:12:07 +08:00
</view>
</view>
2024-07-01 20:29:10 +08:00
</view>
2024-07-05 14:18:41 +08:00
<view class="mian-top-foot" @tap="bindGps(order.latitude,order.longitude,order.address)">
<view class="mian-top-foot-view">
2024-07-24 23:53:35 +08:00
<view class="title-font">客户信息</view>
2024-07-24 14:29:36 +08:00
<view class="value-font">
2024-07-24 23:53:35 +08:00
<span @tap.stop="copyAddress()"
v-if="order.status !=1 && order.status !=5 && order.status !=3 && order.status !=4">
2024-07-05 14:18:41 +08:00
{{order.userName}}
{{order.phone ? order.phone.substring(0,3) + '****' + order.phone.substring(7,11) : ''}}
<u-icon name="file-text"></u-icon>
</span>
<span v-else>
{{order.userName}}
{{order.phone ? order.phone.substring(0,3) + '****' + order.phone.substring(7,11) : ''}}
</span>
<!-- <image src="../../static/index/dianhua.png" mode=""></image> -->
</view>
2024-07-01 20:29:10 +08:00
</view>
2024-07-05 14:18:41 +08:00
<view class="mian-top-foot-view" style="margin-top: 5px;">
2024-07-24 23:53:35 +08:00
<view class="title-font">服务地址</view>
<view class="value-font" style="width: 75%;text-align: right;">
2024-07-05 14:18:41 +08:00
{{order.address}}
</view>
2024-06-26 16:58:53 +08:00
</view>
</view>
</view>
2024-07-05 14:18:41 +08:00
<view class="mian-view">
2024-07-24 23:53:35 +08:00
<view class="mina-title">
<span class="mina-title-text">订单信息</span>
<span class="mina-title-bor"></span>
</view>
2024-07-05 14:18:41 +08:00
<view class="mian-view-list" @tap="copy(order.ordersNo)">
2024-07-24 23:53:35 +08:00
<span class="title-font">订单编号</span>
<span class="value-font">
2024-07-05 14:18:41 +08:00
{{order.ordersNo}}
2024-07-24 23:53:35 +08:00
<u-icon name="file-text" />
2024-07-05 14:18:41 +08:00
</span>
2024-06-26 16:58:53 +08:00
</view>
2024-07-05 14:18:41 +08:00
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<span class="title-font">预约时间</span>
<span class="value-font">{{order.serveTime}}</span>
2024-07-05 14:18:41 +08:00
</view>
2024-07-20 09:56:22 +08:00
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<span class="title-font">下单时间</span>
<span class="value-font">{{order.createTime}}</span>
2024-07-06 17:27:57 +08:00
</view>
2024-07-24 23:53:35 +08:00
<view class="mian-content-textarea" v-if="order.remark!=null&&order.remark!=''">
<span class="title-font">服务备注</span>
<textarea class="textarea-mian" :disabled="true" v-model="order.remark"></textarea>
</view>
<view class="mian-content-textarea" v-if="order.earlyFinishReason!=null&&order.remark!=''">
<span class="title-font">提前结束原因</span>
<textarea class="textarea-mian" :disabled="true"
v-model="order.earlyFinishReason"></textarea>
2024-07-06 17:27:57 +08:00
</view>
2024-07-24 23:53:35 +08:00
<view class="jusitify-line-end"></view>
<view class="mina-title">
<span class="mina-title-text">订单费用</span>
<span class="mina-title-bor"></span>
</view>
<!-- <view class="mian-view-list" v-if="order.oldOrdersMassageList[0].userPackageDetail">-->
<!-- <view class="title-font">{{order.packageType=='104'?'套餐':order.packageType=='105'?'次卡':order.packageType=='106'?'疗程':'其他'}}名称</view>-->
<!-- <span class="value-font">-->
<!-- {{order.oldOrdersMassageList[0].userPackageDetail.mainTitle}}-->
<!-- </span>-->
<!-- </view>-->
2024-07-06 17:27:57 +08:00
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<span class="title-font">服务项目</span>
<span class="value-font" v-if="order && order.ordersMassageList">
2024-07-06 17:27:57 +08:00
{{order.oldEntryName}}
</span>
2024-07-05 14:18:41 +08:00
</view>
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<span class="title-font">服务时长</span>
<span class="value-font">{{order.oldMassageDuration}}分钟</span>
2024-07-05 14:18:41 +08:00
</view>
2024-07-06 17:27:57 +08:00
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<span class="title-font">项目金额</span>
<span class="value-font">{{order.oldPriceMarkup}}</span>
2024-07-06 17:27:57 +08:00
</view>
2024-07-17 17:47:06 +08:00
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<span class="title-font">会员减免</span>
<span class="value-font" style="color: #FF6000;">-{{order.oldVipReductionMoney}}</span>
</view>
<view class="mian-view-list" style="justify-content: flex-end;">
<view class="title-font">项目小计</view>
<view class="value-font" style="font-weight: bold;"><text>{{order.oldMassageMoney}}</text>
</view>
2024-07-17 17:47:06 +08:00
</view>
2024-07-20 09:56:22 +08:00
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<span class="title-font">优惠券</span>
<span class="value-font" style="color: #FF6000;"
v-if="order.couponMoney">-{{order.couponMoney}}</span>
<span class="value-font" v-else>-</span>
2024-07-05 14:18:41 +08:00
</view>
2024-07-24 23:53:35 +08:00
<view class="mian-view-list" style="justify-content: flex-end;">
<view class="title-font">收益小计</view>
<view class="value-font" style="font-weight: bold;" v-if="order.isSupplement">
<text>{{order.oldProjectBenefits}}</text></view>
<view class="value-font" style="font-weight: bold;" v-else>
<text>{{order.projectBenefits}}</text></view>
</view>
<view class="jusitify-line-end"></view>
<view class="mina-title">
<span class="mina-title-text">出行费用</span>
<span class="mina-title-bor"></span>
2024-07-01 20:29:10 +08:00
</view>
2024-07-20 09:56:22 +08:00
<view class="mian-view-list" v-if="order.tripWay">
2024-07-24 23:53:35 +08:00
<view class="title-font">出行方式</view>
<view v-if="order.tripWay == 1" class="value-font">公交</view>
<view v-if="order.tripWay == 2" class="value-font">出租</view>
<view v-if="order.tripWay == 3" class="value-font">免费</view>
2024-07-20 09:56:22 +08:00
</view>
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<span class="title-font">全程距离</span>
<span class="value-font">{{order.km}}km</span>
2024-07-20 09:56:22 +08:00
</view>
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<view class="title-font">出行费用</view>
<view class="value-font">{{order.usualTravelMoney}}</view>
2024-07-20 09:56:22 +08:00
</view>
2024-07-24 23:53:35 +08:00
<view class="mian-view-list" v-if="order.nightTravelMoney">
<view class="title-font">夜间出行</view>
<view class="value-font">{{order.nightTravelMoney}}</view>
2024-07-20 09:56:22 +08:00
</view>
2024-07-24 23:53:35 +08:00
<view class="mian-view-list" style="justify-content: flex-end;">
<span class="title-font">收益小计</span>
<span class="value-font" style="font-weight: bold;">{{order.artificerTaxiMoney}}</span>
2024-07-05 14:18:41 +08:00
</view>
2024-07-24 23:53:35 +08:00
<view class="jusitify-line-end"></view>
<view class="mina-title">
<span class="mina-title-text">升级服务</span>
<span class="mina-title-bor"></span>
2024-07-05 14:18:41 +08:00
</view>
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<span class="title-font">服务项目</span>
<span class="value-font">{{order.entryName}}</span>
2024-07-05 14:18:41 +08:00
</view>
2024-07-17 17:47:06 +08:00
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<view class="title-font">服务时长</view>
<view class="value-font">{{order.duration}}分钟</view>
2024-07-17 17:47:06 +08:00
</view>
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<span class="title-font">项目金额</span>
<span class="value-font" v-if="order.priceMarkup!=null">{{order.priceMarkup}}</span>
<span class="value-font" v-else>-</span>
2024-07-01 20:29:10 +08:00
</view>
2024-07-05 14:18:41 +08:00
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<span class="title-font">升级差价</span>
2024-08-08 22:44:40 +08:00
<span class="value-font">{{(order.priceMarkup - order.oldPriceMarkup).toFixed(2)}}</span>
2024-07-01 20:29:10 +08:00
</view>
2024-07-05 14:18:41 +08:00
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<view class="title-font">会员减免</view>
<view class="value-font" style="color: #FF6000;">-{{order.vipReductionMoney}}</view>
2024-07-05 14:18:41 +08:00
</view>
2024-07-24 23:53:35 +08:00
<view class="mian-view-list" style="justify-content: flex-end;">
<view class="title-font">收益小计</view>
2024-08-08 22:44:40 +08:00
<view class="value-font" style="font-weight: bold;"><text>{{order.projectBenefits}}</text>
2024-07-24 23:53:35 +08:00
</view>
2024-07-05 14:18:41 +08:00
</view>
2024-07-24 23:53:35 +08:00
<view v-if="order.addNum!=null">
<view class="jusitify-line-end"></view>
<view class="mina-title">
<span class="mina-title-text">加钟信息</span>
<span class="mina-title-bor"></span>
</view>
<view class="mian-view-list">
<span class="title-font">服务项目</span>
2024-08-08 22:44:40 +08:00
<span class="value-font">{{order.addEntryName}}</span>
2024-07-24 23:53:35 +08:00
</view>
<view class="mian-view-list">
<span class="title-font">服务时长</span>
<span class="value-font">{{order.addTime}}分钟</span>
</view>
<view class="mian-view-list">
<span class="title-font">项目金额</span>
<span class="value-font"
v-if="order.addPriceMarkup!=null">{{order.addPriceMarkup}}</span>
<span class="value-font" v-else>-</span>
</view>
<view class="mian-view-list">
<view class="title-font">会员减免</view>
<view class="value-font" style="color: #FF6000;">-{{order.addVipReductionMoney}}</view>
</view>
<view class="mian-view-list" style="justify-content: flex-end;">
<view class="title-font">收益小计</view>
<view class="value-font" style="font-weight: bold;">
2024-08-08 22:44:40 +08:00
<text>{{order.addProjectBenefits}}</text></view>
2024-07-24 23:53:35 +08:00
</view>
2024-07-05 14:18:41 +08:00
</view>
2024-07-24 23:53:35 +08:00
<view class="jusitify-line-end"></view>
<view class="mina-title">
<span class="mina-title-text">预计收益</span>
<span class="mina-title-bor"></span>
2024-07-17 17:47:06 +08:00
</view>
2024-07-05 14:18:41 +08:00
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<span class="title-font">提成比例</span>
<span class="value-font" style="font-weight: bold;">{{order.artificerRate*100}}%</span>
2024-07-01 20:29:10 +08:00
</view>
2024-07-05 14:18:41 +08:00
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<span class="title-font">项目收益</span>
<span class="value-font" style="font-weight: bold;"
v-if="order.isSupplement">{{order.oldProjectBenefits}}</span>
<span class="value-font" style="font-weight: bold;" v-else>{{order.projectBenefits}}</span>
2024-07-05 14:18:41 +08:00
</view>
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<span class="title-font">车费收益</span>
<span class="value-font" style="font-weight: bold;">{{order.artificerTaxiMoney}}</span>
2024-07-05 14:18:41 +08:00
</view>
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<span class="title-font">升级收益</span>
<span class="value-font"
2024-08-08 22:44:40 +08:00
style="font-weight: bold;">{{order.projectBenefits!=null?order.projectBenefits:'-'}}</span>
2024-07-05 14:18:41 +08:00
</view>
<view class="mian-view-list" v-if="order.addNum!=null">
2024-07-24 23:53:35 +08:00
<span class="title-font">加钟收益</span>
<span class="value-font"
2024-08-08 22:44:40 +08:00
style="font-weight: bold;">{{order.addProjectBenefits!=null?order.addProjectBenefits:'-'}}</span>
</view>
<view class="mian-view-list">
<span class="title-font">门店分佣</span>
<span class="value-font"
style="font-weight: bold;color: #FF6000;">-{{order.shopMoneyTotal}}</span>
</view>
<view class="mian-view-list">
<span class="title-font">经纪人分佣</span>
<span class="value-font"
style="font-weight: bold;color: #FF6000;">-{{order.jjrArtificerDeductMoneyTotal}}</span>
</view>
<view class="mian-view-list">
<span class="title-font">分销员分佣</span>
<span class="value-font"
style="font-weight: bold;color: #FF6000;">-{{order.fxyArtificerDeductMoneyTotal}}</span>
2024-07-01 20:29:10 +08:00
</view>
</view>
2024-07-05 14:18:41 +08:00
<view class="yiji">
<view class="yuji-title">技师收益</view>
<view class="yingde-money">
<span class="fuhao-heis"></span>
<span class="num-heis">
<!-- {{jishishouyi}} -->
{{order.artificerMoneyTotal}}
</span>
2024-07-01 20:29:10 +08:00
</view>
</view>
2024-07-24 23:53:35 +08:00
<view class="mian-view"
v-if="order.status=='3'||order.status=='5'||order.status=='6'||order.status=='8'">
<view v-if="order.startRemark&&order.status!='8'">
<view class="mina-title">
<span class="mina-title-text">开始备注</span>
<span class="mina-title-bor"></span>
</view>
<view class="textarea-mian" style="height: 110px;">
<textarea @input="textareaData" v-model="order.startRemark" :disabled="true"
placeholder="请输入备注信息" name="" id="" cols="30" rows="10"></textarea>
</view>
2024-07-10 17:58:54 +08:00
</view>
2024-07-24 23:53:35 +08:00
<view v-if="order.status=='8'">
<view class="mina-title">
<span class="mina-title-text">开始备注</span>
<span class="mina-title-bor"></span>
</view>
<view class="textarea-mian" style="height: 110px;">
<textarea @input="textareaData" v-model="order.startRemark" placeholder="请输入备注信息"
name="" id="" cols="30" rows="10"></textarea>
</view>
2024-07-05 14:18:41 +08:00
</view>
2024-07-24 23:53:35 +08:00
<view class="bg padding radius margin-top" v-if="order.status!='8'&&order.startImg">
<view class=""
style="font-size: 30rpx;color: #000000;font-weight: bold;margin-bottom: 20rpx;">服务前照片
</view>
<view class="flex flex-wrap justify-between">
<view class="flex margin-bottom-sm"
style="width: 48%;height: 200rpx;margin-right: 5rpx;position: relative;"
v-for="(image,index) in order.startImg" :key="index"
@click="saveImg( order.startImg,index)">
<image :src="image" style="width: 100%;height: 100%;border-radius: 10upx;"
mode="aspectFill">
</image>
</view>
2024-07-05 14:18:41 +08:00
</view>
</view>
2024-07-24 23:53:35 +08:00
<view class="bg padding radius margin-top" v-if="order.status==8 && startImgSel != '否'">
<view class=""
style="font-size: 30rpx;color: #000000;font-weight: bold;margin-bottom: 20rpx;">服务前照片
</view>
<view class="flex flex-wrap">
<view v-if="startImgs.length">
<view class="flex margin-right-sm flex-wrap">
<view class="flex"
style="width: 200rpx;height: 200rpx;margin-right: 5rpx;position: relative;"
v-for="(image,index) in startImgs" :key="index">
<image :src="pictureEcho[0]" style="width: 100%;height: 100%;"></image>
<view style="z-index: 0;position: absolute;top: -15rpx;right: -15rpx;"
@click="removeImg(index,1)">
<u-icon name="close-circle-fill" color="#2979ff" size="50rpx"></u-icon>
</view>
2024-07-05 14:18:41 +08:00
</view>
2024-07-01 20:29:10 +08:00
</view>
</view>
2024-07-24 23:53:35 +08:00
<view class="flex align-center justify-center padding-tb "
style="background: #f5f5f5;width: 200rpx;height: 200rpx;">
<view class="text-center" @click="addImage(1)">
<image src="../static/photo.png" style="width:60upx;height: 50upx;"></image>
<view class="text-sm">上传照片</view>
</view>
2024-07-05 14:18:41 +08:00
</view>
2024-07-01 20:29:10 +08:00
</view>
</view>
2024-06-26 16:58:53 +08:00
</view>
</view>
2024-07-05 14:18:41 +08:00
<!-- 普通订单加钟 没有升级 -->
<view v-if="order.isSupplement!='2'&&order.addNum!=null">
<view class="mian-top">
<view class="countDown" style="text-align: center;" v-if="order.status == 6">
<u-count-down :timestamp="endOfServiceTimer" separator-color="#20C675" color="#20C675"
font-size="74" separator-size="74" @change="onCountdownChange"></u-count-down>
</view>
<view class="mian-top-head">
<image v-if="order && order.ordersMassageList"
:src="(order.ordersMassageList[0].massageType || {}).massageImg"
2024-07-24 23:53:35 +08:00
class="mian-top-head-img"></image>
2024-07-05 14:18:41 +08:00
<view class="mian-top-head-right">
<view class="mian-title" v-if="order && order.ordersMassageList">
2024-07-06 17:27:57 +08:00
<view class="mian-title-view">{{order.entryName}}</view>
2024-07-05 14:18:41 +08:00
<!-- <view class="nav-btn" v-if="order.status ==1">待支付</view> -->
<view class="nav-btn" v-if="order.status ==2">待服务</view>
<view class="nav-btn" v-if="order.status ==3">待评价</view>
<!-- <view class="nav-btn" v-if="order.status ==4">已取消</view> -->
<view class="nav-btn" v-if="order.status ==5">已完成</view>
<view class="nav-btn" v-if="order.status ==6">服务中</view>
<view class="nav-btn" v-if="order.status ==7">技师出发</view>
<view class="nav-btn" v-if="order.status ==8">技师到达</view>
<view class="nav-btn" v-if="order.status ==9">确认接单</view>
</view>
<view class="mian-time" v-if="order && order.ordersMassageList">
2024-07-24 23:53:35 +08:00
<text class="title-font">服务时长</text><text
class="value-font">{{order.duration}}分钟</text>
2024-07-01 20:29:10 +08:00
</view>
2024-07-05 14:18:41 +08:00
<view class="mian-money" style="justify-content: space-between;">
<view class="flex" style="flex-direction: row;align-items: center;">
2024-07-24 23:53:35 +08:00
<view class="title-font">项目价格</view>
<view class="value-font">
2024-07-05 14:18:41 +08:00
<span class="fuhao"></span>
<span class="number">
2024-07-24 23:53:35 +08:00
{{order.priceMarkup}}
2024-07-05 14:18:41 +08:00
</span>
</view>
</view>
<view class="jiajian">
<view class="jian">-</view>
2024-07-06 17:27:57 +08:00
<view class="view-num">{{order.massageNum}}</view>
2024-07-05 14:18:41 +08:00
<view class="jia">+</view>
<!-- <uni-number-box :disabled="true" :value="order.ordersMassageList[0].num" :width='27' :min="1" @change="changeValue" /> -->
</view>
2024-07-01 20:29:10 +08:00
</view>
</view>
</view>
2024-07-05 14:18:41 +08:00
<view class="mian-top-foot" @tap="bindGps(order.latitude,order.longitude,order.address)">
<view class="mian-top-foot-view">
2024-07-24 23:53:35 +08:00
<view class="title-font">客户信息</view>
2024-07-24 14:29:36 +08:00
<view class="value-font">
2024-07-24 23:53:35 +08:00
<span @tap.stop="copyAddress()"
v-if="order.status !=1 && order.status !=5 && order.status !=3 && order.status !=4">
2024-07-05 14:18:41 +08:00
{{order.userName}}
{{order.phone ? order.phone.substring(0,3) + '****' + order.phone.substring(7,11) : ''}}
<u-icon name="file-text"></u-icon>
</span>
<span v-else>
{{order.userName}}
{{order.phone ? order.phone.substring(0,3) + '****' + order.phone.substring(7,11) : ''}}
</span>
<!-- <image src="../../static/index/dianhua.png" mode=""></image> -->
</view>
2024-07-01 20:29:10 +08:00
</view>
2024-07-05 14:18:41 +08:00
<view class="mian-top-foot-view" style="margin-top: 5px;">
2024-07-24 23:53:35 +08:00
<view class="title-font">服务地址</view>
<view class="value-font" style="width: 75%;text-align: right;">
2024-07-05 14:18:41 +08:00
{{order.address}}
</view>
2024-07-01 20:29:10 +08:00
</view>
</view>
</view>
2024-07-05 14:18:41 +08:00
<view class="mian-view">
2024-07-24 23:53:35 +08:00
<view class="mina-title">
<span class="mina-title-text">订单信息</span>
<span class="mina-title-bor"></span>
</view>
2024-07-05 14:18:41 +08:00
<view class="mian-view-list" @tap="copy(order.ordersNo)">
2024-07-24 23:53:35 +08:00
<span class="title-font">订单编号</span>
<span class="value-font">
2024-07-05 14:18:41 +08:00
{{order.ordersNo}}
2024-07-24 23:53:35 +08:00
<u-icon name="file-text" />
2024-07-05 14:18:41 +08:00
</span>
2024-07-01 20:29:10 +08:00
</view>
2024-07-05 14:18:41 +08:00
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<span class="title-font">预约时间</span>
<span class="value-font">{{order.serveTime}}</span>
2024-07-01 20:29:10 +08:00
</view>
2024-07-05 14:18:41 +08:00
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<span class="title-font">下单时间</span>
<span class="value-font">{{order.createTime}}</span>
2024-07-05 14:18:41 +08:00
</view>
2024-07-24 23:53:35 +08:00
<view class="mian-content-textarea" v-if="order.remark!=null&&order.remark!=''">
<span class="title-font">服务备注</span>
<textarea class="textarea-mian" :disabled="true" v-model="order.remark"></textarea>
2024-07-05 14:18:41 +08:00
</view>
2024-07-24 23:53:35 +08:00
<view class="mian-content-textarea" v-if="order.earlyFinishReason!=null&&order.remark!=''">
<span class="title-font">提前结束原因</span>
<textarea class="textarea-mian" :disabled="true"
v-model="order.earlyFinishReason"></textarea>
2024-07-05 14:18:41 +08:00
</view>
2024-07-24 23:53:35 +08:00
<view class="jusitify-line-end"></view>
<view class="mina-title">
<span class="mina-title-text">订单费用</span>
<span class="mina-title-bor"></span>
2024-07-06 17:27:57 +08:00
</view>
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<span class="title-font">服务项目</span>
<span class="value-font">
2024-07-06 17:27:57 +08:00
{{order.entryName}}
</span>
2024-07-05 14:18:41 +08:00
</view>
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<view class="title-font">服务时长</view>
<view class="value-font">{{order.duration}}分钟</view>
2024-07-05 14:18:41 +08:00
</view>
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<span class="title-font">项目金额</span>
<span class="value-font">{{order.priceMarkup}}</span>
2024-07-05 14:18:41 +08:00
</view>
2024-07-06 17:27:57 +08:00
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<span class="title-font">会员减免</span>
<span class="value-font" style="color: #FF6000;">-{{order.vipReductionMoney}}</span>
2024-07-06 17:27:57 +08:00
</view>
2024-07-24 23:53:35 +08:00
<view class="mian-view-list" style="justify-content: flex-end;">
<view class="title-font">项目小计</view>
<view class="value-font" style="font-weight: bold;"><text>{{order.massageMoney}}</text>
</view>
2024-07-17 17:47:06 +08:00
</view>
2024-07-20 09:56:22 +08:00
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<span class="title-font">优惠券</span>
<span class="value-font" style="color: #FF6000;"
v-if="order.couponMoney">-{{order.couponMoney}}</span>
<span class="value-font" v-else>-</span>
2024-07-05 14:18:41 +08:00
</view>
2024-07-24 23:53:35 +08:00
<view class="mian-view-list" style="justify-content: flex-end;">
<view class="title-font">收益小计</view>
<view class="value-font" style="font-weight: bold;" v-if="order.isSupplement">
<text>{{order.oldProjectBenefits}}</text></view>
<view class="value-font" style="font-weight: bold;" v-else>
<text>{{order.projectBenefits}}</text></view>
</view>
<view class="jusitify-line-end"></view>
<view class="mina-title">
<span class="mina-title-text">出行费用</span>
<span class="mina-title-bor"></span>
</view>
<view class="mian-view-list" v-if="order.tripWay">
<view class="title-font">出行方式</view>
<view v-if="order.tripWay == 1" class="value-font">公交</view>
<view v-if="order.tripWay == 2" class="value-font">出租</view>
<view v-if="order.tripWay == 3" class="value-font">免费</view>
2024-07-01 20:29:10 +08:00
</view>
2024-07-05 14:18:41 +08:00
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<span class="title-font">全程距离</span>
<span class="value-font">{{order.km}}km</span>
2024-06-26 16:58:53 +08:00
</view>
2024-07-05 14:18:41 +08:00
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<view class="title-font">出行费用</view>
<view class="value-font">{{order.usualTravelMoney}}</view>
</view>
<view class="mian-view-list" v-if="order.nightTravelMoney">
<view class="title-font">夜间出行</view>
<view class="value-font">{{order.nightTravelMoney}}</view>
</view>
<view class="mian-view-list" style="justify-content: flex-end;">
<span class="title-font">收益小计</span>
<span class="value-font" style="font-weight: bold;">{{order.artificerTaxiMoney}}</span>
</view>
<view class="jusitify-line-end"></view>
<view class="mina-title">
<span class="mina-title-text">加钟信息</span>
<span class="mina-title-bor"></span>
2024-07-05 14:18:41 +08:00
</view>
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<span class="title-font">服务项目</span>
<span class="value-font">{{order.addEntryName}}</span>
2024-07-05 14:18:41 +08:00
</view>
2024-07-17 17:47:06 +08:00
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<span class="title-font">服务时长</span>
<span class="value-font">{{order.addTime}}分钟</span>
2024-07-17 17:47:06 +08:00
</view>
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<span class="title-font">项目金额</span>
<span class="value-font" v-if="order.addPriceMarkup!=null">{{order.addPriceMarkup}}</span>
<span class="value-font" v-else>-</span>
2024-07-17 17:47:06 +08:00
</view>
2024-07-05 14:18:41 +08:00
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<view class="title-font">会员减免</view>
<view class="value-font" style="color: #FF6000;">-{{order.addVipReductionMoney}}</view>
2024-07-05 14:18:41 +08:00
</view>
2024-07-24 23:53:35 +08:00
<view class="mian-view-list" style="justify-content: flex-end;">
<view class="title-font">收益小计</view>
<view class="value-font" style="font-weight: bold;">
2024-08-08 22:44:40 +08:00
<text>{{order.addProjectBenefits}}</text></view>
2024-07-24 23:53:35 +08:00
</view>
<view class="jusitify-line-end"></view>
<view class="mina-title">
<span class="mina-title-text">预计收益</span>
<span class="mina-title-bor"></span>
2024-07-01 20:29:10 +08:00
</view>
2024-07-05 14:18:41 +08:00
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<span class="title-font">提成比例</span>
<span class="value-font" style="font-weight: bold;">{{order.artificerRate*100}}%</span>
2024-07-05 14:18:41 +08:00
</view>
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<span class="title-font">项目收益</span>
<span class="value-font" style="font-weight: bold;"
v-if="order.isSupplement">{{order.oldProjectBenefits}}</span>
<span class="value-font" style="font-weight: bold;" v-else>{{order.projectBenefits}}</span>
2024-07-05 14:18:41 +08:00
</view>
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<span class="title-font">车费收益</span>
<span class="value-font" style="font-weight: bold;">{{order.artificerTaxiMoney}}</span>
2024-07-05 14:18:41 +08:00
</view>
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<span class="title-font">加钟收益</span>
<span class="value-font"
2024-08-08 22:44:40 +08:00
style="font-weight: bold;">{{order.addProjectBenefits!=null?order.addProjectBenefits:'-'}}</span>
</view>
<view class="mian-view-list">
<span class="title-font">门店分佣</span>
<span class="value-font"
style="font-weight: bold;color: #FF6000;">-{{order.shopMoneyTotal}}</span>
</view>
<view class="mian-view-list">
<span class="title-font">经纪人分佣</span>
<span class="value-font"
style="font-weight: bold;color: #FF6000;">-{{order.jjrArtificerDeductMoneyTotal}}</span>
</view>
<view class="mian-view-list">
<span class="title-font">分销员分佣</span>
<span class="value-font"
style="font-weight: bold;color: #FF6000;">-{{order.fxyArtificerDeductMoneyTotal}}</span>
</view>
2024-07-01 23:14:12 +08:00
</view>
2024-07-05 14:18:41 +08:00
<view class="yiji">
<view class="yuji-title">技师收益</view>
<view class="yingde-money">
<span class="fuhao-heis"></span>
<span class="num-heis">
{{order.artificerMoneyTotal}}
</span>
2024-07-01 23:14:12 +08:00
</view>
</view>
2024-07-24 23:53:35 +08:00
<view class="mian-view"
v-if="order.status=='3'||order.status=='5'||order.status=='6'||order.status=='8'">
<view v-if="order.startRemark&&order.status!='8'">
<view class="mina-title">
<span class="mina-title-text">开始备注</span>
<span class="mina-title-bor"></span>
</view>
<view class="textarea-mian" style="height: 110px;">
<textarea @input="textareaData" v-model="order.startRemark" :disabled="true"
placeholder="请输入备注信息" name="" id="" cols="30" rows="10"></textarea>
</view>
2024-07-10 17:58:54 +08:00
</view>
2024-07-24 23:53:35 +08:00
<view v-if="order.status=='8'">
<view class="mina-title">
<span class="mina-title-text">开始备注</span>
<span class="mina-title-bor"></span>
</view>
<view class="textarea-mian" style="height: 110px;">
<textarea @input="textareaData" v-model="order.startRemark" placeholder="请输入备注信息"
name="" id="" cols="30" rows="10"></textarea>
</view>
2024-07-05 14:18:41 +08:00
</view>
2024-07-24 23:53:35 +08:00
<view class="bg padding radius margin-top" v-if="order.status!='8'&&order.startImg">
<view class=""
style="font-size: 30rpx;color: #000000;font-weight: bold;margin-bottom: 20rpx;">服务前照片
</view>
<view class="flex flex-wrap justify-between">
<view class="flex margin-bottom-sm"
style="width: 48%;height: 200rpx;margin-right: 5rpx;position: relative;"
v-for="(image,index) in order.startImg" :key="index"
@click="saveImg( order.startImg,index)">
<image :src="image" style="width: 100%;height: 100%;border-radius: 10upx;"
mode="aspectFill">
</image>
</view>
2024-07-05 14:18:41 +08:00
</view>
</view>
2024-07-24 23:53:35 +08:00
<view class="bg padding radius margin-top" v-if="order.status==8 && startImgSel != '否'">
<view class=""
style="font-size: 30rpx;color: #000000;font-weight: bold;margin-bottom: 20rpx;">服务前照片
</view>
<view class="flex flex-wrap">
<view v-if="startImgs.length">
<view class="flex margin-right-sm flex-wrap">
<view class="flex"
style="width: 200rpx;height: 200rpx;margin-right: 5rpx;position: relative;"
v-for="(image,index) in startImgs" :key="index">
<image :src="pictureEcho[0]" style="width: 100%;height: 100%;"></image>
<view style="z-index: 0;position: absolute;top: -15rpx;right: -15rpx;"
@click="removeImg(index,1)">
<u-icon name="close-circle-fill" color="#2979ff" size="50rpx"></u-icon>
</view>
2024-07-05 14:18:41 +08:00
</view>
2024-07-01 23:14:12 +08:00
</view>
</view>
2024-07-24 23:53:35 +08:00
<view class="flex align-center justify-center padding-tb "
style="background: #f5f5f5;width: 200rpx;height: 200rpx;">
<view class="text-center" @click="addImage(1)">
<image src="../static/photo.png" style="width:60upx;height: 50upx;"></image>
<view class="text-sm">上传照片</view>
</view>
2024-07-05 14:18:41 +08:00
</view>
2024-07-01 23:14:12 +08:00
</view>
</view>
</view>
</view>
2024-07-05 14:18:41 +08:00
<!-- 普通订单 没有加钟 没有升级 -->
<view v-if="order.isSupplement!='2'&&order.addNum==null">
<view class="mian-top">
<view class="countDown" style="text-align: center;" v-if="order.status == 6">
<u-count-down :timestamp="endOfServiceTimer" separator-color="#20C675" color="#20C675"
font-size="74" separator-size="74" @change="onCountdownChange"></u-count-down>
</view>
<view class="mian-top-head">
<image v-if="order && order.ordersMassageList"
:src="(order.ordersMassageList[0].massageType || {}).massageImg"
2024-07-24 23:53:35 +08:00
class="mian-top-head-img"></image>
2024-07-05 14:18:41 +08:00
<view class="mian-top-head-right">
<view class="mian-title" v-if="order && order.ordersMassageList">
2024-07-06 17:27:57 +08:00
<view class="mian-title-view">{{order.entryName}}</view>
2024-07-05 14:18:41 +08:00
<!-- <view class="nav-btn" v-if="order.status ==1">待支付</view> -->
<view class="nav-btn" v-if="order.status ==2">待服务</view>
<view class="nav-btn" v-if="order.status ==3">待评价</view>
<!-- <view class="nav-btn" v-if="order.status ==4">已取消</view> -->
<view class="nav-btn" v-if="order.status ==5">已完成</view>
<view class="nav-btn" v-if="order.status ==6">服务中</view>
<view class="nav-btn" v-if="order.status ==7">技师出发</view>
<view class="nav-btn" v-if="order.status ==8">技师到达</view>
<view class="nav-btn" v-if="order.status ==9">确认接单</view>
</view>
<view class="mian-time" v-if="order && order.ordersMassageList">
2024-07-24 23:53:35 +08:00
<text class="title-font">服务时长</text><text
class="value-font">{{order.duration}}分钟</text>
2024-07-01 23:14:12 +08:00
</view>
2024-07-05 14:18:41 +08:00
<view class="mian-money" style="justify-content: space-between;">
<view class="flex" style="flex-direction: row;align-items: center;">
2024-07-24 23:53:35 +08:00
<view class="title-font">项目价格</view>
<view class="value-font">
2024-07-05 14:18:41 +08:00
<span class="fuhao"></span>
<span class="number">
2024-07-20 09:56:22 +08:00
{{order.priceMarkup}}
2024-07-05 14:18:41 +08:00
</span>
</view>
</view>
<view class="jiajian">
<view class="jian">-</view>
2024-07-06 17:27:57 +08:00
<view class="view-num">{{order.massageNum}}</view>
2024-07-05 14:18:41 +08:00
<view class="jia">+</view>
</view>
2024-07-01 23:14:12 +08:00
</view>
</view>
</view>
2024-07-05 14:18:41 +08:00
<view class="mian-top-foot" @tap="bindGps(order.latitude,order.longitude,order.address)">
<view class="mian-top-foot-view">
2024-07-24 23:53:35 +08:00
<view class="title-font">客户信息</view>
2024-07-24 14:29:36 +08:00
<view class="value-font">
2024-07-24 23:53:35 +08:00
<span @tap.stop="copyAddress()"
v-if="order.status !=1 && order.status !=5 && order.status !=3 && order.status !=4">
2024-07-05 14:18:41 +08:00
{{order.userName}}
{{order.phone ? order.phone.substring(0,3) + '****' + order.phone.substring(7,11) : ''}}
<u-icon name="file-text"></u-icon>
</span>
<span v-else>
{{order.userName}}
{{order.phone ? order.phone.substring(0,3) + '****' + order.phone.substring(7,11) : ''}}
</span>
<!-- <image src="../../static/index/dianhua.png" mode=""></image> -->
</view>
2024-07-01 23:14:12 +08:00
</view>
2024-07-05 14:18:41 +08:00
<view class="mian-top-foot-view" style="margin-top: 5px;">
2024-07-24 23:53:35 +08:00
<view class="title-font">服务地址</view>
<view class="value-font" style="width: 75%;text-align: right;">
2024-07-05 14:18:41 +08:00
{{order.address}}
</view>
2024-07-01 23:14:12 +08:00
</view>
</view>
</view>
2024-07-05 14:18:41 +08:00
<view class="mian-view">
2024-07-24 23:53:35 +08:00
<view class="mina-title">
<span class="mina-title-text">订单信息</span>
<span class="mina-title-bor"></span>
</view>
2024-07-05 14:18:41 +08:00
<view class="mian-view-list" @tap="copy(order.ordersNo)">
2024-07-24 23:53:35 +08:00
<span class="title-font">订单编号</span>
<span class="value-font">
2024-07-05 14:18:41 +08:00
{{order.ordersNo}}
2024-07-24 23:53:35 +08:00
<u-icon name="file-text" />
2024-07-05 14:18:41 +08:00
</span>
</view>
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<span class="title-font">预约时间</span>
<span class="value-font">{{order.serveTime}}</span>
2024-07-05 14:18:41 +08:00
</view>
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<span class="title-font">下单时间</span>
<span class="value-font">{{order.createTime}}</span>
2024-07-05 14:18:41 +08:00
</view>
2024-07-24 23:53:35 +08:00
<view class="mian-content-textarea" v-if="order.remark!=null&&order.remark!=''">
<span class="title-font">服务备注</span>
<textarea class="textarea-mian" :disabled="true" v-model="order.remark"></textarea>
2024-07-05 14:18:41 +08:00
</view>
2024-07-24 23:53:35 +08:00
<view class="mian-content-textarea" v-if="order.earlyFinishReason!=null&&order.remark!=''">
<span class="title-font">提前结束原因</span>
<textarea class="textarea-mian" :disabled="true"
v-model="order.earlyFinishReason"></textarea>
</view>
<view class="jusitify-line-end"></view>
<view class="mina-title">
<span class="mina-title-text">订单费用</span>
<span class="mina-title-bor"></span>
2024-07-05 14:18:41 +08:00
</view>
2024-07-20 09:56:22 +08:00
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<span class="title-font">服务项目</span>
<span class="value-font">
{{order.entryName}}
</span>
2024-07-05 14:18:41 +08:00
</view>
2024-07-20 09:56:22 +08:00
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<view class="title-font">服务时长</view>
<view class="value-font">{{order.duration}}分钟</view>
2024-07-05 14:18:41 +08:00
</view>
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<span class="title-font">项目金额</span>
<span class="value-font">{{order.priceMarkup}}</span>
2024-07-05 14:18:41 +08:00
</view>
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<span class="title-font">会员减免</span>
<span class="value-font" style="color: #FF6000;">-{{order.vipReductionMoney}}</span>
</view>
<view class="mian-view-list" style="justify-content: flex-end;">
<view class="title-font">项目小计</view>
<view class="value-font" style="font-weight: bold;"><text>{{order.massageMoney}}</text>
</view>
2024-07-05 14:18:41 +08:00
</view>
2024-07-06 17:27:57 +08:00
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<span class="title-font">优惠券</span>
<span class="value-font" style="color: #FF6000;"
v-if="order.couponMoney">-{{order.couponMoney}}</span>
<span class="value-font" v-else>-</span>
</view>
<view class="mian-view-list" style="justify-content: flex-end;">
<view class="title-font">收益小计</view>
<view class="value-font" style="font-weight: bold;" v-if="order.isSupplement">
<text>{{order.oldProjectBenefits}}</text></view>
<view class="value-font" style="font-weight: bold;" v-else>
<text>{{order.projectBenefits}}</text></view>
</view>
<view class="jusitify-line-end"></view>
<view class="mina-title">
<span class="mina-title-text">出行费用</span>
<span class="mina-title-bor"></span>
</view>
<view class="mian-view-list" v-if="order.tripWay">
<view class="title-font">出行方式</view>
<view v-if="order.tripWay == 1" class="value-font">公交</view>
<view v-if="order.tripWay == 2" class="value-font">出租</view>
<view v-if="order.tripWay == 3" class="value-font">免费</view>
2024-07-06 17:27:57 +08:00
</view>
2024-07-17 17:47:06 +08:00
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<span class="title-font">全程距离</span>
<span class="value-font">{{order.km}}km</span>
2024-07-17 17:47:06 +08:00
</view>
2024-07-20 09:56:22 +08:00
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<view class="title-font">出行费用</view>
<view class="value-font">{{order.usualTravelMoney}}</view>
2024-07-05 14:18:41 +08:00
</view>
2024-07-24 23:53:35 +08:00
<view class="mian-view-list" v-if="order.nightTravelMoney">
<view class="title-font">夜间出行</view>
<view class="value-font">{{order.nightTravelMoney}}</view>
</view>
<view class="mian-view-list" style="justify-content: flex-end;">
<span class="title-font">收益小计</span>
<span class="value-font" style="font-weight: bold;">{{order.artificerTaxiMoney}}</span>
</view>
<view class="jusitify-line-end"></view>
<view class="mina-title">
<span class="mina-title-text">预计收益</span>
<span class="mina-title-bor"></span>
2024-07-05 14:18:41 +08:00
</view>
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<span class="title-font">提成比例</span>
<span class="value-font" style="font-weight: bold;">{{order.artificerRate*100}}%</span>
2024-07-05 14:18:41 +08:00
</view>
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<span class="title-font">项目收益</span>
<span class="value-font" style="font-weight: bold;"
v-if="order.isSupplement">{{order.oldProjectBenefits}}</span>
<span class="value-font" style="font-weight: bold;" v-else>{{order.projectBenefits}}</span>
2024-07-05 14:18:41 +08:00
</view>
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<span class="title-font">车费收益</span>
<span class="value-font" style="font-weight: bold;">{{order.artificerTaxiMoney}}</span>
2024-07-05 14:18:41 +08:00
</view>
2024-08-08 22:44:40 +08:00
<view class="mian-view-list">
<span class="title-font">门店分佣</span>
<span class="value-font"
style="font-weight: bold;color: #FF6000;">-{{order.shopMoneyTotal}}</span>
</view>
<view class="mian-view-list">
<span class="title-font">经纪人分佣</span>
<span class="value-font"
style="font-weight: bold;color: #FF6000;">-{{order.jjrArtificerDeductMoneyTotal}}</span>
</view>
<view class="mian-view-list">
<span class="title-font">分销员分佣</span>
<span class="value-font"
style="font-weight: bold;color: #FF6000;">-{{order.fxyArtificerDeductMoneyTotal}}</span>
</view>
2024-07-04 23:19:37 +08:00
</view>
2024-07-05 14:18:41 +08:00
<view class="yiji">
<view class="yuji-title">技师收益</view>
<view class="yingde-money">
<span class="fuhao-heis"></span>
<span class="num-heis">
{{order.artificerMoneyTotal}}
</span>
2024-07-04 23:19:37 +08:00
</view>
</view>
2024-07-24 23:53:35 +08:00
<view class="mian-view"
v-if="order.status=='3'||order.status=='5'||order.status=='6'||order.status=='8'">
<view v-if="order.startRemark&&order.status!='8'">
<view class="mina-title">
<span class="mina-title-text">开始备注</span>
<span class="mina-title-bor"></span>
</view>
<view class="textarea-mian" style="height: 110px;">
<textarea @input="textareaData" v-model="order.startRemark" :disabled="true"
placeholder="请输入备注信息" name="" id="" cols="30" rows="10"></textarea>
</view>
2024-07-10 17:58:54 +08:00
</view>
2024-07-24 23:53:35 +08:00
<view v-if="order.status=='8'">
<view class="mina-title">
<span class="mina-title-text">开始备注</span>
<span class="mina-title-bor"></span>
</view>
<view class="textarea-mian" style="height: 110px;">
<textarea @input="textareaData" v-model="order.startRemark" placeholder="请输入备注信息"
name="" id="" cols="30" rows="10"></textarea>
</view>
2024-07-05 14:18:41 +08:00
</view>
2024-07-24 23:53:35 +08:00
<view class="bg padding radius margin-top" v-if="order.status!='8'&&order.startImg">
<view class=""
style="font-size: 30rpx;color: #000000;font-weight: bold;margin-bottom: 20rpx;">服务前照片
</view>
<view class="flex flex-wrap justify-between">
<view class="flex margin-bottom-sm"
style="width: 48%;height: 200rpx;margin-right: 5rpx;position: relative;"
v-for="(image,index) in order.startImg" :key="index"
@click="saveImg( order.startImg,index)">
<image :src="image" style="width: 100%;height: 100%;border-radius: 10upx;"
mode="aspectFill">
</image>
</view>
2024-07-05 14:18:41 +08:00
</view>
</view>
2024-07-24 23:53:35 +08:00
<view class="bg padding radius margin-top" v-if="order.status==8 && startImgSel != '否'">
<view class=""
style="font-size: 30rpx;color: #000000;font-weight: bold;margin-bottom: 20rpx;">服务前照片
</view>
<view class="flex flex-wrap">
<view v-if="startImgs.length">
<view class="flex margin-right-sm flex-wrap">
<view class="flex"
style="width: 200rpx;height: 200rpx;margin-right: 5rpx;position: relative;"
v-for="(image,index) in startImgs" :key="index">
<image :src="pictureEcho[0]" style="width: 100%;height: 100%;"></image>
<view style="z-index: 0;position: absolute;top: -15rpx;right: -15rpx;"
@click="removeImg(index,1)">
<u-icon name="close-circle-fill" color="#2979ff" size="50rpx"></u-icon>
</view>
2024-07-05 14:18:41 +08:00
</view>
2024-07-04 23:19:37 +08:00
</view>
</view>
2024-07-24 23:53:35 +08:00
<view class="flex align-center justify-center padding-tb "
style="background: #f5f5f5;width: 200rpx;height: 200rpx;">
<view class="text-center" @click="addImage(1)">
<image src="../static/photo.png" style="width:60upx;height: 50upx;"></image>
<view class="text-sm">上传照片</view>
</view>
2024-07-05 14:18:41 +08:00
</view>
2024-07-04 23:19:37 +08:00
</view>
</view>
</view>
</view>
</view>
2024-07-05 14:18:41 +08:00
<!-- 套餐疗程次卡订单 -->
<view v-else>
<!-- 套餐疗程次卡 没有加钟 没有升级 -->
<view v-if="order.isSupplement!='2'&&order.addNum==null">
<view class="mian-top">
<view class="countDown" style="text-align: center;" v-if="order.status == 6">
<u-count-down :timestamp="endOfServiceTimer" separator-color="#20C675" color="#20C675"
font-size="74" separator-size="74" @change="onCountdownChange"></u-count-down>
</view>
<view class="mian-top-head">
<image v-if="order && order.ordersMassageList"
:src="(order.ordersMassageList[0].userPackageDetail || {}).massageImg"
2024-07-24 23:53:35 +08:00
class="mian-top-head-img"></image>
2024-07-05 14:18:41 +08:00
<view class="mian-top-head-right">
<view class="mian-title" v-if="order && order.ordersMassageList">
2024-07-06 17:27:57 +08:00
<view class="mian-title-view">{{order.entryName}}</view>
2024-07-05 14:18:41 +08:00
<!-- <view class="nav-btn" v-if="order.status ==1">待支付</view> -->
<view class="nav-btn" v-if="order.status ==2">待服务</view>
<view class="nav-btn" v-if="order.status ==3">待评价</view>
<!-- <view class="nav-btn" v-if="order.status ==4">已取消</view> -->
<view class="nav-btn" v-if="order.status ==5">已完成</view>
<view class="nav-btn" v-if="order.status ==6">服务中</view>
<view class="nav-btn" v-if="order.status ==7">技师出发</view>
<view class="nav-btn" v-if="order.status ==8">技师到达</view>
<view class="nav-btn" v-if="order.status ==9">确认接单</view>
</view>
<view class="mian-time" v-if="order && order.ordersMassageList">
2024-07-24 23:53:35 +08:00
<text class="title-font">服务时长</text><text
class="value-font">{{order.duration}}分钟</text>
2024-07-04 23:19:37 +08:00
</view>
2024-07-05 14:18:41 +08:00
<view class="mian-money" style="justify-content: space-between;">
<view class="flex" style="flex-direction: row;align-items: center;">
2024-07-24 23:53:35 +08:00
<view class="title-font">项目价格</view>
<view class="value-font">
2024-07-05 14:18:41 +08:00
<span class="fuhao"></span>
<span class="number">
{{order.massagePrice}}
</span>
</view>
</view>
<view class="jiajian">
<view class="jian">-</view>
2024-07-06 17:27:57 +08:00
<view class="view-num">{{order.massageNum}}</view>
2024-07-05 14:18:41 +08:00
<view class="jia">+</view>
<!-- <uni-number-box :disabled="true" :value="order.ordersMassageList[0].num" :width='27' :min="1" @change="changeValue" /> -->
</view>
2024-07-04 23:19:37 +08:00
</view>
</view>
</view>
2024-07-05 14:18:41 +08:00
<view class="mian-top-foot" @tap="bindGps(order.latitude,order.longitude,order.address)">
<view class="mian-top-foot-view">
2024-07-24 23:53:35 +08:00
<view class="title-font">客户信息</view>
2024-07-24 14:29:36 +08:00
<view class="value-font">
2024-07-24 23:53:35 +08:00
<span @tap.stop="copyAddress()"
v-if="order.status !=1 && order.status !=5 && order.status !=3 && order.status !=4">
2024-07-05 14:18:41 +08:00
{{order.userName}}
{{order.phone ? order.phone.substring(0,3) + '****' + order.phone.substring(7,11) : ''}}
<u-icon name="file-text"></u-icon>
</span>
<span v-else>
{{order.userName}}
{{order.phone ? order.phone.substring(0,3) + '****' + order.phone.substring(7,11) : ''}}
</span>
<!-- <image src="../../static/index/dianhua.png" mode=""></image> -->
</view>
2024-07-04 23:19:37 +08:00
</view>
2024-07-05 14:18:41 +08:00
<view class="mian-top-foot-view" style="margin-top: 5px;">
2024-07-24 23:53:35 +08:00
<view class="title-font">服务地址</view>
<view class="value-font" style="width: 75%;text-align: right;">
2024-07-05 14:18:41 +08:00
{{order.address}}
</view>
2024-07-04 23:19:37 +08:00
</view>
</view>
</view>
2024-07-05 14:18:41 +08:00
<view class="mian-view">
2024-07-24 23:53:35 +08:00
<view class="mina-title">
<span class="mina-title-text">订单信息</span>
<span class="mina-title-bor"></span>
</view>
2024-07-05 14:18:41 +08:00
<view class="mian-view-list" @tap="copy(order.ordersNo)">
2024-07-24 23:53:35 +08:00
<span class="title-font">订单编号</span>
<span class="value-font">
2024-07-05 14:18:41 +08:00
{{order.ordersNo}}
2024-07-24 23:53:35 +08:00
<u-icon name="file-text" />
2024-07-05 14:18:41 +08:00
</span>
</view>
2024-07-06 17:27:57 +08:00
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<span class="title-font">预约时间</span>
<span class="value-font">{{order.serveTime}}</span>
2024-07-06 17:27:57 +08:00
</view>
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<span class="title-font">下单时间</span>
<span class="value-font">{{order.createTime}}</span>
2024-07-06 17:27:57 +08:00
</view>
2024-07-24 23:53:35 +08:00
<view class="mian-content-textarea" v-if="order.remark!=null&&order.remark!=''">
<span class="title-font">服务备注</span>
<textarea class="textarea-mian" :disabled="true" v-model="order.remark"></textarea>
2024-07-06 17:27:57 +08:00
</view>
2024-07-24 23:53:35 +08:00
<view class="mian-content-textarea" v-if="order.earlyFinishReason!=null&&order.remark!=''">
<span class="title-font">提前结束原因</span>
<textarea class="textarea-mian" :disabled="true"
v-model="order.earlyFinishReason"></textarea>
2024-07-06 17:27:57 +08:00
</view>
2024-07-24 23:53:35 +08:00
<view class="jusitify-line-end"></view>
<view class="mina-title">
<span class="mina-title-text">订单费用</span>
<span class="mina-title-bor"></span>
2024-07-06 17:27:57 +08:00
</view>
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<view class="title-font">
2024-07-24 23:57:40 +08:00
{{order.packageType=='104'?'套餐':order.packageType=='105'?'次卡':order.packageType=='106'?'疗程':order.packageType=='111'?'团购':order.packageType=='112'?'秒杀':'其他'}}名称
2024-07-24 23:53:35 +08:00
</view>
<span class="value-font">
2024-07-06 17:27:57 +08:00
{{order.ordersMassageList[0].userPackageDetail.mainTitle}}
</span>
</view>
2024-07-05 14:18:41 +08:00
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<span class="title-font">服务项目</span>
<span class="value-font">
2024-07-05 14:18:41 +08:00
{{order.entryName}}
</span>
</view>
2024-07-06 17:27:57 +08:00
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<view class="title-font">服务时长</view>
<view class="value-font">{{order.duration}}分钟</view>
2024-07-06 17:27:57 +08:00
</view>
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<span class="title-font">项目金额</span>
<span class="value-font">{{order.priceMarkup}}</span>
</view>
<view class="mian-view-list" style="justify-content: flex-end;">
<view class="title-font">收益小计</view>
<view class="value-font" style="font-weight: bold;"><text>{{order.projectBenefits}}</text>
</view>
</view>
<view class="jusitify-line-end"></view>
<view class="mina-title">
<span class="mina-title-text">出行费用</span>
<span class="mina-title-bor"></span>
</view>
<view class="mian-view-list" v-if="order.tripWay">
<view class="title-font">出行方式</view>
<view v-if="order.tripWay == 1" class="value-font">公交</view>
<view v-if="order.tripWay == 2" class="value-font">出租</view>
<view v-if="order.tripWay == 3" class="value-font">免费</view>
2024-07-06 17:27:57 +08:00
</view>
2024-07-20 09:56:22 +08:00
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<span class="title-font">全程距离</span>
<span class="value-font">{{order.km}}km</span>
2024-07-06 17:27:57 +08:00
</view>
2024-07-24 23:53:35 +08:00
<view class="mian-view-list">
<view class="title-font">出行费用</view>
<view class="value-font">{{order.usualTravelMoney}}</view>
</view>
<view class="mian-view-list" v-if="order.nightTravelMoney">
<view class="title-font">夜间出行</view>
<view class="value-font">{{order.nightTravelMoney}}</view>
</view>
<view class="mian-view-list" style="justify-content: flex-end;">
<span class="title-font">收益小计</span>
<span class="value-font" style="font-weight: bold;">{{order.artificerTaxiMoney}}</span>
</view>
<view class="jusitify-line-end"></view>
<view class="mina-title">
<span class="mina-title-text">预计收益</span>
<span class="mina-title-bor"></span>
2024-07-06 17:27:57 +08:00
</view>
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<span class="title-font">提成比例</span>
<span class="value-font" style="font-weight: bold;">{{order.artificerRate*100}}%</span>
2024-07-06 17:27:57 +08:00
</view>
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<span class="title-font">项目收益</span>
<span class="value-font" style="font-weight: bold;">{{order.projectBenefits}}</span>
2024-07-06 17:27:57 +08:00
</view>
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<span class="title-font">车费收益</span>
<span class="value-font" style="font-weight: bold;">{{order.artificerTaxiMoney}}</span>
2024-07-06 17:27:57 +08:00
</view>
2024-08-08 22:44:40 +08:00
<view class="mian-view-list">
<span class="title-font">门店分佣</span>
<span class="value-font"
style="font-weight: bold;color: #FF6000;">-{{order.shopMoneyTotal}}</span>
</view>
<view class="mian-view-list">
<span class="title-font">经纪人分佣</span>
<span class="value-font"
style="font-weight: bold;color: #FF6000;">-{{order.jjrArtificerDeductMoneyTotal}}</span>
</view>
<view class="mian-view-list">
<span class="title-font">分销员分佣</span>
<span class="value-font"
style="font-weight: bold;color: #FF6000;">-{{order.fxyArtificerDeductMoneyTotal}}</span>
</view>
2024-07-06 17:27:57 +08:00
</view>
<view class="yiji">
<view class="yuji-title">技师收益</view>
<view class="yingde-money">
<span class="fuhao-heis"></span>
<span class="num-heis">
{{order.artificerMoneyTotal}}
</span>
</view>
</view>
2024-07-24 23:53:35 +08:00
<view class="mian-view"
v-if="order.status=='3'||order.status=='5'||order.status=='6'||order.status=='8'">
<view v-if="order.startRemark&&order.status!='8'">
<view class="mina-title">
<span class="mina-title-text">开始备注</span>
<span class="mina-title-bor"></span>
</view>
<view class="textarea-mian" style="height: 110px;">
<textarea @input="textareaData" v-model="order.startRemark" :disabled="true"
placeholder="请输入备注信息" name="" id="" cols="30" rows="10"></textarea>
</view>
2024-07-10 17:58:54 +08:00
</view>
2024-07-24 23:53:35 +08:00
<view v-if="order.status=='8'">
<view class="mina-title">
<span class="mina-title-text">开始备注</span>
<span class="mina-title-bor"></span>
</view>
<view class="textarea-mian" style="height: 110px;">
<textarea @input="textareaData" v-model="order.startRemark" placeholder="请输入备注信息"
name="" id="" cols="30" rows="10"></textarea>
</view>
2024-07-06 17:27:57 +08:00
</view>
2024-07-24 23:53:35 +08:00
<view class="bg padding radius margin-top" v-if="order.status!='8'&&order.startImg">
<view class=""
style="font-size: 30rpx;color: #000000;font-weight: bold;margin-bottom: 20rpx;">服务前照片
</view>
<view class="flex flex-wrap justify-between">
<view class="flex margin-bottom-sm"
style="width: 48%;height: 200rpx;margin-right: 5rpx;position: relative;"
v-for="(image,index) in order.startImg" :key="index"
@click="saveImg( order.startImg,index)">
<image :src="image" style="width: 100%;height: 100%;border-radius: 10upx;"
mode="aspectFill">
</image>
</view>
2024-07-06 17:27:57 +08:00
</view>
</view>
2024-07-24 23:53:35 +08:00
<view class="bg padding radius margin-top" v-if="order.status==8 && startImgSel != '否'">
<view class=""
style="font-size: 30rpx;color: #000000;font-weight: bold;margin-bottom: 20rpx;">服务前照片
</view>
<view class="flex flex-wrap">
<view v-if="startImgs.length">
<view class="flex margin-right-sm flex-wrap">
<view class="flex"
style="width: 200rpx;height: 200rpx;margin-right: 5rpx;position: relative;"
v-for="(image,index) in startImgs" :key="index">
<image :src="pictureEcho[0]" style="width: 100%;height: 100%;"></image>
<view style="z-index: 0;position: absolute;top: -15rpx;right: -15rpx;"
@click="removeImg(index,1)">
<u-icon name="close-circle-fill" color="#2979ff" size="50rpx"></u-icon>
</view>
2024-07-06 17:27:57 +08:00
</view>
</view>
</view>
2024-07-24 23:53:35 +08:00
<view class="flex align-center justify-center padding-tb "
style="background: #f5f5f5;width: 200rpx;height: 200rpx;">
<view class="text-center" @click="addImage(1)">
<image src="../static/photo.png" style="width:60upx;height: 50upx;"></image>
<view class="text-sm">上传照片</view>
</view>
2024-07-06 17:27:57 +08:00
</view>
</view>
</view>
2024-07-24 23:53:35 +08:00
</view>
2024-07-06 17:27:57 +08:00
</view>
<!-- 套餐疗程次卡 加钟 没有升级 -->
<view v-if="order.isSupplement!='2'&&order.addNum!=null">
<view class="mian-top">
<view class="countDown" style="text-align: center;" v-if="order.status == 6">
<u-count-down :timestamp="endOfServiceTimer" separator-color="#20C675" color="#20C675"
font-size="74" separator-size="74" @change="onCountdownChange"></u-count-down>
</view>
<view class="mian-top-head">
<image v-if="order && order.ordersMassageList"
:src="(order.ordersMassageList[0].userPackageDetail || {}).massageImg"
2024-07-24 23:53:35 +08:00
class="mian-top-head-img"></image>
2024-07-06 17:27:57 +08:00
<view class="mian-top-head-right">
<view class="mian-title" v-if="order && order.ordersMassageList">
<view class="mian-title-view">{{order.entryName}}</view>
<!-- <view class="nav-btn" v-if="order.status ==1">待支付</view> -->
<view class="nav-btn" v-if="order.status ==2">待服务</view>
<view class="nav-btn" v-if="order.status ==3">待评价</view>
<!-- <view class="nav-btn" v-if="order.status ==4">已取消</view> -->
<view class="nav-btn" v-if="order.status ==5">已完成</view>
<view class="nav-btn" v-if="order.status ==6">服务中</view>
<view class="nav-btn" v-if="order.status ==7">技师出发</view>
<view class="nav-btn" v-if="order.status ==8">技师到达</view>
<view class="nav-btn" v-if="order.status ==9">确认接单</view>
</view>
<view class="mian-time" v-if="order && order.ordersMassageList">
2024-07-24 23:53:35 +08:00
<text class="title-font">服务时长</text><text
class="value-font">{{order.duration}}分钟</text>
2024-07-06 17:27:57 +08:00
</view>
<view class="mian-money" style="justify-content: space-between;">
<view class="flex" style="flex-direction: row;align-items: center;">
2024-07-24 23:53:35 +08:00
<view class="title-font">项目价格</view>
<view class="value-font">
2024-07-06 17:27:57 +08:00
<span class="fuhao"></span>
<span class="number">
{{order.massagePrice}}
</span>
</view>
</view>
<view class="jiajian">
<view class="jian">-</view>
<view class="view-num">{{order.massageNum}}</view>
<view class="jia">+</view>
<!-- <uni-number-box :disabled="true" :value="order.ordersMassageList[0].num" :width='27' :min="1" @change="changeValue" /> -->
</view>
</view>
</view>
</view>
<view class="mian-top-foot" @tap="bindGps(order.latitude,order.longitude,order.address)">
<view class="mian-top-foot-view">
2024-07-24 23:53:35 +08:00
<view class="title-font">客户信息</view>
2024-07-24 14:29:36 +08:00
<view class="value-font">
2024-07-24 23:53:35 +08:00
<span @tap.stop="copyAddress()"
v-if="order.status !=1 && order.status !=5 && order.status !=3 && order.status !=4">
2024-07-06 17:27:57 +08:00
{{order.userName}}
{{order.phone ? order.phone.substring(0,3) + '****' + order.phone.substring(7,11) : ''}}
<u-icon name="file-text"></u-icon>
</span>
<span v-else>
{{order.userName}}
{{order.phone ? order.phone.substring(0,3) + '****' + order.phone.substring(7,11) : ''}}
</span>
<!-- <image src="../../static/index/dianhua.png" mode=""></image> -->
</view>
</view>
<view class="mian-top-foot-view" style="margin-top: 5px;">
2024-07-24 23:53:35 +08:00
<view class="title-font">服务地址</view>
<view class="value-font" style="width: 75%;text-align: right;">
2024-07-06 17:27:57 +08:00
{{order.address}}
</view>
</view>
</view>
</view>
<view class="mian-view">
2024-07-24 23:53:35 +08:00
<view class="mina-title">
<span class="mina-title-text">订单信息</span>
<span class="mina-title-bor"></span>
</view>
2024-07-06 17:27:57 +08:00
<view class="mian-view-list" @tap="copy(order.ordersNo)">
2024-07-24 23:53:35 +08:00
<span class="title-font">订单编号</span>
<span class="value-font">
2024-07-06 17:27:57 +08:00
{{order.ordersNo}}
2024-07-24 23:53:35 +08:00
<u-icon name="file-text" />
2024-07-06 17:27:57 +08:00
</span>
2024-07-24 23:53:35 +08:00
</view>
2024-07-05 14:18:41 +08:00
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<span class="title-font">预约时间</span>
<span class="value-font">{{order.serveTime}}</span>
2024-07-05 14:18:41 +08:00
</view>
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<span class="title-font">下单时间</span>
<span class="value-font">{{order.createTime}}</span>
2024-07-05 14:18:41 +08:00
</view>
2024-07-24 23:53:35 +08:00
<view class="mian-content-textarea" v-if="order.remark!=null&&order.remark!=''">
<span class="title-font">服务备注</span>
<textarea class="textarea-mian" :disabled="true" v-model="order.remark"></textarea>
2024-07-05 14:18:41 +08:00
</view>
2024-07-24 23:53:35 +08:00
<view class="mian-content-textarea" v-if="order.earlyFinishReason!=null&&order.remark!=''">
<span class="title-font">提前结束原因</span>
<textarea class="textarea-mian" :disabled="true"
v-model="order.earlyFinishReason"></textarea>
</view>
<view class="jusitify-line-end"></view>
<view class="mina-title">
<span class="mina-title-text">订单费用</span>
<span class="mina-title-bor"></span>
2024-07-05 14:18:41 +08:00
</view>
2024-07-06 17:27:57 +08:00
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<view class="title-font">
2024-07-24 23:57:40 +08:00
{{order.packageType=='104'?'套餐':order.packageType=='105'?'次卡':order.packageType=='106'?'疗程':order.packageType=='111'?'团购':order.packageType=='112'?'秒杀':'其他'}}名称
2024-07-24 23:53:35 +08:00
</view>
<span class="value-font">
2024-07-06 17:27:57 +08:00
{{order.ordersMassageList[0].userPackageDetail.mainTitle}}
</span>
</view>
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<span class="title-font">服务项目</span>
<span class="value-font">
2024-07-06 17:27:57 +08:00
{{order.entryName}}
</span>
</view>
2024-07-20 09:56:22 +08:00
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<span class="title-font">服务时长</span>
<span class="value-font">{{order.duration}}分钟</span>
2024-07-05 14:18:41 +08:00
</view>
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<span class="title-font">项目金额</span>
<span class="value-font">{{order.priceMarkup}}</span>
2024-07-05 14:18:41 +08:00
</view>
2024-07-24 23:53:35 +08:00
<view class="mian-view-list" style="justify-content: flex-end;">
<view class="title-font">收益小计</view>
<view class="value-font" style="font-weight: bold;"><text>{{order.projectBenefits}}</text>
</view>
2024-07-06 17:27:57 +08:00
</view>
2024-07-24 23:53:35 +08:00
<view class="jusitify-line-end"></view>
<view class="mina-title">
<span class="mina-title-text">出行费用</span>
<span class="mina-title-bor"></span>
2024-07-05 14:18:41 +08:00
</view>
2024-07-24 23:53:35 +08:00
<view class="mian-view-list" v-if="order.tripWay">
<view class="title-font">出行方式</view>
<view v-if="order.tripWay == 1" class="value-font">公交</view>
<view v-if="order.tripWay == 2" class="value-font">出租</view>
<view v-if="order.tripWay == 3" class="value-font">免费</view>
2024-07-05 14:18:41 +08:00
</view>
2024-07-06 17:27:57 +08:00
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<span class="title-font">全程距离</span>
<span class="value-font">{{order.km}}km</span>
2024-07-06 17:27:57 +08:00
</view>
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<view class="title-font">出行费用</view>
<view class="value-font">{{order.usualTravelMoney}}</view>
</view>
<view class="mian-view-list" v-if="order.nightTravelMoney">
<view class="title-font">夜间出行</view>
<view class="value-font">{{order.nightTravelMoney}}</view>
</view>
<view class="mian-view-list" style="justify-content: flex-end;">
<span class="title-font">收益小计</span>
<span class="value-font" style="font-weight: bold;">{{order.artificerTaxiMoney}}</span>
</view>
<view class="jusitify-line-end"></view>
<view class="mina-title">
<span class="mina-title-text">加钟信息</span>
<span class="mina-title-bor"></span>
2024-07-06 17:27:57 +08:00
</view>
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<span class="title-font">服务项目</span>
<span class="value-font">{{order.addEntryName!=null?order.addEntryName:'-'}}</span>
2024-07-06 17:27:57 +08:00
</view>
2024-07-17 17:47:06 +08:00
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<span class="title-font">服务时长</span>
<span class="value-font">{{order.addTime}}分钟</span>
2024-07-17 17:47:06 +08:00
</view>
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<span class="title-font">项目金额</span>
<span class="value-font" v-if="order.addPriceMarkup!=null">{{order.addPriceMarkup}}</span>
<span class="value-font" v-else>-</span>
2024-07-17 17:47:06 +08:00
</view>
2024-07-06 17:27:57 +08:00
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<view class="title-font">会员减免</view>
<view class="value-font" style="color: #FF6000;">-{{order.addVipReductionMoney}}</view>
2024-07-06 17:27:57 +08:00
</view>
2024-07-24 23:53:35 +08:00
<view class="mian-view-list" style="justify-content: flex-end;">
<view class="title-font">收益小计</view>
<view class="value-font" style="font-weight: bold;">
2024-08-08 22:44:40 +08:00
<text>{{order.addProjectBenefits}}</text></view>
2024-07-24 23:53:35 +08:00
</view>
<view class="jusitify-line-end"></view>
<view class="mina-title">
<span class="mina-title-text">预计收益</span>
<span class="mina-title-bor"></span>
2024-07-06 17:27:57 +08:00
</view>
2024-07-05 14:18:41 +08:00
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<span class="title-font">提成比例</span>
<span class="value-font" style="font-weight: bold;">{{order.artificerRate*100}}%</span>
2024-07-05 14:18:41 +08:00
</view>
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<span class="title-font">项目收益</span>
<span class="value-font" style="font-weight: bold;"
v-if="order.isSupplement">{{order.oldProjectBenefits}}</span>
<span class="value-font" style="font-weight: bold;" v-else>{{order.projectBenefits}}</span>
2024-07-05 14:18:41 +08:00
</view>
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<span class="title-font">车费收益</span>
<span class="value-font" style="font-weight: bold;">{{order.artificerTaxiMoney}}</span>
2024-07-06 17:27:57 +08:00
</view>
<view class="mian-view-list">
2024-07-24 23:53:35 +08:00
<span class="title-font">加钟收益</span>
<span class="value-font"
style="font-weight: bold;">{{order.addArtificerMoney!=null?order.addArtificerMoney:0}}</span>
2024-07-05 14:18:41 +08:00
</view>
2024-08-08 22:44:40 +08:00
<view class="mian-view-list">
<span class="title-font">门店分佣</span>
<span class="value-font"
style="font-weight: bold;color: #FF6000;">-{{order.shopMoneyTotal}}</span>
</view>
<view class="mian-view-list">
<span class="title-font">经纪人分佣</span>
<span class="value-font"
style="font-weight: bold;color: #FF6000;">-{{order.jjrArtificerDeductMoneyTotal}}</span>
</view>
<view class="mian-view-list">
<span class="title-font">分销员分佣</span>
<span class="value-font"
style="font-weight: bold;color: #FF6000;">-{{order.fxyArtificerDeductMoneyTotal}}</span>
</view>
2024-07-01 20:29:10 +08:00
</view>
2024-07-05 14:18:41 +08:00
<view class="yiji">
<view class="yuji-title">技师收益</view>
<view class="yingde-money">
<span class="fuhao-heis"></span>
<span class="num-heis">
{{order.artificerMoneyTotal}}
</span>
2024-07-01 20:29:10 +08:00
</view>
</view>
2024-07-24 23:53:35 +08:00
<view class="mian-view"
v-if="order.status=='3'||order.status=='5'||order.status=='6'||order.status=='8'">
<view v-if="order.startRemark&&order.status!='8'">
<view class="mina-title">
<span class="mina-title-text">开始备注</span>
<span class="mina-title-bor"></span>
</view>
<view class="textarea-mian" style="height: 110px;">
<textarea @input="textareaData" v-model="order.startRemark" :disabled="true"
placeholder="请输入备注信息" name="" id="" cols="30" rows="10"></textarea>
</view>
2024-07-10 17:58:54 +08:00
</view>
2024-07-24 23:53:35 +08:00
<view v-if="order.status=='8'">
<view class="mina-title">
<span class="mina-title-text">开始备注</span>
<span class="mina-title-bor"></span>
</view>
<view class="textarea-mian" style="height: 110px;">
<textarea @input="textareaData" v-model="order.startRemark" placeholder="请输入备注信息"
name="" id="" cols="30" rows="10"></textarea>
</view>
2024-07-05 14:18:41 +08:00
</view>
2024-07-24 23:53:35 +08:00
<view class="bg padding radius margin-top" v-if="order.status!='8'&&order.startImg">
<view class=""
style="font-size: 30rpx;color: #000000;font-weight: bold;margin-bottom: 20rpx;">服务前照片
</view>
<view class="flex flex-wrap justify-between">
<view class="flex margin-bottom-sm"
style="width: 48%;height: 200rpx;margin-right: 5rpx;position: relative;"
v-for="(image,index) in order.startImg" :key="index"
@click="saveImg( order.startImg,index)">
<image :src="image" style="width: 100%;height: 100%;border-radius: 10upx;"
mode="aspectFill">
</image>
</view>
2024-07-05 14:18:41 +08:00
</view>
</view>
2024-07-24 23:53:35 +08:00
<view class="bg padding radius margin-top" v-if="order.status==8 && startImgSel != '否'">
<view class=""
style="font-size: 30rpx;color: #000000;font-weight: bold;margin-bottom: 20rpx;">服务前照片
</view>
<view class="flex flex-wrap">
<view v-if="startImgs.length">
<view class="flex margin-right-sm flex-wrap">
<view class="flex"
style="width: 200rpx;height: 200rpx;margin-right: 5rpx;position: relative;"
v-for="(image,index) in startImgs" :key="index">
<image :src="pictureEcho[0]" style="width: 100%;height: 100%;"></image>
<view style="z-index: 0;position: absolute;top: -15rpx;right: -15rpx;"
@click="removeImg(index,1)">
<u-icon name="close-circle-fill" color="#2979ff" size="50rpx"></u-icon>
</view>
2024-07-05 14:18:41 +08:00
</view>
2024-07-01 20:29:10 +08:00
</view>
</view>
2024-07-24 23:53:35 +08:00
<view class="flex align-center justify-center padding-tb "
style="background: #f5f5f5;width: 200rpx;height: 200rpx;">
<view class="text-center" @click="addImage(1)">
<image src="../static/photo.png" style="width:60upx;height: 50upx;"></image>
<view class="text-sm">上传照片</view>
</view>
2024-07-05 14:18:41 +08:00
</view>
2024-07-01 20:29:10 +08:00
</view>
2024-06-26 16:58:53 +08:00
</view>
</view>
</view>
</view>
2024-07-13 10:06:01 +08:00
<view class="footers" v-if="order.refusalContent==null">
2024-06-26 16:58:53 +08:00
<view @click="cxOrder(order)" class="footers-btn footers-true" v-if="order.status == 2">
现在出发
</view>
<view @click="cxOrder(order)" class="footers-btn footers-bor" v-if="order.status == 7">
我已到达
</view>
2024-07-24 23:53:35 +08:00
<view @click="fuwuOrder(order)" class="footers-btn footers-true" v-if="order.status == 8">
2024-06-26 16:58:53 +08:00
开始服务
</view>
2024-07-24 23:53:35 +08:00
<view @click="toggle('bottom',order)" class="footers-btn footers-bor"
v-if="order.status == 6&&(order.earlyFinishReason!=null||endOfServiceTimer<0)">
2024-06-26 16:58:53 +08:00
服务完成
</view>
<view class="footers-btn footers-true" @click="nineState(order.ordersId)"
2024-07-24 23:53:35 +08:00
v-if="order.status == 9&&!order.refusalContentl">
2024-06-26 16:58:53 +08:00
确认接单
</view>
2024-07-24 23:53:35 +08:00
<view class="footers-btn footers-bor" v-if="order.status == 9&&!order.refusalContentl"
@click="toggleJ('bottom',order.ordersId)">
2024-06-26 16:58:53 +08:00
拒单申请
</view>
2024-07-10 17:58:54 +08:00
<!-- <view class="footers-btn footers-bor" @click="goMsg">联系客服11</view> -->
2024-06-26 16:58:53 +08:00
<view class="footers-btn footers-bor" @click="goChat">联系客服</view>
2024-07-04 23:07:07 +08:00
<!-- <u-button :custom-style="customStyle" shape="circle" :plain="true"
@click="bindphone(order.phone)">联系客户</u-button> -->
2024-06-26 16:58:53 +08:00
<!-- <view class="dian" @click="toggle('bottom',order)" v-if="order.status == 6">...</view> -->
</view>
2024-07-13 10:06:01 +08:00
<view class="footers" v-if="order.refusalContent!=null&&order.status=='9'">
<view class="footers-btn footers-bor" @click="goChat">联系客服</view>
</view>
2024-06-26 16:58:53 +08:00
</view>
2024-06-27 23:21:22 +08:00
<!-- <u-skeleton :loading="loading" :animation="true" bgColor="#FFF"></u-skeleton> -->
2024-06-26 16:58:53 +08:00
<!-- #ifndef H5 -->
2024-07-24 23:53:35 +08:00
<image v-if="order.status == 6" src="../../static/images/index/jinji.png" class="bj_view" @tap="goBaoJing">
</image>
2024-06-26 16:58:53 +08:00
<!-- #endif -->
<!-- 支付方式 -->
<u-popup v-model="showpay" mode="bottom" :closeable="closeable">
<view class="popup_pay">
<view style="background-color: #fff;">
<view style="padding: 0 20upx;margin-top: 60rpx;margin-bottom: 20rpx;">
<view
style="display: flex;height: 100upx;align-items: center;padding: 20upx 0;justify-content: center;"
v-for="(item,index) in openLists" :key='index'>
<image :src="item.image" style="width: 55upx;height: 55upx;border-radius: 50upx;">
</image>
<view style="font-size: 30upx;margin-left: 20upx;width: 70%;">
{{item.text}}
</view>
<radio-group name="openWay" style="margin-left: 45upx;" @tap='selectWay(item)'>
<label class="tui-radio">
<radio color="#1777FF" :checked="openWay === item.id ? true : false" />
</label>
</radio-group>
</view>
</view>
</view>
<view class="pay_btn" @click="pay()">确认支付</view>
</view>
</u-popup>
<view>
<!-- 普通弹窗 -->
2024-06-27 19:03:54 +08:00
<uni-popup ref="popupW" type="bottom" background-color="#fff">
2024-06-26 16:58:53 +08:00
<view class="popup-content">
2024-07-02 15:56:40 +08:00
<!--<view class="popup-head">
2024-06-26 16:58:53 +08:00
<span></span>
<span @click="closePopup(type)">x</span>
2024-07-02 15:56:40 +08:00
</view>-->
<view class="popup-head">
<image src="../../static/closeimg.png" class="popup-img" @click="closePopup(type)"></image>
2024-06-26 16:58:53 +08:00
</view>
<view class="popup-mian">
<view class="popup-view">
<view class="fuwu">
<view class="popup-title">服务承诺</view>
<view class="fuwu-check">
2024-07-24 23:53:35 +08:00
<uni-data-checkbox @change="change" selectedColor="#049F89" class="fuwu-checkbox"
multiple v-model="checkbox1" :localdata="hobby"></uni-data-checkbox>
2024-06-26 16:58:53 +08:00
</view>
</view>
<view class="guke">
<view class="popup-title">顾客评价</view>
<view class="guke-list">
2024-07-24 23:53:35 +08:00
<view class="guke-btn huiBtn" :class="{ lanBtn: selected.includes(item) }"
@click="gukeBtn(item)" v-for="(item,index) in fuwuBtn" :key="index">
2024-06-26 16:58:53 +08:00
{{item.title}}
</view>
</view>
</view>
<view class="beizhu">
<view class="popup-title">特殊情况备注</view>
2024-07-24 23:53:35 +08:00
<textarea @input="textareaData" class="beizhu-textarea" placeholder="本次服务中出现的特殊情况,请在此输入"
name="" id="" cols="30" rows="10"></textarea>
2024-06-26 16:58:53 +08:00
</view>
</view>
<view class="popup-mian-btn">
<span @click="closePopup(type)">
取消
</span>
<span @click="cancel(order)">
确定
</span>
</view>
</view>
</view>
</uni-popup>
</view>
<view>
<!-- 普通弹窗 -->
<uni-popup ref="popup" type="bottom" background-color="#fff">
<view class="popup-content" style="height: 255px;">
2024-07-02 15:56:40 +08:00
<!--<view class="popup-head">
2024-06-26 16:58:53 +08:00
<span></span>
<span @click="closePopupJ(type)">x</span>
2024-07-02 15:56:40 +08:00
</view>-->
<view class="popup-head">
2024-07-24 23:53:35 +08:00
<image src="../../static/closeimg.png" class="popup-img" @click="closePopupJ(type)"></image>
2024-06-26 16:58:53 +08:00
</view>
<view class="popup-mian">
<view class="popup-view">
<view class="beizhu">
2024-06-27 19:03:54 +08:00
<view class="popup-title">拒单申请原因</view>
2024-07-24 23:53:35 +08:00
<textarea class="beizhu-textarea" @input="refusa" placeholder="拒绝申请原因,请在此输入" name=""
id="" cols="30" rows="10"></textarea>
2024-06-26 16:58:53 +08:00
</view>
</view>
<view class="popup-mian-btn">
<span @click="closePopupJ(type)">
取消
</span>
<span @click="juJueState()">
确定
</span>
</view>
</view>
</view>
</uni-popup>
</view>
</view>
</template>
<script>
import * as websocketUtils from 'utils/websocketUtils.js';
2024-07-24 23:53:35 +08:00
import {
getXZX,
post,
} from "@/common/httpRequest.js";
2024-06-26 16:58:53 +08:00
export default {
// components: {
// CountDown,
// },
2024-07-24 23:53:35 +08:00
data() {
return {
2024-06-26 16:58:53 +08:00
//老 订单详情
2024-07-24 23:53:35 +08:00
jordersId: '',
2024-06-26 16:58:53 +08:00
goods: {},
startImgs: [],
startImg: '',
endImgs: [],
endImg: '',
latitude: '',
longitude: '',
loading: true,
customStyle: {
// backgroundColor: '#e5e5e5',
// color: '#FFFFFF',
2024-07-24 23:53:35 +08:00
2024-06-26 16:58:53 +08:00
// #ifdef MP-WEIXIN
width: "330upx",
// #endif
// #ifndef MP-WEIXIN
width: '111px',
2024-07-24 23:53:35 +08:00
// #endif
2024-06-26 16:58:53 +08:00
margin: '0 20upx',
},
customStyle2: {
backgroundColor: '#096f4b',
color: '#FFFFFF',
// #ifdef MP-WEIXIN
width: "330upx",
// #endif
// #ifndef MP-WEIXIN
width: '111px',
2024-07-24 23:53:35 +08:00
// #endif
2024-06-26 16:58:53 +08:00
margin: '0 20upx',
},
id: '',
order: {
user: {},
game: {}
},
isTrue: 0,
sumMoney: 0,
phone: '',
isVip: false,
birthDate: '',
age: '',
showpay: false,
openLists: [],
openWay: 1,
closeable: true,
startImgSel: '否',
pictureEcho: [],
formatEndTime: "",
endOfServiceTimer: null,
formatTimeStamp: null,
innerAudioContext: null,
orderIdSend: null,
homeMaterialPackageList: [],
currentPage: null,
pageSize: null,
//新订单详情
2024-07-24 23:53:35 +08:00
selected: [],
selectedString: '',
2024-06-26 16:58:53 +08:00
headImg: [],
2024-07-24 23:53:35 +08:00
type: 'bottom',
2024-06-26 16:58:53 +08:00
checkbox1: [0],
hobby: [{
2024-07-05 14:18:41 +08:00
text: '价格透明',
2024-06-26 16:58:53 +08:00
value: '0'
}, {
2024-07-05 14:18:41 +08:00
text: '未服务全额退',
2024-06-26 16:58:53 +08:00
value: '1'
}, {
2024-07-05 14:18:41 +08:00
text: '最快不满意重做分钟上门',
2024-06-26 16:58:53 +08:00
value: '2'
2024-07-24 23:53:35 +08:00
}, {
2024-07-05 14:18:41 +08:00
text: '7*24 小时客服',
value: '3'
2024-07-24 23:53:35 +08:00
}, {
2024-07-05 14:18:41 +08:00
text: '最快 30 分钟上门',
value: '4'
2024-06-26 16:58:53 +08:00
}],
2024-07-24 23:53:35 +08:00
fuwuBtn: [],
textareaTxt: '',
checkbox2: [],
refusalContent: '',
imgList: [],
koufeiMoney: '',
xiangmuMoney: '',
jishishouyi: ''
2024-06-26 16:58:53 +08:00
}
},
2024-07-24 23:53:35 +08:00
2024-06-26 16:58:53 +08:00
watch: {
formatTimeStamp(newValue, oldValue) {
console.log(newValue);
},
},
onLoad(e) {
setInterval(() => {
this.getOrder();
}, 120000)
this.startImgSel = this.$queue.getData('startImgSel');
uni.showLoading({
title: '加载中......'
2024-07-24 23:53:35 +08:00
2024-06-26 16:58:53 +08:00
})
let that = this;
uni.getLocation({
type: 'wgs84',
success: function(res) {
console.log('当前位置的经度:' + res.longitude);
console.log('当前位置的纬度:' + res.latitude);
that.$queue.setData('longitude', res.longitude);
that.$queue.setData('latitude', res.latitude);
that.latitude = res.latitude
that.longitude = res.longitude
}
});
// setTimeout(() => {
// // this.loading = false;
// }, 2000)
this.isTrue = e.isTrue
2024-06-28 23:12:07 +08:00
// if (this.isTrue) {
// uni.setNavigationBarTitle({
// title: '订单详情'
// })
// }
2024-06-26 16:58:53 +08:00
this.ordersId = e.ordersId
this.orderIdSend = e.ordersId;
// this.getOrder()
},
onShow() {
let that = this;
this.getOrder()
this.token = uni.getStorageSync('token')
if (uni.getStorageSync('token')) {
this.getIsVip()
}
2024-07-24 23:53:35 +08:00
2024-06-26 16:58:53 +08:00
// #ifdef APP
this.openLists = [{
image: '../../static/images/icon_weixin.png',
text: '微信',
id: 2
}, {
image: '../../static/images/lingqian.png',
text: '零钱支付',
id: 1
}, {
image: '../../static/images/zhifubao.png',
text: '支付宝支付',
id: 3
}],
this.openWay = 1;
// #endif
2024-07-24 23:53:35 +08:00
2024-06-26 16:58:53 +08:00
// #ifdef MP-WEIXIN
this.openLists = [{
image: '../../static/images/icon_weixin.png',
text: '微信',
id: 2
}, {
image: '../../static/images/lingqian.png',
text: '零钱支付',
id: 1
}],
this.openWay = 1;
// #endif
2024-07-24 23:53:35 +08:00
2024-06-26 16:58:53 +08:00
// #ifdef H5
this.openLists = [{
image: '../../static/images/lingqian.png',
text: '零钱支付',
id: 1
}, {
image: '../../static/images/zhifubao.png',
text: '支付宝支付',
id: 3
}],
this.openWay = 1;
// #endif
},
onPullDownRefresh() {
this.getOrder();
},
destroyed() {
if (this.innerAudioContext) {
try {
this.innerAudioContext.pause();
this.innerAudioContext.destroy();
this.innerAudioContext = null;
} catch (e) {
2024-07-24 23:53:35 +08:00
2024-06-26 16:58:53 +08:00
}
}
},
2024-07-24 23:53:35 +08:00
methods: {
2024-06-30 19:12:41 +08:00
getOrder() {
let data = {
ordersId: this.ordersId
}
this.$Request.get('/app/artificer/selectOrdersDetails', data).then(res => {
if (res.code == 0) {
this.goods = [];
this.loading = false
uni.hideLoading()
this.order = res.data;
//扣费明细 小计
2024-08-08 22:44:40 +08:00
// this.koufeiMoney = this.order.channelDeduction + this.order.valueStorageDeduction + this
// .order.pingMoney
2024-06-30 19:12:41 +08:00
//预计收益下面 实际金额
2024-08-08 22:44:40 +08:00
// this.xiangmuMoney = this.order.massagePrice * this.order.ordersMassageList[0].num * (this
// .order.vipRate / 100) * (1 + this.order.technicianRate / 100)
2024-07-24 23:53:35 +08:00
//技师的总共收益
2024-06-30 19:12:41 +08:00
//技师收益(升级)=升级后项目价格488*会议折扣0.9-优惠卷14* 分成比例0.65* 用户余额比例0.9) + 车费14
// this.jishishouyi=((this.xiangmuMoney-this.order.couponMoney)*this.order.artificerRate*(this.order.walletRate/100)+this.order.taxiMoney+order.addMoney).toFixed(2)
2024-08-08 22:44:40 +08:00
// this.jishishouyi = (((this.xiangmuMoney + this.order.addMoney + this.order.taxiMoney - this
// .order.couponMoney) - this.order.couponMoney) * this.order.artificerRate * (
// this.order.walletRate / 100) + this.order.taxiMoney).toFixed(2)
2024-06-30 19:12:41 +08:00
this.formatEndTime = res.data.endTime;
if (this.order.artificerTaxiMoney && this.order.sumArtificerMoney) {
this.sumMoney = parseFloat(parseFloat(this.order.sumArtificerMoney) - parseFloat(this
.order.artificerTaxiMoney)).toFixed(2);
} else {
this.sumMoney = this.order.sumArtificerMoney;
}
if (this.order.startImg) {
this.order.startImg = this.order.startImg.split(',')
}
if (this.order.endServiceImg) {
this.order.endServiceImg = this.order.endServiceImg.split(',')
}
let aliphone = this.$queue.getData('aliphone');
if (aliphone === '是' && this.order.artificer) {
this.ysPhone(this.order.phone, this.order.artificer.phone);
}
if (res.data.status == 6 && res.data.endTime) {
let afterTimeStamp = new Date(res.data.endTime).getTime() / 1000;
let currentTimeStamp = new Date().getTime() / 1000;
let formatTimeStamp = Math.floor(afterTimeStamp - currentTimeStamp);
this.endOfServiceTimer = formatTimeStamp;
2024-07-24 23:53:35 +08:00
console.log("eeee", this.endOfServiceTimer);
2024-06-30 19:12:41 +08:00
}
this.goods = res.data;
// if (this.$refs.countDownEl) this.$refs.countDownEl.update();
uni.stopPullDownRefresh();
}
})
},
2024-07-24 23:53:35 +08:00
goBack() { //返回上一页
console.log("asdsad")
2024-06-28 23:12:07 +08:00
uni.switchTab({
2024-07-24 23:53:35 +08:00
url: '/pages/order/index'
2024-06-28 23:12:07 +08:00
})
},
2024-07-24 23:53:35 +08:00
refusa(e) { //拒绝接单 原因
this.refusalContent = e.detail.value
2024-06-26 16:58:53 +08:00
},
2024-07-24 23:53:35 +08:00
closePopupJ(type) { // 关闭弹出框
2024-06-26 16:58:53 +08:00
this.type = type
this.$refs.popup.close(type);
},
2024-07-24 23:53:35 +08:00
toggleJ(type, ordersId) { // 弹出框
2024-06-26 16:58:53 +08:00
this.jordersId = ordersId;
2024-07-24 23:53:35 +08:00
this.type = type;
2024-06-26 16:58:53 +08:00
// open 方法传入参数 等同在 uni-popup 组件上绑定 type属性
this.$refs.popup.open(type)
},
2024-07-24 23:53:35 +08:00
juJueState() {
var that = this
if (that.refusalContent) {
that.$Request.getT("/app/artificer/jishiJdsq", {
ordersId: that.jordersId,
refusalContent: that.refusalContent
2024-06-26 16:58:53 +08:00
}).then(res => {
if (res.code == 0) {
that.$queue.showToast(res.msg);
this.$refs.popup.close(this.type);
2024-07-04 23:07:07 +08:00
uni.switchTab({
2024-07-24 23:53:35 +08:00
url: '/pages/order/index'
2024-07-04 23:07:07 +08:00
})
2024-07-24 23:53:35 +08:00
2024-06-26 16:58:53 +08:00
} else {
that.$queue.showToast(res.msg);
}
});
2024-07-24 23:53:35 +08:00
} else {
2024-06-26 16:58:53 +08:00
uni.showToast({
2024-07-24 23:53:35 +08:00
icon: "error",
title: '请填写拒单原因'
2024-06-26 16:58:53 +08:00
})
}
2024-07-24 23:53:35 +08:00
2024-06-26 16:58:53 +08:00
},
2024-07-24 23:53:35 +08:00
nineState(ordersId) { //确认接单
var that = this;
this.$Request.getT("/app/artificer/jishiQueren", {
ordersId: ordersId
2024-06-26 16:58:53 +08:00
}).then(res => {
2024-06-28 23:12:07 +08:00
if (res.code == 200) {
that.getOrder()
2024-06-26 16:58:53 +08:00
that.$queue.showToast(res.msg);
} else {
that.$queue.showToast(res.msg);
}
});
},
2024-07-24 23:53:35 +08:00
gukeBtn(item) {
2024-06-26 16:58:53 +08:00
var index = this.selected.indexOf(item);
2024-07-24 23:53:35 +08:00
if (index === -1) {
2024-06-26 16:58:53 +08:00
this.selected.push(item);
2024-07-24 23:53:35 +08:00
} else {
2024-06-26 16:58:53 +08:00
this.selected.splice(index, 1);
2024-07-24 23:53:35 +08:00
}
var data = [];
for (var i = 0; i < this.selected.length; i++) {
data.push(this.selected[i].title)
}
this.selectedString = data.join(",")
2024-06-26 16:58:53 +08:00
},
2024-07-24 23:53:35 +08:00
textareaData(e) {
this.textareaTxt = e.detail.value
2024-06-26 16:58:53 +08:00
},
2024-07-24 23:53:35 +08:00
change(e) { //选服务承诺
var data = e.detail.data;
var chec = [];
for (var i = 0; i < data.length; i++) {
chec[i] = data[i].text
}
this.checkbox2 = chec.join(',');
2024-06-26 16:58:53 +08:00
},
2024-07-24 23:53:35 +08:00
toggle(type, order) { // 弹出框
2024-06-26 16:58:53 +08:00
this.type = type
// open 方法传入参数 等同在 uni-popup 组件上绑定 type属性
2024-06-27 19:03:54 +08:00
this.$refs.popupW.open(type);
2024-06-26 16:58:53 +08:00
this.$Request.getT('/app/artificer/getPingjiaTagList').then(res => {
if (res.code == 0) {
2024-07-24 23:53:35 +08:00
this.fuwuBtn = res.data;
2024-06-26 16:58:53 +08:00
} else {
this.$queue.showToast(res.msg);
}
});
},
2024-07-24 23:53:35 +08:00
fuwuOrder(e) { //开始服务
2024-06-26 16:58:53 +08:00
let startImg = '';
if (this.startImgSel === '是') {
if (this.startImgs.length == 0) {
this.$queue.showToast('请上传开始服务图片!');
return;
} else {
startImg = this.startImgs.toString();
}
}
let that = this
uni.showModal({
title: '提示',
content: '确认开始服务吗?',
success: function(res) {
if (res.confirm) {
let data = {
ordersId: e.ordersId,
startLongitude: that.longitude,
startLatitude: that.latitude,
startImg: startImg,
2024-07-24 23:53:35 +08:00
startRemark: that.textareaTxt
2024-06-26 16:58:53 +08:00
}
that.$queue.showLoading('提交中...')
that.$Request.post('/app/artificer/startOrders', data).then(res => {
uni.hideLoading();
if (res.code == 0) {
that.getOrder()
websocketUtils.uploadAudioStart(); //开启音频录制
2024-07-13 13:45:15 +08:00
uni.hideLoading();
2024-06-26 16:58:53 +08:00
} else {
that.$queue.showToast(res.msg);
}
})
} else if (res.cancel) {
console.log('用户点击取消');
}
}
});
},
// 完成订单
cancel(e) {
let that = this
let artificerId = uni.getStorageSync("artificerId");
let jumpRootStatus = false;
uni.showModal({
title: '提示',
content: '如果服务未完成点击完成订单会遭到平台违规处理,请确认服务是否完毕?',
success: async function(res) {
if (res.confirm) {
let data = {
ordersId: e.ordersId,
2024-07-13 13:45:15 +08:00
accomplishLongitude: '125.430647',
accomplishLatitude: '43.880721',
// accomplishLongitude: that.longitude,
// accomplishLatitude: that.latitude,
2024-07-24 23:53:35 +08:00
jsFwcn: that.checkbox2,
jsPjtag: that.selectedString,
jsTsbz: that.textareaTxt
2024-06-26 16:58:53 +08:00
}
that.$queue.showLoading('提交中...')
2024-07-24 23:53:35 +08:00
2024-06-26 16:58:53 +08:00
let resA = await post('/app/artificer/accomplishOrders', data);
2024-07-24 23:53:35 +08:00
if (resA.code == 0 || resA.code == 200) {
that.$refs.popupW.close("bottom");
that.getOrder();
websocketUtils.uploadAudioEnd(); //关闭音频上传
uni.showToast({
title: '操作成功!'
});
uni.hideLoading();
// uni.switchTab({
// url:'/pages/order/index'
// })
} else {
uni.showToast({
icon: 'error',
2024-08-13 00:13:06 +08:00
title:resA.msg
2024-07-24 23:53:35 +08:00
})
uni.hideLoading();
2024-07-13 10:06:01 +08:00
}
2024-07-24 23:53:35 +08:00
2024-06-26 16:58:53 +08:00
// let resB = await getXZX("/app/material/selectMaterialArtificer?artificerId=" +
// artificerId + "&page=" +
// (this
// .currentPage ? this
// .currentPage : '') + "&limit=" + (this.pageSize ? this.pageSize : ''));
// console.log(resB);
// if (resB && resB.data && resB.code == 0) {
// that.homeMaterialPackageList = resB?.data;
// }
// let materialPackageCountFlag = that.homeMaterialPackageList.some((item) => item
// .residue <= item
// .materialMinimum);
// if (materialPackageCountFlag) {
// jumpRootStatus = false;
// let resC = await post('/app/artificer/offline', );
// if (resC && resC.code == 0) {
// that.$queue.showToast("当前剩余物料包数量不足,已强制离线");
// } else {
// that.$queue.showToast(resC.msg);
// }
// }
// setTimeout(() => {
// uni.navigateBack();
// }, 1600)
} else if (res.cancel) {
console.log('用户点击取消');
}
}
});
},
//老订单 方法
onCountdownChange(e) {
if (e == 183) {
if (this.innerAudioContext) {
try {
this.innerAudioContext.pause();
this.innerAudioContext.destroy();
this.innerAudioContext = null;
} catch (e) {
2024-07-24 23:53:35 +08:00
2024-06-26 16:58:53 +08:00
}
}
this.innerAudioContext = uni.createInnerAudioContext();
this.innerAudioContext.autoplay = true;
this.innerAudioContext.src = "../../static/endServerTimer.mp3";
this.innerAudioContext.onPlay(() => {
console.log('开始播放');
});
this.innerAudioContext.onError((res) => {
console.log(res.errMsg);
console.log(res.errCode);
});
}
},
// 触发uni倒计时组件服务时间3分钟时播放提示音
timeFormat(param) {
return param < 10 ? '0' + param : param;
},
goBaoJing() {
uni.navigateTo({
url: '/pages/index/jinji'
});
},
goChat() {
2024-07-24 23:53:35 +08:00
let kefu = this.$queue.getData('kefu'); // 用户端联系方式 1 手机号 2企业微信
2024-06-26 16:58:53 +08:00
let kefuPhone = this.$queue.getData('kefuPhone');
if (uni.getStorageSync('token')) {
if (kefu == 1) {
uni.makePhoneCall({
phoneNumber: kefuPhone //仅为示例
});
} else {
// #ifdef MP-WEIXIN
let that = this
try {
wx.openCustomerServiceChat({
extInfo: {
url: that.$queue.getData('kefuUrl')
},
corpId: that.$queue.getData('kefuAppId'),
success(res) {},
fail(res) {
console.error(res)
}
})
} catch (error) {
console.error("catchcatch" + error)
uni.showToast({
title: '请更新至微信最新版本'
});
}
// #endif
// #ifndef MP-WEIXIN
let url = this.$queue.getData('kefuUrl');
if (url.indexOf('/pages/') !== -1 || url.indexOf('/my/') !== -1) {
uni.navigateTo({
url
});
} else {
//#ifndef H5
uni.navigateTo({
url: '/pages/index/webView?url=' + url
});
//#endif
//#ifdef H5
window.location.href = url;
//#endif
}
// #endif
}
} else {
uni.showModal({
title: '提示',
content: '您还未登录,请先登录',
success: function(res) {
if (res.confirm) {
console.log('用户点击确定');
uni.navigateTo({
url: '/pages/public/login'
})
} else if (res.cancel) {
console.log('用户点击取消');
}
}
})
}
},
copy(num) {
uni.setClipboardData({
data: num,
success: r => {
this.$queue.showToast('复制成功');
}
});
},
//支付选择
selectWay: function(item) {
this.openWay = item.id;
},
//换算年龄
getAge(e) {
console.log('出生日期:' + e)
this.birthDate = e
//创建系统日期
var today = new Date();
//把出生日期转换成日期
this.birthDate = new Date(this.birthDate);
//分别获取到年份后相减
this.age = today.getFullYear() - this.birthDate.getFullYear();
// console.log(this.age+'当前年龄')
},
// 修改订单地址
undateAdd(order) {
if (order.state == 0) {
uni.navigateTo({
url: '../address/address?order=' + order.ordersId + '&id=' + 3
})
}
},
copyAddress() {
uni.setClipboardData({
data: this.order.userName + '\n' + this.order.phone + '\n' + this.order.address,
success: r => {
this.$queue.showToast('复制成功');
}
});
},
// 一键导航
bindGps(latitude, longitude, name, detailsadd) {
console.log(latitude, longitude, name, detailsadd)
uni.openLocation({
2024-07-24 23:53:35 +08:00
latitude: latitude - 0, //要去的纬度-地址
2024-06-26 16:58:53 +08:00
longitude: longitude - 0, //要去的经度-地址
name: name, //地址名称
address: detailsadd, //详细地址名称
success: function() {
console.log('导航成功');
},
fail: function(error) {
console.log(error)
}
});
},
// 拨打电话
bindphone(phone) {
let that = this
uni.showModal({
title: '提示',
content: '是否拨打电话',
success: function(res) {
if (res.confirm) {
console.log('用户点击确定', phone);
uni.makePhoneCall({
phoneNumber: phone //仅为示例
});
} else if (res.cancel) {
console.log('用户点击取消');
}
}
});
},
goNav(e) {
uni.navigateTo({
url: e
})
},
ysPhone(phoneA, phoneB) {
this.$Request.getT('/app/user/insertVirtualPhone?phoneA=' + phoneA + '&phoneB=' + phoneB).then(res => {
if (res.code == 0) {
this.order.phone = res.data;
}
});
},
2024-07-24 23:53:35 +08:00
2024-06-26 16:58:53 +08:00
delOrder(e) {
let that = this
uni.showModal({
title: '提示',
content: '确定删除订单吗?',
success: function(res) {
if (res.confirm) {
let data = {
ordersId: e.ordersId,
}
that.$queue.showLoading('删除中...')
that.$Request.post('/app/artificer/removeOrders', data).then(res => {
uni.hideLoading();
if (res.code == 0) {
uni.showToast({
name: "删除成功"
})
uni.navigateBack()
} else {
that.$queue.showToast(res.msg);
}
})
} else if (res.cancel) {
console.log('用户点击取消');
}
}
});
},
getIsVip() {
this.$Request.get("/app/UserVip/isUserVip").then(res => {
if (res.code == 0) {
this.isVip = res.data
uni.setStorageSync('isVIP', res.data)
}
});
},
openpay() {
this.showpay = true
},
// 支付订单
pay() {
let that = this
if (that.openWay == 1) { //零钱支付
uni.showModal({
title: '付款提示',
content: '确认支付' + that.order.payMoney + '元吗?',
success: function(re) {
if (re.confirm) {
console.log('用户点击确定');
that.$queue.showLoading('支付中...')
that.$Request.post("/app/artificer/payOrders", {
ordersId: that.order.ordersId,
}).then(res => {
uni.hideLoading();
if (res.code == 0) {
uni.showToast({
title: '支付成功'
})
that.getOrder()
} else {
uni.showToast({
title: res.msg,
icon: 'none'
})
}
});
} else if (re.cancel) {
console.log('用户点击取消');
}
}
2024-07-24 23:53:35 +08:00
2024-06-26 16:58:53 +08:00
})
} else if (that.openWay == 2) { //微信支付
// #ifdef MP-WEIXIN
let data = {
orderId: that.order.ordersId,
// type: 3
}
that.$Request.post('/app/wxPay/wxPayMpOrder', data).then(ret => {
console.log(ret)
if (ret.code == 0) {
this.showpay = false
uni.requestPayment({
provider: 'wxpay',
timeStamp: ret.data.timestamp,
nonceStr: ret.data.noncestr,
package: ret.data.package,
signType: ret.data.signType,
paySign: ret.data.sign,
success: function(ret) {
console.log(ret)
uni.showToast({
title: '支付成功',
icon: 'none'
})
that.getOrder()
// this.$queue.showToast('支付成功');
2024-07-24 23:53:35 +08:00
2024-06-26 16:58:53 +08:00
// uni.switchTab({
// url: '/pages/my/index'
// })
},
fail: function(err) {
// this.$queue.showToast('支付失败');
uni.showToast({
title: '支付失败',
icon: 'nones'
});
that.getOrder()
}
});
}
});
// #endif
2024-07-24 23:53:35 +08:00
2024-06-26 16:58:53 +08:00
// #ifdef H5
let data = {
orderId: that.order.ordersId,
// type: 2
}
that.$Request.post('/app/wxPay/wxPayJsApiOrder', data).then(rea => {
that.showpay = false
that.callPay(rea);
});
// #endif
2024-07-24 23:53:35 +08:00
2024-06-26 16:58:53 +08:00
// #ifdef APP
let data = {
orderId: that.order.ordersId,
// type: 1
}
that.$Request.post('/app/wxPay/payAppOrder', data).then(rea => {
console.log(rea)
that.showpay = false
if (rea.code == 0) {
that.isCheckPay(rea.code, 'wxpay', JSON.stringify(rea.data));
}
});
// #endif
} else if (that.openWay == 3) { //支付宝支付
// #ifdef H5
let data = {
ordersId: that.order.ordersId,
type: 2
}
that.$Request.post('/app/aliPay/payOrder', data).then(
rea => {
that.showpay = false
const div = document.createElement('div')
div.innerHTML = rea.data //此处form就是后台返回接收到的数据
document.body.appendChild(div)
document.forms[0].submit()
});
// #endif
2024-07-24 23:53:35 +08:00
2024-06-26 16:58:53 +08:00
// #ifdef APP-PLUS
let data = {
ordersId: that.order.ordersId,
type: 1
}
that.$Request.post('/app/aliPay/payOrder', data).then(
rea => {
that.showpay = false
that.setPayment('alipay', rea.data);
});
// #endif
}
},
callPay: function(response) {
if (typeof WeixinJSBridge === "undefined") {
if (document.addEventListener) {
document.addEventListener('WeixinJSBridgeReady', this.onBridgeReady(response), false);
} else if (document.attachEvent) {
document.attachEvent('WeixinJSBridgeReady', this.onBridgeReady(response));
document.attachEvent('onWeixinJSBridgeReady', this.onBridgeReady(response));
}
} else {
this.onBridgeReady(response);
}
2024-07-24 23:53:35 +08:00
},
2024-06-26 16:58:53 +08:00
onBridgeReady: function(response) {
let that = this;
if (!response.package) {
return;
}
WeixinJSBridge.invoke(
'getBrandWCPayRequest', {
"appId": response.appid, //公众号名称,由商户传入
"timeStamp": response.timestamp, //时间戳自1970年以来的秒数
"nonceStr": response.noncestr, //随机串
"package": response.package,
"signType": response.signType, //微信签名方式:
"paySign": response.sign //微信签名
},
function(res) {
if (res.err_msg === "get_brand_wcpay_request:ok") {
// 使用以上方式判断前端返回,微信团队郑重提示:
//res.err_msg将在用户支付成功后返回ok但并不保证它绝对可靠。
uni.hideLoading();
2024-07-24 23:53:35 +08:00
2024-06-26 16:58:53 +08:00
uni.showToast({
title: '支付成功',
icon: 'none'
})
that.getOrder()
} else {
uni.hideLoading();
}
WeixinJSBridge.log(response.err_msg);
}
);
},
isCheckPay(code, name, order) {
if (code == 0) {
this.setPayment(name, order);
} else {
uni.hideLoading();
uni.showToast({
title: '支付信息有误'
});
}
},
setPayment(name, order) {
let that = this
uni.requestPayment({
provider: name,
orderInfo: order, //微信、支付宝订单数据
success: function(res) {
uni.hideLoading();
uni.showToast({
title: '支付成功',
icon: 'none'
})
that.getOrder()
},
fail: function(err) {
uni.hideLoading();
},
complete() {
uni.hideLoading();
}
});
},
cxOrder(e) {
let contentName = '确认已经出发了吗?';
if (e.status == 7) {
contentName = '确认到达服务地点准备开始服务了吗?';
}
let that = this
uni.showModal({
title: '提示',
content: contentName,
success: function(res) {
if (res.confirm) {
let data = {
ordersId: e.ordersId
}
that.$queue.showLoading('提交中...')
that.$Request.post('/app/artificer/artificerStartOrEndTime', data).then(res => {
uni.hideLoading();
if (res.code == 0) {
that.getOrder()
} else {
that.$queue.showToast(res.msg);
}
})
} else if (res.cancel) {
console.log('用户点击取消');
}
}
});
},
2024-07-24 23:53:35 +08:00
2024-06-26 16:58:53 +08:00
// 取消订单
cancelOrder(e) {
let that = this
uni.showModal({
title: '提示',
content: '确认取消订单吗?取消订单将会被扣除信用分!',
success: function(res) {
if (res.confirm) {
let data = {
ordersId: e.ordersId
}
that.$queue.showLoading('提交中...')
that.$Request.post('/app/artificer/deleteOrders', data).then(res => {
uni.hideLoading();
if (res.code == 0) {
2024-07-06 17:27:57 +08:00
that.getOrder();
uni.showToast({
2024-07-24 23:53:35 +08:00
title: '操作成功!'
2024-07-06 17:27:57 +08:00
})
2024-06-26 16:58:53 +08:00
} else {
that.$queue.showToast(res.msg);
}
})
} else if (res.cancel) {
console.log('用户点击取消');
}
}
});
},
// 查看图片
saveImg(imgs, index) {
if (this.LBSelect) {
if (index == this.LBIndex - 1) {
return;
}
}
// console.log(imgs)
let that = this;
let imgArr = imgs
// imgArr.push(imgs);
// //预览图片
uni.previewImage({
urls: imgArr,
current: imgArr[index],
});
},
removeImg(index, state) {
if (state == 1) {
this.startImgs.splice(index, 1)
} else if (state == 2) {
this.endImgs.splice(index, 1)
}
},
// 图片上传
addImage(e) {
console.log(11)
let that = this;
uni.chooseImage({
count: 6,
sourceType: ['camera'],
success: res => {
// 用于拍照后回显
let urlName = "";
if (e == 1) {
urlName = websocketUtils.getBaseUrl() + '/alioss/uploadWatermark';
}
console.log(urlName);
if (res && res.tempFilePaths.length > 0) that.pictureEcho.push(res.tempFilePaths[0]);
for (let i = 0; i < res.tempFilePaths.length; i++) {
that.$queue.showLoading("上传中...");
uni.uploadFile({ // 上传接口
// url: websocketUtils.uploadFileUrl(), //真实的接口地址
url: urlName, //真实的接口地址
filePath: res.tempFilePaths[i],
name: 'file',
success: (uploadFileRes) => {
if (e == 1) {
console.log(JSON.parse(uploadFileRes.data).data)
that.startImgs.push(JSON.parse(uploadFileRes.data).data)
} else if (e == 2) {
that.endImgs.push(JSON.parse(uploadFileRes.data).data)
}
uni.hideLoading();
},
fail(err) {
console.log(err);
}
});
}
}
})
},
// 获取APP端当前物料包剩余数量及最小消耗数量判断如果剩余数量少于最小消耗数量时
getHomeMaterialPackageList() {
let artificerId = uni.getStorageSync("artificerId");
let that = this;
getXZX("/app/material/selectMaterialArtificer?artificerId=" + artificerId + "&page=" +
(this
.currentPage ? this
.currentPage : '') + "&limit=" + (this.pageSize ? this.pageSize : '')).then(async (res) => {
if (res && res.data && res.code === 0) {
that.homeMaterialPackageList = res?.data;
}
})
},
2024-07-24 23:53:35 +08:00
2024-06-26 16:58:53 +08:00
goMsg() {
let data = {
userId: uni.getStorageSync('userId'),
focusedUserId: this.order.user.userId
}
this.$Request.postJson('/app/chat/insertChatConversation ', data).then(res => {
if (res.code == 0) {
let id = this.order.user.userId == res.data.userId ? res.data.focusedUserId : this.order
.user.userId
uni.navigateTo({
url: '/pages/msg/im?chatConversationId=' + res.data.chatConversationId +
'&byUserId=' + id
})
}
})
},
//新订单 方法
2024-07-24 23:53:35 +08:00
closePopup(type) { // 关闭弹出框
2024-06-26 16:58:53 +08:00
this.type = type
2024-06-27 19:03:54 +08:00
this.$refs.popupW.close(type);
2024-06-26 16:58:53 +08:00
},
2024-07-24 23:53:35 +08:00
2024-06-26 16:58:53 +08:00
}
}
</script>
<style scoped>
2024-07-24 23:53:35 +08:00
.view-num {
2024-06-30 19:12:41 +08:00
margin: 0 2px;
height: 26px;
text-align: center;
font-size: 14px;
border-width: 0;
background: rgb(245, 245, 245);
color: rgb(51, 51, 51);
width: 27px;
line-height: 26px;
}
2024-07-24 23:53:35 +08:00
.jia {
2024-06-30 19:12:41 +08:00
line-height: 28px !important;
}
2024-07-24 23:53:35 +08:00
.jian,
.jia {
2024-06-30 19:12:41 +08:00
height: 28px;
line-height: 28px;
color: #c0c0c0 !important;
cursor: not-allowed;
font-size: 20px;
font-weight: 300;
padding: 0 8px;
background: rgb(245, 245, 245);
cursor: pointer;
border-top-left-radius: 2px;
border-bottom-left-radius: 2px;
}
2024-07-24 23:53:35 +08:00
.jiajian {
2024-06-30 19:12:41 +08:00
display: flex;
flex-direction: row;
align-items: center;
}
2024-07-24 23:53:35 +08:00
.nav-text {
2024-06-28 23:12:07 +08:00
font-weight: 700;
font-size: 16px;
line-height: 30px;
text-align: center;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
font-size: 16px;
opacity: 1;
color: #000;
}
2024-07-24 23:53:35 +08:00
.nav-img,
.kong {
2024-06-28 23:12:07 +08:00
width: 25px;
height: 25px;
}
2024-07-24 23:53:35 +08:00
.nav-view {
position: fixed;
left: var(--window-left);
right: var(--window-right);
height: 60px;
height: calc(60px + constant(safe-area-inset-top));
height: calc(60px + env(safe-area-inset-top));
padding: 7px 3px;
padding-top: calc(7px + constant(safe-area-inset-top));
padding-top: calc(7px + env(safe-area-inset-top));
display: -webkit-box;
display: -webkit-flex;
display: flex;
flex-direction: row;
align-items: flex-end;
overflow: hidden;
-webkit-box-pack: justify;
-webkit-justify-content: space-between;
justify-content: space-between;
box-sizing: border-box;
z-index: 998;
background-color: #fff;
-webkit-transition-property: all;
transition-property: all;
2024-06-28 23:12:07 +08:00
}
2024-07-24 23:53:35 +08:00
2024-06-26 16:58:53 +08:00
.bj_view {
width: 100rpx;
height: 100rpx;
border-radius: 100rpx;
position: fixed;
right: 30rpx;
bottom: 180rpx;
}
2024-07-24 23:53:35 +08:00
.beizhu-textarea {
2024-06-26 16:58:53 +08:00
width: 100%;
height: 199rpx;
background-color: rgba(226, 226, 226, 0.3);
border-radius: 14rpx;
padding: 10px;
}
2024-07-24 23:53:35 +08:00
.guke-list {
2024-06-26 16:58:53 +08:00
width: 100%;
display: flex;
flex-direction: row;
align-items: center;
flex-wrap: wrap;
box-sizing: border-box;
}
2024-07-24 23:53:35 +08:00
.huiBtn {
2024-07-11 17:38:02 +08:00
background: #f6f6f6;
2024-06-26 16:58:53 +08:00
color: #333333;
}
2024-07-24 23:53:35 +08:00
.lanBtn {
2024-06-26 16:58:53 +08:00
background-color: #049F89;
color: #fff;
}
2024-07-24 23:53:35 +08:00
.guke-btn {
2024-06-26 16:58:53 +08:00
width: 23%;
height: 55rpx;
margin-left: 5px;
text-align: center;
line-height: 55rpx;
font-weight: bold;
font-size: 25rpx;
border-radius: 14rpx;
margin-bottom: 10px;
}
2024-07-24 23:53:35 +08:00
/deep/.uni-data-checklist .checklist-group .checklist-box .checkbox__inner .checkbox__inner-icon {
2024-06-26 16:58:53 +08:00
top: 0px;
left: 5px;
height: 13px;
width: 8px;
}
2024-07-24 23:53:35 +08:00
/deep/.uni-data-checklist .checklist-group .checklist-box .checklist-content .checklist-text {
2024-06-26 16:58:53 +08:00
font-size: 28rpx;
}
2024-07-24 23:53:35 +08:00
/deep/.uni-data-checklist .checklist-group .checklist-box .checkbox__inner {
2024-06-26 16:58:53 +08:00
width: 44.44rpx;
height: 44.44rpx;
border-radius: 50%;
}
2024-07-24 23:53:35 +08:00
/deep/.uni-data-checklist {
2024-06-26 16:58:53 +08:00
display: flex;
flex-direction: column;
}
2024-07-24 23:53:35 +08:00
/deep/.uni-data-checklist /deep/.checklist-group {
2024-06-26 16:58:53 +08:00
flex-direction: column;
}
2024-07-24 23:53:35 +08:00
.popup-title {
2024-06-26 16:58:53 +08:00
font-weight: bold;
font-size: 29rpx;
color: #333333;
margin-bottom: 10px;
}
2024-07-24 23:53:35 +08:00
.fuwu,
.guke,
.beizhu {
2024-06-26 16:58:53 +08:00
width: 100%;
display: flex;
margin-top: 20px;
flex-direction: column;
}
2024-07-24 23:53:35 +08:00
.popup-view {
2024-06-26 16:58:53 +08:00
width: 100%;
display: flex;
flex-direction: column;
}
2024-07-24 23:53:35 +08:00
.popup-mian-btn span:nth-child(1) {
2024-06-26 16:58:53 +08:00
background: linear-gradient(90deg, #FE912E, #FF9970);
}
2024-07-24 23:53:35 +08:00
.popup-mian-btn span:nth-child(2) {
2024-06-26 16:58:53 +08:00
background: linear-gradient(90deg, #019C88, #28BA92, #35C495);
}
2024-07-24 23:53:35 +08:00
.popup-mian-btn span {
2024-06-26 16:58:53 +08:00
width: 247rpx;
height: 77rpx;
line-height: 77rpx;
text-align: center;
font-weight: 400;
font-size: 32rpx;
color: #FFFEFE;
border-radius: 39rpx;
}
2024-07-24 23:53:35 +08:00
.popup-mian-btn {
2024-06-26 16:58:53 +08:00
width: 100%;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
margin-top: 10px;
}
2024-07-24 23:53:35 +08:00
.popup-mian {
2024-06-26 16:58:53 +08:00
width: 88%;
display: flex;
flex-direction: column;
margin: 5px auto 0px auto;
}
2024-07-24 23:53:35 +08:00
.popup-head span:nth-child(2) {
2024-06-26 16:58:53 +08:00
width: 50rpx;
height: 50rpx;
2024-07-02 15:56:40 +08:00
}
2024-07-24 23:53:35 +08:00
.popup-img {
2024-07-02 15:56:40 +08:00
width: 55rpx;
height: 55rpx;
position: absolute;
2024-07-24 23:53:35 +08:00
right: 22rpx;
2024-06-26 16:58:53 +08:00
}
2024-07-24 23:53:35 +08:00
.popup-head span:nth-child(1) {
2024-06-26 16:58:53 +08:00
font-weight: bold;
font-size: 32rpx;
color: #333333;
}
2024-07-24 23:53:35 +08:00
.popup-head {
2024-06-26 16:58:53 +08:00
width: 100%;
background-color: rgba(21, 171, 141, 0.09);
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
2024-07-24 23:53:35 +08:00
padding: 42rpx 20rpx;
2024-06-26 16:58:53 +08:00
}
2024-07-24 23:53:35 +08:00
.popup-content {
2024-06-26 16:58:53 +08:00
width: 100%;
2024-07-13 13:45:15 +08:00
height: 600px;
2024-06-26 16:58:53 +08:00
background: #FFFFFF;
border-top-left-radius: 56rpx;
border-top-right-radius: 56rpx;
display: flex;
flex-direction: column;
}
2024-07-24 23:53:35 +08:00
.item-view-bottom-btn {
2024-06-26 16:58:53 +08:00
text-align: center;
width: 131rpx;
height: 50rpx;
line-height: 50rpx;
background: linear-gradient(90deg, #019C88, #0FA78B, #35C495);
border-radius: 10rpx;
font-weight: bold;
font-size: 24rpx;
color: #FFFFFF;
}
2024-07-24 23:53:35 +08:00
.dian {
2024-06-26 16:58:53 +08:00
width: 33px;
height: 33px;
line-height: 16px;
border-radius: 50%;
border: 3px solid #029D88;
display: flex;
justify-content: center;
font-size: 24px;
font-weight: bold;
color: #029D88;
}
2024-07-24 23:53:35 +08:00
.footers-bor {
2024-07-01 18:47:17 +08:00
border: 1px solid #029D88;
2024-06-26 16:58:53 +08:00
background-color: #fff;
color: #029D88;
}
2024-07-24 23:53:35 +08:00
.footers-true {
2024-06-26 16:58:53 +08:00
background: #029D88;
color: #fff;
}
2024-07-24 23:53:35 +08:00
.footers-btn {
2024-06-26 16:58:53 +08:00
width: 204rpx;
2024-07-01 18:47:17 +08:00
height: 82rpx;
2024-06-26 16:58:53 +08:00
text-align: center;
display: flex;
justify-content: center;
align-items: center;
2024-07-01 18:47:17 +08:00
border-radius: 80rpx;
2024-06-26 16:58:53 +08:00
font-weight: 400;
font-size: 29rpx;
2024-07-01 18:47:17 +08:00
margin-right: 8rpx;
2024-06-26 16:58:53 +08:00
}
2024-07-24 23:53:35 +08:00
.footers {
2024-06-26 16:58:53 +08:00
width: 100%;
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
margin-top: 30px;
}
2024-07-24 23:53:35 +08:00
.margin-top-view {
2024-06-26 16:58:53 +08:00
width: 189rpx;
height: 189rpx;
background: #EBEBEB;
border-radius: 21rpx;
}
2024-07-24 23:53:35 +08:00
2024-06-26 16:58:53 +08:00
.item_view {
margin-top: 30rpx;
}
2024-07-24 23:53:35 +08:00
2024-06-26 16:58:53 +08:00
.item_view input {
margin-top: 20rpx;
height: 40rpx;
font-size: 24rpx;
font-family: PingFang SC Regular, PingFang SC Regular-Regular;
font-weight: 400;
color: #333333;
}
2024-07-24 23:53:35 +08:00
2024-06-26 16:58:53 +08:00
.xian {
width: 100%;
border-bottom: 1rpx solid #f7f7f7;
margin-top: 10rpx;
}
2024-07-24 23:53:35 +08:00
2024-06-26 16:58:53 +08:00
.item_title {
font-weight: 400;
font-size: 22rpx;
color: #666666;
font-family: PingFang SC Heavy, PingFang SC Heavy-Heavy;
}
2024-07-24 23:53:35 +08:00
.fuhao-heis {
2024-06-26 16:58:53 +08:00
color: #fff;
2024-07-24 23:53:35 +08:00
font-size: 25rpx;
2024-06-26 16:58:53 +08:00
}
2024-07-24 23:53:35 +08:00
.num-heis {
2024-06-26 16:58:53 +08:00
color: #fff;
2024-07-24 23:53:35 +08:00
font-size: 34.72rpx;
2024-06-26 16:58:53 +08:00
font-weight: bold;
}
2024-07-24 23:53:35 +08:00
.yingde-money {
2024-06-26 16:58:53 +08:00
display: flex;
flex-direction: row;
align-items: center;
}
2024-07-24 23:53:35 +08:00
.yuji-title {
2024-06-26 16:58:53 +08:00
font-weight: 400;
font-size: 28rpx;
color: #FFFFFF;
}
2024-07-24 23:53:35 +08:00
.yiji {
2024-06-26 16:58:53 +08:00
width: 100%;
2024-07-01 18:47:17 +08:00
height: 88rpx;
2024-06-26 16:58:53 +08:00
background: linear-gradient(-90deg, #2EC5AC, #08A28A);
border-radius: 21rpx;
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
2024-07-01 18:47:17 +08:00
padding: 0 10px;
2024-06-26 16:58:53 +08:00
height: 72rpx;
margin-top: 10px;
}
2024-07-24 23:53:35 +08:00
.fuhao-hei {
2024-06-26 16:58:53 +08:00
font-size: 25rpx;
color: #333333;
}
2024-07-24 23:53:35 +08:00
.num-hei {
font-size: 31.25rpx;
2024-06-26 16:58:53 +08:00
color: #333333;
}
2024-07-24 23:53:35 +08:00
.yingde-money {
2024-06-26 16:58:53 +08:00
display: flex;
flex-direction: row;
align-items: center;
}
2024-07-24 23:53:35 +08:00
.yingde-title {
2024-07-01 18:47:17 +08:00
font-size: 32rpx;
2024-06-26 16:58:53 +08:00
color: #333333;
}
2024-07-24 23:53:35 +08:00
.yingde {
2024-06-26 16:58:53 +08:00
width: 100%;
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
padding: 0 5px;
2024-07-01 18:47:17 +08:00
height: 80rpx;
2024-06-26 16:58:53 +08:00
background: #DCF4EF;
2024-07-01 18:47:17 +08:00
border-bottom-left-radius: 16rpx;
border-bottom-right-radius: 16rpx;
2024-06-26 16:58:53 +08:00
}
2024-07-24 23:53:35 +08:00
.mian-content-textarea {
2024-06-26 16:58:53 +08:00
width: 100%;
display: flex;
flex-direction: column;
2024-08-09 11:24:08 +08:00
height: 120px;
2024-07-24 23:53:35 +08:00
/* border-bottom: 1px solid #e5e5e5; */
2024-07-20 09:56:22 +08:00
padding: 0px 10px;
2024-07-24 23:53:35 +08:00
margin-top: 10px;
2024-06-26 16:58:53 +08:00
}
2024-07-24 23:53:35 +08:00
.mian-content-list-title {
2024-06-26 16:58:53 +08:00
font-size: 22rpx;
color: #333333;
}
2024-07-24 23:53:35 +08:00
.mian-content-list-title {
2024-06-26 16:58:53 +08:00
font-size: 22rpx;
color: #555555;
}
2024-07-24 23:53:35 +08:00
.mian-content {
2024-06-26 16:58:53 +08:00
width: 100%;
display: flex;
flex-direction: column;
background: #fff;
border-radius: 24rpx;
padding: 10px;
margin-top: 20px;
}
2024-07-24 23:53:35 +08:00
.mian-content-list {
2024-06-26 16:58:53 +08:00
width: 100%;
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
2024-07-01 18:47:17 +08:00
height: 50px;
2024-06-26 16:58:53 +08:00
border-bottom: 1px solid #e5e5e5;
padding: 0px 5px;
}
2024-07-24 23:53:35 +08:00
.textarea-mian {
2024-06-26 16:58:53 +08:00
width: 100%;
2024-08-09 11:24:08 +08:00
height: 100%;
2024-06-26 16:58:53 +08:00
background: #F3F3F3;
border-radius: 14rpx;
padding: 5px;
2024-08-09 15:57:06 +08:00
font-size:14px;
padding: 20rpx;
color: #999;
margin-top: 10rpx;
2024-06-26 16:58:53 +08:00
}
2024-07-24 23:53:35 +08:00
.value-font {
2024-07-01 18:47:17 +08:00
font-size: 30rpx;
2024-06-26 16:58:53 +08:00
color: #333333;
}
2024-07-24 23:53:35 +08:00
.mian-content-list-title {
2024-07-01 18:47:17 +08:00
font-size: 30rpx;
color: #999;
2024-06-26 16:58:53 +08:00
}
2024-07-24 23:53:35 +08:00
.title-font {
2024-07-01 18:47:17 +08:00
font-size: 30rpx;
color: #999;
2024-06-26 16:58:53 +08:00
}
2024-07-24 23:53:35 +08:00
.mian-view-list:last-child {
2024-06-26 16:58:53 +08:00
border: 0px !important;
}
2024-07-24 23:53:35 +08:00
.mian-view-list {
2024-06-26 16:58:53 +08:00
width: 100%;
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
2024-07-24 23:53:35 +08:00
/* height: 44px; */
/* border-bottom: 1px solid #e5e5e5; */
padding: 11px 10px;
2024-06-26 16:58:53 +08:00
}
2024-07-24 23:53:35 +08:00
.mian-view {
2024-06-26 16:58:53 +08:00
width: 100%;
display: flex;
flex-direction: column;
background: #fff;
border-radius: 24rpx;
padding: 10px;
2024-07-24 23:53:35 +08:00
}
.mina-title-bor {
width: 64px;
height: 5px;
border-radius: 3px;
2024-06-26 16:58:53 +08:00
position: absolute;
2024-07-24 23:53:35 +08:00
bottom: 0;
background: linear-gradient(90deg, rgba(234, 248, 245, 0.7), rgba(132, 211, 196, 0.7));
2024-06-26 16:58:53 +08:00
}
2024-07-24 23:53:35 +08:00
.mina-title-text {
2024-06-26 16:58:53 +08:00
font-weight: bold;
2024-07-01 18:47:17 +08:00
font-size: 32rpx;
2024-06-26 16:58:53 +08:00
color: #333333;
}
2024-07-24 23:53:35 +08:00
.mina-title {
width: 90%;
/* text-align: center; */
2024-06-26 16:58:53 +08:00
display: flex;
flex-direction: column;
position: relative;
2024-07-24 23:53:35 +08:00
/* align-items: center;
2024-06-26 16:58:53 +08:00
justify-content: center;
2024-07-24 23:53:35 +08:00
margin:40rpx 0; */
margin: 10px 10px;
2024-06-26 16:58:53 +08:00
}
2024-07-24 23:53:35 +08:00
.mian-view {
2024-06-26 16:58:53 +08:00
width: 100%;
padding: 10px;
display: flex;
flex-direction: column;
2024-07-24 23:53:35 +08:00
margin-top: 24rpx;
2024-06-26 16:58:53 +08:00
}
2024-07-24 23:53:35 +08:00
.diandan-num {
2024-06-26 16:58:53 +08:00
width: 100%;
height: 74rpx;
line-height: 74rpx;
font-size: 25rpx;
color: #666666;
padding-left: 10px;
background: #FFFFFF;
border-radius: 24rpx;
margin: 15px 0px 20px 0px;
}
2024-07-24 23:53:35 +08:00
.mian-top-foot-view-img span,
.mian-top-foot-view-text {
2024-07-01 18:47:17 +08:00
font-size: 29rpx;
color: #333;
2024-06-26 16:58:53 +08:00
}
2024-07-24 23:53:35 +08:00
.mian-top-foot-view-img image {
2024-06-26 16:58:53 +08:00
width: 26.39rpx;
height: 25.69rpx;
margin-left: 5px;
}
2024-07-24 23:53:35 +08:00
.mian-top-foot-view-img {
2024-06-26 16:58:53 +08:00
display: flex;
flex-direction: row;
align-items: center;
}
2024-07-24 23:53:35 +08:00
.mian-top-foot-view-title {
2024-07-01 18:47:17 +08:00
font-size: 29rpx;
color: #999;
2024-06-26 16:58:53 +08:00
}
2024-07-24 23:53:35 +08:00
.mian-top-foot-view {
2024-06-26 16:58:53 +08:00
width: 100%;
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
}
2024-07-24 23:53:35 +08:00
.mian-top-foot {
2024-06-26 16:58:53 +08:00
width: 100%;
display: flex;
flex-direction: column;
}
2024-07-24 23:53:35 +08:00
.number {
color: #FF1200;
font-size: 32rpx;
2024-06-26 16:58:53 +08:00
font-weight: bold;
}
2024-07-24 23:53:35 +08:00
.fuhao {
2024-06-26 16:58:53 +08:00
color: #FF6000;
2024-07-24 23:53:35 +08:00
font-size: 30rpx;
2024-06-26 16:58:53 +08:00
font-weight: bold;
}
2024-07-24 23:53:35 +08:00
.mian-money-num {
2024-06-26 16:58:53 +08:00
display: flex;
flex-direction: row;
align-items: center;
}
2024-07-24 23:53:35 +08:00
.mian-money-title {
2024-06-26 16:58:53 +08:00
font-size: 25rpx;
color: #666666;
}
2024-07-24 23:53:35 +08:00
.mian-money {
2024-06-26 16:58:53 +08:00
width: 100%;
display: flex;
flex-direction: row;
align-items: center;
}
2024-07-24 23:53:35 +08:00
.mian-time {
margin-top: 4px;
2024-06-26 16:58:53 +08:00
}
2024-07-24 23:53:35 +08:00
.mian-title-view {
2024-06-26 16:58:53 +08:00
font-weight: bold;
2024-07-01 18:47:17 +08:00
font-size: 32rpx;
2024-06-26 16:58:53 +08:00
color: #333333;
}
2024-07-24 23:53:35 +08:00
.mian-title {
2024-06-26 16:58:53 +08:00
width: 100%;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
}
2024-07-24 23:53:35 +08:00
.mian-top-head-right {
2024-06-26 16:58:53 +08:00
width: 75%;
display: flex;
flex-direction: column;
justify-content: space-between;
}
2024-07-24 23:53:35 +08:00
.mian-top-head-img {
2024-06-26 16:58:53 +08:00
width: 145rpx;
height: 146rpx;
border-radius: 14rpx;
}
2024-07-24 23:53:35 +08:00
.mian-top-head {
2024-06-26 16:58:53 +08:00
width: 100%;
display: flex;
flex-direction: row;
justify-content: space-between;
border-bottom: 1px solid #E5E5E5;
padding-bottom: 15px;
2024-07-01 19:11:43 +08:00
margin-bottom: 15px;
margin-top: 5px;
2024-06-26 16:58:53 +08:00
}
2024-07-24 23:53:35 +08:00
.mian-top {
2024-06-26 16:58:53 +08:00
width: 100%;
/* height: 331rpx; */
2024-07-01 18:47:17 +08:00
padding: 30rpx;
2024-06-26 16:58:53 +08:00
background: #FFFFFF;
border-radius: 24rpx;
}
2024-07-24 23:53:35 +08:00
.mian {
2024-07-01 18:47:17 +08:00
width: 92%;
2024-06-26 16:58:53 +08:00
display: flex;
flex-direction: column;
position: absolute;
top: 0;
2024-06-28 23:12:07 +08:00
margin-top: 85px;
2024-06-26 16:58:53 +08:00
overflow: scroll;
background: #f7f7f7;
2024-07-24 23:53:35 +08:00
padding-bottom: 30px;
2024-06-26 16:58:53 +08:00
border-radius: 24rpx;
}
2024-07-24 23:53:35 +08:00
.header {
2024-06-26 16:58:53 +08:00
width: 100%;
2024-07-01 18:47:17 +08:00
height: 300rpx;
2024-06-26 16:58:53 +08:00
background: linear-gradient(-36deg, #11957C, #20A98F, #019C88, #029D88);
2024-06-28 23:12:07 +08:00
margin-top: 45px;
2024-06-26 16:58:53 +08:00
}
2024-07-24 23:53:35 +08:00
.nav-btn {
2024-07-24 14:29:36 +08:00
font-size: 30rpx;
2024-07-01 18:47:17 +08:00
color: #019c88;
2024-07-24 14:29:36 +08:00
font-weight: bold;
2024-06-26 16:58:53 +08:00
}
2024-07-24 23:53:35 +08:00
.nav-title {
2024-06-26 16:58:53 +08:00
font-weight: bold;
font-size: 38rpx;
color: #17181C;
}
2024-07-24 23:53:35 +08:00
.nav-tab image {
2024-06-26 16:58:53 +08:00
width: 15.42rpx;
height: 27.64rpx;
}
2024-07-24 23:53:35 +08:00
.nav-tab {
2024-06-26 16:58:53 +08:00
width: 100%;
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
2024-07-24 23:53:35 +08:00
padding: 10px;
2024-06-26 16:58:53 +08:00
}
2024-07-24 23:53:35 +08:00
.content {
2024-06-26 16:58:53 +08:00
width: 100%;
height: 100vh;
background-color: #f7f7f7;
position: relative;
display: flex;
flex-direction: column;
align-items: center;
padding-bottom: 30px;
overflow: scroll;
}
2024-07-24 23:53:35 +08:00
.title-font {
2024-07-24 14:29:36 +08:00
font-size: 30rpx;
color: #666666;
}
2024-07-24 23:53:35 +08:00
.value-font {
2024-07-24 14:29:36 +08:00
font-size: 30rpx;
color: #333333;
}
2024-07-24 23:53:35 +08:00
.jusitify-line-end {
height: 1px;
border-bottom: 1px #e5e5e5 solid;
margin: 30rpx 0;
}
2024-08-08 22:44:40 +08:00
</style>