shish 6 ماه پیش
والد
کامیت
3c80252e39
1فایلهای تغییر یافته به همراه0 افزوده شده و 30 حذف شده
  1. 0 30
      hdPad/src/pages/home/components/recharge.vue

+ 0 - 30
hdPad/src/pages/home/components/recharge.vue

@@ -61,27 +61,6 @@
           </view>
           </view>
         </view>
         </view>
 
 
-        <!-- 充值送金额 -->
-        <view 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="give-info">送{{ item.give }}元</text>
-              </view>
-              <view class="option-right">
-                {{ rForm.rechargeAmount == item.recharge ? '✓' : '选择' }}
-              </view>
-            </view>
-          </button>
-        </view>
-      </view>
     </view>
     </view>
     </scroll-view>
     </scroll-view>
 
 
@@ -108,7 +87,6 @@
 </template>
 </template>
 
 
 <script>
 <script>
-import { getWeal } from "@/api/member"
 import { toManRecharge } from "@/api/recharge"
 import { toManRecharge } from "@/api/recharge"
 
 
 export default {
 export default {
@@ -134,16 +112,8 @@ export default {
     };
     };
   },
   },
   created() {
   created() {
-    this.getWealData()
   },
   },
   methods: {
   methods: {
-    getWealData() {
-      getWeal().then(res => {
-        if (res.code == 1) {
-          this.weal = res.data.weal ? res.data.weal : []
-        }
-      })
-    },
     getRecharge(amount) {
     getRecharge(amount) {
       this.$util.hitVoice()
       this.$util.hitVoice()
       this.rForm.rechargeAmount = amount
       this.rForm.rechargeAmount = amount