wallet.js 539 字节
new Vue({
	el:'#wallet',
	data: {	
	 money:''
	

	},
	created: function() {
		this.details();
	},
	methods: {
		//获取信息
		details: function() {
			var that = this;
			var url = '/UserCenter/getBalance'
			var params = {
				
				unique_id: localStorage.getItem('unique_id')
			}
			ajaxsend(url, params, function(res) {
				/*console.log(JSON.stringify(res))*/
				console.log(res);
				if(res.status==true){
					var data=res.data;
					that.money=data;
					console.log(that.money)
				}
				
				
	
			})
		},
		
		
		
	},
	
	
})