diff --git a/README.md b/README.md
index 5947b1f..da5e336 100644
--- a/README.md
+++ b/README.md
@@ -39,6 +39,16 @@ src -- 源码目录
- 微信开发者工具开启服务端口:`设置->安全设置>服务端口开启`
- 在`HBuilder X`中使用`运行->运行到小程序模拟器->微信开发者工具`运行项目,运行成功后会自动打开微信开发者工具并编译项目
+## 开发须知
+
+- 登录相关
+* 接口地址:39.103.180.196:9012
+* 接口文档:[luoo-user API](http://39.103.180.196:9012/doc.html?open_in_browser=true)
+
+- 商城相关
+* 接口地址:43.248.137.154:8085
+* 接口文档:[mall前台系统](http://43.248.137.154:8085/swagger-ui/index.html)
+
## 许可证
diff --git a/manifest.json b/manifest.json
index 60596d1..d5f62f6 100644
--- a/manifest.json
+++ b/manifest.json
@@ -59,7 +59,8 @@
"appid" : "",
"setting" : {
"urlCheck" : true
- }
+ },
+ "darkmode" : true
},
"h5" : {
"devServer" : {
diff --git a/pages/product/product.vue b/pages/product/product.vue
index 3831e25..6387760 100644
--- a/pages/product/product.vue
+++ b/pages/product/product.vue
@@ -216,7 +216,7 @@
-
+
\ No newline at end of file
diff --git a/static/icons/icon_apple.png b/static/icons/icon_apple.png
new file mode 100644
index 0000000..ecfeb8b
Binary files /dev/null and b/static/icons/icon_apple.png differ
diff --git a/static/icons/icon_clear.png b/static/icons/icon_clear.png
new file mode 100644
index 0000000..8c82e85
Binary files /dev/null and b/static/icons/icon_clear.png differ
diff --git a/static/icons/icon_down.png b/static/icons/icon_down.png
new file mode 100644
index 0000000..fa98a13
Binary files /dev/null and b/static/icons/icon_down.png differ
diff --git a/static/icons/icon_wechat.png b/static/icons/icon_wechat.png
new file mode 100644
index 0000000..a3feaf9
Binary files /dev/null and b/static/icons/icon_wechat.png differ
diff --git a/static/icons/left_back.png b/static/icons/left_back.png
new file mode 100644
index 0000000..71260f2
Binary files /dev/null and b/static/icons/left_back.png differ
diff --git a/static/icons/left_back@2x.png b/static/icons/left_back@2x.png
new file mode 100644
index 0000000..f56612b
Binary files /dev/null and b/static/icons/left_back@2x.png differ
diff --git a/static/icons/left_back@3x.png b/static/icons/left_back@3x.png
new file mode 100644
index 0000000..1e7f04d
Binary files /dev/null and b/static/icons/left_back@3x.png differ
diff --git a/static/public/login_bg_dark.png b/static/public/login_bg_dark.png
new file mode 100644
index 0000000..95106dd
Binary files /dev/null and b/static/public/login_bg_dark.png differ
diff --git a/static/public/login_bg_light.png b/static/public/login_bg_light.png
new file mode 100644
index 0000000..a9c4eaf
Binary files /dev/null and b/static/public/login_bg_light.png differ
diff --git a/store/index.js b/store/index.js
index 3d2a508..7e0aac8 100644
--- a/store/index.js
+++ b/store/index.js
@@ -7,6 +7,7 @@ const store = new Vuex.Store({
state: {
hasLogin: false,
userInfo: {},
+ theme: uni.getSystemInfoSync().theme
},
mutations: {
login(state, provider) {
@@ -28,6 +29,9 @@ const store = new Vuex.Store({
uni.removeStorage({
key: 'token'
})
+ },
+ changeTheme(state, theme) {
+ state.theme = theme
}
},
actions: {
diff --git a/theme.json b/theme.json
new file mode 100644
index 0000000..bbc1fd5
--- /dev/null
+++ b/theme.json
@@ -0,0 +1,24 @@
+{
+ "light": {
+ "navigationBarTextStyle": "black",
+ "navigationBarBackgroundColor": "#F7F7F7",
+ "backgroundColor": "#F7F7F7",
+
+ "tabBarColor": "#7A7E83",
+ "tabBarSelectedColor": "#3cc51f",
+ "tabBarBorderStyle": "black",
+ "tabBarBackgroundColor": "#F7F7F7"
+
+ },
+ "dark": {
+ "navigationBarTextStyle": "white",
+ "navigationBarBackgroundColor": "#1F1F1F",
+ "backgroundColor": "#1F1F1F",
+
+ "tabBarColor": "#cacaca",
+ "tabBarSelectedColor": "#51A937",
+ "tabBarBorderStyle": "white",
+ "tabBarBackgroundColor": "#1F1F1F"
+
+ }
+}
diff --git a/utils/appConfig.js b/utils/appConfig.js
index c69c25d..594dc23 100644
--- a/utils/appConfig.js
+++ b/utils/appConfig.js
@@ -1,7 +1,7 @@
// appConfig.js
//配置API请求的基础路径
-// export const API_BASE_URL = 'http://localhost:8085';
-export const API_BASE_URL = 'https://portal-api.macrozheng.com';
+export const API_BASE_URL = 'http://43.248.137.154:8085';
+// export const API_BASE_URL = 'https://portal-api.macrozheng.com';
//是否启用支付宝支付
-export const USE_ALIPAY = false;
\ No newline at end of file
+export const USE_ALIPAY = true;
\ No newline at end of file