From 73b874c72ad55eb9eef21c36160ac0de58f0189e Mon Sep 17 00:00:00 2001
From: quanwei <419654421@qq.com>
Date: Thu, 05 Feb 2026 10:30:43 +0800
Subject: [PATCH] 优化名片

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

diff --git a/mobile/pages/plus/business/list.vue b/mobile/pages/plus/business/list.vue
index c6b7f0f..969bae9 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 || '支付失败');
@@ -745,6 +739,7 @@
 
 		.card-list {
 			width: calc(100% - 40rpx);
+			height: calc(100vh - 94rpx - 80rpx);
 			padding: 0 20rpx 20rpx;
 
 			.card-item {
@@ -754,10 +749,12 @@
 				overflow: hidden;
 
 				.card-main {
+					display: flex;
+					align-items: center;
 					padding: 20rpx;
 
 					.card-image {
-						width: 100%;
+						width: 260rpx;
 						border-radius: 8rpx;
 						overflow: hidden;
 						margin-bottom: 16rpx;
@@ -769,6 +766,8 @@
 					}
 
 					.card-info {
+						width: calc(100% - 270rpx);
+						margin-left: 10rpx;
 						.card-header {
 							margin-bottom: 12rpx;
 
@@ -824,10 +823,9 @@
 
 					.action-btn {
 						padding: 10rpx 32rpx;
-						background-color: #37bde6;
+						background-color: #D41003;
 						color: #fff;
 						border-radius: 20rpx;
-						font-size: 28rpx;
 
 						&.purchased {
 							background-color: #e0e0e0;
@@ -938,7 +936,7 @@
 						color: #333;
 
 						&.active {
-							color: #37bde6;
+							color: #D41003;
 						}
 
 						.icon-check {
@@ -968,7 +966,7 @@
 
 					.confirm-btn {
 						color: #fff;
-						background-color: #37bde6;
+						background-color: #D41003;
 					}
 				}
 			}

--
Gitblit v1.9.2