quanwei
2025-11-11 0d04d60f456b1902c1e27b9586652649df3963d4
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;
               }
            }
         }