<template>
	<view class="">
		<navigation :showBack="true" :bgnum="false">
			<image src="../../../../static/tongyonh/IconGroup.png" mode="aspectFit" class="renYou" slot="logo"></image>
			BTC node settings
		</navigation>
		<view class="main">
			<view class="main_con">
	<u-radio-group v-model="value" @change="radioGroupChange">
		 <view class="item flex" v-for="(item, index) in list" :key="index" @click="handove('en')">
				<u-radio 
					@change="radioChange" 					
					:name="item.name"
					:disabled="item.disabled"
					active-color="#5B53FF"
				>
				<view class="sp1">
					{{item.name}}
				</view>
				<view class="sp2">
					{{item.link}}
				</view>
				</u-radio>
				<view class="item_con flex2">
				 <view class="text1">24924ms</view>
				 <view class="color_con red">
				 	
				 </view>
				 <view class="text2">
				 	区块高度 700800
				 </view>
				</view>
					 </view>
			</u-radio-group>
		
	<view class="select_btn">
		Save
	</view>
		</view>
			</view>
	</view>
	
</template>

<script>
	import cont from "@/components/navigation/navigation.vue"
	export default {
		data() {
			return {
			checked: false,
			list: [
							{
								lang:'繁体中文',
								disabled: false,
								name:"BitcoooWallet",
								link:'https://bitcoin.mainziqianbao.net/'
							},
							{
								lang:'简体中文',
								disabled: false,
								name:"BitcoooWallet",
								link:'https://bitcoin.mainziqianbao.net/'
							},
							{
								lang:'English',
								disabled: false,
								name:"BitcoooWallet",
								link:'https://bitcoin.mainziqianbao.net/'
							},
						
						],
								// u-radio-group的v-model绑定的值如果设置为某个radio的name，就会被默认选中
								value: '',
			};
		},
		
		methods: {

				radioChange(e) {
						// console.log(e);
					},
					// 选中任一radio时，由radio-group触发
					radioGroupChange(e) {
						// console.log(e);
					},
		change(status) {
						// console.log(status);
					},
		},
		computed: {
		   i18n() {
		    return this.$t('index')
		   }
		   },
	};
</script>
<style scoped>

</style>

<style>

	@import './index.css';

</style>
