<template>
<div class="line-list line-list--indent">
	<div class="line-item">
		<Radio name="city" text="上海" value="1" @changed="onChanged"></Radio>
	</div>
	<div class="line-item">
		<Radio name="city" text="北京" value="2" @changed="onChanged"></Radio>
	</div>
	<div class="line-item">
		<Radio  text="深圳" disabled="disabled" ></Radio>
	</div>
	<div class="line-item">
		<Radio  text="广州" checked="checked" disabled="disabled"></Radio>
	</div>
	<div  class="line-item">
		checked:{{checkedValue | json}}
	</div>
</div>
</template>

<script>
import Radio from "components/radio/radio"

export default{
	data(){
		return{
	 		"checkedValue":""
		}
 	},
 	components:{
 		"Radio":Radio
 	},
 	methods:{
 		onChanged:function(item){
 			this.checkedValue=item;
 		}
 	}
}
</script>