@@ -766,9 +809,10 @@ import uniPopup from "../../components/uni-popup.vue";
import Tabbar from "../../components/tabbar/tabbar.vue";
import anhuiYestodayRevenueData from "../everdayRenven/components/anhuiYestodayRevenueData";
import MonthCharts from "./components/monthCharts.vue";
+import RateCharts from "./components/rateCharts.vue";
var rincanvas = {};
export default {
- components: {MonthCharts, Tabbar,uniPopup},
+ components: {RateCharts, MonthCharts, Tabbar,uniPopup},
data() {
const lastDay = this.$util.cutDate(new Date(), 'YYYY-MM-DD', -1)
const nowDay = this.$util.cutDate(new Date(), 'MM月DD日')
@@ -876,6 +920,7 @@ export default {
trafficCurrentObj:{},// 当前月
showMonthDetail:false,//月度车流的显示框
yesObjCompared:'',//昨日营收的比较值
+ moneyRateList:[]
}
},
watch:{
@@ -970,6 +1015,9 @@ export default {
},
onLoad(option){
const _this = this
+ setTimeout(()=>{
+ _this.moneyRateList = [3512.54,2615.68]
+ },3000)
// 顶部显示的时间
this.single = timestampToTimeMonth((new Date(this.lastDay).getTime()))
// 获取手机参数对页面进行适配 主要是用于拿到胶囊的位置
@@ -1092,6 +1140,10 @@ export default {
this.nationalDayList[1].value = data.Result_Data.sumEntryCount?this.$util.fmoney(Number((data.Result_Data.sumEntryCount / 10000).toFixed(2))):''
this.nationalDayList[2].value = data.Result_Data.GrowthList[0].Entry_GrowthRate>0?'+' + data.Result_Data.GrowthList[0].Entry_GrowthRate + '%':'-' + data.Result_Data.GrowthList[0].Entry_GrowthRate + '%'
},
+ // 跳转到营收统计
+ goToRevenueStatic(){
+ this.$util.toNextRoute('navigateTo', `/pages/revenueStatistics/index?time=${this.lastDay}`)
+ },
goToNational(){
this.$util.toNextRoute('navigateTo', `/pages/nationalPage/index?time=${this.lastDay}`)
},
@@ -2112,7 +2164,7 @@ $iphoneHeight: env(safe-area-inset-bottom);
background: rgba(254, 192, 168,0.8);
.top{
width: 100%;
- height: 436rpx;
+ height: 700rpx;
background: linear-gradient(135deg, #FFE5CA 0%, #FFFFFF 29%, #FFFFFF 69%, #FFDCD5 100%);
border-bottom-right-radius: 32rpx;
border-bottom-left-radius: 32rpx;
@@ -2228,108 +2280,165 @@ $iphoneHeight: env(safe-area-inset-bottom);
margin-right: 64rpx;
}
}
- .progress{
+ .newBox{
width: 100%;
- height: 24rpx;
- border-radius: 12rpx;
- background: #FFAB30;
- margin-top: 24rpx;
- //overflow: hidden;
- position: relative;
- .have{
- position: absolute;
- top: 0;left: 0;
- width: 60%;
- background: #DB573B;
- height: 100%;
- border-radius: 12rpx;
- }
- .haveNoticeBox{
- position: absolute;
- bottom: 13px;left: 50%;
- transform: translateX(-50%);
- display: inline-block;
- padding: 5px 10px;
- background: #fff;
- border-radius: 10rpx;
- box-shadow: 0rpx 0rpx 40rpx 0rpx rgba(244, 138, 143, 0.21);
- z-index:9;
- }
- }
- .message{
- width: 100%;
- display: flex;
+ box-sizing: border-box;
+ padding: 32rpx 16rpx;
+ background: linear-gradient(135deg, #FFE3BA 0%, #FFF5E5 40%, #FFF1DB 78%, #FFDABC 100%); border-radius: 16rpx;
margin-top: 32rpx;
- .smallDetailItem{
- width: 50%;
- .messageTop{
- display: flex;
- align-items: center;
- .type{
- width: 24rpx;
- height: 12rpx;
- border-radius: 6rpx;
- margin-right: 6px;
+ .progress{
+ width: 100%;
+ height: 24rpx;
+ border-radius: 12rpx;
+ background: #FFAB30;
+ //overflow: hidden;
+ position: relative;
+ .have{
+ position: absolute;
+ top: 0;left: 0;
+ width: 60%;
+ background: #DB573B;
+ height: 100%;
+ border-radius: 12rpx;
+ }
+ .haveNoticeBox{
+ position: absolute;
+ bottom: 13px;left: 50%;
+ transform: translateX(-50%);
+ display: inline-block;
+ padding: 5px 10px;
+ background: #fff;
+ border-radius: 10rpx;
+ box-shadow: 0rpx 0rpx 40rpx 0rpx rgba(244, 138, 143, 0.21);
+ z-index:9;
+ }
+ }
+ .message{
+ width: 100%;
+ display: flex;
+ margin-top: 32rpx;
+ .smallDetailItem{
+ width: 50%;
+ .messageTop{
+ display: flex;
+ align-items: center;
+ .type{
+ width: 24rpx;
+ height: 12rpx;
+ border-radius: 6rpx;
+ margin-right: 6px;
+ }
+ .typeTitle{
+ font-size: 28rpx;
+ font-family: PingFangSC-Regular, PingFang SC;
+ font-weight: 400;
+ color: #160002;
+ line-height: 40rpx;
+ .unit{
+ font-size: 28rpx;
+ font-family: PingFangSC-Regular, PingFang SC;
+ font-weight: 400;
+ color: #A69E9F;
+ line-height: 40rpx;
+ margin-left: 2px;
+ }
+ }
}
- .typeTitle{
- font-size: 28rpx;
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 400;
- color: #160002;
- line-height: 40rpx;
- .unit{
+ .middle{
+ margin-top: 6px;
+ margin-left: 20px;
+ display: flex;
+ align-items: center;
+ .money{
+ font-size: 36rpx;
+ font-family: DINAlternate-Bold, DINAlternate;
+ font-weight: bold;
+ color: #160002;
+ line-height: 44rpx;
+ }
+ .addItem{
+ margin-left: 6px;
+ display: inline-block;
+ padding: 2px 4px;
+ font-size: 28rpx;
+ font-family: DINAlternate-Bold, DINAlternate;
+ font-weight: bold;
+ color: #E83944;
+ line-height: 32rpx;
+ background: rgba(232, 57, 68, 0.1);
+ border-radius: 18rpx;
+ }
+ }
+ .messageBottom{
+ margin-left: 20px;
+ display: flex;
+ align-items: center;
+ .addText{
+ font-size: 28rpx;
+ font-family: DINAlternate-Bold, DINAlternate;
+ font-weight: bold;
+ color: #E83944;
+ line-height: 32rpx
+ }
+ .addType{
font-size: 28rpx;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #A69E9F;
line-height: 40rpx;
- margin-left: 2px;
+ margin-left: 4px;
}
}
}
- .middle{
- margin-top: 6px;
- margin-left: 20px;
- display: flex;
- align-items: center;
- .money{
- font-size: 36rpx;
- font-family: DINAlternate-Bold, DINAlternate;
- font-weight: bold;
- color: #160002;
- line-height: 44rpx;
- }
- .addItem{
- margin-left: 6px;
- display: inline-block;
- padding: 2px 4px;
- font-size: 28rpx;
- font-family: DINAlternate-Bold, DINAlternate;
- font-weight: bold;
- color: #E83944;
- line-height: 32rpx;
- background: rgba(232, 57, 68, 0.1);
- border-radius: 18rpx;
- }
+ }
+ .moneyRate{
+ width: 100%;
+ box-sizing: border-box;
+ margin-top: 40rpx;
+ height: 144rpx;
+ display: flex;
+ align-items: center;
+ .leftBox{
+ width: 144rpx;
+ height: 144rpx;
+ margin-right: 16rpx;
}
- .messageBottom{
- margin-left: 20px;
+ .rightBox{
+ flex: 1;
display: flex;
align-items: center;
- .addText{
- font-size: 28rpx;
- font-family: DINAlternate-Bold, DINAlternate;
- font-weight: bold;
- color: #E83944;
- line-height: 32rpx
- }
- .addType{
- font-size: 28rpx;
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 400;
- color: #A69E9F;
- line-height: 40rpx;
- margin-left: 4px;
+ .noticeItem{
+ width: 50%;
+ .noticeTop{
+ width: 24rpx;
+ height: 12rpx;
+ background: #A66A37;
+ border-radius: 6rpx;
+ margin-bottom: 8rpx;
+ }
+ .noticeText{
+ font-size: 28rpx;
+ font-family: PingFangSC, PingFang SC;
+ font-weight: 400;
+ color: #160002;
+ line-height: 40rpx;
+ margin-bottom: 6rpx;
+ .noticeSmallText{
+ font-size: 28rpx;
+ font-family: PingFangSC, PingFang SC;
+ font-weight: 400;
+ color: #A69E9F;
+ line-height: 40rpx;
+ margin-left: 4rpx;
+ }
+ }
+ .noticeMoney{
+ font-size: 36rpx;
+ font-family: DINAlternate, DINAlternate;
+ font-weight: bold;
+ color: #160002;
+ line-height: 44rpx;
+ }
}
}
}
@@ -2543,7 +2652,7 @@ $iphoneHeight: env(safe-area-inset-bottom);
align-items: center;
justify-content: center;
position: absolute;
- left: 0;bottom: 10px;
+ left: 0;bottom: 8px;
.noShowMore{
width: 25px;
height: 14px;
@@ -2666,101 +2775,101 @@ $iphoneHeight: env(safe-area-inset-bottom);
margin-right: 64rpx;
}
}
- .progress{
- width: 100%;
- margin: 6px 0;
- height: 24rpx;
- border-radius: 12rpx;
- background: #FFAB30;
- overflow: hidden;
- position: relative;
- .have{
- position: absolute;
- top: 0;left: 0;
- width: 60%;
- background: #DB573B;
- height: 100%;
+ .progress{
+ width: 100%;
+ margin: 6px 0;
+ height: 24rpx;
border-radius: 12rpx;
+ background: #FFAB30;
+ overflow: hidden;
+ position: relative;
+ .have{
+ position: absolute;
+ top: 0;left: 0;
+ width: 60%;
+ background: #DB573B;
+ height: 100%;
+ border-radius: 12rpx;
+ }
}
- }
- .message{
- width: 100%;
- display: flex;
- .smallDetailItem{
- width: 50%;
- .messageTop{
- display: flex;
- align-items: center;
- .type{
- width: 24rpx;
- height: 12rpx;
- background: #DB573B;
- border-radius: 6rpx;
- margin-right: 6px;
+ .message{
+ width: 100%;
+ display: flex;
+ .smallDetailItem{
+ width: 50%;
+ .messageTop{
+ display: flex;
+ align-items: center;
+ .type{
+ width: 24rpx;
+ height: 12rpx;
+ background: #DB573B;
+ border-radius: 6rpx;
+ margin-right: 6px;
+ }
+ .typeTitle{
+ font-size: 28rpx;
+ font-family: PingFangSC-Regular, PingFang SC;
+ font-weight: 400;
+ color: #160002;
+ line-height: 40rpx;
+ .unit{
+ font-size: 28rpx;
+ font-family: PingFangSC-Regular, PingFang SC;
+ font-weight: 400;
+ color: #A69E9F;
+ line-height: 40rpx;
+ margin-left: 2px;
+ }
+ }
}
- .typeTitle{
- font-size: 28rpx;
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 400;
- color: #160002;
- line-height: 40rpx;
- .unit{
+ .middle{
+ margin-top: 6px;
+ margin-left: 20px;
+ display: flex;
+ align-items: center;
+ .money{
+ font-size: 36rpx;
+ font-family: DINAlternate-Bold, DINAlternate;
+ font-weight: bold;
+ color: #160002;
+ line-height: 44rpx;
+ }
+ .addItem{
+ margin-left: 6px;
+ display: inline-block;
+ padding: 2px 4px;
+ font-size: 28rpx;
+ font-family: DINAlternate-Bold, DINAlternate;
+ font-weight: bold;
+ color: #E83944;
+ line-height: 32rpx;
+ background: rgba(232, 57, 68, 0.1);
+ border-radius: 18rpx;
+ }
+ }
+ .messageBottom{
+ margin-left: 20px;
+ display: flex;
+ align-items: center;
+ .addText{
+ font-size: 28rpx;
+ font-family: DINAlternate-Bold, DINAlternate;
+ font-weight: bold;
+ color: #E83944;
+ line-height: 32rpx
+ }
+ .addType{
font-size: 28rpx;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #A69E9F;
line-height: 40rpx;
- margin-left: 2px;
+ margin-left: 4px;
}
}
}
- .middle{
- margin-top: 6px;
- margin-left: 20px;
- display: flex;
- align-items: center;
- .money{
- font-size: 36rpx;
- font-family: DINAlternate-Bold, DINAlternate;
- font-weight: bold;
- color: #160002;
- line-height: 44rpx;
- }
- .addItem{
- margin-left: 6px;
- display: inline-block;
- padding: 2px 4px;
- font-size: 28rpx;
- font-family: DINAlternate-Bold, DINAlternate;
- font-weight: bold;
- color: #E83944;
- line-height: 32rpx;
- background: rgba(232, 57, 68, 0.1);
- border-radius: 18rpx;
- }
- }
- .messageBottom{
- margin-left: 20px;
- display: flex;
- align-items: center;
- .addText{
- font-size: 28rpx;
- font-family: DINAlternate-Bold, DINAlternate;
- font-weight: bold;
- color: #E83944;
- line-height: 32rpx
- }
- .addType{
- font-size: 28rpx;
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 400;
- color: #A69E9F;
- line-height: 40rpx;
- margin-left: 4px;
- }
- }
}
- }
}
}
.bottom{
@@ -3365,7 +3474,7 @@ $iphoneHeight: env(safe-area-inset-bottom);
.funBox{
width: calc(100% - 64rpx);
margin-left: 32rpx;
- height: 378rpx;
+ height: 530rpx;
margin-bottom: 16px;
.firstBox{
display: flex;
@@ -4001,7 +4110,7 @@ $iphoneHeight: env(safe-area-inset-bottom);
.boxBg{
width: 12px;
height: 12px;
- background: #10BFCE;
+ background: #589CFF;
filter: blur(4px);
position: absolute;
top: 0;left: 0;
diff --git a/pages/operatingStatements/detail.vue b/pages/operatingStatements/detail.vue
index 1b37cbf..49173a7 100644
--- a/pages/operatingStatements/detail.vue
+++ b/pages/operatingStatements/detail.vue
@@ -24,7 +24,7 @@
{{pageMsg.Serverpart_N}} ¥{{$util.fmoney(pageMsg.Serverpart_RevenueN,2)}}
-
+
diff --git a/pages/revenue/component/otherCharts.vue b/pages/revenue/component/otherCharts.vue
index 3d4cd40..57fe0b2 100644
--- a/pages/revenue/component/otherCharts.vue
+++ b/pages/revenue/component/otherCharts.vue
@@ -109,6 +109,7 @@ export default {
uni.canvasToTempFilePath({
canvasId:id,
complete:(res)=>{
+ console.log('res',res)
if (res.tempFilePath){
uni.getFileSystemManager().readFile({
filePath: res.tempFilePath,
diff --git a/pages/revenueStatistics/index.vue b/pages/revenueStatistics/index.vue
index dc1f789..67c8903 100644
--- a/pages/revenueStatistics/index.vue
+++ b/pages/revenueStatistics/index.vue
@@ -1,11 +1,626 @@
-
-
- $END$
+
+
+
+ 营收统计
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/static/public/font2/stylesheet.css b/static/public/font2/stylesheet.css
index fdd12e3..03c1747 100644
--- a/static/public/font2/stylesheet.css
+++ b/static/public/font2/stylesheet.css
@@ -1,6 +1,6 @@
@font-face {
font-family: 'Alimama ShuHeiTi';
- src:url("/static/public/font2/uj4HAtspu5eH.woff");
+ src:url("/static/public/font2/tzfy1e4Fbqbs.woff");
font-weight: bold;
font-style: normal;
font-display: swap;
diff --git a/static/public/revenueStatistics/stylesheet.css b/static/public/revenueStatistics/stylesheet.css
index 03c1747..aba05ad 100644
--- a/static/public/revenueStatistics/stylesheet.css
+++ b/static/public/revenueStatistics/stylesheet.css
@@ -1,6 +1,6 @@
@font-face {
font-family: 'Alimama ShuHeiTi';
- src:url("/static/public/font2/tzfy1e4Fbqbs.woff");
+ src:url("/static/public/revenueStatistics/uKTjcNOXuZpJ.woff");
font-weight: bold;
font-style: normal;
font-display: swap;