Skip to content

Commit

Permalink
生成纪念册界面修改
Browse files Browse the repository at this point in the history
  • Loading branch information
canzhen committed Jun 19, 2016
1 parent 9e05d00 commit 283f684
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 12 deletions.
9 changes: 4 additions & 5 deletions public/css/create_album.css
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@ Volton Template
}
@font-face
{
font-family: 'robotobold';
font-family: '微软雅黑';
font-weight: normal;
font-style: normal;

Expand Down Expand Up @@ -1283,17 +1283,16 @@ hr

h3.profile-title
{
font-family: 'robotobold';
font-size: 18px;

font-family: '微软雅黑';
font-size: 15px;
margin-bottom: 5px;
/*color: white;*/

color: #333;
}
p.profile-description
{
font-family: 'robotobold';
font-family: '微软雅黑';
font-size: 18px;

margin-bottom: 5px;
Expand Down
10 changes: 8 additions & 2 deletions public/js/create_album.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,13 @@ yinjiApp.controller('albumController',
// });


$scope.userName = "尊敬的";

$http.get('/getUserName')
.success(function(response){
$scope.userName += (response + ",您好");
});

//创建纪念册
$scope.createAlbum = function () {
//输入验证通过
Expand All @@ -112,8 +119,7 @@ yinjiApp.controller('albumController',
//console.log(ff);
//document.getElementById("subBtn").submit();
//$("imgForm").submit();



if ($scope.checkAlbumInput()) {
if ($scope.nameOfAuthor == null || $scope.nameOfAuthor == "")
//$scope.nameOfAuthor = $_SESSION['userName'];
Expand Down
8 changes: 3 additions & 5 deletions resources/views/create_album.blade.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@extends('layouts.content')

@section('title','生成相簿')
@section('title','生成纪念册')

@section('header')
@parent
Expand Down Expand Up @@ -36,8 +36,7 @@
<img src="/images/create_album/profile.jpg" alt="用户头像">
</div>
<div class="profile-content">
<h3 class="profile-title">用户名字</h3>
<p class="profile-description">创建一本时光书</p>
<h3 class="profile-title"> @{{ userName }}</h3>
</div>
</div>
</div>
Expand All @@ -60,8 +59,7 @@
<div class="profile-image">
<img src="/images/create_album/profile.jpg" alt="用户头像">
</div>
<h3 class="profile-title">&nbsp;&nbsp;用户名字</h3>
<p class="profile-description">&nbsp;创建一本时光书</p>
<h3 class="profile-title">@{{ userName }}</h3>
</div> <!-- 用户头像及用户昵称结束 -->
<!-- 导航栏 -->
<div class="main-navigation">
Expand Down

0 comments on commit 283f684

Please sign in to comment.