<template>
	<view class="vip_equity_content">
		<image :src="equityImg" class="vip_img" @click.stop="toEquity"> </image>
	 
			<vipEquity />  
			
		 
	</view>

</template>

<script>
	import {
		getVipDescAPI,
	} from "@/request/recharge/index.js";
	import vipEquity from '../vipEquity/index.vue'
	export default {
		components:{
			vipEquity
		},
		data() {
			return {
				equityContent: "",
				equityImg: 'https://img.agrimedia.cn/chwl/vipEquity.png'
			};
		},
		methods: {
			//获取VIP权益接口或者图片
			getVipDesc() {
				getVipDescAPI().then((res) => {
					if (res) {
						const {
							code,
							data
						} = res
						if (code == 200) {
							this.protocolContent = data
						}
					}


				}).catch((error) => {

				})
			},
				//查看权益
				toEquity(){
				uni.navigateTo({
					url: `/pages/pages-recharge/rechargeEquityCard/index`
				});
			}
		},
		onLoad() {
			//  this.getVipDesc()
		}
	}
</script>

<style lang="scss">
	.vip_equity_content {
		padding: 20rpx 24rpx;

		.vip_img {
			height: 182rpx;
		}

		 
	}
</style>
