新聞中心
這里有您想知道的互聯(lián)網(wǎng)營銷解決方案
創(chuàng)新互聯(lián)React教程:iOS選項卡
屬性
Edit on GitHub

目前累計服務客戶上千家,積累了豐富的產(chǎn)品開發(fā)及服務經(jīng)驗。以網(wǎng)站設計水平和技術實力,樹立企業(yè)形象,為客戶提供網(wǎng)站建設、成都網(wǎng)站建設、網(wǎng)站策劃、網(wǎng)頁設計、網(wǎng)絡營銷、VI設計、網(wǎng)站改版、漏洞修補等服務。成都創(chuàng)新互聯(lián)始終以務實、誠信為根本,不斷創(chuàng)新和提高建站品質(zhì),通過對領先技術的掌握、對創(chuàng)意設計的研究、對客戶形象的視覺傳遞、對應用系統(tǒng)的結(jié)合,為客戶提供更好的一站式互聯(lián)網(wǎng)解決方案,攜手廣大客戶,共同發(fā)展進步。
style View#style
例子
Edit on GitHub
'use strict';var React = require('react-native');var {
StyleSheet,
TabBarIOS,
Text,
View,
} = React;var TabBarExample = React.createClass({ statics: { title: '', description: 'Tab-based navigation.'
}, getInitialState: function() { return { selectedTab: 'redTab', notifCount: 0, presses: 0,
};
}, _renderContent: function(color: string, pageText: string) { return (
{pageText}
{this.state.presses} re-renders of the More tab
);
}, render: function() { return (
{ this.setState({ selectedTab: 'blueTab',
});
}}>
{this._renderContent('#414A8C', 'Blue Tab')}
0 ? this.state.notifCount : undefined}
selected={this.state.selectedTab === 'redTab'}
onPress={() => { this.setState({ selectedTab: 'redTab', notifCount: this.state.notifCount + 1,
});
}}>
{this._renderContent('#783E33', 'Red Tab')}
{ this.setState({ selectedTab: 'greenTab', presses: this.state.presses + 1
});
}}>
{this._renderContent('#21551C', 'Green Tab')}
);
},
});var styles = StyleSheet.create({ tabContent: { flex: 1, alignItems: 'center',
}, tabText: { color: 'white', margin: 50,
},
});module.exports = TabBarExample; 名稱欄目:創(chuàng)新互聯(lián)React教程:iOS選項卡
網(wǎng)站地址:http://www.5511xx.com/article/dhippis.html


咨詢
建站咨詢
