<template>
	<view class="main">
		<view class="nav-head-H5"  @tap="back()">
			<image src="../../static/public/back.png" mode="aspectFit" class="back"></image>
		</view>
		<web-view  :src="urls"></web-view>
	</view>
</template>

<script>
	export default {
		components: {

		},
		name: "rechargeRecord",
		data() {
			return {
				urls: '',
				webviewStyles: {
					progress: {

						color: '#FF3333'
					}
				}
			};
		},
		computed: {
			i18n() {
				return this.$t("recharge");
			},
		},
		onReachBottom() {

		},
		onLoad(res) {
			this.urls = res.url
		},
		onShow() {},
		methods: {
			back() {
				uni.redirectTo({
					url:'/pages/recharge/recharge'
				})
			}

		},
	}
</script>

<style lang="scss" scoped>
	.item {
		font-size: 28rpx;
		text-align: center;
		width: 234rpx;
		line-height: 60rpx;
	}

	.nav-head-H5 {
		position: fixed;
		// top: 700rpx;
		    top: 32%;
		height: 56rpx;
		text-align: center;
		font-weight: 700;
		font-size: 38rpx;
		color: #fff;
		display: flex;
		justify-content: center;
		align-items: center;
		width: 10%;
		background-color: #4DA2FF;
		z-index: 99999;
		border-bottom: 2px solid #4DA2FF;

		&.tp {
			background-color: transparent;
			border: none;
		}
	}

	.nav-head {
		position: fixed;
		top: 0rpx;
		height: 112rpx;
		// background-color: #fafafa;
		// background-color: #fff;
		text-align: center;
		font-weight: 700;
		font-size: 36rpx;
		color: #fff;
		// padding: 40rpx 16rpx;
		padding-top: 88rpx;
		display: flex;
		justify-content: center;
		align-items: center;
		width: 100%;
		background-color: #15141F;
		z-index: 9999;
		border-bottom: 4rpx solid #323045;

		&.tp {
			background-color: transparent;
			border: none;
		}
	}

	.back {
		width: 80rpx;
		height: 80rpx;
		position: absolute;
		left: 0rpx;
		z-index: 9999;
	}

	.content {
		// margin-top: 150rpx;
		// padding-bottom: 120rpx;
	}
</style>
