|
|
@@ -21,7 +21,7 @@
|
|
|
<el-input type="password" v-model="ruleForm.new_password2" placeholder="请再次输入新密码" @input="blurValidate(ruleFormRef)" />
|
|
|
</el-form-item>
|
|
|
<el-form-item>
|
|
|
- <el-button type="primary" color="#909399" style="color: #fff;" size="large" @click="submitForm(ruleFormRef)">
|
|
|
+ <el-button type="primary" size="large" @click="submitForm(ruleFormRef)">
|
|
|
提交
|
|
|
</el-button>
|
|
|
</el-form-item>
|
|
|
@@ -42,7 +42,7 @@
|
|
|
<el-input type="text" :disabled="!!user.profile.user_name" v-model="ruleForm2.account" placeholder="请输入用户名" />
|
|
|
</el-form-item>
|
|
|
<el-form-item v-if="!user.profile.user_name">
|
|
|
- <el-button type="primary" color="#909399" style="color: #fff;" size="large" @click="submitForm2(ruleFormRef2)">
|
|
|
+ <el-button type="primary" size="large" @click="submitForm2(ruleFormRef2)">
|
|
|
提交
|
|
|
</el-button>
|
|
|
</el-form-item>
|
|
|
@@ -65,16 +65,16 @@
|
|
|
<el-form-item label="验证码:" prop="captcha">
|
|
|
<el-input type="text" :disabled="ruleForm3.mobile.length !== 11" v-model="ruleForm3.captcha" placeholder="请输入验证码" >
|
|
|
<template #append>
|
|
|
- <el-button v-if="!!user.profile.mobile" @click="getCaptcha" style="width: 100px;" :disabled ="!can_send">{{smsMessage}}</el-button>
|
|
|
- <el-button v-else @click="getCaptcha2" style="width: 100px;" :disabled ="!can_send">{{smsMessage}}</el-button>
|
|
|
+ <el-button v-if="!!user.profile.mobile" type="primary" @click="getCaptcha" style="width: 100px;" :disabled ="!can_send">{{smsMessage}}</el-button>
|
|
|
+ <el-button v-else @click="getCaptcha2" type="primary" style="width: 100px;" :disabled ="!can_send">{{smsMessage}}</el-button>
|
|
|
</template>
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item >
|
|
|
- <el-button v-if="!!user.profile.mobile" type="info" style="color: #fff;" size="large" @click="submitForm3(ruleFormRef3)">
|
|
|
+ <el-button v-if="!!user.profile.mobile" type="primary" size="large" @click="submitForm3(ruleFormRef3)">
|
|
|
解绑
|
|
|
</el-button>
|
|
|
- <el-button v-else type="info" style="color: #fff;" size="large" @click="submitForm4(ruleFormRef3)">
|
|
|
+ <el-button v-else type="primary" size="large" @click="submitForm4(ruleFormRef3)">
|
|
|
绑定
|
|
|
</el-button>
|
|
|
</el-form-item>
|
|
|
@@ -133,7 +133,7 @@
|
|
|
:rules="[{ required: true, message: '请再次填写新密码' },{ validator: checkAgeMob}]"
|
|
|
/>
|
|
|
<div style="margin: 16px;display: flex;flex-direction: row-reverse;">
|
|
|
- <van-button style="width: 100%;padding: 10px;" round block type="primary" color="#909399" native-type="submit">
|
|
|
+ <van-button style="width: 100%;padding: 10px;" round block type="primary" native-type="submit">
|
|
|
提交
|
|
|
</van-button>
|
|
|
</div>
|
|
|
@@ -151,7 +151,7 @@
|
|
|
:rules="[{ required: true, message: '请填写用户名',trigger: 'onBlur' },{ pattern: pattern, message: '请输入以字母为开头,长度为6-20位的用户名'}]"
|
|
|
/>
|
|
|
<div v-if="!user.profile.user_name" style="margin: 16px;display: flex;flex-direction: row-reverse;">
|
|
|
- <van-button round block style="width: 100%;padding: 10px;" type="primary" color="#909399" native-type="submit">
|
|
|
+ <van-button round block style="width: 100%;padding: 10px;" type="primary" native-type="submit">
|
|
|
提交
|
|
|
</van-button>
|
|
|
</div>
|
|
|
@@ -176,15 +176,15 @@
|
|
|
placeholder="请输入验证码"
|
|
|
:rules="[{ required: true, message: '请填写验证码' }]">
|
|
|
<template #button>
|
|
|
- <van-button v-if="!!user.profile.mobile" color="#909399" size="small" type="primary" style="min-width: 20vw;" :disabled="!can_send" @click="getCaptcha">{{ smsMessage }}</van-button>
|
|
|
- <van-button v-else size="small" color="#909399" type="primary" style="min-width: 20vw;" :disabled="!can_send" @click="getCaptcha2">{{ smsMessage }}</van-button>
|
|
|
+ <van-button v-if="!!user.profile.mobile" size="small" type="primary" style="min-width: 20vw;" :disabled="!can_send" @click="getCaptcha">{{ smsMessage }}</van-button>
|
|
|
+ <van-button v-else size="small" type="primary" style="min-width: 20vw;" :disabled="!can_send" @click="getCaptcha2">{{ smsMessage }}</van-button>
|
|
|
</template>
|
|
|
</van-field>
|
|
|
<div style="margin: 16px;">
|
|
|
- <van-button v-if="!!user.profile.mobile" style="width: 100%;padding: 10px;" round block type="primary" color="#909399" @click="onSubmit3">
|
|
|
+ <van-button v-if="!!user.profile.mobile" style="width: 100%;padding: 10px;" round block type="primary" @click="onSubmit3">
|
|
|
解绑
|
|
|
</van-button>
|
|
|
- <van-button v-else round block type="primary" style="width: 100%;padding: 10px;" color="#909399" @click="onSubmit4">
|
|
|
+ <van-button v-else round block type="primary" style="width: 100%;padding: 10px;" @click="onSubmit4">
|
|
|
绑定
|
|
|
</van-button>
|
|
|
</div>
|