Bläddra i källkod

履约佣金字段修改完成

Huanyi 2 veckor sedan
förälder
incheckning
96d39a0d46
3 ändrade filer med 11 tillägg och 12 borttagningar
  1. 4 4
      pages/orders/detail/index.vue
  2. 4 4
      pages/orders/index.vue
  3. 3 4
      utils/config.js

+ 4 - 4
pages/orders/detail/index.vue

@@ -25,7 +25,7 @@
             <view class="detail-header">
                 <view class="status-row">
                     <text class="status-title">{{ displayStatusText }}</text>
-                    <text class="status-price">¥{{ orderDetail.price }}</text>
+                    <text class="status-price">¥{{ orderDetail.fulfillmentCommission }}</text>
                 </view>
                 <!-- 进度条区域 -->
                 <view class="progress-bar">
@@ -488,7 +488,7 @@ export default {
             currentClockIn: null,
             currentStep: 0,
             orderDetail: {
-                type: 1, price: '0.00', timeLabel: '服务时间', time: '',
+                type: 1, fulfillmentCommission: '0.00', timeLabel: '服务时间', time: '',
                 petAvatar: '/static/dog.png', petName: '', petBreed: '',
                 serviceTag: '', startLocation: '', startAddress: '', endAddress: '',
                 customerPhone: '', serviceContent: '', remark: '',
@@ -622,7 +622,7 @@ export default {
             this.orderStatus = order.status || 2
             this.orderDetail = {
                 type: this.orderType,
-                price: (order.price / 100).toFixed(2),
+                fulfillmentCommission: (order.price / 100).toFixed(2),
                 timeLabel: isRoundTrip ? '取货时间' : '服务时间',
                 time: order.serviceTime || '',
                 petAvatar: '/static/dog.png',
@@ -991,7 +991,7 @@ page {
     font-weight: bold;
 }
 
-.status-price {
+.status-fulfillmentCommission {
     font-size: 40rpx;
     font-weight: bold;
 }

+ 4 - 4
pages/orders/index.vue

@@ -91,7 +91,7 @@
                             <text class="label">{{ item.timeLabel }}:</text>
                             <text class="value">{{ item.time }}</text>
                         </view>
-                        <text class="price">¥{{ item.price }}</text>
+                        <text class="fulfillmentCommission">¥{{ item.fulfillmentCommission }}</text>
                     </view>
 
                     <!-- 宠物信息 -->
@@ -236,7 +236,7 @@
                         <text class="pm-log-date">{{ log.date }}</text>
                         <text class="pm-log-text">{{ log.content }}</text>
                         <text class="pm-log-recorder">{{ log.recorder === '系统记录' ? '' : '记录人: ' }}{{ log.recorder
-                            }}</text>
+                        }}</text>
                     </view>
                 </view>
                 <view style="height: 30rpx;"></view>
@@ -405,7 +405,7 @@ export default {
                 typeText: serviceText,
                 typeIcon: serviceIcon,
                 statusText: statusText,
-                price: (order.price / 100).toFixed(2),
+                fulfillmentCommission: (order.price / 100).toFixed(2),
                 timeLabel: '服务时间',
                 time: order.serviceTime || '',
                 petAvatar: order.petAvatar || '/static/dog.png',
@@ -1171,7 +1171,7 @@ page {
     margin-right: 10rpx;
 }
 
-.price {
+.fulfillmentCommission {
     font-size: 36rpx;
     font-weight: bold;
     color: #FF5722;

+ 3 - 4
utils/config.js

@@ -4,17 +4,16 @@
  */
 
 // API 基础地址(开发环境)
-// export const BASE_URL = 'http://192.168.1.118:8080'
-export const BASE_URL = 'http://www.hoomeng.pet/api'
+export const BASE_URL = 'http://192.168.1.118:8080'
+// export const BASE_URL = 'http://www.hoomeng.pet/api'
 // export const BASE_URL = 'http://192.168.0.102:8080'
 
 // 履约者App客户端ID(需要在 sys_client 表中配置)
 export const CLIENT_ID = 'fe63fea7be31b0200b496d08bc6b517d'
  
 // 履约者App平台码
-export const PLATFORM_CODE = 'FlfAppPlatformCodeX9kR7mT3wQ5vZ8nB1jY6pD4sL0hC2gA'
+export const PLATFORM_CODE = ''
 
-// 履约者平台ID(对应 Platform.FULFILLER.id = 2)
 export const PLATFORM_ID = 3
 
 // 租户ID(默认)