|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
<template>
|
|
|
<view class="login-page">
|
|
<view class="login-page">
|
|
|
<nav-bar title="注册" bgColor="transparent" color="#fff" :showBack="false"></nav-bar>
|
|
<nav-bar title="注册" bgColor="transparent" color="#fff" :showBack="false"></nav-bar>
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
<!-- 顶部渐变装饰区 -->
|
|
<!-- 顶部渐变装饰区 -->
|
|
|
<view class="hero-bg">
|
|
<view class="hero-bg">
|
|
|
<view class="deco-circle c1"></view>
|
|
<view class="deco-circle c1"></view>
|
|
@@ -54,8 +54,7 @@
|
|
|
<view class="input-icon-wrap">
|
|
<view class="input-icon-wrap">
|
|
|
<uni-icons type="staff" size="18" color="#ffc837"></uni-icons>
|
|
<uni-icons type="staff" size="18" color="#ffc837"></uni-icons>
|
|
|
</view>
|
|
</view>
|
|
|
- <input class="custom-input" v-model="name" placeholder="请输入姓名"
|
|
|
|
|
- placeholder-class="input-placeholder" />
|
|
|
|
|
|
|
+ <input class="custom-input" v-model="name" placeholder="请输入姓名" placeholder-class="input-placeholder" />
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
<!-- 邮箱 -->
|
|
<!-- 邮箱 -->
|
|
@@ -63,8 +62,7 @@
|
|
|
<view class="input-icon-wrap">
|
|
<view class="input-icon-wrap">
|
|
|
<uni-icons type="email" size="18" color="#ffc837"></uni-icons>
|
|
<uni-icons type="email" size="18" color="#ffc837"></uni-icons>
|
|
|
</view>
|
|
</view>
|
|
|
- <input class="custom-input" v-model="email" placeholder="请输入邮箱"
|
|
|
|
|
- placeholder-class="input-placeholder" />
|
|
|
|
|
|
|
+ <input class="custom-input" v-model="email" placeholder="请输入邮箱" placeholder-class="input-placeholder" />
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
<!-- 密码 -->
|
|
<!-- 密码 -->
|
|
@@ -268,17 +266,17 @@ const onSubmit = async () => {
|
|
|
password: password.value,
|
|
password: password.value,
|
|
|
confirmPassword: confirmPassword.value
|
|
confirmPassword: confirmPassword.value
|
|
|
})
|
|
})
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
uni.hideLoading()
|
|
uni.hideLoading()
|
|
|
uni.showToast({
|
|
uni.showToast({
|
|
|
title: '提交成功',
|
|
title: '提交成功',
|
|
|
icon: 'success'
|
|
icon: 'success'
|
|
|
})
|
|
})
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
// 缓存商户名称和提交时间,供审核界面展示使用
|
|
// 缓存商户名称和提交时间,供审核界面展示使用
|
|
|
uni.setStorageSync('registered_merchant', companyName.value)
|
|
uni.setStorageSync('registered_merchant', companyName.value)
|
|
|
uni.setStorageSync('registered_time', new Date().toLocaleString())
|
|
uni.setStorageSync('registered_time', new Date().toLocaleString())
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
setTimeout(() => {
|
|
setTimeout(() => {
|
|
|
uni.reLaunch({
|
|
uni.reLaunch({
|
|
|
url: '/pages/login/review'
|
|
url: '/pages/login/review'
|
|
@@ -441,7 +439,10 @@ const onSubmit = async () => {
|
|
|
border: none;
|
|
border: none;
|
|
|
border-radius: 52rpx;
|
|
border-radius: 52rpx;
|
|
|
letter-spacing: 4rpx;
|
|
letter-spacing: 4rpx;
|
|
|
- &::after { border: none; }
|
|
|
|
|
|
|
+
|
|
|
|
|
+ &::after {
|
|
|
|
|
+ border: none;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.register-redirect-row {
|
|
.register-redirect-row {
|