|
|
@@ -61,27 +61,6 @@
|
|
|
</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>
|
|
|
</scroll-view>
|
|
|
|
|
|
@@ -108,7 +87,6 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-import { getWeal } from "@/api/member"
|
|
|
import { toManRecharge } from "@/api/recharge"
|
|
|
|
|
|
export default {
|
|
|
@@ -134,16 +112,8 @@ export default {
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
|
- this.getWealData()
|
|
|
},
|
|
|
methods: {
|
|
|
- getWealData() {
|
|
|
- getWeal().then(res => {
|
|
|
- if (res.code == 1) {
|
|
|
- this.weal = res.data.weal ? res.data.weal : []
|
|
|
- }
|
|
|
- })
|
|
|
- },
|
|
|
getRecharge(amount) {
|
|
|
this.$util.hitVoice()
|
|
|
this.rForm.rechargeAmount = amount
|