2019-03-14 17:19:08 +08:00
|
|
|
|
todo list:
|
|
|
|
|
首页:
|
|
|
|
|
商品发布页面:
|
|
|
|
|
|
|
|
|
|
供求发布页面
|
|
|
|
|
全部业主需求页面:
|
|
|
|
|
我的供求页面:
|
|
|
|
|
我的商品列表页面
|
|
|
|
|
商品编辑页面
|
|
|
|
|
|
|
|
|
|
我的需求列表页面:
|
|
|
|
|
接口问题:
|
|
|
|
|
优惠卷和询价
|
|
|
|
|
bug: 商品编辑 增加图片后 图片顺序乱了
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
等待后台--- 单个我的商品页面的图片顺序,单个我的需求页面的接口, 当个我哦的需求编辑页面的接口
|
2019-03-15 11:35:42 +08:00
|
|
|
|
<View className='details-box'>
|
2019-03-14 17:19:08 +08:00
|
|
|
|
|
|
|
|
|
|
2019-03-15 11:35:42 +08:00
|
|
|
|
{/* 大类 */}
|
|
|
|
|
<AtTabs className='alltabs' animated={false} current={this.state.current} tabList={mainTabList} onClick={this.handleClick.bind(this)}>
|
|
|
|
|
<AtTabsPane style='color:red' current={this.state.current} index={0} >
|
|
|
|
|
<View style='background-color: #FAFBFC;' >
|
2019-03-14 17:19:08 +08:00
|
|
|
|
|
2019-03-15 11:35:42 +08:00
|
|
|
|
<View className='description-title'>商品细节:</View>
|
|
|
|
|
<View className='description-img'>
|
|
|
|
|
{itemDescriptionPicsElementArray}
|
2019-03-14 17:19:08 +08:00
|
|
|
|
|
2019-03-15 11:35:42 +08:00
|
|
|
|
</View>
|
2019-03-14 17:19:08 +08:00
|
|
|
|
|
|
|
|
|
</View>
|
2019-03-15 11:35:42 +08:00
|
|
|
|
</AtTabsPane>
|
|
|
|
|
<AtTabsPane current={this.state.current} index={1}>
|
|
|
|
|
<View style='padding: 1px 0px 100px;background-color: #FAFBFC;text-align: center;'>
|
|
|
|
|
{ /*子标签类*/}
|
|
|
|
|
<AtSegmentedControl selectedColor='#FF9500'
|
|
|
|
|
values={['全部', '好评', '中评', '差评', '公开', '匿名']}
|
|
|
|
|
onClick={this.onClick.bind(this)}
|
|
|
|
|
current={this.state.subCurrent}
|
2019-03-14 17:19:08 +08:00
|
|
|
|
/>
|
2019-03-15 11:35:42 +08:00
|
|
|
|
{
|
|
|
|
|
this.state.subCurrent === 0
|
|
|
|
|
? <View className='tab-content'>
|
|
|
|
|
<Text className='title'>全部</Text>
|
|
|
|
|
</View>
|
|
|
|
|
: null
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
this.state.subCurrent === 1
|
|
|
|
|
? <View className='tab-content'>好评</View>
|
|
|
|
|
: null
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
this.state.subCurrent === 2
|
|
|
|
|
? <View className='tab-content'>中评</View>
|
|
|
|
|
: null
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
this.state.subCurrent === 3
|
|
|
|
|
? <View className='tab-content'>差评</View>
|
|
|
|
|
: null
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
this.state.subCurrent === 4
|
|
|
|
|
? <View className='tab-content'>公开</View>
|
|
|
|
|
: null
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
this.state.subCurrent === 5
|
|
|
|
|
? <View className='tab-content'>匿名</View>
|
|
|
|
|
: null
|
|
|
|
|
}
|
2019-03-14 17:19:08 +08:00
|
|
|
|
|
|
|
|
|
</View>
|
2019-03-15 11:35:42 +08:00
|
|
|
|
</AtTabsPane>
|
|
|
|
|
<AtTabsPane current={this.state.current} index={2}>
|
|
|
|
|
<View style='padding: 100px 50px;background-color: #FAFBFC;text-align: center;'>标签页三的内容</View>
|
|
|
|
|
</AtTabsPane>
|
|
|
|
|
</AtTabs>
|
2019-03-14 17:19:08 +08:00
|
|
|
|
|
2019-03-15 11:35:42 +08:00
|
|
|
|
</View>
|