在小屏下关于我显示调整
This commit is contained in:
parent
5f6e8e846a
commit
71840b89e4
|
@ -55,11 +55,6 @@
|
|||
padding-left: 0rem;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 40em) {
|
||||
.self-introduce-index {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
.self-introduce {
|
||||
margin-top: 2.2rem;
|
||||
|
||||
|
|
|
@ -28,21 +28,23 @@
|
|||
/*请到 common 调整个人设置*/
|
||||
= render 'common/welcome'
|
||||
h4 SUBSCRIBE
|
||||
ul.subscribe-ul
|
||||
- if ENV['MAIL_SERVER'].present?
|
||||
li
|
||||
= link_to '邮件订阅 ', '', "ng-click"=>"click('email')"
|
||||
.email-subscribe ng-show="type == 'email'"
|
||||
= text_field_tag 'email', nil, placeholder: 'your@email.com', 'ng-model'=>'email'
|
||||
button.small ng-click="subscribe()" ng-disabled="! email_validate()" 订阅
|
||||
span.subscribe-success ng-show="subscribe_success" 订阅成功
|
||||
span.subscribe-fail ng-show="subscribe_success == false" {{subscribe_fail_msg}}
|
||||
li
|
||||
= link_to '微信扫一扫', '', "ng-click"=>"click('weixin')"
|
||||
.weixin-subscribe ng-show="type == 'weixin'"
|
||||
= render partial: "qrcode", locals: { str: root_url }
|
||||
li
|
||||
= link_to 'RSS订阅', '', "ng-click"=>"click('rss')"
|
||||
.rss-subscribe ng-show="type == 'rss'"
|
||||
= link_to rss_blogs_path do
|
||||
- image_tag('rss.png')
|
||||
.row.ng-cloak
|
||||
.small-12.medium-6.columns
|
||||
ul.subscribe-ul
|
||||
- if ENV['MAIL_SERVER'].present?
|
||||
li
|
||||
= link_to '邮件订阅 ', '', "ng-click"=>"click('email')"
|
||||
.email-subscribe ng-show="type == 'email'"
|
||||
= text_field_tag 'email', nil, placeholder: 'your@email.com', 'ng-model'=>'email'
|
||||
button.small ng-click="subscribe()" ng-disabled="! email_validate()" 订阅
|
||||
span.subscribe-success ng-show="subscribe_success" 订阅成功
|
||||
span.subscribe-fail ng-show="subscribe_success == false" {{subscribe_fail_msg}}
|
||||
li
|
||||
= link_to '微信扫一扫', '', "ng-click"=>"click('weixin')"
|
||||
.weixin-subscribe ng-show="type == 'weixin'"
|
||||
= render partial: "qrcode", locals: { str: root_url }
|
||||
li
|
||||
= link_to 'RSS订阅', '', "ng-click"=>"click('rss')"
|
||||
.rss-subscribe ng-show="type == 'rss'"
|
||||
= link_to rss_blogs_path do
|
||||
- image_tag('rss.png')
|
||||
|
|
Loading…
Reference in New Issue