Commit fed62581 by cen

fix: 详情显示

1 parent 5c52785a

2.91 MB | W: | H:

2.9 MB | W: | H:

assets/images/sprite.png
assets/images/sprite.png
assets/images/sprite.png
assets/images/sprite.png
  • 2-up
  • Swipe
  • Onion skin
const target = ['ip', 'dev', 'uat', 'prod', 'beta'] const target = ['ip', 'dev', 'uat', 'prod', 'beta']
const index = 4 const index = 2
/** /**
* *
0本地 0本地
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<view v-if="status == 30 && !subStatus" class="common-btn ml-24" @click.stop="handleClick('cancelSign', 'app_evaluate_cancel_sign')">取消签约</view> <view v-if="status == 30 && !subStatus" class="common-btn ml-24" @click.stop="handleClick('cancelSign', 'app_evaluate_cancel_sign')">取消签约</view>
<view v-if="status == 31 && !subStatus" class="common-btn blue-btn ml-24" @click.stop="handleClick('signAgreement', 'app_evaluate_cancel_sign')">确认代保管</view> <view v-if="status == 31 && !subStatus" class="common-btn blue-btn ml-24" @click.stop="handleClick('signAgreement', 'app_evaluate_cancel_sign')">确认代保管</view>
<view v-if="status == 30 && !subStatus && paymentType == 1" class="common-btn blue-btn ml-24" @click.stop="handleClick('payDeposit', 'app_evaluate_pay_deposit')">支付定金</view> <view v-if="status == 30 && !subStatus && paymentType == 1" class="common-btn blue-btn ml-24" @click.stop="handleClick('payDeposit', 'app_evaluate_pay_deposit')">支付定金</view>
<view v-if="(status == 30 && !subStatus && paymentType == 2 && previousStatus == '-1') || (status == 31 && !subStatus && paymentType == 2 && previousStatus == 30)" class="common-btn blue-btn ml-24" @click.stop="handleClick('payFull', 'app_evaluate_pay_full')">支付全款</view> <view v-if="(status == 30 && !subStatus && paymentType == 2 && previousStatus == '-1') || (status == 32 && !subStatus && paymentType == 2 && previousStatus == 31)" class="common-btn blue-btn ml-24" @click.stop="handleClick('payFull', 'app_evaluate_pay_full')">支付全款</view>
<view v-if="status == 32 && !subStatus && paymentType == 1" class="common-btn blue-btn ml-24" @click.stop="handleClick('payFull', 'app_evaluate_pay_final')">支付尾款</view> <view v-if="status == 32 && !subStatus && paymentType == 1" class="common-btn blue-btn ml-24" @click.stop="handleClick('payFull', 'app_evaluate_pay_final')">支付尾款</view>
<view v-if="(status == 30 && !subStatus && paymentType == 2 && previousStatus == 20) || (status == 40 && !subStatus && previousStatus == 30 && paymentType == 1)" class="common-btn blue-btn ml-24" @click.stop="handleClick('confirmDelivery', 'app_evaluate_confirm_delivery')">确认交车</view> <view v-if="(status == 30 && !subStatus && paymentType == 2 && previousStatus == 20) || (status == 40 && !subStatus && previousStatus == 30 && paymentType == 1)" class="common-btn blue-btn ml-24" @click.stop="handleClick('confirmDelivery', 'app_evaluate_confirm_delivery')">确认交车</view>
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
<view v-if="tabIndex == index && index == 0" class="sprite-icon tab-first-left icon-first-left"></view> <view v-if="tabIndex == index && index == 0" class="sprite-icon tab-first-left icon-first-left"></view>
<view v-if="tabIndex == index && index == 0" class="sprite-icon tab-first-right icon-first-right"></view> <view v-if="tabIndex == index && index == 0" class="sprite-icon tab-first-right icon-first-right"></view>
<view v-if="tabIndex == index && index != 0 && index != typeList.length - 1" class="sprite-icon tab-second-right icon-second-right"></view> <view v-if="tabIndex == index && index != 0 && index != typeList.length - 1" class="sprite-icon tab-second-right icon-second-right"></view>
<view v-if="tabIndex == index && index != 0 && index == typeList.length - 1" class="sprite-icon tab-end-right icon-end-right"></view>
<view v-if="tabIndex == index && index != 0" class="sprite-icon tab-second-left icon-second-left"></view> <view v-if="tabIndex == index && index != 0" class="sprite-icon tab-second-left icon-second-left"></view>
<view class="text flex justify-center align-center" :class="[tabIndex == index ? `active` : '']"> <view class="text flex justify-center align-center" :class="[tabIndex == index ? `active` : '']">
<view>{{ i[nameKey] }}</view> <view>{{ i[nameKey] }}</view>
...@@ -91,7 +92,7 @@ export default { ...@@ -91,7 +92,7 @@ export default {
text-align: center; text-align: center;
font-weight: 400; font-weight: 400;
font-size: toRpx(28); font-size: toRpx(28);
color: #292D33; color: #292d33;
position: relative; position: relative;
margin-right: toRpx(16); margin-right: toRpx(16);
.text { .text {
...@@ -99,7 +100,7 @@ export default { ...@@ -99,7 +100,7 @@ export default {
text-align: center; text-align: center;
height: toRpx(96); height: toRpx(96);
padding: 0 toRpx(64); padding: 0 toRpx(64);
transition: all .15s; transition: all 0.15s;
.count { .count {
font-size: toRpx(24); font-size: toRpx(24);
} }
...@@ -124,7 +125,7 @@ export default { ...@@ -124,7 +125,7 @@ export default {
position: relative; position: relative;
font-weight: 500; font-weight: 500;
font-size: toRpx(32); font-size: toRpx(32);
color: #3B73FF; color: #3b73ff;
&::after { &::after {
content: ''; content: '';
position: absolute; position: absolute;
...@@ -133,7 +134,7 @@ export default { ...@@ -133,7 +134,7 @@ export default {
transform: translateX(-50%); transform: translateX(-50%);
width: toRpx(40); width: toRpx(40);
height: toRpx(6); height: toRpx(6);
background-color: #3B73FF; background-color: #3b73ff;
border-radius: toRpx(16); border-radius: toRpx(16);
} }
} }
...@@ -156,6 +157,10 @@ export default { ...@@ -156,6 +157,10 @@ export default {
left: toMinusRpx(64); left: toMinusRpx(64);
position: absolute; position: absolute;
} }
.tab-end-right {
right: 0;
position: absolute;
}
} }
.tab-first-nav { .tab-first-nav {
background: url('@/assets/spritesmith/first-nav.png') no-repeat; background: url('@/assets/spritesmith/first-nav.png') no-repeat;
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<searchBox ref="searchBox" @search="searchClick" @reset="reset" :searchValue.sync="searchValue" /> <searchBox ref="searchBox" @search="searchClick" @reset="reset" :searchValue.sync="searchValue" />
<view class="box-class mt-32"> <view class="box-class mt-32">
<type-tab-component :typeList="typeList" :isShowCount="true" :tabIndex.sync="tabIndex" @tabClick="search"></type-tab-component> <type-tab-component :typeList="typeList" :isShowCount="true" :tabIndex.sync="tabIndex" @tabClick="search"></type-tab-component>
<z-paging ref="paging" :fixed="false" paging-class="paging-class" :class="tabIndex == 0 ? 'no-br' : ''" :loading-full-fixed="false" :auto-show-system-loading="true" :show-scrollbar="false" v-model="dataList" @query="queryList" :default-page-size="10"> <z-paging ref="paging" :fixed="false" paging-class="paging-class" :class="tabIndex == 0 ? 'no-br' : tabIndex == typeList.length - 1 ? 'no-br1' : ''" :loading-full-fixed="false" :auto-show-system-loading="true" :show-scrollbar="false" v-model="dataList" @query="queryList" :default-page-size="10">
<template #empty> <template #empty>
<view class="mask-box flex flex-col justify-center align-center"> <view class="mask-box flex flex-col justify-center align-center">
<image class="noDataImg" :src="noData" /> <image class="noDataImg" :src="noData" />
...@@ -103,7 +103,7 @@ ...@@ -103,7 +103,7 @@
</view> </view>
</template> </template>
</GeneralPopup> </GeneralPopup>
<GeneralPopup ref="amountRequestedPopup" popupClass="amountRequested" :title="amountRequestedPopupTitle" :confirmText="payPopupObj.paymentType == 1 && payPopupObj.status != 40 ? '款项申请' : '下一步'" type="center" :showClose="true" :isShowCancel="false" @confirm="confirmAmountRequested"> <GeneralPopup ref="amountRequestedPopup" popupClass="amountRequested" :title="amountRequestedPopupTitle" :confirmText="payPopupObj.paymentType == 1 && payPopupObj.status != 40 ? '款项申请' : '款项申请'" type="center" :showClose="true" :isShowCancel="false" @confirm="confirmAmountRequested">
<template #content> <template #content>
<view class="amount-requested-content"> <view class="amount-requested-content">
<view class="amount-box flex align-center"> <view class="amount-box flex align-center">
...@@ -203,7 +203,7 @@ export default { ...@@ -203,7 +203,7 @@ export default {
evalPrice: '', evalPrice: '',
paymentType: '', paymentType: '',
status: '', status: '',
paymentMethod: '1' paymentMethod: 1
}, },
signAgreementObj: { signAgreementObj: {
evalOrderNo: '', evalOrderNo: '',
...@@ -244,8 +244,8 @@ export default { ...@@ -244,8 +244,8 @@ export default {
{ name: '6', count: 1, previousStatus: '-1', subStatus: '', paymentType: '1' } { name: '6', count: 1, previousStatus: '-1', subStatus: '', paymentType: '1' }
], ],
paymentMethodRadioList: [ paymentMethodRadioList: [
{ name: '银行转账', value: '1' }, { name: '银行转账', value: 1 },
{ name: '冲账', value: '2' } { name: '冲账', value: 2 }
], ],
currentRadio: 0, currentRadio: 0,
signAgreementObjDetail: null signAgreementObjDetail: null
...@@ -382,8 +382,9 @@ export default { ...@@ -382,8 +382,9 @@ export default {
this.amountRequested(e) this.amountRequested(e)
this.amountRequestedPopupTitle = '申请定金支付' this.amountRequestedPopupTitle = '申请定金支付'
} else if (e.type === 'payFull') { } else if (e.type === 'payFull') {
console.log('payFull', e)
this.amountRequested(e) this.amountRequested(e)
this.amountRequestedPopupTitle = e.status == 40 && e.paymentType == 1 ? '申请尾款支付' : '申请全款支付' this.amountRequestedPopupTitle = e.status == 32 && e.paymentType == 1 ? '申请尾款支付' : '申请全款支付'
} else if (e.type === 'details') { } else if (e.type === 'details') {
this.jumpToDetails(e) this.jumpToDetails(e)
} else if (e.type === 'reSubmit') { } else if (e.type === 'reSubmit') {
...@@ -477,7 +478,7 @@ export default { ...@@ -477,7 +478,7 @@ export default {
if (res.data.code == 0) { if (res.data.code == 0) {
uni.hideLoading() uni.hideLoading()
uni.showToast({ uni.showToast({
title: this.payPopupObj.status == 40 && this.payPopupObj.paymentType == 1 ? '尾款已申请,请等待付款审批' : '全款已申请,请等待付款审批', title: this.payPopupObj.status == 32 && this.payPopupObj.paymentType == 1 ? '尾款已申请,请等待付款审批' : '全款已申请,请等待付款审批',
icon: 'none' icon: 'none'
}) })
setTimeout(() => { setTimeout(() => {
...@@ -720,7 +721,7 @@ export default { ...@@ -720,7 +721,7 @@ export default {
}, },
radioChange(value) { radioChange(value) {
console.log('radioChange', value) console.log('radioChange', value)
this.payPopupObj.paymentMethod = value.detail.value this.payPopupObj.paymentMethod = Number(value.detail.value)
} }
} }
} }
...@@ -789,6 +790,9 @@ export default { ...@@ -789,6 +790,9 @@ export default {
.no-br { .no-br {
border-radius: 0 toRpx(32) toRpx(32) toRpx(32); border-radius: 0 toRpx(32) toRpx(32) toRpx(32);
} }
.no-br1 {
border-radius: toRpx(32) 0 toRpx(32) toRpx(32);
}
.mask-box { .mask-box {
height: calc(100% - #{toRpx(96)}); height: calc(100% - #{toRpx(96)});
width: 100%; width: 100%;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!