提交 af7818e6 编写于 作者: guangjun.yang's avatar guangjun.yang

请输入激活码

上级 04fd714b
...@@ -16,10 +16,17 @@ ...@@ -16,10 +16,17 @@
</div> </div>
</article> </article>
<section class="input-wrapper"> <section class="input-wrapper">
<article class="code"> <div class="code">
<span>激活码</span> <van-field
<input type="text" maxlength="26" v-model="activationCode" placeholder="请输入激活码"> maxlength="26"
</article> v-model="activationCode"
label="激活码"
placeholder="请输入激活码"
/>
<!-- <span>激活码</span>
<input type="text" maxlength="26" v-model="activationCode" placeholder="请输入激活码"> -->
</div>
<div class="cover"></div>
<span class="error">{{errorMsg}}</span> <span class="error">{{errorMsg}}</span>
<img v-show="!!activationCode" @click="clear" src="../../images/cme/phrase2/close.png" /> <img v-show="!!activationCode" @click="clear" src="../../images/cme/phrase2/close.png" />
</section> </section>
...@@ -146,30 +153,20 @@ export default { ...@@ -146,30 +153,20 @@ export default {
} }
.input-wrapper { .input-wrapper {
position: relative; position: relative;
.cover {
position: relative;
top: px2rem(-77px);
z-index: 1;
height: px2rem(2px);
margin-left: px2rem(58px);
margin-right: px2rem(2px);
background: #fff;
}
.code { .code {
display: flex; display: flex;
flex-direction: row; flex-direction: column;
height: px2rem(40px); padding: px2rem(20px) 0;
line-height: px2rem(40px); padding-top: 0;
font-size: px2rem(14px);
margin: px2rem(20px) 0;
margin-bottom: px2rem(40px);
// padding: px2rem(20px) 0;
// padding-top: 0;
span {
display: inline-block;
margin-right: px2rem(10px);
color: #373839;
// width: px2rem(50px);
}
input {
flex: 1;
border: 1px solid #C7C8C9;
border-radius: px2rem(4px);
padding: 0 px2rem(10px);
color: #373839;
box-shadow: none !important;
}
} }
.error { .error {
position: absolute; position: absolute;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册