Skip to content

Commit fb334a6

Browse files
author
Quan Weiwei
committed
APP信息修改
1 parent 6f76df4 commit fb334a6

9 files changed

Lines changed: 21 additions & 65 deletions

File tree

src/components/cart/item.js

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -73,19 +73,19 @@ export default class CartItem extends Component {
7373
<Text style={styles.cartCardSpec}>库存:{stock}</Text>
7474
<View style={styles.cartCardFooter}>
7575
<Text style={styles.cartCardPrice}>¥ {price}</Text>
76-
<Text style={styles.cartCardPrice}>购买数量 {number}</Text>
77-
{/*<View style={styles.cartCardStepper}>*/}
78-
{/* <Stepper*/}
79-
{/* size="small"*/}
80-
{/* key="1"*/}
81-
{/* max={99}*/}
82-
{/* min={1}*/}
83-
{/* readOnly={false}*/}
84-
{/* defaultValue={1}*/}
85-
{/* value={number}*/}
86-
{/* onChange={this.onStepperChange}*/}
87-
{/* />*/}
88-
{/*</View>*/}
76+
{/*<Text style={styles.cartCardPrice}>购买数量 {number}</Text>*/}
77+
<View style={styles.cartCardStepper}>
78+
<Stepper
79+
size="small"
80+
key="1"
81+
max={99}
82+
min={1}
83+
readOnly={false}
84+
defaultValue={1}
85+
value={number}
86+
onChange={this.onStepperChange}
87+
/>
88+
</View>
8989
</View>
9090
</View>
9191
</View>

src/components/page/goodsList.js

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -45,40 +45,6 @@ export default class PageGoodsList extends Component {
4545
}
4646
})
4747
}
48-
<TouchableOpacity
49-
key='online-game'
50-
style={styles.listWarp}
51-
onPress={() => navigation.navigate("ChargePageList", {cateType: 'online-game'}) }
52-
>
53-
<NetworkImage style={styles.indexImg} imageStyle={{borderRadius: 4}}
54-
source={{uri: `${env.apiHost}/app/online-game.jpg`}}/>
55-
<View style={styles.listRight}>
56-
<Text style={styles.listTitle} numberOfLines={3}>游戏充值</Text>
57-
</View>
58-
</TouchableOpacity>
59-
<TouchableOpacity
60-
key='tencent'
61-
style={styles.listWarp}
62-
onPress={() => navigation.navigate("ChargePageList", {cateType: 'tencent'}) }
63-
>
64-
<NetworkImage style={styles.indexImg} imageStyle={{borderRadius: 4}}
65-
source={{uri: `${env.apiHost}/app/qqchongzhi.jpg`}}/>
66-
<View style={styles.listRight}>
67-
<Text style={styles.listTitle} numberOfLines={3}>QQ充值</Text>
68-
</View>
69-
</TouchableOpacity>
70-
71-
<TouchableOpacity
72-
key='oil'
73-
style={styles.listWarp}
74-
onPress={() => navigation.navigate("ChargePageList", {cateType: 'oil'}) }
75-
>
76-
<NetworkImage style={styles.indexImg} imageStyle={{borderRadius: 4}}
77-
source={{uri: `${env.apiHost}/app/164aa58d75b233fdd36f5632439a7682.jpg`}}/>
78-
<View style={styles.listRight}>
79-
<Text style={styles.listTitle} numberOfLines={3}>加油卡</Text>
80-
</View>
81-
</TouchableOpacity>
8248
</View>
8349
}
8450

src/config/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const AppEnv = __DEV__ ? 'debug' : 'release'; // 项目环境
88

99
// 开发环境基础配置
1010
const developmentConfig = {
11-
apiHost : 'https://m.quwanshop.cn', // api地址
11+
apiHost : 'http://www.agentshop.cc', // api地址
1212
log : true, // 是否开启输出日志
1313
showLog : true, // 是否显示输出日志
1414
showNetWorkErrorInfo : true, // 是否显示接口错误信息
@@ -19,7 +19,7 @@ const developmentConfig = {
1919

2020
// 生产环境基础配置
2121
const productionConfig = {
22-
apiHost : 'https://m.quwanshop.cn', // api域名
22+
apiHost : 'http://www.agentshop.cc', // api域名
2323
log : false, // 是否开启输出日志
2424
showLog : false, // 是否显示输出日志
2525
showNetWorkErrorInfo : false, // 是否显示接口错误信息

src/containers/navigator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ const AppStack = createStackNavigator(
352352
About: {
353353
screen: About,
354354
navigationOptions: {
355-
title: '关于趣玩商城'
355+
title: '关于易巧分销APP商城'
356356
}
357357
},
358358
AgentInfo: {

src/images/ad.jpg

13.2 KB
Loading

src/images/shop.png

5.48 KB
Loading

src/pages/Agent/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ export default class Agent extends BaseComponent {
263263
}
264264
];
265265
{
266-
userInfo && userInfo.userLevel === '钻石代理' ? botList.push({
266+
userInfo ? botList.push({
267267
img: require('../../images/user/discount.png'),
268268
title: '自定义显示折扣',
269269
path: "CustomDiscount"

src/pages/user/about.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ export default class About extends BaseComponent {
3737
return <ScrollView style={PublicStyles.ViewMax}>
3838
<View style={{flexDirection: 'column', alignItems: 'center', justifyContent: 'center', padding: 40}}>
3939
<Image style={styles.logoImg}
40-
source={require('../../images/logo308.png')}
40+
source={require('../../images/shop.png')}
4141
/>
42-
<Text style={{color: 'red', marginTop: 15}}>趣玩商城</Text>
42+
<Text style={{color: 'red', marginTop: 15}}>易巧分销APP商城</Text>
4343
</View>
4444
<View style={{marginTop: 10, flexDirection: 'column'}}>
4545
<Item

src/pages/user/index.js

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ export default class User extends BaseComponent {
243243
{
244244
botList.push({
245245
img: require('../../images/user/about.png'),
246-
title: '关于趣玩商城',
246+
title: '关于商城',
247247
path: "About"
248248
})
249249
}
@@ -261,7 +261,7 @@ export default class User extends BaseComponent {
261261
<Image style={styles.botImg} source={item.img}/>
262262
<Text style={PublicStyles.title}>{item.title}</Text>
263263
{
264-
item.title === '关于趣玩商城' && showVersionUpdate ? <Badge
264+
item.title === '关于商城' && showVersionUpdate ? <Badge
265265
textStyle={{color: '#fff', fontSize: 10, paddingHorizontal: 2}}
266266
>
267267
有新版本
@@ -271,16 +271,6 @@ export default class User extends BaseComponent {
271271
</Item>
272272
))
273273
}
274-
<Item
275-
key='agentPrice'
276-
arrow="horizontal"
277-
onClick={() => Linking.openURL(env.apiHost + '/content/4/detail')}
278-
>
279-
<View style={PublicStyles.rowCenter}>
280-
<Image style={styles.botImg} source={require('../../images/tab/tab3.png')}/>
281-
<Text style={PublicStyles.title}>会员代理特价</Text>
282-
</View>
283-
</Item>
284274
</List>
285275

286276
</ScrollView>

0 commit comments

Comments
 (0)