huangb 7 yıl önce
ebeveyn
işleme
cfbf88116c

+ 7 - 0
assets/scss/common.scss

@@ -995,3 +995,10 @@ form .questions .el-form-item__content span.question {
 .go-register form .el-form-item.agree .el-form-item__content{
   margin-top: 18px!important ;
 }
+//sass登录
+iframe .el-message{
+  margin-top: -18px !important ;
+}
+iframe .el-message i.el-message__closeBtn{
+  display: none;
+}

+ 8 - 3
pages/sassLogin/index.vue

@@ -442,7 +442,7 @@
         this.isShowLoading = true
         if (!this.login.username) {
           this.isShowLoading = false
-          this.$message.error('请填写账号')
+          // this.$message.error('请填写账号')
         } else if (!this.login.password) {
           this.isShowLoading = false
           this.$message.error('请填写密码')
@@ -548,7 +548,10 @@
         this.isShowLoading = true
         if (!this.fastLogin.mobile) {
           this.isShowLoading = false
-          this.$message.error('请填写手机号')
+          this.$message.error({
+            message: '请填写手机号',
+            showClose: true
+          })
         } else {
           let param = new FormData()
           param.append('mobile', this.fastLogin.mobile)
@@ -821,13 +824,15 @@
 </script>
 <style lang="scss" type="text/scss">
  .x-container {
-   padding-top: 60px;
    width: 346px;
    margin: 0 auto;
    text-align: center;
    /*background: #FFFFFF;*/
    /*box-shadow: 0 22px 24px 0 rgba(0,0,0,0.08);*/
    /*border-radius: 3px;*/
+   .x-login-wrap{
+     margin-top: 45px;
+   }
    .login-tab {
      margin-bottom: 30px;
      width: 100%;

+ 1 - 1
pages/sassLogin/register.vue

@@ -481,7 +481,7 @@
     width: 100%;
     background: #eee;
     .container{
-      padding-top: 52px!important;
+      padding-top: 38px!important;
       margin: 0 auto;
       width: 980px;
       text-align: center;