Skip to content
Browse files

shopqi homepage navigate minor change. #404.

  • Loading branch information...
1 parent 4cf2aaa commit 13a5f0049b0208e4bd15274a07e004032fd38711 @saberma saberma committed Feb 10, 2012
View
8 app/assets/javascripts/shopqi_application.js.coffee
@@ -9,10 +9,10 @@
#=require_self
$(document).ready ->
- $(".ie6 #nav-primary li.megadropdown").hover -> # 官网页头导航
- $(this).children('ul').show()
- , ->
- $(this).children('ul').hide()
+ #$(".ie6 #nav-primary li.megadropdown").hover -> # 官网页头导航
+ # $(this).children('ul').show()
+ #, ->
+ # $(this).children('ul').hide()
$('.ie6 ').delegate '#themes li a, ul.theme-thumbs a', 'mouseover mouseout', (event) -> # 鼠标悬停时显示主题商店主题价格
if event.type is 'mouseover'
View
52 app/views/layouts/shopqi.html.haml
@@ -29,10 +29,7 @@
%a(href="/")
%a.logo-shopqi(href="/")=image_tag 'logos/shopqi_bag.gif'
%ul#nav-primary
- %li#nav-primary-phone
- %div
- %span 服务热线
- %span.imgreplacement.phone-400 400-6767-888
+ %li=link_to '首页', '/', class: 'top-nav'
%li(class=@current_tour)=link_to '特色演示', tour_intro_path, class: 'top-nav'
-#
%li
@@ -41,29 +38,32 @@
%li(class=@current_signup)=link_to '价格 & 注册', services_signup_path, class: 'top-nav'
%li.sub-nav
%ul.utilities
- %li.megadropdown
- %a(href="#") 资源
- %ul
- -#
+ %li=link_to '主题外观', theme_store_url_with_port
+ %li=link_to '帮助文档', wiki_url_with_port
+ -#
+ %li.megadropdown
+ %a(href="#") 资源
+ %ul
+ -#
+ %li
+ %a(href="http://support.shopqi.com/" title="欢迎 — 售后支持")
+ %strong> 售后支持
+ 联系ShopQi
+ %li
+ %a(href="http://forums.shopqi.com/" title="ShopQi论坛")
+ %strong> 论坛
+ ShopQi社区
+ %li
+ %a(href="http://apps.shopqi.com/" title="ShopQi应用商店")
+ %strong> 应用
+ 选择商店应用程序
%li
- %a(href="http://support.shopqi.com/" title="欢迎 — 售后支持")
- %strong> 售后支持
- 联系ShopQi
- %li
- %a(href="http://forums.shopqi.com/" title="ShopQi论坛")
- %strong> 论坛
- ShopQi社区
- %li
- %a(href="http://apps.shopqi.com/" title="ShopQi应用商店")
- %strong> 应用
- 选择商店应用程序
- %li
- =link_to theme_store_url_with_port do
- %strong> 主题外观
- 选择商店外观模板
- =link_to wiki_url_with_port do
- %strong> 帮助文档
- 了解如何使用ShopQi
+ =link_to theme_store_url_with_port do
+ %strong> 主题外观
+ 选择商店外观模板
+ =link_to wiki_url_with_port do
+ %strong> 帮助文档
+ 了解如何使用ShopQi
%li.last
%a(href="/login") 登录
=yield
View
3 app/views/layouts/theme.html.haml
@@ -24,8 +24,9 @@
-#
%li
%a(href="#" title="ShopQi App Store") 应用
+ %li=link_to '帮助文档', wiki_url_with_port
%li.current=link_to '主题外观', theme_store_url_with_port
- %li=link_to '帮助文档',"#{wiki_url_with_port}"
+ %li=link_to '首页', url_with_port
-#
%li
%a(href="http://support.shopqi.com/" title="ShopQi — Support") 支持
View
5 app/views/layouts/wiki.html.haml
@@ -23,10 +23,11 @@
%ul
%li.logo
%a{href: url_with_port, style: "filter:none"}=image_tag 'resources-nav/logo-shopqi.png'
- %li=link_to '主题外观',"#{theme_store_url_with_port}"
-#
%li=link_to '论坛','#'
- %li.current=link_to '帮助文档',"#{wiki_url_with_port}"
+ %li.current=link_to '帮助文档', wiki_url_with_port
+ %li=link_to '主题外观', theme_store_url_with_port
+ %li=link_to '首页',url_with_port
/ .resources-nav
#header.clearfix
.clearfix

0 comments on commit 13a5f00

Please sign in to comment.
Something went wrong with that request. Please try again.