diff --git a/app.json b/app.json
index 0e2fd2d..c466604 100644
--- a/app.json
+++ b/app.json
@@ -22,6 +22,7 @@
"disableScroll": true
},
"tabBar": {
+ "borderStyle": "white",
"selectedColor": "#f98b29",
"color": "#999999",
"list": [
@@ -33,7 +34,7 @@
},
{
"pagePath": "pages/homePage/homePage",
- "text": "主页",
+ "text": "消息",
"iconPath": "/imgs/message1.png",
"selectedIconPath": "/imgs/message.png"
},
diff --git a/imgs/customerCheck.png b/imgs/customerCheck.png
new file mode 100755
index 0000000..87b738b
Binary files /dev/null and b/imgs/customerCheck.png differ
diff --git a/imgs/saleOutStore.png b/imgs/saleOutStore.png
index 87b738b..1955470 100755
Binary files a/imgs/saleOutStore.png and b/imgs/saleOutStore.png differ
diff --git a/pages/homePage/homePage.js b/pages/homePage/homePage.js
index 6974c65..b42a1a5 100644
--- a/pages/homePage/homePage.js
+++ b/pages/homePage/homePage.js
@@ -1,6 +1,8 @@
// pages/homePage/homePage.js
var network = require("../../utils/net.js")
+var timechage = require("../../utils/dateTimeUtil.js")
+
function GetUserProfile(successtion) {
let method = '/MainSystem/B3MiniProgramRpc/Rpcs/BaseInfoRpc/GetUserProfile';
let params = [];
@@ -21,10 +23,12 @@ function GetUserProfile(successtion) {
Page({
data: {
-
+ currentDate: timechage.formatTimeTwo(Date.parse(new Date()), 'Y/M/D'),
+ balance:"",
},
onLoad: function (options) {
+ // 添加接口请求当前余额
// GetUserProfile(function (res) {
// });
diff --git a/pages/homePage/homePage.wxml b/pages/homePage/homePage.wxml
index 911324b..ec63c84 100644
--- a/pages/homePage/homePage.wxml
+++ b/pages/homePage/homePage.wxml
@@ -1,24 +1,41 @@
-
-
-
-
-
-
-
- 找司机
+
+
+ {{currentDate}}
-
-
- 对账单
+
+ 当前余额
-
-
- 订单
-
-
-
- 销售出库
+
+ ¥2032323{{balance}}
+
+
+
+
+
+
+ 销售预报
+
+
+
+ 销售订单
+
+
+
+ 客户找车
+
+
+
+ 销售出库
+
+
+
+ 客户验收
+
+
+
+ 客户对账
+
\ No newline at end of file
diff --git a/pages/homePage/homePage.wxss b/pages/homePage/homePage.wxss
index 3d95c25..db9e4cc 100644
--- a/pages/homePage/homePage.wxss
+++ b/pages/homePage/homePage.wxss
@@ -5,15 +5,59 @@ page{
height: 100%;
}
-.imageContainer{
+/* .imageContainer{
width: 100%;
height: 280rpx;
background-color: #2E8CF5;
+} */
+
+.imageContainer {
+ height: 350rpx;
+ position: relative;
+ align-items: center;
}
-.beijingtu{
-width: 100%;
-height: 100%;
+.beijingtu {
+ width: 100%;
+ height: 100%;
+}
+
+.dateView{
+ position: absolute;
+ top: 0;
+ left: 20rpx;
+ text-align: left;
+}
+
+.dateText{
+ color: white;
+ font-size: 18px;
+}
+
+.totalMoneyView {
+ position: absolute;
+ width: 100%;
+ /* height: 100%; */
+ top: 100rpx;
+ text-align: center;
+}
+
+.balanceView {
+ position: absolute;
+ width: 100%;
+ /* height: 100%; */
+ top: 150rpx;
+ text-align: center;
+}
+
+.totalMoney {
+ color: white;
+ font-size: 20px;
+}
+
+.balance {
+ color: white;
+ font-size: 30px;
}
.body-box{