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 | 28 ++++++++++------------------
1 files changed, 10 insertions(+), 18 deletions(-)
diff --git a/mobile/pages/plus/business/list.vue b/mobile/pages/plus/business/list.vue
index 89a318a..969bae9 100644
--- a/mobile/pages/plus/business/list.vue
+++ b/mobile/pages/plus/business/list.vue
@@ -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>
@@ -546,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 || '支付失败');
@@ -751,6 +739,7 @@
.card-list {
width: calc(100% - 40rpx);
+ height: calc(100vh - 94rpx - 80rpx);
padding: 0 20rpx 20rpx;
.card-item {
@@ -760,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;
@@ -775,6 +766,8 @@
}
.card-info {
+ width: calc(100% - 270rpx);
+ margin-left: 10rpx;
.card-header {
margin-bottom: 12rpx;
@@ -830,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;
@@ -944,7 +936,7 @@
color: #333;
&.active {
- color: #37bde6;
+ color: #D41003;
}
.icon-check {
@@ -974,7 +966,7 @@
.confirm-btn {
color: #fff;
- background-color: #37bde6;
+ background-color: #D41003;
}
}
}
--
Gitblit v1.9.2