Explorar o código

注册页面增加备案表

sandm %!s(int64=2) %!d(string=hai) anos
pai
achega
cd9506c71b
Modificáronse 2 ficheiros con 5 adicións e 0 borrados
  1. 3 0
      app/common/view/auth/register.html
  2. 2 0
      public/static/js/register.js

+ 3 - 0
app/common/view/auth/register.html

@@ -11,6 +11,9 @@
         padding-right:4px;
         padding-right:4px;
         padding-left: 4px;
         padding-left: 4px;
     }
     }
+    .has-feedback label~.form-control-feedback{
+        top: 35px;
+    }
     .table .td-label{
     .table .td-label{
         display: block;
         display: block;
         text-align: left;
         text-align: left;

+ 2 - 0
public/static/js/register.js

@@ -548,6 +548,8 @@ $(function(){
             var suffix = src.substring(sn+1,src.length);
             var suffix = src.substring(sn+1,src.length);
             if(suffix == 'pdf' || suffix == 'PDF'){
             if(suffix == 'pdf' || suffix == 'PDF'){
                 $("#photoImg3").attr("src", Feng.ctxPath + "/static/img/Pdf.png");
                 $("#photoImg3").attr("src", Feng.ctxPath + "/static/img/Pdf.png");
+            }else if(suffix == 'doc' || suffix == 'docx'){
+                $("#photoImg3").attr("src", Feng.ctxPath + "/static/img/word.jpg");
             }else{
             }else{
                 imgSrc = this.result;
                 imgSrc = this.result;
                 $("#photoImg3").attr("src", imgSrc);
                 $("#photoImg3").attr("src", imgSrc);