You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by ji...@apache.org on 2017/01/24 08:18:18 UTC

[03/50] [abbrv] incubator-weex git commit: [example] :bug fix (issue#329) (#332)

[example] \uff1abug fix (issue#329) (#332)

Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/9de56956
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/9de56956
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/9de56956

Branch: refs/heads/master
Commit: 9de5695620e39fa55a5748dd91364fb18e90f610
Parents: ef88ed2
Author: boboning <ni...@163.com>
Authored: Mon May 23 19:37:07 2016 +0800
Committer: luics <lu...@gmail.com>
Committed: Mon May 23 19:37:07 2016 +0800

----------------------------------------------------------------------
 src/components/src/wxc-navbar.we | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/9de56956/src/components/src/wxc-navbar.we
----------------------------------------------------------------------
diff --git a/src/components/src/wxc-navbar.we b/src/components/src/wxc-navbar.we
index c820b80..d903385 100644
--- a/src/components/src/wxc-navbar.we
+++ b/src/components/src/wxc-navbar.we
@@ -1,7 +1,7 @@
 <template>
     <div class="container" style="height:{{height}}; background-color:{{backgroundColor}};" data-role={{dataRole}}>
         <text class="right-text" style="color:{{rightItemColor}};" navi-item-position="right" if={{!rightItemSrc}} onclick = "onclickrigthitem">{{rightItemTitle}}</text>
-        <image class="left-image" navi-item-position="right" src={{rightItemSrc}} if={{rightItemSrc}} onclick="onclickrightitem"></image>
+        <image class="right-image" navi-item-position="right" src={{rightItemSrc}} if={{rightItemSrc}} onclick="onclickrightitem"></image>
         <text class="left-text" style="color:{{leftItemColor}};" navi-item-position="left" if={{!leftItemSrc}} onclick= "onclickleftitem">{{leftItemTitle}}</text>
         <image class="left-image" navi-item-position="left" src={{leftItemSrc}} if={{leftItemSrc}} onclick="onclickleftitem"></image>
         <text class="center-text" style="color:{{titleColor}};" navi-item-position="center">{{title}}</text>
@@ -45,14 +45,14 @@
     .left-image {
         position: absolute; 
         bottom: 20; 
-        right: 28; 
+        left: 28; 
         width: 50; 
         height: 50;
     }
     .right-image {
         position: absolute; 
         bottom: 20; 
-        left: 28; 
+        right: 28; 
         width: 50; 
         height: 50;
     }