<script>
	import Vue from 'vue';
	export default {
		methods: {
		},
		onLaunch: function() {
			let that = this;
			//获取全局邀请码
			that.$Request.getT('/common/type/88').then(res => {
				if (res.code == 0) {
					if (res.data && res.data.value) {
						this.$queue.setData('publicRelation', res.data.value);
					}
				}
			});
			// 微信单笔提现最大金额
			that.$Request.getT('/common/type/143').then(res => {
				if (res.code == 0) {
					if (res.data && res.data.value) {
						this.$queue.setData('WxMaxMoney', res.data.value);
					}
				}
			});
			// 微信提现是否显示
			that.$Request.getT('/common/type/168').then(res => {
				if (res.code == 0) {
					if (res.data && res.data.value) {
						this.$queue.setData('wxCashSelect', res.data.value);
					}
				}
			});
			//商户端是否可以审核用户订单
			that.$Request.getT('/common/type/169').then(res => {
				if (res.code == 0) {
					if (res.data && res.data.value) {
						this.$queue.setData('ReviewOrder', res.data.value);
					}
				}
			});
			that.$Request.getT('/common/type/151').then(res => {
				if (res.code == 0) {
					if (res.data && res.data.value) {
						this.$queue.setData('151Url', res.data.value);
					}
				}
			});
			that.$Request.getT('/common/type/152').then(res => {
				if (res.code == 0) {
					if (res.data && res.data.value) {
						this.$queue.setData('152name', res.data.value);
					}
				}
			});
		},

		onShow: function() {
		},
		onHide: function() {}
	};
</script>

<style lang="scss">
	@import '@/static/css/colorui-main.css';
	@import '@/static/css/colorui-icon.css';
	@import '@/static/css/iconfont.css';
	@import "@/components/uview-ui/index.scss";
</style>
