hz-zhhq-app/pages/house/house-detail.vue

790 lines
26 KiB
Vue
Raw Normal View History

2025-01-22 10:53:47 +08:00
<template>
<view class="hzIndex">
<hzHeader :title="title"></hzHeader>
<view class="hzContent" style="padding-top: 200upx;">
<view class="details">
<view class="detail_msg">
<view class="info-item status">
<text class="label">   </text>
<text v-if="item.examineState ==0&&item.examineBatch==1" class="infoSpan" style="color: #ff9000;" >待审核</text>
<text v-if="item.examineState ==0&&item.examineBatch>1" class="infoSpan" style="color: #ff9000;" >审核中</text>
<text v-if="item.examineState ==1&&item.isUpload!='2'" class="infoSpan" style="color: #ff9000;">审核中</text>
<text v-if="item.examineState ==1&&item.isUpload=='2'" class="infoSpan" style="color: #ff9000;">待上传合同</text>
<text v-if="item.examineState ==2" class="infoSpan" style="color: red;">已拒绝</text>
<!-- <text v-if="item.examineState ==3" class="infoSpan" style="color: green;">已选房</text> -->
<text v-if="item.examineState ==4" class="infoSpan" style="color: #ff9000;">退租待审核</text>
<text v-if="item.examineState ==5" class="infoSpan" style="color: gray;">已退租</text>
<text v-if="item.examineState ==6" class="infoSpan" style="color: red;">退租未通过</text>
<text v-if="item.examineState ==7" class="infoSpan" style="color: green;">已入住</text>
</view>
<view class="info-item">
<text class="label">   </text>
<text class="infoSpan">{{item.userName}}</text>
</view>
<view @click="callPhone(item.phone)" class="info-item">
<text class="label">联系方式 </text>
<text class="infoSpan" >{{ item.phone }}</text>
</view>
2025-03-04 18:42:50 +08:00
<view class="info-item" v-if="item.userType!=3">
2025-01-22 10:53:47 +08:00
<text class="label">   </text>
<text class="infoSpan">{{ item.orgName }}</text>
</view>
2025-03-04 18:42:50 +08:00
<view class="info-item" v-if="item.userType!=3">
2025-01-22 10:53:47 +08:00
<text class="label">婚姻状况 </text>
<text class="infoSpan">{{ item.marriageState }}</text>
2025-03-04 18:42:50 +08:00
</view>
<view class="info-item" v-if="item.userType!=3">
2025-01-22 10:53:47 +08:00
<text class="label">房查照片 </text>
<view class="img-box">
<image v-for="(itemImg,imgIndex) in item.roomInspection" :key="imgIndex" :src="formatImgUrl(itemImg)" mode="" @click="vbPicture(new Array(formatImgUrl(itemImg)))"></image>
</view>
</view>
<view class="info-item">
2025-03-04 18:42:50 +08:00
<text class="label">身份证照片 </text>
<view class="img-box">
<image v-for="(itemImg,imgIndex) in item.idCardImg" :key="imgIndex" :src="formatImgUrl(itemImg)" mode="" @click="vbPicture(new Array(formatImgUrl(itemImg)))"></image>
</view>
</view>
<view class="info-item" v-if="item.userType==3">
<text class="label">附件 </text>
<view class="img-box">
<image v-for="(itemImg,imgIndex) in item.attachment" :key="imgIndex" :src="formatImgUrl(itemImg)" mode="" @click="vbPicture(new Array(formatImgUrl(itemImg)))"></image>
</view>
</view>
<view class="info-item" v-if="item.userType==2">
2025-01-22 10:53:47 +08:00
<text class="label">工作岗位 </text>
<text class="infoSpan">{{ item.position }}</text>
</view>
<view class="info-item">
<text class="label">人员类别 </text>
<text class="infoSpan">{{ formatUserType(item.userType) }}</text>
</view>
<view class="info-item">
<text class="label">申请房型 </text>
<text class="infoSpan">{{ formatHouseType(item.houseType) }}</text>
</view>
<view class="info-item">
<text class="label">申请日期 </text>
<text class="infoSpan">{{ formatDate(item.applyTime,'dateTime') }}</text>
</view>
2025-03-04 18:42:50 +08:00
<view class="info-item" v-if="item.userType!=3">
2025-01-22 10:53:47 +08:00
<text class="label">申请事由 </text>
<text class="infoSpan">{{ item.applyCause }}</text>
</view>
<view class="info-item" v-if="item.houseId">
<text class="label">分配房源 </text>
2025-03-04 18:42:50 +08:00
<text class="infoSpan" v-if="item.houseId">{{item.houseName}}-{{item.houseCode}}</text>
2025-01-22 10:53:47 +08:00
</view>
<view class="info-item" v-if="item.houseId">
<text class="label">租金 </text>
<text class="infoSpan" v-if="item.houseId">{{ item.rent }}</text>
</view>
<view v-if="item.isUpload=='3'">
<view class="info-item">
<text class="label">合同期限 </text>
<text class="infoSpan">{{ formatDate(item.contractStartTime,'date')+"~"+ formatDate(item.contractEndTime,'date')}}</text>
</view>
<view class="info-item" v-if="item.examineState=='5'">
<text class="label">退租日期 </text>
<text class="infoSpan">{{ formatDate(item.checkOutDate,'date')}}</text>
</view>
<view class="info-item">
<text class="label">合同图片 </text>
<view class="img-list">
<image v-for="(itemImg,imgIndex) in item.contractPhoto" :key="imgIndex" :src="formatImgUrl(itemImg)" mode="" @click="vbPicture(new Array(formatImgUrl(itemImg)))"></image>
</view>
</view>
<view class="info-item">
<text class="label">缴费凭证 </text>
<view class="img-list">
<image v-for="(itemImg,imgIndex) in item.photo" :key="imgIndex" :src="formatImgUrl(itemImg)" mode="" @click="vbPicture(new Array(formatImgUrl(itemImg)))"></image>
</view>
</view>
<view class="info-item">
<text class="label" style="width: 200upx;">入住房间照片 </text>
<view class="img-list">
<image v-for="(itemImg,imgIndex) in item.checkInPhoto" :key="imgIndex" :src="formatImgUrl(itemImg)" mode="" @click="vbPicture(new Array(formatImgUrl(itemImg)))"></image>
</view>
</view>
<view class="info-item" v-if="item.examineState=='5'">
<text class="label" style="width: 200upx;">退租房间照片 </text>
<view class="img-list">
<image v-for="(itemImg,imgIndex) in item.checkOutPhoto" :key="imgIndex" :src="formatImgUrl(itemImg)" mode="" @click="vbPicture(new Array(formatImgUrl(itemImg)))"></image>
</view>
</view>
<view class="info-item" v-if="item.examineState=='5'">
<text class="label" style="width: 220upx;">物业费结清凭证 </text>
<view class="img-list">
<image v-for="(itemImg,imgIndex) in item.propertyPhoto" :key="imgIndex" :src="formatImgUrl(itemImg)" mode="" @click="vbPicture(new Array(formatImgUrl(itemImg)))"></image>
</view>
</view>
<view class="info-item">
<text class="label" style="width: 200upx;">入住水表数值 </text>
<text class="infoSpan">{{ item.waterValue }}</text>
</view>
<view class="info-item" v-if="item.examineState=='5'">
<text class="label" style="width: 200upx;">水表退租数值</text>
<text class="infoSpan">{{ item.waterValueNow }}</text>
</view>
<view class="info-item" v-if="item.examineState=='5'">
<text class="label" style="width: 200upx;">水费结清凭证</text>
<view class="img-list">
<image v-for="(itemImg,imgIndex) in item.waterSettlePhoto" :key="imgIndex" :src="formatImgUrl(itemImg)" mode="" @click="vbPicture(new Array(formatImgUrl(itemImg)))"></image>
</view>
</view>
<view class="info-item">
<text class="label" style="width: 200upx;">入住电表数值 </text>
<text class="infoSpan">{{ item.powerValue }}</text>
</view>
<view class="info-item" v-if="item.examineState=='5'">
<text class="label" style="width: 200upx;">电表退租数值</text>
<text class="infoSpan">{{ item.powerValueNow }}</text>
</view>
<view class="info-item" v-if="item.examineState=='5'">
<text class="label" style="width: 220upx;">电费结清凭证</text>
<view class="img-list">
<image v-for="(itemImg,imgIndex) in item.powerSettlePhoto" :key="imgIndex" :src="formatImgUrl(itemImg)" mode="" @click="vbPicture(new Array(formatImgUrl(itemImg)))"></image>
</view>
</view>
<view class="info-item">
<text class="label" style="width: 200upx;">入住燃气数值 </text>
<text class="infoSpan">{{ item.gasValue }}</text>
</view>
<view class="info-item" v-if="item.examineState=='5'">
<text class="label" style="width: 200upx;">燃气退租数值</text>
<text class="infoSpan">{{ item.gasValueNow }}</text>
</view>
<view class="info-item" v-if="item.examineState=='5'">
<text class="label" style="width: 220upx;">燃气结清凭证</text>
<view class="img-list">
<image v-for="(itemImg,imgIndex) in item.gasSettlePhoto" :key="imgIndex" :src="formatImgUrl(itemImg)" mode="" @click="vbPicture(new Array(formatImgUrl(itemImg)))"></image>
</view>
</view>
<view class="info-item" v-if="item.examineState=='5'">
<text class="label" style="width: 200upx;">附属设备清单:</text>
<view style="margin-top: 20upx;">
<uni-table ref="table" style="width: 90%;" :border="true" emptyText="暂无更多数据">
<uni-tr>
<uni-th width="80" align="left">名称</uni-th>
<uni-th width="80" align="left">品牌</uni-th>
<uni-th width="60" align="left">型号</uni-th>
2025-03-04 18:42:50 +08:00
<uni-th width="60" align="left">价格</uni-th>
2025-01-22 10:53:47 +08:00
<uni-th width="60" align="left">数量</uni-th>
</uni-tr>
<uni-tr v-for="(items, indexs) in devicesList" :key="indexs">
<uni-td align="left">{{ items.name }}</uni-td>
<uni-td align="left">{{ items.brand }}</uni-td>
<uni-td align="left">{{ items.model }}</uni-td>
2025-03-04 18:42:50 +08:00
<uni-td align="left">{{ items.price }}</uni-td>
2025-01-22 10:53:47 +08:00
<uni-td align="left">{{ items.num }}</uni-td>
</uni-tr>
</uni-table>
</view>
</view>
<view class="info-item" v-if="item.isUpload=='3'">
<text class="label" style="width: 200upx;">入住设备清单:</text>
<view style="margin-top: 20upx;">
<uni-table ref="table" style="width: 90%;" :border="true" emptyText="暂无更多数据">
<uni-tr>
<uni-th width="80" align="left">名称</uni-th>
<uni-th width="80" align="left">品牌</uni-th>
<uni-th width="60" align="left">型号</uni-th>
2025-03-04 18:42:50 +08:00
<uni-th width="60" align="left">价格</uni-th>
2025-01-22 10:53:47 +08:00
<uni-th width="60" align="left">数量</uni-th>
</uni-tr>
<uni-tr v-for="(items, indexs) in devicesList" :key="indexs">
<uni-td align="left">{{ items.name }}</uni-td>
<uni-td align="left">{{ items.brand }}</uni-td>
<uni-td align="left">{{ items.model }}</uni-td>
2025-03-04 18:42:50 +08:00
<uni-td align="left">{{ items.price }}</uni-td>
2025-01-22 10:53:47 +08:00
<uni-td align="left">{{ items.num }}</uni-td>
</uni-tr>
</uni-table>
</view>
</view>
<view class="info-item" v-if="item.examineState=='5'">
<text class="label" style="width: 200upx;">检查设备清单:</text>
<view style="margin-top: 20upx;">
<uni-table ref="table" style="width: 90%;" :border="true" emptyText="暂无更多数据">
<uni-tr>
<uni-th width="80" align="left">名称</uni-th>
<uni-th width="80" align="left">品牌</uni-th>
<uni-th width="60" align="left">型号</uni-th>
2025-03-04 18:42:50 +08:00
<uni-th width="60" align="left">价格</uni-th>
2025-01-22 10:53:47 +08:00
<uni-th width="60" align="left">数量</uni-th>
</uni-tr>
<uni-tr v-for="(items, indexs) in devicesList2" :key="indexs">
<uni-td align="left">{{ items.name }}</uni-td>
<uni-td align="left">{{ items.brand }}</uni-td>
<uni-td align="left">{{ items.model }}</uni-td>
2025-03-04 18:42:50 +08:00
<uni-td align="left">{{ items.price }}</uni-td>
2025-01-22 10:53:47 +08:00
<uni-td align="left">{{ items.num }}</uni-td>
</uni-tr>
</uni-table>
</view>
</view>
<view class="info-item" v-if="item.examineState=='5'">
<text class="label" style="width: 190upx;">押金是否退还</text>
<text class="infoSpan">{{ depositBackStates[Number(item.depositBack)].name }}</text>
</view>
<view class="info-item" v-if="item.examineState=='5'">
<text class="label">是否抵扣</text>
<text class="infoSpan">{{ isDeductionStates[Number(item.isDeduction)].name }}</text>
</view>
<view class="info-item" v-if="item.examineState=='5'">
<text class="label">抵扣说明</text>
<text class="infoSpan">{{ item.deductionReason }}</text>
</view>
</view>
</view>
</view>
<view >
<view class="details">
<YSteps color='#fff' backgroundColor='#4db4ea' :infoList='process'></YSteps>
</view>
</view>
<view class="occupied" style="height: 180upx;"></view>
2025-03-04 18:42:50 +08:00
<!-- <view v-if="examineButton" style="position: fixed;bottom:0upx;height: 50upx;width: 100%;z-index: 9999;">
2025-01-22 10:53:47 +08:00
<view>
<view class="footer-btn footer-btn-two batchBtn" v-if="examineBatch!=2">
<view class="btn btn-col btn1" @click="circulation()">拒绝</view>
<view class="btn btn-col1 btn2" @click="submit(1)">通过</view>
</view>
<view class="footer-btn" v-if="examineBatch==2">
<view class="btn" @click="saveHouse">确认选房</view>
</view>
</view>
</view>
<uni-popup ref="popup" @change="show(arguments)" type="center" style="">
<view style="background: white;width: 80%;height: 540upx;width: 600upx;position: relative;border-radius: 10upx;padding: 14upx;">
<view style="color: #333;font-size: 30upx;font-weight: bold;padding: 10upx 0px;">
<text>审核内容</text>
</view>
<view style="width: 100%;border: 1px solid #E5E5E5;margin-top: 20upx;padding: 20upx;height: 300upx;color: #666;border-radius: 10upx;">
<textarea style="width: 100%;height: 100%;" v-model="replyContent" placeholder="请输入审核内容"/>
</view>
<view class="footer-btn footer-btn-two" style="position: absolute;margin-bottom: 20upx;">
<view class="btn btn-col" style="width:40%;margin-left:7%;margin-right: 6%;border-radius: 10upx;" @click="closeCirculation()">取消</view>
<view class="btn btn-col1" style="width:40%;border-radius: 10upx" @click="submit(2)">确定</view>
</view>
</view>
2025-03-04 18:42:50 +08:00
</uni-popup> -->
2025-01-22 10:53:47 +08:00
</view>
</view>
</template>
<script>
import {
greenHouseDetail,greenHouseExamine,getHouseType,getHouseTypes,addSelectedHouse
} from '@/common/api.js';
import {
callbackRequest,
callbackRequestNoLoading ,
getStorage,
alertTip,
formatDate,
sureAlterTip,
convertImgToBase64,
vbPicture,
callPhone,wxSdk,
formatImgUrl
} from '@/common/util.js';
import UniPopup from "@/components/uni-popup/uni-popup.vue"
import YSteps from '@/components/Y-Steps/Y-Steps.vue'
export default {
components: {
UniPopup,
YSteps
},
data() {
return {
title:"存量房申请",
callPhone:callPhone,
vbPicture:vbPicture,
formatImgUrl:formatImgUrl,
userInfo:getStorage('userInfo'),
formatDate:formatDate,
item: {},
id:0,
queryType:0,
replyContent:'',
userId: getStorage('userInfo').id,
imgs:[],
showAlert:false,
userTypes:[],
houseType:[],
examineBatch:'',
examineButton:true,
process: [],
chosenHouse:'请选择房源 >',
chosenHouseCost:'xxx',
houseInfo:{},
houseModel:[],
devicesList:[],
devicesList2:[],
applyId:'',
submitFlag:true,
depositBackStates: [{ id: '0', name: '是' }, { id: '1', name: '否' }],
isDeductionStates: [{ id: '0', name: '是' }, { id: '1', name: '否' }],
}
},
onLoad(option) {
this.id = option.id;
this.title = option.title||"存量房申请";
this.queryType = option.queryType||0;
this.examineBatch = option.examineBatch || 1;
this.getHouseTypes('houseType');
this.getHouseType('userType');
this.greenHouseDetail();
},
methods: {
//房屋类型
getHouseType(dataType){
let params = {
method: getHouseType,
data: {
dataType:dataType
}
};
callbackRequestNoLoading(params).then(res => {
res = res.data;
if (res.returnCode == 1) {
if(dataType == 'houseType'){
this.houseType = res.returnData || [];
}else{
this.userTypes = res.returnData || [];
}
} else {
}
});
},
// 人员类别
getHouseTypes(dataType){
let params = {
method: getHouseTypes,
data: {
dataType:dataType,
userId:getStorage('userInfo').userId,
}
};
callbackRequestNoLoading(params).then(res => {
res = res.data;
if (res.returnCode == 1) {
if(dataType == 'houseType'){
this.houseType = res.returnData || [];
}else{
this.userTypes = res.returnData || [];
}
} else {
}
});
},
formatHouseType(houseType){
for(let i=0;i<this.houseType.length;i++){
let obj = this.houseType[i];
if(obj.id == houseType){
return obj.name;
}
}
},
formatUserType(userType){
for(let i=0;i<this.userTypes.length;i++){
let obj = this.userTypes[i];
if(obj.id == userType){
return obj.name;
}
}
},
//租房申请详情
greenHouseDetail(){
let _this = this;
let params = {
"method": greenHouseDetail,
"data":{
id: _this.id,
userId:getStorage('userInfo').userId,
}
};
callbackRequest(params).then(res => {
res = res.data;
if ( res.returnCode === "1"){
_this.item = res.returnData[0];
2025-03-04 18:42:50 +08:00
_this.item.roomInspection = _this.item.roomInspection.split(',')//房查
_this.item.idCardImg = _this.item.idCardImg.split(',')//身份证
_this.item.attachment = _this.item.attachment.split(',')//附件
2025-01-22 10:53:47 +08:00
if(_this.item.photo){
_this.item.photo = _this.item.photo.split(',')
}
if(_this.item.contractPhoto){
_this.item.contractPhoto = _this.item.contractPhoto.split(',')
}
if(_this.item.checkInPhoto){
_this.item.checkInPhoto = _this.item.checkInPhoto.split(',')
}
if(_this.item.checkOutPhoto){
_this.item.checkOutPhoto = _this.item.checkOutPhoto.split(',')
}
if(_this.item.propertyPhoto){
_this.item.propertyPhoto = _this.item.propertyPhoto.split(',')
}
if(_this.item.waterSettlePhoto){
_this.item.waterSettlePhoto = _this.item.waterSettlePhoto.split(',')
}
if(_this.item.powerSettlePhoto){
_this.item.powerSettlePhoto = _this.item.powerSettlePhoto.split(',')
}
if(_this.item.gasSettlePhoto){
_this.item.gasSettlePhoto = _this.item.gasSettlePhoto.split(',')
}
console.log(_this.item.ancillaryFacilitieList)
if(_this.item.deviceList){
_this.item.deviceList = _this.item.deviceList.split(',')
if(_this.item.deviceList.length>0){
_this.devicesList = []
_this.item.deviceList.forEach(item=>{
let i = _this.item.ancillaryFacilitieList.findIndex(obj => obj.id == item)
if(i>-1){
_this.devicesList.push(_this.item.ancillaryFacilitieList[i])
}
})
}
}
if(_this.item.checkDeviceList){
_this.item.checkDeviceList = _this.item.checkDeviceList.split(',')
if(_this.item.checkDeviceList.length>0){
_this.devicesList2 = []
_this.item.checkDeviceList.forEach(item=>{
let i = _this.item.ancillaryFacilitieList.findIndex(obj => obj.id == item)
if(i>-1){
_this.devicesList2.push(_this.item.ancillaryFacilitieList[i])
}
})
}
}
// if(_this.item.checkDeviceList){
// _this.item.deviceList=_this.item.ancillaryFacilitieList.map((item,index)=>{
// let obj = {
// name1:item
// }
// if(_this.item.checkDeviceList){
// if(_this.item.checkDeviceList[index]){
// obj.name2 = _this.item.checkDeviceList[index]
// }else{
// obj.name2 = ''
// }
// }
// return obj
// })
// }
let details = res.returnData[0].detail||[]
for(let i=0;i<details.length;i++){
let obj = details[i];
if(_this.examineBatch == obj.examineBatch){
setTimeout(()=>{_this.examineButton = false;},400)
// _this.examineButton = false;
}
}
// console.log(_this.examineBatch)
// console.log(_this.item.examineBatch)
// console.log(_this.item.examineState)
if(_this.item.examineState==0&&_this.examineBatch==_this.item.examineBatch){
_this.examineButton = true;
}
_this.process=[];
// console.log(obj.examineState!=0)
if(_this.process.length==0){
let pObj0 = {
date: '经办人',
info: _this.item.userName+' 发起申请',
time: _this.item.applyTime
}
_this.process.push(pObj0);
}
if(details.length>0){
for(let i=0;i<details.length;i++){
let pObj = {
date: details[i].batchDescription,
info: details[i].examineState==1?"同意":details[i].examineState==3?"同意":"拒绝 "+(details[i].examineOpinion||''),
time: details[i].examineTime
}
_this.process.push(pObj);
}
}
}
})
},
//在线选房跳转
houseSelect(id,houseType){
uni.navigateTo({
url: '/pages/house/house-select?id=' + this.id+"&houseType="+this.item.houseType
});
},
saveHouse(){
console
if (this.houseInfo=={}) {
alertTip('请先选择房源');
return false;
}
if(!this.submitFlag){
return false;
}
this.submitFlag=false;
uni.showModal({
title: '确认',
content: '请确认是否选择该房源!',
showCancel: true,
cancelText: '取消',
confirmText: '确认',
success: res => {
if (res.confirm) {
console.log(this.applyId)
console.log(this.houseInfo)
let data = {
method: addSelectedHouse,
data: {
userId:getStorage('userInfo').userId,
applyId:this.applyId,
HOUSE_ID:this.houseInfo.UUID,
HOUSE_NAME:this.houseInfo.HOUSE_NAME,
HOUSE_TYPE:this.houseInfo.HOUSE_TYPE,
HOUSE_ADDR:this.houseInfo.HOUSE_ADDR,
ACREAGE:this.houseInfo.ACREAGE,
MODEL:this.houseInfo.MODEL,
BUILDING_YEAR:this.houseInfo.BUILDING_YEAR,
DEVICE:this.houseInfo.DEVICE,
RESPONSIBLE:this.houseInfo.RESPONSIBLE,
RESPONSIBLE_PHONE:this.houseInfo.RESPONSIBLE_PHONE,
PRICE:this.houseInfo.PRICE,
RENT_TYPE:this.houseInfo.RENT_TYPE
}
};
// console.log(data,"data");
callbackRequest(data).then(res => {
res = res.data;
if (res.returnCode == 1) {
console.log(res);
this.submitFlag = true;
alertTip(res.returnMsg);
// this.goPageA()
setTimeout(()=>{
// this.submit(1)
},800)
} else {
alertTip(res.returnMsg);
this.submitFlag = true;
}
});
} else if (res.cancel) {
this.submitFlag = true;
}
}
});
},
//拒绝弹窗
circulation(){
this.$refs.popup.open();
},
//打开拒绝原因弹窗
show(val){
this.examineButton = !val[0].show;
},
//关闭弹窗
closeCirculation(){
this.$refs.popup.close()
},
//通过同意
submit(examineState){
this.examineButton = false;
//examineState 1通过2不通过
let params = {
"method": greenHouseExamine,
"data":{
applyId: this.item.id,
houseId: this.item.houseId || '',
userId:getStorage('userInfo').id,
userName:getStorage('userInfo').userName,
examineState:examineState+'',
examineOpinion:this.replyContent,
examineBatch:this.examineBatch+''
}
};
callbackRequest(params).then(res => {
res = res.data;
if (res.returnCode == 1) {
alertTip(res.returnMsg);
this.closeCirculation();
this.greenHouseDetail();
// uni.navigateBack({
// delta: 1
// });
} else {
alertTip(res.returnMsg);
}
})
}
}
}
</script>
<style lang="scss">
@import '@/static/css/common.scss';
.batchBtn{
position: absolute;
display: flex;
justify-content: space-between;
padding: 10upx 40upx;
.btn1{
background: #C1EFEA;
color: #09AFA5;
width: 40%;
border-radius: 50upx;
}
.btn2{
background: linear-gradient( 90deg, #50CBA1 0%, #06AEA6 100%), #C1EFEA;
color: #fff;
width: 40%;
border-radius: 50upx;
}
}
.details{
font-size: 26upx;
// height: 550upx;
background: white;
margin: 20upx;
border-radius: 15upx;
padding-bottom:15rpx;
position: relative;
.detail_header {
border-bottom: #f8f8f8 5upx solid;
height: 90upx;
line-height: 90upx;
margin: 15upx;
border-radius: 10upx;
.blueSign {
height: 28upx;
width: 5upx;
background: #00c277;
display: inline-block;
margin-left: 20upx;
}
.font-tilte {
font-weight:bold;
margin-left: 20upx;
}
}
.detail_msg {
margin-left: 20upx;
border-radius: 10upx;
.info-item{
border-bottom:1px solid #f8f8f8;
padding:20upx 10upx;
line-height: 50upx;
.label{
display:inline-block;
width:180upx;
font-size:28upx;
color:#333;
font-weight:bold;
}
}
.status {
.infoSpan{
color: #00c277;
}
.infoSpan2{
color: red;
}
}
.img-box {
// background: #fff;
image{
width: 200upx;
height: 200upx;
margin:20upx 20upx 0 0;
}
}
.img-list {
image{
width: 200upx;
height: 200upx;
margin:20upx 20upx 0 0;
}
}
}
}
.common-shade{
position:fixed;
top:0;
left:0;
width:100%;
height:100vh;
background: rgba(0,0,0,0.7);
z-index:9999;
}
.box {
display: flex;
display: -webkit-flex;
}
.box-row-reverse {
flex-direction: row;
}
/*上下排列*/
.box-column {
flex-direction: column;
}
/*上下排列*/
.box-left {
justify-content: flex-start;
}
/*居右*/
.box-right {
justify-content: flex-end;
}
/*居左*/
.box-center {
justify-content: center;
}
/*居中*/
.box-between {
justify-content: space-between;
}
/*两端对齐*/
.box-align-center {
align-items: center;
}
.box-wrap {
flex-wrap: wrap;
}
</style>