<template>
	<view>
		<u-modal
		v-model="show" 
		:content="tipsContent" 
		show-cancel-button
		:confirm-style="confirmStyle"
		confirm-text="立即授权"
		cancel-text="暂不授权"
		@confirm="confirm"
		>
		</u-modal>
	</view>
</template>

<script>
	export default {
		props: {
			tipsContent: ''
		},
		data() {
			return {
				show: false,
				confirmStyle: {
					color: 'white',
				},
			};
		},
		created() {
			this.confirmStyle.color = this.vuex_theme.bgColor;
		},

		methods: {
			confirm() {
				this.$emit('confirm')
			}
		}
	}
</script>

<style lang="scss" scoped>
	
</style>