4 Star 0 Fork 0

Abdusemi / ipar_shop

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
ad
io
Loading...
README

ipar_shop

#####ios 发布前必须: npm run bundle-ios #####安卓打包命令: cd android && ./gradlew assembleRelease #####重新下载&添加node-modules... rm -rf node_modules && rm -rf ~/.rncache && yarn

###注意 ! (每次重新下载node-modules的时候一定要修改):

1.修改index.js文件(路径: node_modules\native-echarts\src\components\Echarts) 修改

import { WebView, View, StyleSheet } from 'react-native';

source={require('./tpl.html')}

import { WebView, View, StyleSheet, Platform } from 'react-native';

source={Platform.OS==='ios' ? require('./tpl.html'):{uri:'file:///android_asset/tpl.html'}}

2.修改index.js文件(路径: node_modules\react-native-tab-navigator\TabNavigator.js) 修改

 defaultSelectedIcon: {
        tintColor: 'black',//修改black
 },

3.修改Badge.ls (node_modules\react-native-tab-navigator\Badge.js) 修改

let styles = StyleSheet.create({
    container: {
        fontSize: 12,
        color: '#fff',
        backgroundColor: 'red',
        lineHeight: 15,
        textAlign: 'center',
        borderRadius: 7.5,
        overflow: 'hidden',
    },
});

4.修改ScrollableTabBar.js (node_modules\react-native-scrollable-tab-view\ScrollableTabBar) 修改

renderTab(){
...
<Text style={[{color: textColor, fontWeight, fontSize: isTabActive ? 18 : 14}, textStyle,]}>
                    {name}
</Text>
...
}
//+ fontSize: isTabActive ? 18 : 14

5.修改ListView.js (路径:node_modules\react-native\Libraries\Lists\ListView.js);

 if (props.removeClippedSubviews === undefined) {
      props.removeClippedSubviews = true;//把true改成false
  }

##第三方组建文档 https://javascript.ctolib.com/article/wiki/89153(友盟推送) //https://www.npmjs.com/package/react-native-umeng-push //https:https://www.cnblogs.com/shaoting/p/6148085.html,,camera //https://www.jianshu.com/p/2cef1baf9a6f,,,二维码,,http://www.cocoachina.com/ios/20170704/19717.html

###api 问题 https://admin.iparbio.com/api/v3/editCart = {code: 500, message: "ERROR", data: null, count: 0}

这就是我的爱好。

空文件

简介

取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
NodeJS
1
https://gitee.com/arifcc/ipar_shop.git
git@gitee.com:arifcc/ipar_shop.git
arifcc
ipar_shop
ipar_shop
master

搜索帮助