Changeset 105 for trunk/buddypub

Show
Ignore:
Timestamp:
04/18/08 01:35:17 (9 months ago)
Author:
silver
Message:
 
Location:
trunk/buddypub/bpclientflex/src
Files:
3 added
3 modified

Legend:

Unmodified
Added
Removed
  • trunk/buddypub/bpclientflex/src/assets/css/buddypub_style.css

    r104 r105  
    1616        rollOverColor: #FFBB99; 
    1717} 
     18TextInput 
     19{ 
     20        borderStyle: solid; 
     21        cornerRadius: 3; 
     22        fontSize: 14; 
     23} 
     24ToolTip 
     25{ 
     26        fontSize: 12; 
     27} 
    1828 
    1929 
     30 
     31 
  • trunk/buddypub/bpclientflex/src/index.mxml

    r100 r105  
    3434        </mx:Form> 
    3535        <mx:Button label="Submit" click="calculate()"/> 
    36         --> 
     36        -->      
    3737        <container:Main/> 
    3838</mx:Application> 
  • trunk/buddypub/bpclientflex/src/org/cnflex/buddypub/mvc/view/container/Main.mxml

    r104 r105  
    11<?xml version="1.0" encoding="utf-8"?> 
    2 <mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" width="100%"> 
     2<mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" width="100%" xmlns:container="org.cnflex.buddypub.mvc.view.container.*"> 
    33        <mx:Script> 
    44                <![CDATA[ 
     5                        import mx.controls.Alert; 
     6                         
     7                        private var isFirstSearch:Boolean = true; 
     8                         
     9                        private function focusSearch(event:FocusEvent):void{ 
     10                                if(isFirstSearch){ 
     11                                        searchBox.text = ""; 
     12                                        searchBox.setStyle("color",0x0B333C); 
     13                                        searchBtn.enabled = true; 
     14                                } 
     15                        } 
     16                         
     17                        private function searchKeyword():void{ 
     18                                Alert.show("Coming Soon...."); 
     19                        } 
    520                         
    621                ]]> 
    722        </mx:Script> 
    823         
    9         <mx:HBox width="100%" borderStyle="solid" borderSides="bottom" > 
     24        <mx:HBox width="100%" borderStyle="solid" borderSides="bottom" verticalAlign="middle" > 
    1025                <mx:Image source="@Embed(source='assets/pic/logo.jpg')"/> 
    11                 <mx:Spacer/> 
    12                 <mx:TextInput width="250"/> 
    13                 <mx:Image source="@Embed(source='assets/pic/search.gif')"/> 
     26                <mx:Spacer width="100%"/> 
     27                <mx:TextInput id="searchBox" width="250" text="在此输入你关注的字眼" color="#BABABA"  
     28                        focusThickness="0" focusIn="focusSearch(event)" focusEnabled="false" paddingLeft="5" /> 
     29                <mx:Image id="searchBtn" source="@Embed(source='assets/pic/search.gif')" enabled="false"  
     30                        buttonMode="true" useHandCursor="true" click="searchKeyword()"/> 
     31        </mx:HBox> 
     32        <mx:HBox paddingBottom="20" paddingTop="20"> 
     33                <mx:VBox width="300"> 
     34                        <!-- Define each panel using a VBox container. --> 
     35            <container:ContentBox label="当前播放列表"> 
     36                <mx:Label text="Accordion container panel 1"/> 
     37            </container:ContentBox> 
     38 
     39            <container:ContentBox label="我的收藏夹"> 
     40                <mx:Label text="Accordion container panel 2"/> 
     41            </container:ContentBox> 
     42 
     43            <container:ContentBox label="好友 / 消息"> 
     44                <mx:Label text="Accordion container panel 3"/> 
     45            </container:ContentBox> 
     46 
     47                </mx:VBox> 
     48                <mx:ViewStack minHeight="400" width="100%"> 
     49                 
     50                </mx:ViewStack>  
    1451        </mx:HBox> 
    1552         
    16         <mx:ViewStack minHeight="400" width="100%"> 
    17                  
    18         </mx:ViewStack> 
    1953         
    2054        <mx:HBox width="100%" height="30" borderStyle="solid" borderSides="top" horizontalGap="20" verticalAlign="bottom" >              
     
    2256                <mx:Label color="#999999" text="... www.buddypub.com"/> 
    2357                <mx:Spacer width="100%"/> 
    24                 <mx:LinkButton color="#0088ee" label="网络支持:东莞网络中心" click="ExternalInterface.call('window.open','http://www.aadata.net','_blank');" /> 
     58                <mx:LinkButton color="#0088ee" label="感谢:东莞网络中心" click="ExternalInterface.call('window.open','http://www.aadata.net','_blank');" /> 
    2559        </mx:HBox> 
    2660        <mx:Label color="#BABABA" text="* 本网站内容为网友引用自互联网, 可能受著作权保护, 本网站与呈现内容的出处无关. "/>