<template>
	<view>
		openId:<u-input v-model="openId" :border="true"></u-input>
		<u-button @click="submit" >提交</u-button>
	</view>
</template>

<script>

	
	export default {
		data() {
			return {
				openId:"",
				form: {
					phone: '',
					code: '',
				},
				
			}
		},
		onLoad(op) {
		
		},
		methods: {
			submit(){
				var NODE_NAME=  process.env['NODE_NAME']
				if(NODE_NAME=="production"){
					
					alert("该功能只支持测试环境")
				}else{
					this.carhelp.setOpenId(this.openId);
					this.carhelp.setToken("");
					this.carhelp.set("token_tdate","")
					uni.showToast({
						title:"修改成功"
					})
				}
				
				
			}
		},
		onReady() {
			this.openId=this.carhelp.getOpenId();
			
		}
	}
</script>

<style lang="scss" scoped>
	.login-title {
		display: flex;
		align-items: center;
		margin: 25px 30px;

		h3 {
			font-size: 20px;
			margin-left: 10rpx;
			color: #1677ff;
			font-weight: normal;
		}
	}

	.login-main {
		margin: 0 30px;
	}

	.login-btn {
		margin: 30px;
	}

	.login-code {
		color: #1677ff;
	}
</style>
