update
This commit is contained in:
parent
569b17fbbd
commit
b98529c16a
3
App.vue
3
App.vue
@ -41,9 +41,12 @@
|
||||
})
|
||||
|
||||
let _this = this
|
||||
console.log('this.user.WeChat_MiniProToken',this.user.WeChat_MiniProToken)
|
||||
if (this.user.WeChat_MiniProToken) {
|
||||
console.log('1')
|
||||
this.memberLogin()
|
||||
} else {
|
||||
console.log('2')
|
||||
this.getLoginCode()
|
||||
}
|
||||
|
||||
|
||||
@ -91,6 +91,13 @@
|
||||
"navigationBarTitleText": "",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "moreList",
|
||||
"style": {
|
||||
"navigationBarTitleText": "",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
@ -454,7 +454,9 @@ export default {
|
||||
},
|
||||
async initData() { // 初始化营收数据
|
||||
let _this = this
|
||||
console.log('this.theRequest',this.theRequest)
|
||||
console.log('this.theRequest1',this.theRequest)
|
||||
this.theRequest.GroupType = 1000
|
||||
this.theRequest.ServerpartIds = ''
|
||||
const [reginList, totalData, busniessTypePie, busniessTradePie, busniessAreaPie, bayonetPie] =
|
||||
await anhuiYestodayRevenueData.getData(this.theRequest) // 获取实时数据
|
||||
|
||||
|
||||
@ -1188,6 +1188,7 @@
|
||||
this.opacity = (options.scrollTop - 30) / 68
|
||||
},
|
||||
onLoad(option) {
|
||||
console.log('option',option)
|
||||
uni.showLoading({
|
||||
title: '正在加载...'
|
||||
})
|
||||
|
||||
@ -379,18 +379,23 @@
|
||||
<text class="funItemText">{{item.name}}</text>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--欢度国庆-->
|
||||
<div class="nationalDay">
|
||||
<div class="national">
|
||||
<div class="nationalTop">
|
||||
<image class="lanternImg" src="https://eshangtech.com/ShopICO/ahyd-BID/nationalDay/lantern.png" />
|
||||
<div class="titleBox" @click="goToNational">
|
||||
<!-- <image class="titleBg" src="https://eshangtech.com/ShopICO/ahyd-BID/nationalDay/titleBox.svg"/>-->
|
||||
<div class="title" >
|
||||
<span class="text">欢度国庆</span>
|
||||
<image class="rightIcon" src="https://eshangtech.com/ShopICO/ahyd-BID/nationalDay/rightIcon.svg"/>
|
||||
<div class="nationalTopLeft">
|
||||
<image class="lanternImg" src="https://eshangtech.com/ShopICO/ahyd-BID/nationalDay/lantern.png" />
|
||||
<div class="titleBox" @click="goToNational">
|
||||
<!-- <image class="titleBg" src="https://eshangtech.com/ShopICO/ahyd-BID/nationalDay/titleBox.svg"/>-->
|
||||
<div class="title" >
|
||||
<span class="text">欢度国庆</span>
|
||||
<image class="rightIcon" src="https://eshangtech.com/ShopICO/ahyd-BID/nationalDay/rightIcon.svg"/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="nationalTopRight">
|
||||
<text class="timeText" >{{lastDay}}</text>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="nationalContent">
|
||||
@ -773,8 +778,8 @@ export default {
|
||||
popupShow:false,
|
||||
popup:true,
|
||||
nationalDayList:[
|
||||
{title:'当日营收',unit:'/万元',value:'',bg:'https://eshangtech.com/ShopICO/ahyd-BID/nationalDay/revenueBg.svg'},
|
||||
{title:'当日车流',unit:'/辆',value:'',bg:'https://eshangtech.com/ShopICO/ahyd-BID/nationalDay/carIcon.svg'},
|
||||
{title:'营收',unit:'/万元',value:'',bg:'https://eshangtech.com/ShopICO/ahyd-BID/nationalDay/revenueBg.svg'},
|
||||
{title:'车流',unit:'/万辆',value:'',bg:'https://eshangtech.com/ShopICO/ahyd-BID/nationalDay/carIcon.svg'},
|
||||
{title:'车流增幅Top1',unit:'',value:'',bg:'https://eshangtech.com/ShopICO/ahyd-BID/nationalDay/add.png'},
|
||||
],
|
||||
tabTypeList:[
|
||||
@ -872,8 +877,11 @@ export default {
|
||||
user:{
|
||||
// 新用户刚进来的时候可能onLoad会执行不了 监听他的user变化确保能请求
|
||||
handler:function (value){
|
||||
console.log('watch',value)
|
||||
let userInfo = uni.getStorageSync('vuex')
|
||||
userInfo = JSON.parse(userInfo)
|
||||
console.log('userInfo',userInfo)
|
||||
console.log('this.isReturn',this.isReturn)
|
||||
if (this.isReturn===true){
|
||||
// 无权限就会跳转到无数据的页面
|
||||
if (userInfo.userData.AuthorityInfo['89a1f248-2113-4d57-84b1-c2e6edb9e8ee']===1){
|
||||
@ -889,24 +897,45 @@ export default {
|
||||
}
|
||||
// 拿到用户当前的经纬度位置
|
||||
this.seat = uni.getStorageSync('seatInfo')
|
||||
console.log('this.seat',this.seat)
|
||||
if (!this.seat){
|
||||
//获取用户的经纬度位置存在stroge里面
|
||||
wx.getFuzzyLocation({
|
||||
type:'gcj02',
|
||||
altitude:true,
|
||||
success: (res) =>{
|
||||
let seatInfo = {
|
||||
console.log('1111')
|
||||
if (wx.getPrivacySetting){
|
||||
wx.getPrivacySetting({
|
||||
success: res=>{
|
||||
console.log('res123123',res)
|
||||
if (res.needAuthorization){
|
||||
this.$util.toNextRoute('redirectTo', '/pages/register/register')
|
||||
}else{
|
||||
wx.getFuzzyLocation({
|
||||
type:'gcj02',
|
||||
altitude:true,
|
||||
success: (res) =>{
|
||||
console.log('res',res)
|
||||
let seatInfo = {
|
||||
latitude:res.latitude,
|
||||
longitude:res.longitude
|
||||
}
|
||||
uni.setStorageSync('seatInfo', seatInfo);
|
||||
this.seat = seatInfo
|
||||
}
|
||||
uni.setStorageSync('seatInfo', seatInfo);
|
||||
this.seat = seatInfo
|
||||
})
|
||||
}
|
||||
}
|
||||
})
|
||||
}else{
|
||||
uni.showModal({
|
||||
title: '提示',
|
||||
content: '当前微信版本过低,无法使用该功能,请升级到最新微信版本后重试。'
|
||||
})
|
||||
return
|
||||
}
|
||||
}else{
|
||||
//拿到最近服务区的数据
|
||||
this.nearestService()
|
||||
}
|
||||
console.log('this.isReturn',this.isReturn)
|
||||
if (!this.isReturn){
|
||||
this.getData(this.option)
|
||||
this.handleNoticeMonth()
|
||||
@ -1059,7 +1088,7 @@ export default {
|
||||
ShowGrowthRate:true
|
||||
}
|
||||
const data = await request.$webGet('CommercialApi/BigData/GetBayonetGrowthAnalysis',req)
|
||||
this.nationalDayList[1].value = data.Result_Data.sumEntryCount?this.$util.noDecimal(data.Result_Data.sumEntryCount):''
|
||||
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 + '%'
|
||||
console.log('拿到国庆数据data',data)
|
||||
},
|
||||
@ -1105,6 +1134,7 @@ export default {
|
||||
ProvinceCode:'340000'
|
||||
}
|
||||
const data = await request.$webGet('CommercialApi/Suggestion/GetMemberUnreadData',req)
|
||||
console.log('getSuggestion',data)
|
||||
if (data.Result_Data.data){
|
||||
if (data.Result_Data.data !== '0'){
|
||||
this.isShow = true
|
||||
@ -1770,6 +1800,7 @@ export default {
|
||||
}
|
||||
time = `${y}${m}`
|
||||
}
|
||||
console.log('time',time)
|
||||
const req = {
|
||||
Province_Code:this.useInfo.userData.ProvinceCode || '340000',
|
||||
Statistics_Date:time
|
||||
@ -3575,39 +3606,53 @@ $iphoneHeight: env(safe-area-inset-bottom);
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
.lanternImg{
|
||||
width: 104rpx;
|
||||
height: 126rpx;
|
||||
margin-left: 8rpx;
|
||||
}
|
||||
.titleBox{
|
||||
width: 300rpx;
|
||||
height: 60rpx;
|
||||
background-image: url("https://eshangtech.com/ShopICO/ahyd-BID/nationalDay/titleBox.svg");
|
||||
background-repeat: no-repeat;
|
||||
background-size: contain;
|
||||
padding-left: 36rpx;
|
||||
box-sizing: border-box;
|
||||
justify-content: space-between;
|
||||
.nationalTopLeft{
|
||||
display: flex;
|
||||
transform: translateX(-30px);
|
||||
align-items: center;
|
||||
.title{
|
||||
.lanternImg{
|
||||
width: 104rpx;
|
||||
height: 126rpx;
|
||||
margin-left: 8rpx;
|
||||
}
|
||||
.titleBox{
|
||||
width: 300rpx;
|
||||
height: 60rpx;
|
||||
background-image: url("https://eshangtech.com/ShopICO/ahyd-BID/nationalDay/titleBox.svg");
|
||||
background-repeat: no-repeat;
|
||||
background-size: contain;
|
||||
padding-left: 36rpx;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
transform: translateX(-30px);
|
||||
align-items: center;
|
||||
.text{
|
||||
font-size: 32rpx;
|
||||
font-family: PingFangSC-Medium, PingFang SC;
|
||||
font-weight: 600;
|
||||
color: #E93113;
|
||||
line-height: 44rpx;
|
||||
}
|
||||
.rightIcon{
|
||||
width: 32rpx;
|
||||
height: 32rpx;
|
||||
margin-left: 16rpx;
|
||||
.title{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
.text{
|
||||
font-size: 32rpx;
|
||||
font-family: PingFangSC-Medium, PingFang SC;
|
||||
font-weight: 600;
|
||||
color: #E93113;
|
||||
line-height: 44rpx;
|
||||
}
|
||||
.rightIcon{
|
||||
width: 32rpx;
|
||||
height: 32rpx;
|
||||
margin-left: 16rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.nationalTopRight{
|
||||
.timeText{
|
||||
font-size: 28rpx;
|
||||
font-family: PingFangSC-Regular, PingFang SC;
|
||||
font-weight: 400;
|
||||
color: #E93113;
|
||||
line-height: 34rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
.nationalContent{
|
||||
width: 100%;
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
<div class="main">
|
||||
<div class="top">
|
||||
<image class="topBg" src="https://eshangtech.com/ShopICO/ahyd-BID/nationalDay/pageBg.png"/>
|
||||
<div class="header" :style="{height:menu.height + 'px',top:menu.top+'px'}">
|
||||
<image class="backArrow" src="https://eshangtech.com/ShopICO/ahyd-BID/examine/leftArrowWhite.svg" @click="handleBack"/>
|
||||
<div class="header" :style="{height:menu.height + menu.top + 'px',top:0+'px'}">
|
||||
<image :style="{bottom: ((statusBarHeight-24)/4)+'px' }" class="backArrow" src="https://eshangtech.com/ShopICO/ahyd-BID/examine/leftArrowWhite.svg" @click="handleBack"/>
|
||||
</div>
|
||||
<div class="topContent" :style="{top:200+'rpx'}">
|
||||
<p class="pageTitle" >欢度国庆</p>
|
||||
@ -15,7 +15,13 @@
|
||||
<div class="dailyContent">
|
||||
<image class="itemBg" src="https://eshangtech.com/ShopICO/ahyd-BID/nationalDay/revenueItemBg.png"/>
|
||||
<div class="list">
|
||||
<p class="title">服务区当日营收 Top5</p>
|
||||
<div class="listTop">
|
||||
<p class="title">{{ dayName }}营收 Top5</p>
|
||||
<div class="moreBox" @click="handleGoMore(1)">
|
||||
<span class="text">查看更多</span>
|
||||
<image class="moreIcon" src="https://eshangtech.com/ShopICO/ahyd-BID/commercial/rightArrow.svg"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="listBox">
|
||||
<div class="itemTop">
|
||||
<image class="itemIcon" src="https://eshangtech.com/ShopICO/ahyd-BID/nationalDay/firstItemIcon.svg"/>
|
||||
@ -28,8 +34,9 @@
|
||||
<div class="listItemTop" >
|
||||
<div class="listTopItem" v-for="(item,index) in revenueList" :key="index">
|
||||
<div class="itemLeft">
|
||||
<image class="itemIcon" :src="'https://eshangtech.com/ShopICO/ahyd-BID/nationalDay/Top'+ (index +1) +'.svg'" />
|
||||
<span class="name">{{item.Serverpart_Name.split('服务区')[0]}}<span class="type">{{item.ShopRegionName}}</span></span>
|
||||
<image class="itemIcon" :src="'https://eshangtech.com/ShopICO/ahyd-BID/nationalDay/Top'+ (index +1) +'.png'" />
|
||||
<!-- <span class="type">{{item.ShopRegionName}}</span>-->
|
||||
<span class="name">{{item.Serverpart_Name.split('服务区')[0]}}</span>
|
||||
</div>
|
||||
<div class="itemRight">
|
||||
<span class="itemValue">{{$util.fmoney(item.CashPay,2)}}<span class="unit">/元</span></span>
|
||||
@ -46,7 +53,13 @@
|
||||
<div class="dailyContent">
|
||||
<image class="itemBg" src="https://eshangtech.com/ShopICO/ahyd-BID/nationalDay/entryIcon.png"/>
|
||||
<div class="list">
|
||||
<p class="title">当日入区车流量 Top5</p>
|
||||
<div class="listTop">
|
||||
<p class="title">{{dayName}}入区车流量 Top5</p>
|
||||
<div class="moreBox" @click="handleGoMore(2)">
|
||||
<span class="text">查看更多</span>
|
||||
<image class="moreIcon" src="https://eshangtech.com/ShopICO/ahyd-BID/commercial/rightArrow.svg"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="listBox">
|
||||
<div class="itemTop">
|
||||
<image class="itemIcon" src="https://eshangtech.com/ShopICO/ahyd-BID/nationalDay/pass.svg"/>
|
||||
@ -59,8 +72,8 @@
|
||||
<div class="listItemTop" >
|
||||
<div class="listTopItem" v-for="(item,index) in entryCarList" :key="index">
|
||||
<div class="itemLeft">
|
||||
<image class="itemIcon" :src="'https://eshangtech.com/ShopICO/ahyd-BID/nationalDay/Top'+ (index +1) +'.svg'" />
|
||||
<span class="name">{{item.Serverpart_Name.split('服务区')[0]}}<span class="type">{{item.Serverpart_Region}}</span></span>
|
||||
<image class="itemIcon" :src="'https://eshangtech.com/ShopICO/ahyd-BID/nationalDay/Top'+ (index +1) +'.png'" />
|
||||
<span class="name">{{item.Serverpart_Name.split('服务区')[0]}}<span class="type">{{item.Serverpart_Region || ''}}</span></span>
|
||||
</div>
|
||||
<div class="itemRight">
|
||||
<span class="itemValue">{{$util.noDecimal(item.Vehicle_Count) }}<span class="unit">/辆</span></span>
|
||||
@ -77,13 +90,19 @@
|
||||
<div class="dailyContent">
|
||||
<image class="itemBg" src="https://eshangtech.com/ShopICO/ahyd-BID/nationalDay/entryAdd.png"/>
|
||||
<div class="list">
|
||||
<p class="title">当日入区车流量增幅 Top5</p>
|
||||
<div class="listTop">
|
||||
<p class="title">{{dayName}}入区车流量增幅 Top5</p>
|
||||
<div class="moreBox" @click="handleGoMore(3)">
|
||||
<span class="text">查看更多</span>
|
||||
<image class="moreIcon" src="https://eshangtech.com/ShopICO/ahyd-BID/commercial/rightArrow.svg"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="listBox">
|
||||
<div class="listItemTop" >
|
||||
<div class="listTopItem" v-for="(item,index) in addList" :key="index">
|
||||
<div class="itemLeft">
|
||||
<image class="itemIcon" :src="'https://eshangtech.com/ShopICO/ahyd-BID/nationalDay/Top'+ (index +1) +'.svg'" />
|
||||
<span class="name">{{item.Serverpart_Name.split('服务区')[0]}}<span class="type">{{item.Serverpart_Region}}</span></span>
|
||||
<image class="itemIcon" :src="'https://eshangtech.com/ShopICO/ahyd-BID/nationalDay/Top'+ (index +1) +'.png'" />
|
||||
<span class="name">{{item.Serverpart_Name.split('服务区')[0]}}<span class="type">{{item.Serverpart_Region || ''}}</span></span>
|
||||
</div>
|
||||
<div class="itemRight">
|
||||
<image class="addIcon" src='/static/images/examine/add.svg'/>
|
||||
@ -112,6 +131,8 @@ export default {
|
||||
entryCarList:[],//入区排行
|
||||
entrySum:0,// 入区总计
|
||||
addList:[],// 增幅排行
|
||||
time:'',
|
||||
dayName:''
|
||||
}
|
||||
},
|
||||
onLoad(query){
|
||||
@ -126,12 +147,24 @@ export default {
|
||||
uni.showLoading({
|
||||
title: '正在加载...'
|
||||
})
|
||||
this.time = query.time
|
||||
const date = new Date(query.time)
|
||||
let y = date.getFullYear()
|
||||
let m = date.getMonth() + 1
|
||||
let d = date.getDate()
|
||||
// ${y}年
|
||||
this.dayName = `${m}月${d}日`
|
||||
// 拿到营收排行
|
||||
this.handleGetRevenue(query.time)
|
||||
// 车流排行
|
||||
this.handleGetCar(query.time)
|
||||
},
|
||||
methods:{
|
||||
handleGoMore(type){
|
||||
uni.navigateTo({
|
||||
url:`/pages/nationalPage/moreList?type=${type}&time=${this.time}&dayName=${this.dayName}`
|
||||
})
|
||||
},
|
||||
handleBack(){
|
||||
uni.navigateBack({
|
||||
delta: 1
|
||||
@ -164,7 +197,13 @@ export default {
|
||||
console.log('车流排行',data)
|
||||
this.entrySum = data.Result_Data.sumEntryCount
|
||||
this.entryCarList = data.Result_Data.EntryList.slice(0,5)
|
||||
this.addList = data.Result_Data.GrowthList.slice(0,5)
|
||||
let list = []
|
||||
data.Result_Data.GrowthList.forEach(item=>{
|
||||
if (item.Entry_GrowthRate>100){
|
||||
list.push(item)
|
||||
}
|
||||
})
|
||||
this.addList = list.slice(0,5)
|
||||
if (this.entrySum && this.entryCarList && this.entryCarList.length>0 && this.addList && this.addList.length>0
|
||||
&& this.revenueSum && this.revenueList && this.revenueList.length>0){
|
||||
uni.hideLoading()
|
||||
@ -191,7 +230,11 @@ export default {
|
||||
z-index: 1;
|
||||
}
|
||||
.header{
|
||||
position: absolute;
|
||||
position: fixed;
|
||||
background-image: url("https://eshangtech.com/ShopICO/ahyd-BID/nationalDay/pageBg.png");
|
||||
background-repeat: no-repeat;
|
||||
background-position: 0 0;
|
||||
background-size: cover;
|
||||
width: 100%;
|
||||
padding: 0 16px;
|
||||
box-sizing: border-box;
|
||||
@ -202,6 +245,7 @@ export default {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
margin-right: 16px;
|
||||
position: absolute;
|
||||
}
|
||||
}
|
||||
.topContent{
|
||||
@ -251,13 +295,36 @@ export default {
|
||||
position: absolute;
|
||||
width: calc(100% - 48rpx);
|
||||
z-index: 2;
|
||||
.title{
|
||||
font-size: 36rpx;
|
||||
font-family: Alimama ShuHeiTi;
|
||||
font-weight: bold;
|
||||
color: #F95222;
|
||||
line-height: 44rpx;
|
||||
.listTop{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
.title{
|
||||
font-size: 36rpx;
|
||||
font-family: Alimama ShuHeiTi;
|
||||
font-weight: bold;
|
||||
color: #F95222;
|
||||
line-height: 44rpx;
|
||||
}
|
||||
.moreBox{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
.text{
|
||||
font-size: 24rpx;
|
||||
font-family: PingFangSC-Regular, PingFang SC;
|
||||
font-weight: 400;
|
||||
color: #A69E9F;
|
||||
line-height: 36rpx;
|
||||
}
|
||||
.moreIcon{
|
||||
width: 20rpx;
|
||||
height: 40rpx;
|
||||
margin-left: 4rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.listBox{
|
||||
width: 100%;
|
||||
background: #fff;
|
||||
@ -320,6 +387,7 @@ export default {
|
||||
width: 40rpx;
|
||||
height: 40rpx;
|
||||
}
|
||||
|
||||
.name{
|
||||
margin-left: 20rpx;
|
||||
font-size: 28rpx;
|
||||
@ -388,12 +456,34 @@ export default {
|
||||
position: absolute;
|
||||
width: calc(100% - 48rpx);
|
||||
z-index: 2;
|
||||
.title{
|
||||
font-size: 36rpx;
|
||||
font-family: Alimama ShuHeiTi;
|
||||
font-weight: bold;
|
||||
color: #096EF7;
|
||||
line-height: 44rpx;
|
||||
.listTop{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
.title{
|
||||
font-size: 36rpx;
|
||||
font-family: Alimama ShuHeiTi;
|
||||
font-weight: bold;
|
||||
color: #096EF7;
|
||||
line-height: 44rpx;
|
||||
}
|
||||
.moreBox{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
.text{
|
||||
font-size: 24rpx;
|
||||
font-family: PingFangSC-Regular, PingFang SC;
|
||||
font-weight: 400;
|
||||
color: #A69E9F;
|
||||
line-height: 36rpx;
|
||||
}
|
||||
.moreIcon{
|
||||
width: 20rpx;
|
||||
height: 40rpx;
|
||||
margin-left: 4rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
.listBox{
|
||||
width: 100%;
|
||||
@ -524,12 +614,34 @@ export default {
|
||||
position: absolute;
|
||||
width: calc(100% - 48rpx);
|
||||
z-index: 2;
|
||||
.title{
|
||||
font-size: 36rpx;
|
||||
font-family: Alimama ShuHeiTi;
|
||||
font-weight: bold;
|
||||
color: #018ABD;
|
||||
line-height: 44rpx;
|
||||
.listTop{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
.title{
|
||||
font-size: 36rpx;
|
||||
font-family: Alimama ShuHeiTi;
|
||||
font-weight: bold;
|
||||
color: #018ABD;
|
||||
line-height: 44rpx;
|
||||
}
|
||||
.moreBox{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
.text{
|
||||
font-size: 24rpx;
|
||||
font-family: PingFangSC-Regular, PingFang SC;
|
||||
font-weight: 400;
|
||||
color: #A69E9F;
|
||||
line-height: 36rpx;
|
||||
}
|
||||
.moreIcon{
|
||||
width: 20rpx;
|
||||
height: 40rpx;
|
||||
margin-left: 4rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
.listBox{
|
||||
width: 100%;
|
||||
|
||||
737
pages/nationalPage/moreList.vue
Normal file
737
pages/nationalPage/moreList.vue
Normal file
@ -0,0 +1,737 @@
|
||||
<template>
|
||||
<div class="main">
|
||||
<div class="top">
|
||||
<image class="topBg" src="https://eshangtech.com/ShopICO/ahyd-BID/nationalDay/pageBg.png"/>
|
||||
<div class="header" :style="{height:menu.height + menu.top + 'px',top:0+'px'}">
|
||||
<image :style="{bottom: ((statusBarHeight-24)/4)+'px' }" class="backArrow" src="https://eshangtech.com/ShopICO/ahyd-BID/examine/leftArrowWhite.svg" @click="handleBack"/>
|
||||
</div>
|
||||
<div class="topContent" :style="{top:200+'rpx'}">
|
||||
<p class="pageTitle" >欢度国庆</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="pageContent">
|
||||
<!-- 服务区当日营收 Top30-->
|
||||
<div class="dailyRevenue" :style="{height:(680+(revenueList.length-5)*70) + 'rpx'}" v-if="pageType===1">
|
||||
<div class="dailyContent">
|
||||
<image class="itemBg" src="https://eshangtech.com/ShopICO/ahyd-BID/nationalDay/revenueItemBg.png"/>
|
||||
<div class="list">
|
||||
<div class="listTop">
|
||||
<p class="title">{{dayName}}当日营收 Top30</p>
|
||||
</div>
|
||||
<div class="listBox">
|
||||
<div class="itemTop">
|
||||
<image class="itemIcon" src="https://eshangtech.com/ShopICO/ahyd-BID/nationalDay/firstItemIcon.svg"/>
|
||||
<div class="revenueBox">
|
||||
<p class="revenueValue">{{ $util.fmoney(revenueSum,2) }}</p>
|
||||
<p class="revenueText">总营收 <span>/元</span></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="listItemTop" >
|
||||
<div class="listTopItem" v-for="(item,index) in revenueList" :key="index">
|
||||
<div class="itemLeft">
|
||||
<image v-if="index<3" class="itemIcon" :src="'https://eshangtech.com/ShopICO/ahyd-BID/nationalDay/Top'+ (index +1) +'.png'" />
|
||||
<div class="otherIcon" v-else>{{index + 1}}</div>
|
||||
<!-- <span class="type">{{item.ShopRegionName}}</span>-->
|
||||
<span class="name">{{item.Serverpart_Name.split('服务区')[0]}}</span>
|
||||
</div>
|
||||
<div class="itemRight">
|
||||
<span class="itemValue">{{$util.fmoney(item.CashPay,2)}}<span class="unit">/元</span></span>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 当日入区车流量 Top30-->
|
||||
<div class="dailyEntry" v-if="pageType===2" :style="{height:(680+(entryCarList.length-5)*70) + 'rpx'}">
|
||||
<div class="dailyContent">
|
||||
<image class="itemBg" src="https://eshangtech.com/ShopICO/ahyd-BID/nationalDay/entryIcon.png"/>
|
||||
<div class="list">
|
||||
<div class="listTop">
|
||||
<p class="title">{{dayName}}入区车流量 Top30</p>
|
||||
|
||||
</div>
|
||||
<div class="listBox">
|
||||
<div class="itemTop">
|
||||
<image class="itemIcon" src="https://eshangtech.com/ShopICO/ahyd-BID/nationalDay/pass.svg"/>
|
||||
<div class="revenueBox">
|
||||
<p class="revenueValue">{{$util.noDecimal(entrySum)}}</p>
|
||||
<p class="revenueText">总车流量<span>/辆</span></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="listItemTop" >
|
||||
<div class="listTopItem" v-for="(item,index) in entryCarList" :key="index">
|
||||
<div class="itemLeft">
|
||||
<image class="itemIcon" v-if="index<3" :src="'https://eshangtech.com/ShopICO/ahyd-BID/nationalDay/Top'+ (index +1) +'.png'" />
|
||||
<div class="otherIcon" v-else>{{index + 1}}</div>
|
||||
|
||||
<span class="name">{{item.Serverpart_Name.split('服务区')[0]}}<span class="type">{{item.Serverpart_Region || ''}}</span></span>
|
||||
</div>
|
||||
<div class="itemRight">
|
||||
<span class="itemValue">{{$util.noDecimal(item.Vehicle_Count) }}<span class="unit">/辆</span></span>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 当日入区车流量增幅 Top30-->
|
||||
<div class="dailyEntryAdd" v-if="pageType===3" :style="{height:(500+(addList.length-5)*70) + 'rpx'}">
|
||||
<div class="dailyContent">
|
||||
<image class="itemBg" src="https://eshangtech.com/ShopICO/ahyd-BID/nationalDay/entryAdd.png"/>
|
||||
<div class="list">
|
||||
<div class="listTop">
|
||||
<p class="title">{{dayName}}入区车流量增幅 Top30</p>
|
||||
</div>
|
||||
<div class="listBox">
|
||||
<div class="listItemTop" >
|
||||
<div class="listTopItem" v-for="(item,index) in addList" :key="index">
|
||||
<div class="itemLeft">
|
||||
<image class="itemIcon" v-if="index<3" :src="'https://eshangtech.com/ShopICO/ahyd-BID/nationalDay/Top'+ (index +1) +'.png'" />
|
||||
<div class="otherIcon" v-else>{{index + 1}}</div>
|
||||
<span class="name">{{item.Serverpart_Name.split('服务区')[0]}}<span class="type">{{item.Serverpart_Region || ''}}</span></span>
|
||||
</div>
|
||||
<div class="itemRight">
|
||||
<image class="addIcon" src='/static/images/examine/add.svg'/>
|
||||
<span class="itemValue">{{item.Entry_GrowthRate}}%</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import request from '@/util/index.js'
|
||||
export default {
|
||||
name: "moreList",
|
||||
data(){
|
||||
return {
|
||||
statusBarHeight:0,
|
||||
menu:{},
|
||||
type:null,
|
||||
revenueList: [],// 营收排行
|
||||
revenueSum:0,// 营收总计
|
||||
entryCarList:[],//入区排行
|
||||
entrySum:0,// 入区总计
|
||||
addList:[],// 增幅排行
|
||||
pageType:0,// 判断显示什么
|
||||
useInfo:{},
|
||||
dayName:''
|
||||
}
|
||||
},
|
||||
onLoad(query){
|
||||
// 获取手机参数对页面进行适配
|
||||
let systemInfo = uni.getSystemInfoSync()
|
||||
this.statusBarHeight = Number(systemInfo.statusBarHeight)
|
||||
this.menu = uni.getMenuButtonBoundingClientRect()
|
||||
// 获取用户信息
|
||||
let userInfo = uni.getStorageSync('vuex')
|
||||
userInfo = JSON.parse(userInfo)
|
||||
this.useInfo = JSON.parse(JSON.stringify(userInfo))
|
||||
this.pageType = Number(query.type)
|
||||
this.dayName = query.dayName
|
||||
if (this.pageType===1){
|
||||
uni.showLoading({
|
||||
title: '正在加载...'
|
||||
})
|
||||
this.handleGetRevenue(query.time)
|
||||
}else if (this.pageType===2 || this.pageType===3){
|
||||
uni.showLoading({
|
||||
title: '正在加载...'
|
||||
})
|
||||
this.handleGetCar(query.time)
|
||||
}
|
||||
},
|
||||
methods:{
|
||||
handleBack(){
|
||||
uni.navigateBack({
|
||||
delta: 1
|
||||
});
|
||||
},
|
||||
// 拿到营收排行
|
||||
async handleGetRevenue(date){
|
||||
const req= {
|
||||
pushProvinceCode:this.useInfo.userData.ProvinceCode || '340000',
|
||||
Statistics_Date:date,
|
||||
Revenue_Include:1
|
||||
}
|
||||
const data = await request.$webGet('CommercialApi/Revenue/GetSPRevenueRank',req)
|
||||
console.log('拿到营收排行',data)
|
||||
this.revenueSum = data.Result_Data.OtherData
|
||||
this.revenueList = data.Result_Data.List.slice(0,30)
|
||||
uni.hideLoading()
|
||||
},
|
||||
// 车流排行
|
||||
async handleGetCar(date){
|
||||
const req= {
|
||||
pushProvinceCode:this.useInfo.userData.ProvinceCode || '340000',
|
||||
StatisticsEndDate:date,
|
||||
ShowGrowthRate:true
|
||||
}
|
||||
const data = await request.$webGet('CommercialApi/BigData/GetBayonetGrowthAnalysis',req)
|
||||
console.log('车流排行',data)
|
||||
this.entrySum = data.Result_Data.sumEntryCount
|
||||
this.entryCarList = data.Result_Data.EntryList.slice(0,30)
|
||||
// this.addList = data.Result_Data.GrowthList.slice(0,30)
|
||||
let list = []
|
||||
data.Result_Data.GrowthList.forEach(item=>{
|
||||
if (item.Entry_GrowthRate>100){
|
||||
list.push(item)
|
||||
}
|
||||
})
|
||||
this.addList = list.slice(0,30)
|
||||
uni.hideLoading()
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
<style scoped lang="scss">
|
||||
@import '/static/public/fontNational/stylesheet.css';
|
||||
.main {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
.top {
|
||||
width: 100%;
|
||||
height: 560rpx;
|
||||
position: relative;
|
||||
|
||||
.topBg {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.header{
|
||||
position: fixed;
|
||||
background-image: url("https://eshangtech.com/ShopICO/ahyd-BID/nationalDay/pageBg.png");
|
||||
background-repeat: no-repeat;
|
||||
background-position: 0 0;
|
||||
background-size: cover;
|
||||
width: 100%;
|
||||
padding: 0 16px;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
z-index: 2;
|
||||
.backArrow{
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
margin-right: 16px;
|
||||
position: absolute;
|
||||
}
|
||||
}
|
||||
|
||||
.topContent {
|
||||
position: absolute;
|
||||
left: 32rpx;
|
||||
|
||||
.pageTitle {
|
||||
font-size: 56rpx;
|
||||
font-family: Alimama ShuHeiTi;
|
||||
font-weight: bold;
|
||||
color: #FFFFFF;
|
||||
line-height: 68rpx;
|
||||
text-shadow: 0px 8px 20px rgba(158, 29, 0, 0.25);
|
||||
background: linear-gradient(180deg, #FEFFFE 0%, #FFC7B6 100%);
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
}
|
||||
}
|
||||
}
|
||||
.pageContent{
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
padding: 0 32rpx 28rpx;
|
||||
transform: translateY(-260rpx);
|
||||
.dailyRevenue{
|
||||
width: 100%;
|
||||
height: 680rpx;
|
||||
background: #fff;
|
||||
border-radius: 24rpx;
|
||||
box-sizing: border-box;
|
||||
padding: 2px;
|
||||
.dailyContent{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
box-sizing: border-box;
|
||||
padding: 22rpx 24rpx;
|
||||
background: linear-gradient(360deg, rgba(255,233,229,0) 0%, rgba(255,233,229,0.7) 21%, #FFE9E5 100%);
|
||||
border-radius: 20rpx;
|
||||
position: relative;
|
||||
.itemBg{
|
||||
width: 266rpx;
|
||||
height: 208rpx;
|
||||
position: absolute;
|
||||
right: 0;top: 0;
|
||||
z-index:1;
|
||||
}
|
||||
.list{
|
||||
position: absolute;
|
||||
width: calc(100% - 48rpx);
|
||||
z-index: 2;
|
||||
.listTop{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
.title{
|
||||
font-size: 36rpx;
|
||||
font-family: Alimama ShuHeiTi;
|
||||
font-weight: bold;
|
||||
color: #F95222;
|
||||
line-height: 44rpx;
|
||||
}
|
||||
.moreBox{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
.text{
|
||||
font-size: 24rpx;
|
||||
font-family: PingFangSC-Regular, PingFang SC;
|
||||
font-weight: 400;
|
||||
color: #A69E9F;
|
||||
line-height: 36rpx;
|
||||
}
|
||||
.moreIcon{
|
||||
width: 20rpx;
|
||||
height: 40rpx;
|
||||
margin-left: 4rpx;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
.listBox{
|
||||
width: 100%;
|
||||
background: #fff;
|
||||
margin-top: 22rpx;
|
||||
border-radius: 12rpx;
|
||||
box-sizing: border-box;
|
||||
padding: 32rpx;
|
||||
.itemTop{
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
box-sizing: border-box;
|
||||
padding-bottom: 36rpx;
|
||||
border-bottom: 2rpx solid #F7F4F4;
|
||||
.itemIcon{
|
||||
width: 96rpx;
|
||||
height: 96rpx;
|
||||
border-radius: 16rpx;
|
||||
}
|
||||
|
||||
.revenueBox{
|
||||
.revenueValue{
|
||||
font-size: 40rpx;
|
||||
font-family: DINAlternate-Bold, DINAlternate;
|
||||
font-weight: bold;
|
||||
color: #160002;
|
||||
line-height: 48rpx;
|
||||
}
|
||||
.revenueText{
|
||||
font-size: 28rpx;
|
||||
font-family: PingFangSC-Regular, PingFang SC;
|
||||
font-weight: 400;
|
||||
color: #786B6C;
|
||||
line-height: 40rpx;
|
||||
text-align: right;
|
||||
span{
|
||||
font-size: 28rpx;
|
||||
font-family: PingFangSC-Regular, PingFang SC;
|
||||
font-weight: 400;
|
||||
color: #A69E9F;
|
||||
line-height: 40rpx;
|
||||
margin-left: 4rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.listItemTop{
|
||||
margin-top: 34rpx;
|
||||
.listTopItem{
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 10rpx 0;
|
||||
.itemLeft{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
.itemIcon{
|
||||
width: 40rpx;
|
||||
height: 40rpx;
|
||||
}
|
||||
.otherIcon{
|
||||
width: 40rpx;
|
||||
height: 40rpx;
|
||||
//background-image: url('https://eshangtech.com/ShopICO/ahyd-BID/nationalDay/noNumberTop.svg');
|
||||
//background-repeat: no-repeat;
|
||||
//background-size: 100% 100%;
|
||||
font-weight: 600;
|
||||
line-height: 40rpx;
|
||||
text-align: center;
|
||||
color: #999999;
|
||||
}
|
||||
.name{
|
||||
margin-left: 20rpx;
|
||||
font-size: 28rpx;
|
||||
font-family: PingFangSC-Semibold, PingFang SC;
|
||||
font-weight: 600;
|
||||
color: #160002;
|
||||
line-height: 40rpx;
|
||||
.type{
|
||||
font-size: 24rpx;
|
||||
font-family: PingFangSC-Regular, PingFang SC;
|
||||
font-weight: 400;
|
||||
color: #786B6C;
|
||||
line-height: 36rpx;
|
||||
margin-left: 4rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
.itemRight{
|
||||
.itemValue{
|
||||
font-size: 32rpx;
|
||||
font-family: DINAlternate-Bold, DINAlternate;
|
||||
font-weight: bold;
|
||||
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: 4rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.dailyEntry{
|
||||
width: 100%;
|
||||
height: 680rpx;
|
||||
background: #fff;
|
||||
border-radius: 24rpx;
|
||||
box-sizing: border-box;
|
||||
padding: 2px;
|
||||
margin-top: 28rpx;
|
||||
.dailyContent{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
box-sizing: border-box;
|
||||
padding: 22rpx 24rpx;
|
||||
background: linear-gradient(360deg, rgba(238,242,255,0) 0%, rgba(238,242,255,0.7) 20%, #EEF2FF 100%);
|
||||
border-radius: 20rpx;
|
||||
position: relative;
|
||||
.itemBg{
|
||||
width: 320rpx;
|
||||
height: 320rpx;
|
||||
position: absolute;
|
||||
right: 0;top: 0;
|
||||
z-index:1;
|
||||
}
|
||||
.list{
|
||||
position: absolute;
|
||||
width: calc(100% - 48rpx);
|
||||
z-index: 2;
|
||||
.listTop{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
.title{
|
||||
font-size: 36rpx;
|
||||
font-family: Alimama ShuHeiTi;
|
||||
font-weight: bold;
|
||||
color: #096EF7;
|
||||
line-height: 44rpx;
|
||||
}
|
||||
.moreBox{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
.text{
|
||||
font-size: 24rpx;
|
||||
font-family: PingFangSC-Regular, PingFang SC;
|
||||
font-weight: 400;
|
||||
color: #A69E9F;
|
||||
line-height: 36rpx;
|
||||
}
|
||||
.moreIcon{
|
||||
width: 20rpx;
|
||||
height: 40rpx;
|
||||
margin-left: 4rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
.listBox{
|
||||
width: 100%;
|
||||
background: #fff;
|
||||
margin-top: 22rpx;
|
||||
border-radius: 12rpx;
|
||||
box-sizing: border-box;
|
||||
padding: 32rpx;
|
||||
.itemTop{
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
box-sizing: border-box;
|
||||
padding-bottom: 36rpx;
|
||||
border-bottom: 2rpx solid #F7F4F4;
|
||||
.itemIcon{
|
||||
width: 96rpx;
|
||||
height: 96rpx;
|
||||
border-radius: 16rpx;
|
||||
}
|
||||
.otherIcon{
|
||||
width: 40rpx;
|
||||
height: 40rpx;
|
||||
//background-image: url('https://eshangtech.com/ShopICO/ahyd-BID/nationalDay/noNumberTop.svg');
|
||||
//background-repeat: no-repeat;
|
||||
//background-size: 100% 100%;
|
||||
}
|
||||
.revenueBox{
|
||||
.revenueValue{
|
||||
font-size: 40rpx;
|
||||
font-family: DINAlternate-Bold, DINAlternate;
|
||||
font-weight: bold;
|
||||
color: #160002;
|
||||
line-height: 48rpx;
|
||||
}
|
||||
.revenueText{
|
||||
font-size: 28rpx;
|
||||
font-family: PingFangSC-Regular, PingFang SC;
|
||||
font-weight: 400;
|
||||
color: #786B6C;
|
||||
line-height: 40rpx;
|
||||
text-align: right;
|
||||
span{
|
||||
font-size: 28rpx;
|
||||
font-family: PingFangSC-Regular, PingFang SC;
|
||||
font-weight: 400;
|
||||
color: #A69E9F;
|
||||
line-height: 40rpx;
|
||||
margin-left: 4rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.listItemTop{
|
||||
margin-top: 34rpx;
|
||||
.listTopItem{
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 10rpx 0;
|
||||
.itemLeft{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
.itemIcon{
|
||||
width: 40rpx;
|
||||
height: 40rpx;
|
||||
}
|
||||
.otherIcon{
|
||||
width: 40rpx;
|
||||
height: 40rpx;
|
||||
//background-image: url('https://eshangtech.com/ShopICO/ahyd-BID/nationalDay/noNumberTop.svg');
|
||||
//background-repeat: no-repeat;
|
||||
//background-size: 100% 100%;
|
||||
font-weight: 600;
|
||||
line-height: 40rpx;
|
||||
text-align: center;
|
||||
color: #999999;
|
||||
}
|
||||
.name{
|
||||
margin-left: 20rpx;
|
||||
font-size: 28rpx;
|
||||
font-family: PingFangSC-Semibold, PingFang SC;
|
||||
font-weight: 600;
|
||||
color: #160002;
|
||||
line-height: 40rpx;
|
||||
.type{
|
||||
font-size: 24rpx;
|
||||
font-family: PingFangSC-Regular, PingFang SC;
|
||||
font-weight: 400;
|
||||
color: #786B6C;
|
||||
line-height: 36rpx;
|
||||
margin-left: 4rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
.itemRight{
|
||||
.itemValue{
|
||||
font-size: 32rpx;
|
||||
font-family: DINAlternate-Bold, DINAlternate;
|
||||
font-weight: bold;
|
||||
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: 4rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.dailyEntryAdd{
|
||||
width: 100%;
|
||||
height: 500rpx;
|
||||
background: #fff;
|
||||
border-radius: 24rpx;
|
||||
box-sizing: border-box;
|
||||
padding: 2px;
|
||||
margin-top: 28rpx;
|
||||
.dailyContent{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
box-sizing: border-box;
|
||||
padding: 22rpx 24rpx;
|
||||
background: linear-gradient(360deg, rgba(229,247,255,0) 0%, rgba(229,247,255,0.7) 23%, #E5F7FF 100%);
|
||||
border-radius: 20rpx;
|
||||
position: relative;
|
||||
.itemBg{
|
||||
width: 320rpx;
|
||||
height: 320rpx;
|
||||
position: absolute;
|
||||
right: 0;top: 0;
|
||||
z-index:1;
|
||||
}
|
||||
.list{
|
||||
position: absolute;
|
||||
width: calc(100% - 48rpx);
|
||||
z-index: 2;
|
||||
.listTop{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
.title{
|
||||
font-size: 36rpx;
|
||||
font-family: Alimama ShuHeiTi;
|
||||
font-weight: bold;
|
||||
color: #018ABD;
|
||||
line-height: 44rpx;
|
||||
}
|
||||
.moreBox{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
.text{
|
||||
font-size: 24rpx;
|
||||
font-family: PingFangSC-Regular, PingFang SC;
|
||||
font-weight: 400;
|
||||
color: #A69E9F;
|
||||
line-height: 36rpx;
|
||||
}
|
||||
.moreIcon{
|
||||
width: 20rpx;
|
||||
height: 40rpx;
|
||||
margin-left: 4rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
.listBox{
|
||||
width: 100%;
|
||||
background: #fff;
|
||||
margin-top: 22rpx;
|
||||
border-radius: 12rpx;
|
||||
box-sizing: border-box;
|
||||
padding: 32rpx;
|
||||
.listItemTop{
|
||||
.listTopItem{
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 10rpx 0;
|
||||
.itemLeft{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
.itemIcon{
|
||||
width: 40rpx;
|
||||
height: 40rpx;
|
||||
}
|
||||
.otherIcon{
|
||||
width: 40rpx;
|
||||
height: 40rpx;
|
||||
//background-image: url('https://eshangtech.com/ShopICO/ahyd-BID/nationalDay/noNumberTop.svg');
|
||||
//background-repeat: no-repeat;
|
||||
//background-size: 100% 100%;
|
||||
font-weight: 600;
|
||||
line-height: 40rpx;
|
||||
text-align: center;
|
||||
color: #999999;
|
||||
}
|
||||
.name{
|
||||
margin-left: 20rpx;
|
||||
font-size: 28rpx;
|
||||
font-family: PingFangSC-Semibold, PingFang SC;
|
||||
font-weight: 600;
|
||||
color: #160002;
|
||||
line-height: 40rpx;
|
||||
.type{
|
||||
font-size: 24rpx;
|
||||
font-family: PingFangSC-Regular, PingFang SC;
|
||||
font-weight: 400;
|
||||
color: #786B6C;
|
||||
line-height: 36rpx;
|
||||
margin-left: 4rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
.itemRight{
|
||||
.addIcon{
|
||||
width: 28rpx;
|
||||
height: 28rpx;
|
||||
}
|
||||
.itemValue{
|
||||
display: inline-block;
|
||||
width: 80px;
|
||||
text-align: left;
|
||||
margin-left: 8rpx;
|
||||
font-size: 32rpx;
|
||||
font-family: DINAlternate-Bold, DINAlternate;
|
||||
font-weight: bold;
|
||||
color: #160002;
|
||||
line-height: 40rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@ -55,8 +55,8 @@
|
||||
<view class="text">
|
||||
本项目驿达累计分润已达<span class="strong"><span clsas="strong" style="font-size: 14px">¥</span>{{ dataDetail.ROYALTY_PRICE|| '-' }}</span>,<br/>
|
||||
<span v-if="dataDetail.EXPENSE_AMOUNT">其中已扣减水电物业费
|
||||
<span class="strong"><span clsas="strong" style="font-size: 14px">¥</span>{{$util.fmoney(dataDetail.EXPENSE_AMOUNT)}}</span>
|
||||
</span>,<br/>
|
||||
<span class="strong"><span clsas="strong" style="font-size: 14px">¥</span>{{$util.fmoney(dataDetail.EXPENSE_AMOUNT)}}</span>,
|
||||
</span><br/>
|
||||
<span v-if="dataDetail.EXPIREDAYS!==0">预计<span class="strong">{{ dataDetail.EXPIREDAYS|| '-' }}</span>后完成</span>
|
||||
<span v-if="dataDetail.EXPIREDAYS===0" class="strong">已完成</span>保底!
|
||||
</view>
|
||||
|
||||
@ -70,6 +70,7 @@ const actions = {
|
||||
},
|
||||
getTodoList({ dispatch, state,commit}){ // 获取用户待办事项
|
||||
let _user = state.userData
|
||||
console.log('getTodoList')
|
||||
request.$get("ToDoList", {
|
||||
userId: _user.UserId,
|
||||
userName: _user.UserName || ''
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user