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

弹框关闭等

上级 fda4dc62
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
/> />
</article> </article>
<span class="error">{{errorMsg}}</span> <span class="error">{{errorMsg}}</span>
<img v-show="!!activationCode" @click="clear" src="../../images/cme/phrase2/close.png" />
</section> </section>
<article class="bottom"> <article class="bottom">
...@@ -86,6 +87,9 @@ export default { ...@@ -86,6 +87,9 @@ export default {
aCode = aCode.replace(/\s/g,''); aCode = aCode.replace(/\s/g,'');
this.$emit("confirm", aCode); this.$emit("confirm", aCode);
}, },
clear() {
this.activationCode = ''
}
} }
}; };
</script> </script>
...@@ -148,6 +152,13 @@ export default { ...@@ -148,6 +152,13 @@ export default {
color: red; color: red;
font-size: px2rem(12px); font-size: px2rem(12px);
} }
img {
position: absolute;
top: px2rem(30px);
right: px2rem(12px);
width: px2rem(15px);
height: px2rem(15px);
}
} }
.bottom { .bottom {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册