新增暂停时长
This commit is contained in:
@@ -142,7 +142,9 @@
|
||||
|
||||
// 格式化订单数据
|
||||
const formattedOrder = {
|
||||
orderNo: orderData.orderId,
|
||||
orderNo: orderData.orderNo || orderData.orderId,
|
||||
orderId: orderData.orderId,
|
||||
orderStatus: orderData.orderStatus,
|
||||
status: orderData.orderStatus,
|
||||
deviceId: orderData.deviceNo,
|
||||
payWay: orderData.payWay,
|
||||
@@ -150,7 +152,8 @@
|
||||
endTime: orderData.endTime || '',
|
||||
positionName: orderData.positionName || orderData.positionLocation || '',
|
||||
deviceName: orderData.deviceName || '',
|
||||
amount: orderData.payAmount || orderData.actualDeviceAmount || orderData.currentFee || orderData.residueAmount || '0.00'
|
||||
amount: orderData.payAmount || orderData.actualDeviceAmount || orderData.currentFee || orderData.residueAmount || '0.00',
|
||||
pauseTime: orderData.pauseTime != null ? orderData.pauseTime : orderData.pause_time
|
||||
};
|
||||
|
||||
// 将订单添加到列表开头
|
||||
@@ -207,7 +210,8 @@
|
||||
endTime: item.endTime || '',
|
||||
positionName: item.positionName || item.positionLocation || '',
|
||||
deviceName: item.deviceName || '',
|
||||
amount: item.payAmount || item.actualDeviceAmount || item.currentFee || item.residueAmount || '0.00'
|
||||
amount: item.payAmount || item.actualDeviceAmount || item.currentFee || item.residueAmount || '0.00',
|
||||
pauseTime: item.pauseTime != null ? item.pauseTime : item.pause_time
|
||||
};
|
||||
});
|
||||
}
|
||||
|
||||
@@ -2,19 +2,19 @@
|
||||
<view class="help-container">
|
||||
<!-- 常见问题 -->
|
||||
<view class="faq-section">
|
||||
<view
|
||||
<view
|
||||
v-for="(item, index) in faqList"
|
||||
:key="index"
|
||||
class="collapse-item"
|
||||
>
|
||||
<view
|
||||
<view
|
||||
class="collapse-header"
|
||||
@click="toggleCollapse(index)"
|
||||
>
|
||||
<text class="collapse-title">{{ $t(item.question) }}</text>
|
||||
<text class="collapse-icon" :class="{ 'active': activeIndex === index }">▼</text>
|
||||
</view>
|
||||
<view
|
||||
<view
|
||||
class="collapse-content"
|
||||
:class="{ 'show': activeIndex === index }"
|
||||
>
|
||||
@@ -87,12 +87,12 @@ const makePhoneCall = () => {
|
||||
background: #fff;
|
||||
border-radius: 20rpx;
|
||||
margin-bottom: 30rpx;
|
||||
box-shadow: 0 4rpx 16rpx rgba(0,0,0,0.04);
|
||||
box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.04);
|
||||
overflow: hidden;
|
||||
|
||||
.collapse-item {
|
||||
border-bottom: 1rpx solid #f0f0f0;
|
||||
|
||||
|
||||
&:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
@@ -143,7 +143,7 @@ const makePhoneCall = () => {
|
||||
.answer-content {
|
||||
padding: 20rpx 30rpx 30rpx;
|
||||
background: #f9f9f9;
|
||||
|
||||
|
||||
.answer-text {
|
||||
font-size: 28rpx;
|
||||
color: #666;
|
||||
@@ -159,7 +159,7 @@ const makePhoneCall = () => {
|
||||
background: #fff;
|
||||
border-radius: 20rpx;
|
||||
padding: 30rpx;
|
||||
box-shadow: 0 4rpx 16rpx rgba(0,0,0,0.04);
|
||||
box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.04);
|
||||
|
||||
.contact-title {
|
||||
position: relative;
|
||||
@@ -181,7 +181,7 @@ const makePhoneCall = () => {
|
||||
width: 88%;
|
||||
height: 16rpx;
|
||||
border-radius: 20rpx;
|
||||
background: #07C160;
|
||||
background: #07c160;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -191,7 +191,7 @@ const makePhoneCall = () => {
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 20rpx 0;
|
||||
|
||||
|
||||
.label {
|
||||
font-size: 28rpx;
|
||||
color: #666;
|
||||
@@ -210,4 +210,4 @@ const makePhoneCall = () => {
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user