|
@@ -5,7 +5,7 @@
|
|
<image class="userFlagimg" src="../../static/img/userFlag.png" mode=""></image>
|
|
<image class="userFlagimg" src="../../static/img/userFlag.png" mode=""></image>
|
|
</view>
|
|
</view>
|
|
<view class="pname">
|
|
<view class="pname">
|
|
- <font class="wenzi" style="color: #BDD6F3;font-size:28upx">用户:{{pnameData}}</font>
|
|
|
|
|
|
+ <font class="wenzi" style="color: #BDD6F3;font-size:28upx"> 用户: {{pnameData}}</font>
|
|
</view>
|
|
</view>
|
|
<view class="company">
|
|
<view class="company">
|
|
<font style="color: #BDD6F3;font-size:28upx">申泽智能物联</font>
|
|
<font style="color: #BDD6F3;font-size:28upx">申泽智能物联</font>
|
|
@@ -19,11 +19,11 @@
|
|
<view class="riTitle">
|
|
<view class="riTitle">
|
|
<view style="text-align:left;font-size:28upx;font-family:PingFang-SC-Medium">
|
|
<view style="text-align:left;font-size:28upx;font-family:PingFang-SC-Medium">
|
|
<font class="fontLeft" style="color: #596D83;">今日收入总额:</font>
|
|
<font class="fontLeft" style="color: #596D83;">今日收入总额:</font>
|
|
- <font style="color: #ED341F;"> {{dayTotalMoney}}</font>
|
|
|
|
|
|
+ <font style="color: #ED341F;">{{dayTotalMoney}}</font>
|
|
</view>
|
|
</view>
|
|
<view style="text-align:left;font-size:28upx;font-family:PingFang-SC-Medium">
|
|
<view style="text-align:left;font-size:28upx;font-family:PingFang-SC-Medium">
|
|
<font class="fontLeft" style="color: #596D83;">今日销售数量:</font>
|
|
<font class="fontLeft" style="color: #596D83;">今日销售数量:</font>
|
|
- <font style="color: #ED341F;"> {{dayTotalNum}}</font>
|
|
|
|
|
|
+ <font style="color: #ED341F;">{{dayTotalNum}}</font>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
@@ -44,11 +44,11 @@
|
|
<view class="fourShell">
|
|
<view class="fourShell">
|
|
<view class="one">
|
|
<view class="one">
|
|
<font class="fontLeft" style="color: #596D83;">本周收入总额:</font>
|
|
<font class="fontLeft" style="color: #596D83;">本周收入总额:</font>
|
|
- <font style="color: #ED341F;"> {{dayTotalMoney}}</font>
|
|
|
|
|
|
+ <font style="color: #ED341F;">{{weekTotalMoney}}</font>
|
|
</view>
|
|
</view>
|
|
<view class="two">
|
|
<view class="two">
|
|
<font class="fontLeft" style="color: #596D83;">本周销售数量:</font>
|
|
<font class="fontLeft" style="color: #596D83;">本周销售数量:</font>
|
|
- <font style="color: #ED341F;"> {{dayTotalNum}}</font>
|
|
|
|
|
|
+ <font style="color: #ED341F;">{{weekTotalNum}}</font>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
@@ -60,11 +60,11 @@
|
|
<view class="fourShell">
|
|
<view class="fourShell">
|
|
<view class="one">
|
|
<view class="one">
|
|
<font class="fontLeft" style="color: #596D83;">本月收入总额:</font>
|
|
<font class="fontLeft" style="color: #596D83;">本月收入总额:</font>
|
|
- <font style="color: #ED341F;"> {{monthTotalMoney}}</font>
|
|
|
|
|
|
+ <font style="color: #ED341F;">{{monthTotalMoney}}</font>
|
|
</view>
|
|
</view>
|
|
<view class="two">
|
|
<view class="two">
|
|
<font class="fontLeft" style="color: #596D83;">本月销售数量:</font>
|
|
<font class="fontLeft" style="color: #596D83;">本月销售数量:</font>
|
|
- <font style="color: #ED341F;"> {{monthTotalNum}}</font>
|
|
|
|
|
|
+ <font style="color: #ED341F;">{{monthTotalNum}}</font>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
@@ -76,11 +76,11 @@
|
|
<view class="fourShell">
|
|
<view class="fourShell">
|
|
<view class="one">
|
|
<view class="one">
|
|
<font class="fontLeft" style="color: #596D83;">本年收入总额:</font>
|
|
<font class="fontLeft" style="color: #596D83;">本年收入总额:</font>
|
|
- <font style="color: #ED341F;"> {{yearTotalMoney}}</font>
|
|
|
|
|
|
+ <font style="color: #ED341F;">{{yearTotalMoney}}</font>
|
|
</view>
|
|
</view>
|
|
<view class="two">
|
|
<view class="two">
|
|
<font class="fontLeft" style="color: #596D83;">本年销售数量:</font>
|
|
<font class="fontLeft" style="color: #596D83;">本年销售数量:</font>
|
|
- <font style="color: #ED341F;"> {{yearTotalNum}}</font>
|
|
|
|
|
|
+ <font style="color: #ED341F;">{{yearTotalNum}}</font>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
@@ -92,18 +92,18 @@
|
|
<view class="fourShell">
|
|
<view class="fourShell">
|
|
<view class="one">
|
|
<view class="one">
|
|
<font class="fontLeft" style="color: #596D83;">投放机器数量:</font>
|
|
<font class="fontLeft" style="color: #596D83;">投放机器数量:</font>
|
|
- <font style="color: #ED341F;"> {{machineTotalNum}}</font>
|
|
|
|
|
|
+ <font style="color: #ED341F;">{{machineTotalNum}}</font>
|
|
</view>
|
|
</view>
|
|
<view class="two">
|
|
<view class="two">
|
|
<font class="fontLeft" style="color: #596D83;">运营机器数量:</font>
|
|
<font class="fontLeft" style="color: #596D83;">运营机器数量:</font>
|
|
- <font style="color: #ED341F;"> {{machineUseNum}}</font>
|
|
|
|
|
|
+ <font style="color: #ED341F;">{{machineUseNum}}</font>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="qiun-columns">
|
|
<view class="qiun-columns">
|
|
<view class="qiun-bg-white qiun-title-bar qiun-common-mt">
|
|
<view class="qiun-bg-white qiun-title-bar qiun-common-mt">
|
|
- <view class="qiun-title-dot-light">今日销售情况</view>
|
|
|
|
|
|
+ <view class="qiun-title-dot-light"><view class="dis">今日销售情况</view></view>
|
|
<view class="shijian" style="text-align: center;position: relative;">
|
|
<view class="shijian" style="text-align: center;position: relative;">
|
|
<image @click="pre('day')" class="preImg" src="/static/img/leftTriangle.png"></image>
|
|
<image @click="pre('day')" class="preImg" src="/static/img/leftTriangle.png"></image>
|
|
<span>{{startDate1}}</span>
|
|
<span>{{startDate1}}</span>
|
|
@@ -118,7 +118,7 @@
|
|
<view class="line"></view>
|
|
<view class="line"></view>
|
|
<view class="qiun-columns">
|
|
<view class="qiun-columns">
|
|
<view class="qiun-bg-white qiun-title-bar qiun-common-mt">
|
|
<view class="qiun-bg-white qiun-title-bar qiun-common-mt">
|
|
- <view class="qiun-title-dot-light">本周销售情况</view>
|
|
|
|
|
|
+ <view class="qiun-title-dot-light"><view class="dis">本周销售情况</view></view>
|
|
<view class="shijian" style="text-align: center;position: relative;">
|
|
<view class="shijian" style="text-align: center;position: relative;">
|
|
<image @click="pre('week')" class="preImg" src="/static/img/leftTriangle.png"></image>
|
|
<image @click="pre('week')" class="preImg" src="/static/img/leftTriangle.png"></image>
|
|
<span>{{startDate2}} 至 {{endDate2}}</span>
|
|
<span>{{startDate2}} 至 {{endDate2}}</span>
|
|
@@ -133,7 +133,7 @@
|
|
<view class="line"></view>
|
|
<view class="line"></view>
|
|
<view class="qiun-columns">
|
|
<view class="qiun-columns">
|
|
<view class="qiun-bg-white qiun-title-bar qiun-common-mt">
|
|
<view class="qiun-bg-white qiun-title-bar qiun-common-mt">
|
|
- <view class="qiun-title-dot-light">本月销售情况</view>
|
|
|
|
|
|
+ <view class="qiun-title-dot-light"><view class="dis">本月销售情况</view></view>
|
|
<view class="shijian" style="text-align: center;position: relative;">
|
|
<view class="shijian" style="text-align: center;position: relative;">
|
|
<image @click="pre('month')" class="preImg" src="/static/img/leftTriangle.png"></image>
|
|
<image @click="pre('month')" class="preImg" src="/static/img/leftTriangle.png"></image>
|
|
<span>{{startDate3}} 至 {{endDate3}}</span>
|
|
<span>{{startDate3}} 至 {{endDate3}}</span>
|
|
@@ -148,7 +148,7 @@
|
|
<view class="line"></view>
|
|
<view class="line"></view>
|
|
<view class="qiun-columns">
|
|
<view class="qiun-columns">
|
|
<view class="qiun-bg-white qiun-title-bar qiun-common-mt">
|
|
<view class="qiun-bg-white qiun-title-bar qiun-common-mt">
|
|
- <view class="qiun-title-dot-light">本年销售情况</view>
|
|
|
|
|
|
+ <view class="qiun-title-dot-light"><view class="dis">本年销售情况</view></view>
|
|
<view class="shijian" style="text-align: center;position: relative;">
|
|
<view class="shijian" style="text-align: center;position: relative;">
|
|
<image @click="pre('year')" class="preImg" src="/static/img/leftTriangle.png"></image>
|
|
<image @click="pre('year')" class="preImg" src="/static/img/leftTriangle.png"></image>
|
|
<span>{{startDate4}} 至 {{endDate4}}</span>
|
|
<span>{{startDate4}} 至 {{endDate4}}</span>
|
|
@@ -225,15 +225,15 @@
|
|
// console.log("onLoad")
|
|
// console.log("onLoad")
|
|
// this.init();
|
|
// this.init();
|
|
// },
|
|
// },
|
|
- // onShow() {
|
|
|
|
- // console.log("onShow");
|
|
|
|
- // var test = uni.getStorageSync('test');
|
|
|
|
- // //判断是不是初次登陆
|
|
|
|
- // if (test == 2) {
|
|
|
|
- // this.init();
|
|
|
|
- // }
|
|
|
|
- // this.day();
|
|
|
|
- // },
|
|
|
|
|
|
+ onShow() {
|
|
|
|
+ console.log("onShow");
|
|
|
|
+ var test = uni.getStorageSync('test');
|
|
|
|
+ //判断是不是初次登陆
|
|
|
|
+ if (test == 2) {
|
|
|
|
+ this.init();
|
|
|
|
+ }
|
|
|
|
+ this.day();
|
|
|
|
+ },
|
|
mounted() {
|
|
mounted() {
|
|
console.log("mounted");
|
|
console.log("mounted");
|
|
this.init();
|
|
this.init();
|
|
@@ -437,10 +437,13 @@
|
|
scrollAlign: 'left', //滚动条初始位置
|
|
scrollAlign: 'left', //滚动条初始位置
|
|
scrollBackgroundColor: '#F7F7FF', //默认为 #EFEBEF 滚动条颜色底色
|
|
scrollBackgroundColor: '#F7F7FF', //默认为 #EFEBEF 滚动条颜色底色
|
|
scrollColor: '#DEE7F7', //默认为 #A6A6A6 滚动条颜色
|
|
scrollColor: '#DEE7F7', //默认为 #A6A6A6 滚动条颜色
|
|
- // disableGrid:true,
|
|
|
|
|
|
+ disableGrid:true,
|
|
},
|
|
},
|
|
yAxis: {
|
|
yAxis: {
|
|
- //disabled:true
|
|
|
|
|
|
+ type: 'grid',
|
|
|
|
+ gridType: 'soild',
|
|
|
|
+ // disabled:true
|
|
|
|
+ // disableGrid:true,
|
|
},
|
|
},
|
|
dataLabel: true,
|
|
dataLabel: true,
|
|
width: _self.cWidth * _self.pixelRatio,
|
|
width: _self.cWidth * _self.pixelRatio,
|
|
@@ -448,7 +451,7 @@
|
|
extra: {
|
|
extra: {
|
|
column: {
|
|
column: {
|
|
// width: _self.cWidth*_self.pixelRatio*0.45/chartData.categories.length
|
|
// width: _self.cWidth*_self.pixelRatio*0.45/chartData.categories.length
|
|
- width: 30
|
|
|
|
|
|
+ width: 15
|
|
}
|
|
}
|
|
}
|
|
}
|
|
});
|
|
});
|
|
@@ -619,14 +622,14 @@
|
|
}
|
|
}
|
|
|
|
|
|
.userFlagimg {
|
|
.userFlagimg {
|
|
- padding-left: 10upx;
|
|
|
|
|
|
+ padding-left: 30upx;
|
|
padding-top: 10upx;
|
|
padding-top: 10upx;
|
|
width: 26upx;
|
|
width: 26upx;
|
|
height: 28upx;
|
|
height: 28upx;
|
|
}
|
|
}
|
|
|
|
|
|
.wenzi {
|
|
.wenzi {
|
|
- padding-right: 0upx;
|
|
|
|
|
|
+ padding-left: 5upx;
|
|
/* text-align:right; */
|
|
/* text-align:right; */
|
|
white-space: nowrap;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
@@ -731,18 +734,25 @@
|
|
.qiun-title-dot-light {
|
|
.qiun-title-dot-light {
|
|
width: 92%;
|
|
width: 92%;
|
|
border-left: 20upx;
|
|
border-left: 20upx;
|
|
- border-left: 10upx solid #0ea391;
|
|
|
|
|
|
+ border-left: 10upx solid #206DC3;
|
|
padding-left: 10upx;
|
|
padding-left: 10upx;
|
|
height: 32upx;
|
|
height: 32upx;
|
|
- padding-bottom: 40upx;
|
|
|
|
|
|
+ /* padding-bottom: 40upx; */
|
|
font-family: "PingFang-SC-Bold";
|
|
font-family: "PingFang-SC-Bold";
|
|
font-weight: bold;
|
|
font-weight: bold;
|
|
margin: auto;
|
|
margin: auto;
|
|
font-size: 32upx;
|
|
font-size: 32upx;
|
|
color: #363D44;
|
|
color: #363D44;
|
|
|
|
+ transform: translateY(20upx);
|
|
|
|
+ }
|
|
|
|
+ .dis{
|
|
|
|
+ transform: translateY(-13upx);
|
|
|
|
+ font-size: 32upx;
|
|
|
|
+ font-family: "PingFang-SC-Bold";
|
|
|
|
+ color: #363D44;
|
|
}
|
|
}
|
|
-
|
|
|
|
.shijian {
|
|
.shijian {
|
|
|
|
+ transform: translateY(40upx);
|
|
padding-top: 30upx;
|
|
padding-top: 30upx;
|
|
height: 80upx;
|
|
height: 80upx;
|
|
width: 690upx;
|
|
width: 690upx;
|
|
@@ -770,19 +780,19 @@
|
|
|
|
|
|
.preImg {
|
|
.preImg {
|
|
position: absolute;
|
|
position: absolute;
|
|
- left: 40upx;
|
|
|
|
- width: 27upx;
|
|
|
|
- height: 45upx;
|
|
|
|
|
|
+ left: 30upx;
|
|
|
|
+ width: 71upx;
|
|
|
|
+ height: 57upx;
|
|
}
|
|
}
|
|
|
|
|
|
.nextImg {
|
|
.nextImg {
|
|
position: absolute;
|
|
position: absolute;
|
|
- right: 40upx;
|
|
|
|
- width: 27upx;
|
|
|
|
- height: 45upx;
|
|
|
|
|
|
+ right: 30upx;
|
|
|
|
+ width: 71upx;
|
|
|
|
+ height: 57upx;
|
|
}
|
|
}
|
|
|
|
|
|
.fontLeft {
|
|
.fontLeft {
|
|
- margin-right: 20upx;
|
|
|
|
|
|
+ margin-right: 6upx;
|
|
}
|
|
}
|
|
</style>
|
|
</style>
|