shish 11 месяцев назад
Родитель
Сommit
f3295b7fb6
1 измененных файлов с 3 добавлено и 27 удалено
  1. 3 27
      hdPad/src/pages/home/components/recharge.vue

+ 3 - 27
hdPad/src/pages/home/components/recharge.vue

@@ -61,31 +61,8 @@
           </view>
           </view>
         </view>
         </view>
 
 
-        <!-- 充值升级优惠 -->
-        <view v-if="rechargeWeal == 1" class="recharge-options">
-          <view class="options-title">充值活动:</view>
-          <view v-for="(item,index) in weal" :key="index" class="option-item">
-            <button 
-              @click="getRecharge(item.recharge)"
-              class="recharge-option-btn"
-              :class="[rForm.rechargeAmount == item.recharge ? 'selected' : '']"
-            >
-            <view class="option-content">
-              <view class="option-left">
-                <text class="recharge-amount">充值{{ item.recharge }}元</text>
-                <text class="upgrade-info">升{{ item.name }}</text>
-                <text class="discount-info">({{item.discount*100}}折)</text>
-              </view>
-              <view class="option-right">
-                {{ rForm.rechargeAmount == item.recharge ? '✓' : '选择' }}
-              </view>
-            </view>
-          </button>
-        </view>
-      </view>
-
         <!-- 充值送金额 -->
         <!-- 充值送金额 -->
-        <view v-if="rechargeWeal == 2" class="recharge-options">
+        <view class="recharge-options">
           <view class="options-title">充值优惠方案:</view>
           <view class="options-title">充值优惠方案:</view>
           <view v-for="(item,index) in weal" :key="index" class="option-item">
           <view v-for="(item,index) in weal" :key="index" class="option-item">
             <button 
             <button 
@@ -146,7 +123,6 @@ export default {
     return {
     return {
       rechargeInputFocus: false,
       rechargeInputFocus: false,
       weal: [],
       weal: [],
-      rechargeWeal: 0,
       showConfirmModal: false,
       showConfirmModal: false,
       confirmMessage: '确认充值?',
       confirmMessage: '确认充值?',
       confirmCallback: null,
       confirmCallback: null,
@@ -165,7 +141,6 @@ export default {
       getWeal().then(res => {
       getWeal().then(res => {
         if (res.code == 1) {
         if (res.code == 1) {
           this.weal = res.data.weal ? res.data.weal : []
           this.weal = res.data.weal ? res.data.weal : []
-          this.rechargeWeal = res.data.rechargeWeal ? res.data.rechargeWeal : 0
         }
         }
       })
       })
     },
     },
@@ -435,7 +410,8 @@ export default {
   left: 0;
   left: 0;
   right: 0;
   right: 0;
   bottom: 0;
   bottom: 0;
-  background-color: rgba(0, 0, 0, 0.3);
+  background-color: #000000;
+  opacity: 0.6;
   pointer-events: auto;
   pointer-events: auto;
 }
 }