Răsfoiți Sursa

缺陷修改

TANGSHIZHE 5 ani în urmă
părinte
comite
b9a8f5b83e

+ 4 - 0
src/jfw/modules/app/src/web/staticres/jyapp/structuredata/css/write_infor.css

@@ -171,6 +171,10 @@ input::-webkit-input-placeholder{
   line-height: .48rem;
 }
 
+#writeInfo .infoMain .write_input .write_con .write_email .write_phone_ipt .ipt_email{
+  width: 4.2rem;
+}
+
 #writeInfo .infoMain .write_input .write_con .write_email .write_phone_ipt .correct-icon{
   background: url('../image/correct-icon-mobile.png') no-repeat;
   background-size: .48rem .48rem;

+ 5 - 1
src/jfw/modules/app/src/web/templates/structeddata/write_infor.html

@@ -182,6 +182,8 @@ $(function(){
       $('.email_code').slideUp();
       isfreesubmit[2] = 'true';
       isfreesubmit[3] = 'true';
+      $('.mf .ipt_email').val({{.T.s_myemail}})
+      $('.correct-icon').show()
       freesubmit();
   }
   if ({{.T.phone_num}}!=""&&{{.T.phone_num}}!=null){
@@ -196,7 +198,7 @@ $(function(){
   $('.mf .ipt_code').val('')
   $('.kf .ipt_name').val('')
   $('.kf .ipt_phone').val('')
-  
+
   $(".write_run_now").on("click",function(){
     window.location.href="/jyapp/front/dataExport/toSieve?from=structed"
   })
@@ -251,6 +253,7 @@ $(function(){
       var emailrule = isAvailableEmail(this.value)
       if(emailrule){
           if (this.value=={{.T.s_myemail}}){
+            $('.correct-icon').show()
             $('.email_code').slideUp()
             isfreesubmit[3] = 'true'
           }else{
@@ -281,6 +284,7 @@ $(function(){
           $('.email_tips').hide()
           isfreesubmit[2] = 'true'
       }else{
+        $('.correct-icon').hide()
         var myreg=/^\s*$/g;
         if(myreg.test(this.value)){
           $('.email_tips').hide()

+ 4 - 0
src/web/staticres/structuredata/mobile/css/write_infor.css

@@ -172,6 +172,10 @@ input::-webkit-input-placeholder {
   line-height: .48rem;
 }
 
+#writeInfo .infoMain .write_input .write_con .write_email .write_phone_ipt .ipt_email{
+  width: 4.2rem;
+}
+
 #writeInfo .infoMain .write_input .write_con .write_email .write_phone_ipt .correct-icon{
   background: url('../image/correct-icon-mobile.png') no-repeat;
   background-size: .48rem .48rem;

+ 6 - 2
src/web/staticres/structuredata/pc/js/write_infor.js

@@ -6,6 +6,8 @@ if (s_myemail!=""&&s_myemail!=null){
    $('.email_code').slideUp();
    isfreesubmit[2] = 'true';
    isfreesubmit[3] = 'true';
+   $('.ipt_email').val(s_myemail)
+   $('.correct-icon').show()
    freesubmit();
 }
 if (s_phone!=""&&s_phone!=null){
@@ -127,6 +129,7 @@ window.location.href="/front/dataExport/toSieve?from=structed"
         var emailrule = isAvailableEmail(this.value)
         if(emailrule){
         	if (this.value==s_myemail){
+                $('.correct-icon').show()
 	         	$('.email_code').slideUp()
 	         	isfreesubmit[3] = 'true'
 	       	}else{
@@ -159,6 +162,7 @@ window.location.href="/front/dataExport/toSieve?from=structed"
             $('.err-email').hide()
             isfreesubmit[2] = 'true'
         }else{
+            $('.correct-icon').hide()
             var myreg=/^\s*$/g;
             if(myreg.test(this.value)){
                 $('.err-email').hide()
@@ -293,7 +297,7 @@ window.location.href="/front/dataExport/toSieve?from=structed"
                     $('.savedata-free').show()
                     setTimeout(function() {
                         $('.savedata-free').hide()
-                        history.go(-1)
+                        window.location.replace('/front/structed/pc_index.html')
                     },1500)
                 }else{
                     // vTools.jLoading({
@@ -327,7 +331,7 @@ window.location.href="/front/dataExport/toSieve?from=structed"
                    $('.savedata-infor').show()
                    setTimeout(function(){
                         $('.savedata-infor').hide()
-                        history.go(-1)
+                        window.location.replace('/front/structed/pc_index.html')
                    },1500)
                 } else{
                     // vTools.jLoading({

+ 5 - 1
src/web/templates/structuredata/mobile/write_infor_wx.html

@@ -13,7 +13,7 @@
         <link rel="stylesheet" href="{{Msg "seo" "cdn"}}/structuredata/mobile/css/base.css?v={{Msg "seo" "version"}}">
         <link rel="stylesheet" href="{{Msg "seo" "cdn"}}/structuredata/mobile/iconfont/iconfont.css?v={{Msg "seo" "version"}}">
         <link rel="stylesheet" href="{{Msg "seo" "cdn"}}/structuredata/mobile/css/weui.min.css?v={{Msg "seo" "version"}}">
-        <link rel="stylesheet" href="{{Msg "seo" "cdn"}}/structuredata/mobile/css/write_infor.css?v={{Msg "seo" "version"}}">
+        <link rel="stylesheet" href="{{Msg "seo" "cdn"}}/structuredata/mobile/css/write_infor.css?v={{Msg "seo" "version"}}1">
     </head>
 <body>
     <div id="writeInfo">
@@ -164,6 +164,8 @@ $(function(){
       $('.email_code').slideUp();
       isfreesubmit[2] = 'true';
       isfreesubmit[3] = 'true';
+      $('.mf .ipt_email').val({{.T.s_myemail}})
+      $('.correct-icon').show()
       freesubmit();
   }
   if ({{.T.phone_num}}!=""&&{{.T.phone_num}}!=null){
@@ -233,6 +235,7 @@ $(function(){
       var emailrule = isAvailableEmail(this.value)
       if(emailrule){
           if (this.value=={{.T.s_myemail}}) {
+            $('.correct-icon').show()
             $('.email_code').slideUp()
             isfreesubmit[3] = 'true'
           }else{
@@ -264,6 +267,7 @@ $(function(){
           $('.email_tips').hide()
           isfreesubmit[2] = 'true'
       } else{
+        $('.correct-icon').hide()
         var myreg=/^\s*$/g;
         if(myreg.test(this.value)){
             $('.email_tips').hide()