From 1db9a4130699636cabe7e0c9f7f15d004aadada0 Mon Sep 17 00:00:00 2001
From: quanwei <419654421@qq.com>
Date: Fri, 21 Nov 2025 09:13:08 +0800
Subject: [PATCH] 1、超级分红 2、vip专区
---
mobile/pages/plus/business/list.vue | 37 +++++++++++++++++--------------------
1 files changed, 17 insertions(+), 20 deletions(-)
diff --git a/mobile/pages/plus/business/list.vue b/mobile/pages/plus/business/list.vue
index c6b7f0f..c1d64a0 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 || '支付失败');
@@ -754,10 +748,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 +765,8 @@
}
.card-info {
+ width: calc(100% - 270rpx);
+ margin-left: 10rpx;
.card-header {
margin-bottom: 12rpx;
@@ -824,10 +822,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 +935,7 @@
color: #333;
&.active {
- color: #37bde6;
+ color: #D41003;
}
.icon-check {
@@ -968,7 +965,7 @@
.confirm-btn {
color: #fff;
- background-color: #37bde6;
+ background-color: #D41003;
}
}
}
--
Gitblit v1.9.2