From e455f93ee11a818188fb502570b0f7ff806cbf9f Mon Sep 17 00:00:00 2001 From: sw <939547590@qq.com> Date: Sat, 29 Aug 2015 12:04:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E5=9B=BE=E7=89=87=EF=BC=9B?= =?UTF-8?q?=E6=B5=8F=E8=A7=88=E5=9B=BE=E7=89=87=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/layouts/new_base_user.html.erb | 6 +++--- public/stylesheets/new_user.css | 2 +- public/stylesheets/users.css | 1 - 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/app/views/layouts/new_base_user.html.erb b/app/views/layouts/new_base_user.html.erb index 9561cc474..2f9fd4642 100644 --- a/app/views/layouts/new_base_user.html.erb +++ b/app/views/layouts/new_base_user.html.erb @@ -158,10 +158,10 @@

头像设置

+ <%= file_field_tag 'avatar[image]', - :id => nil, - :class => 'uppic_btn', - :style => 'width:70px;',#added by young + :id => "upload_user_image", + :style => 'display:none;',#added by young :size => "1", :multiple => false, :onchange => 'addInputAvatar(this);', diff --git a/public/stylesheets/new_user.css b/public/stylesheets/new_user.css index 5e5c9517b..062006e56 100644 --- a/public/stylesheets/new_user.css +++ b/public/stylesheets/new_user.css @@ -855,7 +855,7 @@ a.box_close{background:url(../images/img_floatbox.png) -22px 0 no-repeat;} .uppicBox{ width:265px; height:265px; background:#f2f2f5; float:left; color:#666; text-align:center;} .showpicBox{width:133px; height:250px; background:#f2f2f5; float:left; margin-left:20px; text-align:center; padding-top:15px; color:#666;} .mr15{ margin-right:15px;} -.uppic_btn{border:none; width:150px; background:none; margin-bottom:5px; color:#666; margin-top:105px;} +.uppic_btn{background: #64bdd9;color: #fff;width: 80px;height: 25px;margin-top: 105px;} /*20150820课程作业 LB*/ .HomeWork {width:708px; background-color:#ffffff; padding:20px; border:1px solid #dddddd;} diff --git a/public/stylesheets/users.css b/public/stylesheets/users.css index 48d73f86a..849aa1c02 100644 --- a/public/stylesheets/users.css +++ b/public/stylesheets/users.css @@ -116,7 +116,6 @@ a:hover.c_lgrey{ color:#3ca5c6;} .uppicBox{ width:265px; height:265px; background:#f2f2f5; float:left; color:#666; text-align:center;} .showpicBox{width:133px; height:250px; background:#f2f2f5; float:left; margin-left:20px; text-align:center; padding-top:15px; color:#666;} .mr15{ margin-right:15px;} -.uppic_btn{border:none; width:150px; background:none; margin-bottom:5px; color:#666; margin-top:105px;} /* 新建作品*/ .mr8{ margin-right:8px;} .mt2{ margin-top:2px;}