|
|
@@ -14,7 +14,7 @@
|
|
|
<van-password-input :value="password" :focused="showKeyboard" @focus="showKeyboard = true" />
|
|
|
<!-- 数字键盘 -->
|
|
|
<van-number-keyboard v-model="password" :show="showKeyboard" @blur="showKeyboard = false" maxlength="6" />
|
|
|
- <div class="text2">忘记密码?</div>
|
|
|
+ <div class="text2" @click="$router.push('/tradingPassword')">忘记密码?</div>
|
|
|
</div>
|
|
|
<div class="list">
|
|
|
<div class="info">
|
|
|
@@ -55,6 +55,7 @@ export default {
|
|
|
return {
|
|
|
info: {},
|
|
|
message: '',
|
|
|
+ password: '',
|
|
|
payType: inWeixin ? 'WEIXIN' : 'ALIPAY',
|
|
|
payInfos: [
|
|
|
{
|
|
|
@@ -76,6 +77,7 @@ export default {
|
|
|
bottom: null,
|
|
|
orderId: 0,
|
|
|
gas: 1,
|
|
|
+ showKeyboard: false,
|
|
|
inWeixin
|
|
|
};
|
|
|
},
|
|
|
@@ -217,6 +219,33 @@ export default {
|
|
|
margin-right: 15px;
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+/deep/ .van-password-input {
|
|
|
+ margin: 0 0;
|
|
|
+ .van-password-input__security {
|
|
|
+ border: 1px solid #939599;
|
|
|
+ height: 42px;
|
|
|
+ border-radius: 2px;
|
|
|
+ li {
|
|
|
+ background-color: transparent;
|
|
|
+ &:not(:last-child) {
|
|
|
+ border-right: 1px solid #939599;
|
|
|
+ }
|
|
|
+ i {
|
|
|
+ background-color: #fff;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+/deep/.van-number-keyboard__body {
|
|
|
+ background-color: #4a4a4a;
|
|
|
+ .van-key {
|
|
|
+ background-color: @bg;
|
|
|
+ &:active {
|
|
|
+ background-color: @bg3;
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
.info {
|
|
|
display: flex;
|
|
|
align-items: center;
|