瀏覽代碼

注册页面增加备案表

sandm 2 年之前
父節點
當前提交
cd9506c71b
共有 2 個文件被更改,包括 5 次插入0 次删除
  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-left: 4px;
     }
+    .has-feedback label~.form-control-feedback{
+        top: 35px;
+    }
     .table .td-label{
         display: block;
         text-align: left;

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

@@ -548,6 +548,8 @@ $(function(){
             var suffix = src.substring(sn+1,src.length);
             if(suffix == 'pdf' || suffix == 'PDF'){
                 $("#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{
                 imgSrc = this.result;
                 $("#photoImg3").attr("src", imgSrc);