From a345e57300e7ea667da2ef7e837612c22d98bc3c Mon Sep 17 00:00:00 2001
From: quanwei <419654421@qq.com>
Date: Wed, 12 Nov 2025 18:29:44 +0800
Subject: [PATCH] 名片收银台

---
 mobile/pages/plus/business/list.vue |   30 ++++++++++++------------------
 1 files changed, 12 insertions(+), 18 deletions(-)

diff --git a/mobile/pages/plus/business/list.vue b/mobile/pages/plus/business/list.vue
index c6b7f0f..6e2604b 100644
--- a/mobile/pages/plus/business/list.vue
+++ b/mobile/pages/plus/business/list.vue
@@ -2,7 +2,7 @@
 	<view class="business-card-list">
 		<!-- 筛选区域 -->
 		<view class="filter-section">
-			<view class="filter-item" :class="{ active: sortType === 'latest' }" @tap="changeSort('latest')">
+			<view class="filter-item" :class="{ active: sortType === '' }" @tap="changeSort('latest')">
 				<text>最新</text>
 			</view>
 			<view class="filter-item" :class="{ active: showIndustryFilter }" @tap="toggleIndustryFilter">
@@ -150,18 +150,6 @@
 						v-if="selectedCard.duties && selectedCard.duties.length > 0">{{ selectedCard.duties[0] }}</text>
 					<text class="price">¥{{ selectedCard.grade.price }}</text>
 				</view>
-				<!-- <view class="payment-methods">
-					<view class="method-item" :class="{ active: paymentMethod === 'balance' }"
-						@tap="selectPaymentMethod('balance')">
-						<text class="method-name">联盟币支付</text>
-						<text class="iconfont icon-check" v-if="paymentMethod === 'balance'"></text>
-					</view>
-					<view class="method-item" :class="{ active: paymentMethod === 'wechat' }"
-						@tap="selectPaymentMethod('wechat')">
-						<text class="method-name">微信支付</text>
-						<text class="iconfont icon-check" v-if="paymentMethod === 'wechat'"></text>
-					</view>
-				</view> -->
 				<view class="modal-footer">
 					<view class="cancel-btn" @tap="closePaymentModal">取消</view>
 					<view class="confirm-btn" @tap="confirmPayment">确认</view>
@@ -321,7 +309,13 @@
 
 			// 切换排序
 			changeSort(sortType) {
-				this.sortType = sortType;
+				if(this.sortType=='latest'){
+					this.sortType = ''
+				}else{
+					
+					this.sortType = sortType;
+				}
+				
 				this.loadCardList(true);
 			},
 
@@ -540,7 +534,7 @@
 					if (res.code === 1) {
 						// 跳转到收银台支付
 						uni.redirectTo({
-							url: '/pages/order/cashier?order_id=' + res.data.order_id + '&order_type=100'
+							url: '/pages/plus/business/cashier?order_id=' + res.data.order_id + '&order_type=100'
 						});
 					} else {
 						this.showError(res.msg || '支付失败');
@@ -824,7 +818,7 @@
 
 					.action-btn {
 						padding: 10rpx 32rpx;
-						background-color: #37bde6;
+						background-color: #D41003;
 						color: #fff;
 						border-radius: 20rpx;
 						font-size: 28rpx;
@@ -938,7 +932,7 @@
 						color: #333;
 
 						&.active {
-							color: #37bde6;
+							color: #D41003;
 						}
 
 						.icon-check {
@@ -968,7 +962,7 @@
 
 					.confirm-btn {
 						color: #fff;
-						background-color: #37bde6;
+						background-color: #D41003;
 					}
 				}
 			}

--
Gitblit v1.9.2