Commit c80930a2 by 王树冬

init

parent b98a5f82
{ {
"miniprogramRoot": "./dist", "miniprogramRoot": "./dist",
"projectname": "demo", "projectname": "taro%20news",
"description": "demo", "description": "demo",
"appid": "wx8566afef50e5f76b", "appid": "wx8566afef50e5f76b",
"setting": { "setting": {
......
...@@ -21,6 +21,26 @@ class App extends Component { ...@@ -21,6 +21,26 @@ class App extends Component {
navigationBarBackgroundColor: '#fff', navigationBarBackgroundColor: '#fff',
navigationBarTitleText: 'WeChat', navigationBarTitleText: 'WeChat',
navigationBarTextStyle: 'black' navigationBarTextStyle: 'black'
},
tabBar: {
borderStyle: "black",
selectedColor: "#000000",
backgroundColor: "#ffffff",
color: "#c7c7c7",
list: [
{
pagePath: "pages/index/index",
selectedIconPath: "/common/image/tab/classic@highlight.png",
iconPath: "/common/image/tab/classic.png",
text: "发现"
},
{
pagePath: "pages/me/index",
selectedIconPath: "/common/image/tab/my@highlight.png",
iconPath: "/common/image/tab/my.png",
text: "喜欢"
}
]
} }
} }
......
...@@ -3,7 +3,7 @@ import { HTTP_STATUS, COMMON_STATUS, RESULT_STATUS } from '../const/status.js' ...@@ -3,7 +3,7 @@ import { HTTP_STATUS, COMMON_STATUS, RESULT_STATUS } from '../const/status.js'
// import config from '../config/index.js' // import config from '../config/index.js'
import { logError } from '../utils' import { logError } from '../utils'
const baseURL = "http://api.shudong.wang/v1/" const baseURL = "http://beeapi.shudong.wang/v1/"
// Taro.request({ // Taro.request({
// url: baseURL + '', // url: baseURL + '',
// data: { // data: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment