Browse Source

机构介绍页面

hangb 8 years ago
parent
commit
85811cd2cf

+ 1 - 0
donate-service/src/main/java/com/uas/service/donate/WebAppConfiguration.java

@@ -57,6 +57,7 @@ public class WebAppConfiguration extends WebMvcConfigurerAdapter {
 		registry.addViewController("/personalCertificate").setViewName("personalCertificate");
 		registry.addViewController("/personalCenter").setViewName("personalCenter");
 		registry.addViewController("/donationsOver").setViewName("donationsOver");
+		registry.addViewController("/donateQrcode").setViewName("donateQrcode");
 		registry.addViewController("/projectProcessInstruction").setViewName("projectProcessInstruction");
 		registry.addViewController("/selectInstitutionsNature").setViewName("selectInstitutionsNature");
 		registry.addViewController("/launchProject").setViewName("launchProject");

+ 35 - 3
donate-service/src/main/webapp/resources/view/project/organization_detail.html

@@ -96,13 +96,37 @@
         /*border-top: 2px solid #efb13b;*/
     }
     .section1 .evolve .img{
+        position: relative;
         width: 1140px;
         height: 180px;
-        border: 1px solid #e1e1e1;
     }
-    .section1 .evolve .img img{
+    .section1 .evolve .img img.bg{
         width: 1140px;
         height: 180px;
+        background: rgba(0,0,0,.3);
+    }
+    .section1 .evolve .img img.ak{
+        position: absolute;
+        width: 120px;
+        height: 120px;
+        left: 50px;
+        top: 30px;
+    }
+    .section1 .evolve .img div{
+        position: absolute;
+        top: 50px;
+        left: 226px;
+        text-align: left;
+    }
+    .section1 .evolve .img div p{
+        margin-bottom: 15px;
+        font-size: 36px;
+        font-weight: bold;
+        color: #fff;
+    }
+    .section1 .evolve .img div span{
+        font-size: 14px;
+        color: #fff;
     }
     .section1 .evolve .status {
         margin: 20px 0 0 50px;
@@ -612,7 +636,15 @@
             </div>
             <div class="evolve">
                 <div class="img">
-                    <img src="static/images/init.png" alt=""/>
+                    <!--背景图-->
+                    <img src="{{organization.logo}}" alt="" class="bg"/>
+                    <!--机构图-->
+                    <img src="{{organization.pcImg}}" alt="" class="ak"/>
+                    <div>
+                        <p ng-bind="organization.name">爱德基金会</p>
+                        <span ng-if="organization.type ==1">公募机构</span>
+                        <span ng-if="organization.type ==2">非公募</span>
+                    </div>
                 </div>
             </div>
         </div>