<template>
	<view>
		<!-- 模态框 -->
		<view class="cu-modal" :class="isShow?'show':''">
			<view class="cu-dialog">
				<view class="padding-xl text-left">
					<view>检测到工单消息未订阅，是否前往修改订阅设置？</view>
				</view>
				<view class="cu-bar bg-white">
					<navigator class="modal-bottom-oper margin-0 flex-sub text-black" @tap="hideModal">取消
					</navigator>
					<view class="modal-bottom-oper margin-0 flex-sub text-main-color solid-left" @tap="confirm">确定</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		name: 'vertify-settingSubscribe',
		data() {
			return {
				isShow: false
			}
		},
		methods: {
			showModal(e) {
				this.isShow = true
			},
			hideModal(e) {
				this.isShow = false;
			},
			confirm(e) {
				this.hideModal();
				wx.openSetting();
			}
		}
	}
</script>

<style>
</style>
