Commit 28638fd2 authored by sjf1256754123's avatar sjf1256754123

Update leader.vue

parent 1b1fe8d0
<template> <template>
<view class="leader"> <view class="leader">
<view class="tips">
提示;请输入您申报复工时同样的信息(名字,手机号,身份证)!
</view>
<form @submit="formSubmit" @reset="formReset"> <form @submit="formSubmit" @reset="formReset">
<view class="cu-form-group"> <view class="cu-form-group">
<view class="title"><span style="color:red;display: inline-block; vertical-align:inherit;margin-right:4upx">*</span>姓名</view> <view class="title"><span style="color:red;display: inline-block; vertical-align:inherit;margin-right:4upx">*</span>姓名</view>
...@@ -45,22 +48,17 @@ ...@@ -45,22 +48,17 @@
icon: 'success', icon: 'success',
title: '注册成功!' title: '注册成功!'
}) })
setTimeout(function() { uni.navigateTo({
uni.navigateTo({ url: '/pages/index/index',
url: '/pages/index/index', });
});
}, 1500);
}else{ }else{
uni.showToast({ uni.showToast({
icon: 'none', icon: 'none',
title: d.message title: d.message
}) })
setTimeout(function() { uni.navigateTo({
uni.navigateTo({ url: '/pages/index/index',
url: '/pages/index/index', });
});
}, 1500);
} }
}).catch(err => { }).catch(err => {
console.log(err) console.log(err)
...@@ -77,6 +75,8 @@ ...@@ -77,6 +75,8 @@
</script> </script>
<style scoped> <style scoped>
.leader{ .tips{
font-size: 32upx;
padding:40upx;
} }
</style> </style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment