This commit is contained in:
cclu 2024-09-05 14:29:37 +08:00
parent bb6e78f068
commit 1122356dfb
43 changed files with 365 additions and 112 deletions

26
App.vue
View File

@ -15,6 +15,24 @@
...mapActions(['memberLogin','getLoginCode']), ...mapActions(['memberLogin','getLoginCode']),
...mapMutations(['setVisitChannels']), ...mapMutations(['setVisitChannels']),
handleGetUserInfo(){
wx.request({
url: 'https://qifu-api.baidubce.com/ip/local/geo/v1/district',
success(response) {
const data = response.data;
//
let obj = {
...data.data,
ip: data.ip
}
console.log('obj',obj)
uni.setStorageSync('userInfo',obj)
},
fail(error) {
//
}
});
}
}, },
onLaunch: function(options) { onLaunch: function(options) {
uni.getSystemInfo({ uni.getSystemInfo({
@ -63,13 +81,7 @@
}); });
this.handleGetUserInfo()
this.$util.addUserBehavior( {intoRoute: '/'+options.path, outtoRoute: ''}) // this.$util.addUserBehavior( {intoRoute: '/'+options.path, outtoRoute: ''}) //
}, },

View File

@ -180,6 +180,9 @@ function addUserBehavior(obj) {
} }
obj.visitChannels = store.state.visitChannels obj.visitChannels = store.state.visitChannels
let userDate = store.state.userData let userDate = store.state.userData
let baseInfo = uni.getStorageSync('userInfo')
let req = { let req = {
userName:userDate.UserName, userName:userDate.UserName,
phoneNumber:userDate.Membership_Phone, phoneNumber:userDate.Membership_Phone,
@ -188,7 +191,10 @@ function addUserBehavior(obj) {
intoRoute:obj.intoRoute, intoRoute:obj.intoRoute,
outtoRoute:obj.outtoRoute, outtoRoute:obj.outtoRoute,
visitChannels:obj.visitChannels, visitChannels:obj.visitChannels,
behaviorRecordDesc:'' behaviorRecordDesc:'',
LoginIP: baseInfo.ip || '',
LoginPlace: (baseInfo.prov ? baseInfo.prov : '' ) + (baseInfo.prov && baseInfo.city ? '-' : '') + (baseInfo.city ? baseInfo.city : ''),
SOURCE_PLATFORM: '数智化看板'
} }
request.$webGet('CommercialApi/UserBehavior/AddUserBehavior',req).then(() => { request.$webGet('CommercialApi/UserBehavior/AddUserBehavior',req).then(() => {

View File

@ -74,6 +74,7 @@
}, },
"usingComponents" : true, "usingComponents" : true,
"__usePrivacyCheck__": true, "__usePrivacyCheck__": true,
"lazyCodeLoading": "requiredComponents",
"permission" : { "permission" : {
"scope.userLocation" : { "scope.userLocation" : {
"desc" : "获取位置信息用于展示" "desc" : "获取位置信息用于展示"

View File

@ -9,15 +9,6 @@
"enablePullDownRefresh": true "enablePullDownRefresh": true
} }
}, },
{
"path": "pages/index/old/index",
"style":
{
"navigationBarTitleText": "驿达数智化看板",
"navigationStyle": "custom",
"enablePullDownRefresh": true
}
},
{ {
"path": "pages/userCenter/userCenter", "path": "pages/userCenter/userCenter",
"style": "style":
@ -42,6 +33,19 @@
} }
], ],
"subPackages": [ // "subPackages": [ //
{
"root": "pages/index/old",
"pages": [
{
"path": "index",
"style":{
"navigationBarTitleText": "驿达数智化看板",
"navigationStyle": "custom",
"enablePullDownRefresh": true
}
}
]
},
{ {
"root": "pages/authorityApproval", "root": "pages/authorityApproval",
"pages": [ "pages": [
@ -897,12 +901,7 @@
"selectedIconPath": "static/images/tab/homeActive.png", "selectedIconPath": "static/images/tab/homeActive.png",
"text": "" "text": ""
}, },
{
"pagePath": "pages/index/old/index",
"iconPath": "static/images/tab/home.png",
"selectedIconPath": "static/images/tab/homeActive.png",
"text": ""
},
{ {
"pagePath": "pages/userCenter/userCenter", "pagePath": "pages/userCenter/userCenter",
"iconPath": "static/images/tab/user.png", "iconPath": "static/images/tab/user.png",

View File

@ -89,7 +89,6 @@ import ConsumptionCompare from "./components/bussiness/consumptionCompare.vue";
import BestsellerShop from "./components/bussiness/bestsellerShop.vue"; import BestsellerShop from "./components/bussiness/bestsellerShop.vue";
import NoData from "./components/noData.vue"; import NoData from "./components/noData.vue";
import BandLevel from "./components/format/bandLevel.vue"; import BandLevel from "./components/format/bandLevel.vue";
import commercialType from "./commercialType.vue";
import {getFieldEnum} from "../../util/dateTime"; import {getFieldEnum} from "../../util/dateTime";
import SliderPage from "./components/sliderPage.vue"; import SliderPage from "./components/sliderPage.vue";
@ -101,7 +100,7 @@ export default {
NoData, NoData,
BestsellerShop, BestsellerShop,
ConsumptionCompare, ConsumptionCompare,
BusinessFormat, LevelTop, analyse, TimePeriodAnalysis, headerTop,transactionAnalysis,commercialType}, BusinessFormat, LevelTop, analyse, TimePeriodAnalysis, headerTop,transactionAnalysis},
data() { data() {
return { return {
topBg:'linear-gradient(180deg, #EDD1AF 0%, #EED7BB 100%);',// topBg:'linear-gradient(180deg, #EDD1AF 0%, #EED7BB 100%);',//

View File

@ -109,12 +109,11 @@ import BandLevel from "./components/format/bandLevel.vue";
import ConsumptionLevel from "./components/format/consumLevel.vue"; import ConsumptionLevel from "./components/format/consumLevel.vue";
import BandNumber from "./components/format/bandNumber.vue"; import BandNumber from "./components/format/bandNumber.vue";
import NoData from "./components/noData.vue"; import NoData from "./components/noData.vue";
import commercialType from "./commercialType.vue";
import { tableList, wrapTreeNode } from '@/util/dateTime/index' import { tableList, wrapTreeNode } from '@/util/dateTime/index'
export default { export default {
name: "businessPortrait", name: "businessPortrait",
components: {NoData, BandNumber, ConsumptionLevel, BandLevel, FillingDegree, analyse, headerTop,commercialType}, components: {NoData, BandNumber, ConsumptionLevel, BandLevel, FillingDegree, analyse, headerTop},
data() { data() {
return { return {
topBg:'linear-gradient(180deg, #C6C1F0 0%, #CECBF3 100%);',// topBg:'linear-gradient(180deg, #C6C1F0 0%, #CECBF3 100%);',//

View File

@ -71,7 +71,6 @@ import BandLevel from "./components/format/bandLevel.vue";
import ConsumptionLevel from "./components/format/consumLevel.vue"; import ConsumptionLevel from "./components/format/consumLevel.vue";
import BandNumber from "./components/format/bandNumber.vue"; import BandNumber from "./components/format/bandNumber.vue";
import NoData from "./components/noData.vue"; import NoData from "./components/noData.vue";
import commercialType from "./commercialType.vue";
import {getFieldEnum} from "../../util/dateTime"; import {getFieldEnum} from "../../util/dateTime";
import SliderPage from "./components/sliderPage.vue"; import SliderPage from "./components/sliderPage.vue";
@ -79,7 +78,7 @@ export default {
name: "businessPortrait", name: "businessPortrait",
components: { components: {
SliderPage, SliderPage,
NoData, BandNumber, ConsumptionLevel, BandLevel, FillingDegree, analyse, headerTop,commercialType}, NoData, BandNumber, ConsumptionLevel, BandLevel, FillingDegree, analyse, headerTop},
data() { data() {
return { return {
topBg:'linear-gradient(180deg, #C6C1F0 0%, #CECBF3 100%);',// topBg:'linear-gradient(180deg, #C6C1F0 0%, #CECBF3 100%);',//

View File

@ -77,14 +77,13 @@ import ConsumPrefer from "./components/guest/consumPrefer.vue";
import ConsumptionLevel from "./components/guest/consumptionLevel.vue"; import ConsumptionLevel from "./components/guest/consumptionLevel.vue";
import BusinessType from "./components/guest/businessType.vue"; import BusinessType from "./components/guest/businessType.vue";
import NoData from "./components/noData.vue"; import NoData from "./components/noData.vue";
import commercialType from "./commercialType.vue";
import {getFieldEnum} from "../../util/dateTime"; import {getFieldEnum} from "../../util/dateTime";
import SliderPage from "./components/sliderPage.vue"; import SliderPage from "./components/sliderPage.vue";
export default { export default {
name: "guestPortrait", name: "guestPortrait",
components:{ components:{
SliderPage, SliderPage,
NoData, BusinessType, ConsumptionLevel, ConsumPrefer, analyse, headerTop,customerFirst,customerSecond,commercialType}, NoData, BusinessType, ConsumptionLevel, ConsumPrefer, analyse, headerTop,customerFirst,customerSecond},
data() { data() {
return { return {
topBg:'linear-gradient(180deg, #A1D0C1 0%, #B1D9CD 100%);',// topBg:'linear-gradient(180deg, #A1D0C1 0%, #B1D9CD 100%);',//

View File

@ -195,7 +195,6 @@ import analyse from "./components/analyse.vue";
import RevenueTrends from "./components/manager/revenueTrends.vue"; import RevenueTrends from "./components/manager/revenueTrends.vue";
import request from '@/util/index.js' import request from '@/util/index.js'
import NoData from "./components/noData.vue"; import NoData from "./components/noData.vue";
import commercialType from "./commercialType.vue";
import {getFieldEnum} from "../../util/dateTime"; import {getFieldEnum} from "../../util/dateTime";
import SliderPage from "./components/sliderPage.vue"; import SliderPage from "./components/sliderPage.vue";
@ -203,7 +202,7 @@ export default {
name: "businessPortrait", name: "businessPortrait",
components: { components: {
SliderPage, SliderPage,
NoData, RevenueTrends, MoneyCompare, ContractGuarantee, RevenueAnalysis, headerTop,analyse,commercialType}, NoData, RevenueTrends, MoneyCompare, ContractGuarantee, RevenueAnalysis, headerTop,analyse},
data() { data() {
return { return {
topBg:'linear-gradient(180deg, #D9CCEF 0%, #DED3F2 100%);', topBg:'linear-gradient(180deg, #D9CCEF 0%, #DED3F2 100%);',

View File

@ -2,8 +2,8 @@ const yewu = [{
"name": "财务审批", "name": "财务审批",
"id": "1a2907bd-c2f5-4ef9-9ead-70496650ace6", "id": "1a2907bd-c2f5-4ef9-9ead-70496650ace6",
"modelName": "FinancialApproval", "modelName": "FinancialApproval",
"imagePath": "/static/images/index/cwsp.png", "imagePath": "https://eshangtech.com/ShopICO/ahyd-BID/index/cwsp.png",
"noImagePath": "/static/images/index/cwsp-no.png", "noImagePath": "https://eshangtech.com/ShopICO/ahyd-BID/index/cwsp-no.png",
"homeUrl": "/pages/expenseApproval/expenseApproval" "homeUrl": "/pages/expenseApproval/expenseApproval"
}, { }, {
"name": "招标投标", "name": "招标投标",
@ -16,23 +16,23 @@ const yewu = [{
"name": "服务区报销", "name": "服务区报销",
"id": "8fea5036-d67e-476e-9e56-5f379ba6ae18", "id": "8fea5036-d67e-476e-9e56-5f379ba6ae18",
"modelName": "ServerPartFinancialApproval", "modelName": "ServerPartFinancialApproval",
"imagePath": "/static/images/index/fwqbx.png", "imagePath": "https://eshangtech.com/ShopICO/ahyd-BID/index/fwqbx.png",
"noImagePath": "/static/images/index/fwqbx-no.png", "noImagePath": "https://eshangtech.com/ShopICO/ahyd-BID/index/fwqbx-no.png",
"homeUrl": "/pages/serviceAreaReimbursement/serviceAreaReimbursement" "homeUrl": "/pages/serviceAreaReimbursement/serviceAreaReimbursement"
}, { }, {
"name": "合同审批", "name": "合同审批",
"id": "ac661db4-1af1-4732-88db-76bc05eec335", "id": "ac661db4-1af1-4732-88db-76bc05eec335",
"modelName": "ServerPartCompactApproval", "modelName": "ServerPartCompactApproval",
"imagePath": "/static/images/index/htsp.png", "imagePath": "https://eshangtech.com/ShopICO/ahyd-BID/index/htsp.png",
"noImagePath": "/static/images/index/htsp-no.png", "noImagePath": "https://eshangtech.com/ShopICO/ahyd-BID/index/htsp-no.png",
"homeUrl": "/pages/contract/contract" "homeUrl": "/pages/contract/contract"
}]; }];
const work = [{ const work = [{
"name": "公文阅办", "name": "公文阅办",
"id": "2580cb9f-ad2c-4d0b-b478-0be52eaf6ef6", "id": "2580cb9f-ad2c-4d0b-b478-0be52eaf6ef6",
"modelName": "Publicity", "modelName": "Publicity",
"imagePath": "/static/images/index/gwyb.png", "imagePath": "https://eshangtech.com/ShopICO/ahyd-BID/index/gwyb.png",
"noImagePath": "/static/images/index/gwyb-no.png", "noImagePath": "https://eshangtech.com/ShopICO/ahyd-BID/index/gwyb-no.png",
"homeUrl": "/pages/officialDocManagement/officialDocManagement" "homeUrl": "/pages/officialDocManagement/officialDocManagement"
}, },
{ {
@ -40,14 +40,14 @@ const work = [{
"id": "c870b1bc-95c8-473d-81c8-8596eb793bd4", "id": "c870b1bc-95c8-473d-81c8-8596eb793bd4",
"modelName": "Publicity", "modelName": "Publicity",
"imagePath": "https://eshangtech.com/ShopICO/ahyd-BID/index/publicity.png", "imagePath": "https://eshangtech.com/ShopICO/ahyd-BID/index/publicity.png",
"noImagePath": "/static/images/index/publicity-no.png", "noImagePath": "https://eshangtech.com/ShopICO/ahyd-BID/index/publicity-no.png",
"homeUrl": "/pages/publicity/publicity" "homeUrl": "/pages/publicity/publicity"
}, { }, {
"name": "请假加班", "name": "请假加班",
"id": "1ceeaa5c-d11e-4dcd-8d33-0c3df4cd4937", "id": "1ceeaa5c-d11e-4dcd-8d33-0c3df4cd4937",
"modelName": "Publicity", "modelName": "Publicity",
"imagePath": "https://eshangtech.com/ShopICO/ahyd-BID/index/qjjb.png", "imagePath": "https://eshangtech.com/ShopICO/ahyd-BID/index/qjjb.png",
"noImagePath": "/static/images/index/qjjb-no.png", "noImagePath": "https://eshangtech.com/ShopICO/ahyd-BID/index/qjjb-no.png",
"homeUrl": "/pages/askForLeave/askForLeave" "homeUrl": "/pages/askForLeave/askForLeave"
}, },
{ {
@ -78,46 +78,46 @@ const scene = [{
"name": "走动式管理", "name": "走动式管理",
"id": "c26c1620-2149-4b3d-ac2e-07e0c0494042", "id": "c26c1620-2149-4b3d-ac2e-07e0c0494042",
"modelName": "Mbwa", "modelName": "Mbwa",
"imagePath": "/static/images/index/zdsgl.png", "imagePath": "https://eshangtech.com/ShopICO/ahyd-BID/index/zdsgl.png",
"noImagePath": "/static/images/index/zdsgl-no.png", "noImagePath": "https://eshangtech.com/ShopICO/ahyd-BID/index/zdsgl-no.png",
"homeUrl": "/pages/mbwa/mbwa" "homeUrl": "/pages/mbwa/mbwa"
}, { }, {
"name": "投诉建议", "name": "投诉建议",
"id": "d405ae13-3388-41c0-a5f6-d11194d0a943", "id": "d405ae13-3388-41c0-a5f6-d11194d0a943",
"modelName": "Suggestion", "modelName": "Suggestion",
"imagePath": "https://eshangtech.com/ShopICO/ahyd-BID/index/tsjy.png", "imagePath": "https://eshangtech.com/ShopICO/ahyd-BID/index/tsjy.png",
"noImagePath": "/static/images/index/tsjy-no.png", "noImagePath": "https://eshangtech.com/ShopICO/ahyd-BID/index/tsjy-no.png",
"homeUrl": "/pages/suggestion/suggestion" "homeUrl": "/pages/suggestion/suggestion"
}, },
{ {
"name": "收银稽核", "name": "收银稽核",
"id": "ebd8cae4-d36d-4ea0-a7e9-61e566bf9e24", "id": "ebd8cae4-d36d-4ea0-a7e9-61e566bf9e24",
"modelName": "cashAudit", "modelName": "cashAudit",
"imagePath": "/static/images/index/syjh.png", "imagePath": "https://eshangtech.com/ShopICO/ahyd-BID/index/syjh.png",
"noImagePath": "/static/images/index/syjh-no.png", "noImagePath": "https://eshangtech.com/ShopICO/ahyd-BID/index/syjh-no.png",
"homeUrl": "/pages/cashAudit/list" "homeUrl": "/pages/cashAudit/list"
}, },
{ {
"name": "稽核异常", "name": "稽核异常",
"id": "b548740f-a942-4de3-8d55-c0a2370171ba", "id": "b548740f-a942-4de3-8d55-c0a2370171ba",
"modelName": "abnormalaudit", "modelName": "abnormalaudit",
"imagePath": "/static/images/index/syjh.png", "imagePath": "https://eshangtech.com/ShopICO/ahyd-BID/index/syjh.png",
"noImagePath": "/static/images/index/syjh-no.png", "noImagePath": "https://eshangtech.com/ShopICO/ahyd-BID/index/syjh-no.png",
"homeUrl": "/pages/abnormalaudit/index" "homeUrl": "/pages/abnormalaudit/index"
}, { }, {
"name": "设备巡检", "name": "设备巡检",
"id": "", "id": "",
"modelName": "", "modelName": "",
"imagePath": "/static/images/index/sbxj.png", "imagePath": "https://eshangtech.com/ShopICO/ahyd-BID/index/sbxj.png",
"noImagePath": "/static/images/index/sbxj-no.png", "noImagePath": "https://eshangtech.com/ShopICO/ahyd-BID/index/sbxj-no.png",
"homeUrl": "" "homeUrl": ""
}, },
{ {
"name": "物业管理", "name": "物业管理",
"id": "", "id": "",
"modelName": "", "modelName": "",
"imagePath": "/static/images/index/wygl.png", "imagePath": "https://eshangtech.com/ShopICO/ahyd-BID/index/wygl.png",
"noImagePath": "/static/images/index/wygl-no.png", "noImagePath": "https://eshangtech.com/ShopICO/ahyd-BID/index/wygl-no.png",
"homeUrl": "" "homeUrl": ""
}, },
] ]
@ -126,7 +126,7 @@ const management = [{
"id": "74934d31-385a-4eed-80bb-9c9ed7da29b5", "id": "74934d31-385a-4eed-80bb-9c9ed7da29b5",
"modelName": "EverdayRenven", "modelName": "EverdayRenven",
"imagePath": "https://eshangtech.com/ShopICO/ahyd-BID/index/mrys.png", "imagePath": "https://eshangtech.com/ShopICO/ahyd-BID/index/mrys.png",
"noImagePath": "/static/images/index/mrys-no.png", "noImagePath": "https://eshangtech.com/ShopICO/ahyd-BID/index/mrys-no.png",
"homeUrl": "/pages/everdayRenven/index" "homeUrl": "/pages/everdayRenven/index"
}, },
{ {
@ -164,22 +164,22 @@ const management = [{
"name": "商业BI", "name": "商业BI",
"id": "9125e837-1961-4d92-bdc1-2200260d9643", "id": "9125e837-1961-4d92-bdc1-2200260d9643",
"modelName": "AnnualData", "modelName": "AnnualData",
"imagePath": "/static/images/index/ndsj.png", "imagePath": "https://eshangtech.com/ShopICO/ahyd-BID/index/ndsj.png",
"noImagePath": "/static/images/index/ndsj-no.png", "noImagePath": "https://eshangtech.com/ShopICO/ahyd-BID/index/ndsj-no.png",
"homeUrl": "/pages/webview/webview?src=https://eshangtech.com/questionnarie/business" "homeUrl": "/pages/webview/webview?src=https://eshangtech.com/questionnarie/business"
}, { }, {
"name": "权限审批", "name": "权限审批",
"id": "c802a38f-3bbd-4db0-89b6-34e404c8d8cc", "id": "c802a38f-3bbd-4db0-89b6-34e404c8d8cc",
"modelName": "authorityApproval", "modelName": "authorityApproval",
"imagePath": "https://eshangtech.com/ShopICO/ahyd-BID/index/qxsp.png", "imagePath": "https://eshangtech.com/ShopICO/ahyd-BID/index/qxsp.png",
"noImagePath": "/static/images/index/qxsp-no.png", "noImagePath": "https://eshangtech.com/ShopICO/ahyd-BID/index/qxsp-no.png",
"homeUrl": "/pages/authorityApproval/index" "homeUrl": "/pages/authorityApproval/index"
}, { }, {
"name": "资质审批", "name": "资质审批",
"id": "d0bc5a4d-c509-4b22-ba2b-01ae675852d6", "id": "d0bc5a4d-c509-4b22-ba2b-01ae675852d6",
"modelName": "commodity_temp", "modelName": "commodity_temp",
"imagePath": "https://eshangtech.com/ShopICO/ahyd-BID/index/qxsp.png", "imagePath": "https://eshangtech.com/ShopICO/ahyd-BID/index/qxsp.png",
"noImagePath": "/static/images/index/qxsp-no.png", "noImagePath": "https://eshangtech.com/ShopICO/ahyd-BID/index/qxsp-no.png",
"homeUrl": "/pages/commodity_temp/index" "homeUrl": "/pages/commodity_temp/index"
} }
] ]

View File

@ -123,7 +123,7 @@
</template> </template>
</UniDataSelect> </UniDataSelect>
<view class="seachBox" :style="{height: menu.height + 'px'}" @click="handleGoMap"> <view class="seachBox" :style="{height: menu.height + 'px'}" @click="handleGoMap">
<image class="searchIcon" src="/static/images/seach/searchIcon.svg"/> <image class="searchIcon" src="https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/searchIconService.svg"/>
<text class="searchText">请输入想看的服务区</text> <text class="searchText">请输入想看的服务区</text>
</view> </view>
</view> </view>
@ -1049,8 +1049,8 @@
isShowFestival==='labour'?'https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/labourLogo.png': isShowFestival==='labour'?'https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/labourLogo.png':
isShowFestival==='dragonBoat'?'https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/dragonBoatIcon.png': isShowFestival==='dragonBoat'?'https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/dragonBoatIcon.png':
isShowFestival==='summerHoliday'?'https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/summerHolidayIcon.png': isShowFestival==='summerHoliday'?'https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/summerHolidayIcon.png':
isShowFestival==='midAutumn'?'': isShowFestival==='midAutumn'?'https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/midAutumnIcon.png':
isShowFestival==='nationalDay'?'': isShowFestival==='nationalDay'?'https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/nationalDayIcon.png':
isShowFestival==='other'? isShowFestival==='other'?
'https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/springTravelLogo.svg':''"/> 'https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/springTravelLogo.svg':''"/>
</view> </view>
@ -1517,7 +1517,7 @@ export default {
components: {SliderPage, RateCharts, MonthCharts, Tabbar,uniPopup,UniDataSelect,NumberScroll}, components: {SliderPage, RateCharts, MonthCharts, Tabbar,uniPopup,UniDataSelect,NumberScroll},
data() { data() {
const lastDay = this.$util.cutDate(new Date(), 'YYYY-MM-DD', -1) const lastDay = this.$util.cutDate(new Date(), 'YYYY-MM-DD', -1)
// const lastDay = '2024-09-14' // const lastDay = '2024-09-30'
const nowDay = this.$util.cutDate(new Date(), 'YYYY-MM-DD') const nowDay = this.$util.cutDate(new Date(), 'YYYY-MM-DD')
return { return {
localdata:[{text:'全局版',value:1},{text:'业务版',value:2}], localdata:[{text:'全局版',value:1},{text:'业务版',value:2}],
@ -1682,13 +1682,13 @@ export default {
'midAutumn':{ 'midAutumn':{
name: 'midAutumn', name: 'midAutumn',
title: '中秋节', title: '中秋节',
startTime: '2024-09-13', startTime: '2024-09-14',
endTime: '2024-09-18' endTime: '2024-09-18'
},// },//
'nationalDay':{ 'nationalDay':{
name: 'nationalDay', name: 'nationalDay',
title: '国庆节', title: '国庆节',
startTime: '2024-09-29', startTime: '2024-09-30',
endTime: '2024-10-08' endTime: '2024-10-08'
},// },//
},// 2024 },// 2024
@ -1702,9 +1702,12 @@ export default {
userInfo = JSON.parse(userInfo) userInfo = JSON.parse(userInfo)
if (this.isReturn===true){ if (this.isReturn===true){
// //
if (userInfo.userData.AuthorityInfo['89a1f248-2113-4d57-84b1-c2e6edb9e8ee']===1){ if (userInfo.userData && userInfo.userData.AuthorityInfo['89a1f248-2113-4d57-84b1-c2e6edb9e8ee']===1){
this.isReturn = false this.isReturn = false
}else{ }else{
this.$util.addUserBehavior({
intoRoute: `/pages/commercialBI/noData`
})
uni.redirectTo({ uni.redirectTo({
url:`/pages/commercialBI/noData?type=noAuthor` url:`/pages/commercialBI/noData?type=noAuthor`
}) })
@ -1802,7 +1805,7 @@ export default {
for(let key in this.festivalObj){ for(let key in this.festivalObj){
let obj = this.festivalObj[key] let obj = this.festivalObj[key]
if(new Date(obj.startTime).getTime() < new Date(this.lastDay).getTime() && new Date(this.lastDay).getTime() < new Date(obj.endTime).getTime()){ if(new Date(obj.startTime).getTime() <= new Date(this.lastDay).getTime() && new Date(this.lastDay).getTime() < new Date(obj.endTime).getTime()){
this.isShowFestival = obj.name this.isShowFestival = obj.name
} }
} }
@ -1874,10 +1877,16 @@ export default {
let userInfo = uni.getStorageSync('vuex') let userInfo = uni.getStorageSync('vuex')
userInfo = JSON.parse(userInfo) userInfo = JSON.parse(userInfo)
this.useInfo = JSON.parse(JSON.stringify(userInfo)) this.useInfo = JSON.parse(JSON.stringify(userInfo))
console.log('userInfo3232312321312',userInfo)
// //
if (userInfo.userData.AuthorityInfo['89a1f248-2113-4d57-84b1-c2e6edb9e8ee']===1){ if (userInfo.userData && userInfo.userData.UserId && userInfo.userData.AuthorityInfo['89a1f248-2113-4d57-84b1-c2e6edb9e8ee']===1){
this.isReturn = false this.isReturn = false
}else{ }else{
this.$util.addUserBehavior({
intoRoute: `/pages/commercialBI/noData`
})
uni.redirectTo({ uni.redirectTo({
url:`/pages/commercialBI/noData?type=noAuthor` url:`/pages/commercialBI/noData?type=noAuthor`
}) })
@ -1995,14 +2004,20 @@ export default {
this.selectVersion = e this.selectVersion = e
uni.setStorageSync('version',this.selectVersion) uni.setStorageSync('version',this.selectVersion)
if (this.selectVersion===2){ if (this.selectVersion===2){
uni.switchTab({ this.$util.addUserBehavior({
intoRoute: `/pages/index/old/index`
})
uni.redirectTo({
url:`/pages/index/old/index` url:`/pages/index/old/index`
}) })
} }
}, },
// //
goOldIndexPage(){ goOldIndexPage(){
uni.switchTab({ this.$util.addUserBehavior({
intoRoute: `/pages/index/old/index`
})
uni.redirectTo({
url:`/pages/index/old/index` url:`/pages/index/old/index`
}) })
}, },

View File

@ -38,7 +38,7 @@
</uniDataSelect> </uniDataSelect>
<view class="seachBox" @click="handleGoMap"> <view class="seachBox" @click="handleGoMap">
<image class="searchIcon" src="/static/images/seach/searchIcon.svg"/> <image class="searchIcon" src="https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/searchIconService.svg"/>
<text class="searchText">请输入想看的服务区</text> <text class="searchText">请输入想看的服务区</text>
</view> </view>
</view> </view>

View File

@ -296,8 +296,8 @@ export default {
this.howDayNumber = dayNumber this.howDayNumber = dayNumber
}else{ }else{
this.howDayNumber = 62 this.howDayNumber = 62
this.currentScroll = 'item'+ '2024-09-01' this.currentScroll = 'item'+ '2024-08-31'
this.lastDay = '2024-09-01' this.lastDay = '2024-08-31'
this.allDateDay = '2024-09-01' this.allDateDay = '2024-09-01'
} }
}else if (this.selectFestival===5){ }else if (this.selectFestival===5){
@ -616,6 +616,12 @@ export default {
.summerHolidayTop{ .summerHolidayTop{
background-image:url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/summerHolidayBg.png"); background-image:url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/summerHolidayBg.png");
} }
.midAutumnTop{
background-image:url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/midAutumnBg.png") !important;
}
.nationalDayTop{
background-image:url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/nationalDayBg.png") !important;
}
.top{ .top{
width: 100%; width: 100%;
height: 324rpx; height: 324rpx;
@ -640,6 +646,12 @@ export default {
.headerSummerHoliday{ .headerSummerHoliday{
background-image:url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/summerHolidayBg.png"); background-image:url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/summerHolidayBg.png");
} }
.headerMidAutumn{
background-image:url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/midAutumnBg.png") !important;
}
.headerNationalDay{
background-image:url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/nationalDayBg.png") !important;
}
.header{ .header{
position: fixed; position: fixed;
width: 100%; width: 100%;
@ -801,7 +813,12 @@ export default {
.summerHolidayContentTop{ .summerHolidayContentTop{
background: linear-gradient( 360deg, rgba(214,238,243,0) 0%, #D1E9EE 100%); background: linear-gradient( 360deg, rgba(214,238,243,0) 0%, #D1E9EE 100%);
} }
.midAutumnContentTop{
background: linear-gradient( 360deg, rgba(255,215,180,0) 0%, #FFF3E9 100%);
}
.nationalDayContentTop{
background: linear-gradient( 360deg, rgba(255,218,210,0) 0%, #FFF2F0 100%);
}
.contentTop{ .contentTop{
width: 100%; width: 100%;
height: 120rpx; height: 120rpx;
@ -936,6 +953,16 @@ export default {
color: #007797!important; color: #007797!important;
} }
} }
.midAutumnNav{
.selectItem{
color: #DA5015;
}
}
.nationalDayNav{
.selectItem{
color: #D52020;
}
}
} }
.sortBox{ .sortBox{

View File

@ -354,8 +354,8 @@ export default {
this.howDayNumber = dayNumber this.howDayNumber = dayNumber
}else{ }else{
this.howDayNumber = 62 this.howDayNumber = 62
this.currentScroll = 'item'+ '2024-09-01' this.currentScroll = 'item'+ '2024-08-31'
this.lastDay = '2024-09-01' this.lastDay = '2024-08-31'
this.allDateDay = '2024-09-01' this.allDateDay = '2024-09-01'
} }
}else if (this.selectFestival===5){ }else if (this.selectFestival===5){
@ -393,9 +393,9 @@ export default {
}else if (this.selectFestival===4){ }else if (this.selectFestival===4){
dateList.push({label:`${i}`,value:moment("2024-06-30").add(i, 'days').format("YYYY-MM-DD")})// dateList.push({label:`${i}`,value:moment("2024-06-30").add(i, 'days').format("YYYY-MM-DD")})//
}else if (this.selectFestival===5){ }else if (this.selectFestival===5){
dateList.push({label:`${i}`,value:moment("2024-09-13").add(i, 'days').format("YYYY-MM-DD")})// dateList.push({label:`${i}`,value:moment("2024-09-13").add(i, 'days').format("YYYY-MM-DD")})//
}else if (this.selectFestival===6){ }else if (this.selectFestival===6){
dateList.push({label:`${i}`,value:moment("2024-09-29").add(i, 'days').format("YYYY-MM-DD")})// dateList.push({label:`${i}`,value:moment("2024-09-29").add(i, 'days').format("YYYY-MM-DD")})//
} }
// if (i<7){ // if (i<7){
// dateList.push({label:`${i}`,value:`2024-01-${26+i-1}`}) // dateList.push({label:`${i}`,value:`2024-01-${26+i-1}`})
@ -741,6 +741,12 @@ export default {
.summerHolidayTop{ .summerHolidayTop{
background-image:url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/summerHolidayBg.png"); background-image:url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/summerHolidayBg.png");
} }
.midAutumnTop{
background-image:url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/midAutumnBg.png") !important;
}
.nationalDayTop{
background-image:url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/nationalDayBg.png") !important;
}
.top{ .top{
width: 100%; width: 100%;
height: 324rpx; height: 324rpx;
@ -764,6 +770,12 @@ export default {
.summerHolidayBoat{ .summerHolidayBoat{
background-image: url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/summerHolidayBg.png"); background-image: url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/summerHolidayBg.png");
} }
.midAutumnBoat{
background-image:url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/midAutumnBg.png") !important;
}
.nationalDayBoat{
background-image:url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/nationalDayBg.png") !important;
}
.header{ .header{
position: fixed; position: fixed;
width: 100%; width: 100%;
@ -811,6 +823,14 @@ export default {
.summerHolidayTitleBox{ .summerHolidayTitleBox{
background: linear-gradient( 360deg, rgba(214,238,243,0) 0%, #D1E9EE 100%); background: linear-gradient( 360deg, rgba(214,238,243,0) 0%, #D1E9EE 100%);
} }
.midAutumnTitleBox{
background: linear-gradient( 360deg, rgba(255,215,180,0) 0%, #FFF3E9 100%);
}
.nationalDayTitleBox{
background: linear-gradient( 360deg, rgba(255,218,210,0) 0%, #FFF2F0 100%);
}
.revenueDetailTitleBox{ .revenueDetailTitleBox{
width: 100%; width: 100%;
height: 90rpx; height: 90rpx;
@ -948,6 +968,16 @@ export default {
color: #007797!important; color: #007797!important;
} }
} }
.midAutumnNav{
.selectItem{
color: #DA5015;
}
}
.nationalDayNav{
.selectItem{
color: #D52020;
}
}
} }
.dateText{ .dateText{
font-size: 24rpx; font-size: 24rpx;

View File

@ -96,8 +96,9 @@
selectFestival===6?'https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/nationalDayAllData.png': selectFestival===6?'https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/nationalDayAllData.png':
''" /> ''" />
<text class="titleNotice" v-if="!isShowWarningTime && selectFestival===0">{{`/统计到${allDateDay}`}}</text> <text class="titleNotice" v-if="!isShowWarningTime && selectFestival===0">{{`/统计到${allDateDay}`}}</text>
<text class="titleNotice" v-if="selectFestival===1 || selectFestival===3">/共统计节日数据5天</text> <text class="titleNotice" v-if="selectFestival===1 || selectFestival===3 || selectFestival===5">/共统计节日数据5天</text>
<text class="titleNotice" v-if="selectFestival===2">/共统计节日数据7天</text> <text class="titleNotice" v-if="selectFestival===2">/共统计节日数据7天</text>
<text class="titleNotice" v-if="selectFestival===6">/共统计节日数据9天</text>
<text class="titleNotice" v-if="!isShowWarningTime && selectFestival===4">{{`/统计到${allDateDay}`}}</text> <text class="titleNotice" v-if="!isShowWarningTime && selectFestival===4">{{`/统计到${allDateDay}`}}</text>
</div> </div>
<div class="typeChangeBox" v-if="!showSpring"> <div class="typeChangeBox" v-if="!showSpring">
@ -669,8 +670,8 @@
selectFestival===2?'#D14702': selectFestival===2?'#D14702':
selectFestival===3?'#3E8958': selectFestival===3?'#3E8958':
selectFestival===4?'#007797': selectFestival===4?'#007797':
selectFestival===5?'#3E8958': selectFestival===5?'#DA5015':
selectFestival===6?'#3E8958': selectFestival===6?'#D52020':
''}"></div> ''}"></div>
<text class="modalText">对客销售</text> <text class="modalText">对客销售</text>
<text class="modalUnit">/万元</text> <text class="modalUnit">/万元</text>
@ -681,8 +682,8 @@
selectFestival===2?'#D14702': selectFestival===2?'#D14702':
selectFestival===3?'#226C61': selectFestival===3?'#226C61':
selectFestival===4?'#007797': selectFestival===4?'#007797':
selectFestival===5?'#226C61': selectFestival===5?'#DA5015':
selectFestival===6?'#226C61': selectFestival===6?'#D52020':
''}">服务区排名</span> ''}">服务区排名</span>
<!-- <img class="moreIcon" src="https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/redRightArrow.png"/>--> <!-- <img class="moreIcon" src="https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/redRightArrow.png"/>-->
<img class="moreIcon" :src="selectFestival===0?'https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/redRightArrow.png': <img class="moreIcon" :src="selectFestival===0?'https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/redRightArrow.png':
@ -702,8 +703,8 @@
selectFestival===2?'#D14702': selectFestival===2?'#D14702':
selectFestival===3?'#D14702': selectFestival===3?'#D14702':
selectFestival===4?'#007797': selectFestival===4?'#007797':
selectFestival===5?'#D14702': selectFestival===5?'#DA5015':
selectFestival===6?'#D14702': selectFestival===6?'#D52020':
''}"></div> ''}"></div>
<text class="modalText">对客销售</text> <text class="modalText">对客销售</text>
<text class="modalUnit">/万元</text> <text class="modalUnit">/万元</text>
@ -714,8 +715,8 @@
selectFestival===2?'#D14702': selectFestival===2?'#D14702':
selectFestival===3?'#D14702': selectFestival===3?'#D14702':
selectFestival===4?'#007797': selectFestival===4?'#007797':
selectFestival===5?'#D14702': selectFestival===5?'#DA5015':
selectFestival===6?'#D14702': selectFestival===6?'#D52020':
''}">服务区排名</span> ''}">服务区排名</span>
<!-- <img class="moreIcon" src="https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/redRightArrow.png"/>--> <!-- <img class="moreIcon" src="https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/redRightArrow.png"/>-->
<img class="moreIcon" :src="selectFestival===0?'https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/redRightArrow.png': <img class="moreIcon" :src="selectFestival===0?'https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/redRightArrow.png':
@ -850,8 +851,8 @@
selectFestival===2?'#D14702': selectFestival===2?'#D14702':
selectFestival===3?'#3E8958': selectFestival===3?'#3E8958':
selectFestival===4?'#007797': selectFestival===4?'#007797':
selectFestival===5?'#3E8958': selectFestival===5?'#DA5015':
selectFestival===6?'#3E8958': selectFestival===6?'#D52020':
''}"></div> ''}"></div>
<text class="modalText">营业收入</text> <text class="modalText">营业收入</text>
<text class="modalUnit">/万元</text> <text class="modalUnit">/万元</text>
@ -862,8 +863,8 @@
selectFestival===2?'#D14702': selectFestival===2?'#D14702':
selectFestival===3?'#226C61': selectFestival===3?'#226C61':
selectFestival===4?'#007797': selectFestival===4?'#007797':
selectFestival===5?'#226C61': selectFestival===5?'#DA5015':
selectFestival===6?'#226C61': selectFestival===6?'#D52020':
''}">服务区排名</span> ''}">服务区排名</span>
<!-- <img class="moreIcon" src="https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/redRightArrow.png"/>--> <!-- <img class="moreIcon" src="https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/redRightArrow.png"/>-->
<img class="moreIcon" :src="selectFestival===0?'https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/redRightArrow.png': <img class="moreIcon" :src="selectFestival===0?'https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/redRightArrow.png':
@ -893,8 +894,8 @@
selectFestival===2?'#D14702': selectFestival===2?'#D14702':
selectFestival===3?'#D14702': selectFestival===3?'#D14702':
selectFestival===4?'#007797': selectFestival===4?'#007797':
selectFestival===5?'#D14702': selectFestival===5?'#DA5015':
selectFestival===6?'#D14702': selectFestival===6?'#D52020':
''}"></div> ''}"></div>
<text class="modalText">营业收入</text> <text class="modalText">营业收入</text>
<text class="modalUnit">/万元</text> <text class="modalUnit">/万元</text>
@ -905,8 +906,8 @@
selectFestival===2?'#D14702': selectFestival===2?'#D14702':
selectFestival===3?'#D14702': selectFestival===3?'#D14702':
selectFestival===4?'#007797': selectFestival===4?'#007797':
selectFestival===5?'#D14702': selectFestival===5?'#DA5015':
selectFestival===6?'#D14702': selectFestival===6?'#D52020':
''}">服务区排名</span> ''}">服务区排名</span>
<!-- <img class="moreIcon" src="https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/redRightArrow.png"/>--> <!-- <img class="moreIcon" src="https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/redRightArrow.png"/>-->
<img class="moreIcon" :src="selectFestival===0?'https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/redRightArrow.png': <img class="moreIcon" :src="selectFestival===0?'https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/redRightArrow.png':
@ -1042,8 +1043,8 @@
selectFestival===2?'#D14702': selectFestival===2?'#D14702':
selectFestival===3?'#3E8958': selectFestival===3?'#3E8958':
selectFestival===4?'#007797': selectFestival===4?'#007797':
selectFestival===5?'#3E8958': selectFestival===5?'#DA5015':
selectFestival===6?'#3E8958': selectFestival===6?'#D52020':
''}"></div> ''}"></div>
<text class="modalText">入区车流</text> <text class="modalText">入区车流</text>
<text class="modalUnit">/万辆</text> <text class="modalUnit">/万辆</text>
@ -1054,8 +1055,8 @@
selectFestival===2?'#D14702': selectFestival===2?'#D14702':
selectFestival===3?'#3E8958': selectFestival===3?'#3E8958':
selectFestival===4?'#007797': selectFestival===4?'#007797':
selectFestival===5?'#3E8958': selectFestival===5?'#DA5015':
selectFestival===6?'#3E8958': selectFestival===6?'#D52020':
''}">服务区排名</span> ''}">服务区排名</span>
<!-- <img class="moreIcon" src="https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/redRightArrow.png"/>--> <!-- <img class="moreIcon" src="https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/redRightArrow.png"/>-->
<img class="moreIcon" :src="selectFestival===0?'https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/redRightArrow.png': <img class="moreIcon" :src="selectFestival===0?'https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/redRightArrow.png':
@ -1085,8 +1086,8 @@
selectFestival===2?'#D14702': selectFestival===2?'#D14702':
selectFestival===3?'#3E8958': selectFestival===3?'#3E8958':
selectFestival===4?'#007797': selectFestival===4?'#007797':
selectFestival===5?'#3E8958': selectFestival===5?'#DA5015':
selectFestival===6?'#3E8958': selectFestival===6?'#D52020':
''}"></div> ''}"></div>
<text class="modalText">入区车流</text> <text class="modalText">入区车流</text>
<text class="modalUnit">/万辆</text> <text class="modalUnit">/万辆</text>
@ -1097,8 +1098,8 @@
selectFestival===2?'#D14702': selectFestival===2?'#D14702':
selectFestival===3?'#226C61': selectFestival===3?'#226C61':
selectFestival===4?'#007797': selectFestival===4?'#007797':
selectFestival===5?'#3E8958': selectFestival===5?'#DA5015':
selectFestival===6?'#3E8958': selectFestival===6?'#D52020':
''}">服务区排名</span> ''}">服务区排名</span>
<!-- <img class="moreIcon" src="https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/redRightArrow.png"/>--> <!-- <img class="moreIcon" src="https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/redRightArrow.png"/>-->
<img class="moreIcon" :src="selectFestival===0?'https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/redRightArrow.png': <img class="moreIcon" :src="selectFestival===0?'https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/redRightArrow.png':
@ -1275,7 +1276,7 @@ export default {
}, },
async onLoad(query){ async onLoad(query){
this.lastDay = uni.getStorageSync('lastDay') this.lastDay = uni.getStorageSync('lastDay')
// this.lastDay = '2024-09-14' // this.lastDay = '2024-09-30'
// if (new Date().getTime() > new Date('2024-04-05 00:00:00').getTime()){ // if (new Date().getTime() > new Date('2024-04-05 00:00:00').getTime()){
// this.selectFestival = 1 // this.selectFestival = 1
// } // }
@ -1398,12 +1399,13 @@ export default {
this.allDateDay = '2024-06-11' this.allDateDay = '2024-06-11'
} }
}else if (this.selectFestival===4){ }else if (this.selectFestival===4){
console.log('dayNumber',dayNumber)
if (dayNumber<=62){ if (dayNumber<=62){
this.howDayNumber = dayNumber this.howDayNumber = dayNumber
}else{ }else{
this.howDayNumber = 62 this.howDayNumber = 62
this.currentScroll = 'item'+ '2024-09-01' this.currentScroll = 'item'+ '2024-08-31'
this.lastDay = '2024-09-01' this.lastDay = '2024-08-31'
this.allDateDay = '2024-09-01' this.allDateDay = '2024-09-01'
} }
}else if (this.selectFestival===5){ }else if (this.selectFestival===5){
@ -2266,10 +2268,10 @@ export default {
background: linear-gradient( 360deg, rgba(214,238,243,0) 0%, #D1E9EE 100%); background: linear-gradient( 360deg, rgba(214,238,243,0) 0%, #D1E9EE 100%);
} }
.midAutumnTop{ .midAutumnTop{
background: linear-gradient( 360deg, rgba(214,238,243,0) 0%, #D1E9EE 100%); background: linear-gradient( 360deg, rgba(255,215,180,0) 0%, #FFEEDF 100%);
} }
.nationalDayTop{ .nationalDayTop{
background: linear-gradient( 360deg, rgba(214,238,243,0) 0%, #D1E9EE 100%); background: linear-gradient( 360deg, rgba(255,218,210,0) 0%, #FFDAD2 100%);
} }
.overAllDataTop{ .overAllDataTop{
width: 100%; width: 100%;
@ -2539,6 +2541,12 @@ export default {
.summerHolidayLeftBox{ .summerHolidayLeftBox{
background-image: url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/summerHolidayNo1.png"); background-image: url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/summerHolidayNo1.png");
} }
.midAutumnLeftBox{
background-image: url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/midAutumnNo1.png");
}
.nationalDayLeftBox{
background-image: url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/nationalDayNo1.png");
}
.leftBox{ .leftBox{
left: 0;top: 0; left: 0;top: 0;
//background-image: url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/leftRed.png"); //background-image: url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/leftRed.png");
@ -2598,6 +2606,24 @@ export default {
color: #047795!important; color: #047795!important;
} }
} }
.midAutumnRightBox{
background-image: url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/midAutumnNo2.png");
.value{
color: #E54B00!important;
}
.label{
color: #E54B00!important;
}
}
.nationalDayRightBox{
background-image: url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/nationalDayNo2.png");
.value{
color: #DC3C25!important;
}
.label{
color: #DC3C25!important;
}
}
.rightBox{ .rightBox{
right: 0;top: 0; right: 0;top: 0;
@ -2635,6 +2661,12 @@ export default {
.summerHolidayRevenueLeft{ .summerHolidayRevenueLeft{
background-image: url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/summerHolidayNo3.png"); background-image: url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/summerHolidayNo3.png");
} }
.midAutumnRevenueLeft{
background-image: url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/midAutumnNo3.png");
}
.nationalDayRevenueLeft{
background-image: url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/nationalDayNo3.png");
}
.revenueRight{ .revenueRight{
background-image: url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/revenueRight.png"); background-image: url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/revenueRight.png");
.value{ .value{
@ -2680,6 +2712,24 @@ export default {
color: #2F7F4B; color: #2F7F4B;
} }
} }
.midAutumnRevenueRight{
background-image: url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/midAutumnNo4.png");
.value{
color: #B77500;
}
.label{
color: #B77500;
}
}
.nationalDayRevenueRight{
background-image: url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/nationalDayNo4.png");
.value{
color: #E54B00;
}
.label{
color: #E54B00;
}
}
.carLeft{ .carLeft{
background-image: url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/carLeft.png"); background-image: url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/carLeft.png");
@ -2696,6 +2746,12 @@ export default {
.summerHolidayCarLeft{ .summerHolidayCarLeft{
background-image: url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/summerHolidayNo5.png"); background-image: url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/summerHolidayNo5.png");
} }
.midAutumnCarLeft{
background-image: url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/midAutumnNo5.png");
}
.nationalDayCarLeft{
background-image: url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/nationalDayNo5.png");
}
.carRight{ .carRight{
background-image: url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/carRight.png"); background-image: url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/carRight.png");
.value{ .value{
@ -2741,6 +2797,24 @@ export default {
color: #6F8A14; color: #6F8A14;
} }
} }
.midAutumnCarRight{
background-image: url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/midAutumnNo6.png");
.value{
color: #A08F00;
}
.label{
color: #A08F00;
}
}
.nationalDayCarRight{
background-image: url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/nationalDayNo6.png");
.value{
color: #B77500;
}
.label{
color: #B77500;
}
}
} }
.otherListBox{ .otherListBox{
@ -2911,6 +2985,12 @@ export default {
.summerHolidayTitleBox{ .summerHolidayTitleBox{
background: linear-gradient( 360deg, rgba(214,238,243,0) 0%, #DCECEF 100%); background: linear-gradient( 360deg, rgba(214,238,243,0) 0%, #DCECEF 100%);
} }
.midAutumnTitleBox{
background: linear-gradient( 360deg, rgba(255,215,180,0) 0%, #FFF3E9 100%);
}
.nationalDayTitleBox{
background: linear-gradient( 360deg, rgba(255,218,210,0) 0%, #FFF2F0 100%);
}
.revenueDetailTitleBox{ .revenueDetailTitleBox{
width: 100%; width: 100%;
height: 90rpx; height: 90rpx;
@ -3002,6 +3082,16 @@ export default {
color: #007797; color: #007797;
} }
} }
.midAutumnNav{
.selectItem{
color: #DA5015;
}
}
.nationalDayNav{
.selectItem{
color: #D52020;
}
}
.dateText{ .dateText{
font-size: 24rpx; font-size: 24rpx;
font-family: PingFangSC, PingFang SC; font-family: PingFangSC, PingFang SC;

View File

@ -722,6 +722,12 @@ export default {
.summerHolidayBox{ .summerHolidayBox{
background: linear-gradient( 360deg, rgba(214,238,243,0) 0%, #DCECEF 100%); background: linear-gradient( 360deg, rgba(214,238,243,0) 0%, #DCECEF 100%);
} }
.midAutumnBox{
background: linear-gradient( 360deg, rgba(255,215,180,0) 0%, #FFF3E9 100%);
}
.nationalDayBox{
background: linear-gradient( 360deg, rgba(255,218,210,0) 0%, #FFF2F0 100%);
}
.boxBg{ .boxBg{
z-index: 1; z-index: 1;
position: absolute; position: absolute;
@ -863,6 +869,12 @@ export default {
.summerHolidayLeftBox{ .summerHolidayLeftBox{
background-image: url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/summerHolidayNo1.png"); background-image: url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/summerHolidayNo1.png");
} }
.midAutumnLeftBox{
background-image: url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/midAutumnNo1.png");
}
.nationalDayLeftBox{
background-image: url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/nationalDayNo1.png");
}
.rightBox{ .rightBox{
right: 0;top: 0; right: 0;top: 0;
background-image: url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/rightPink.png"); background-image: url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/rightPink.png");
@ -923,6 +935,24 @@ export default {
color: #047795!important; color: #047795!important;
} }
} }
.midAutumnRightBox{
background-image: url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/midAutumnNo2.png");
.value{
color: #E54B00!important;
}
.label{
color: #E54B00!important;
}
}
.nationalDayRightBox{
background-image: url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/nationalDayNo2.png");
.value{
color: #DC3C25!important;
}
.label{
color: #DC3C25!important;
}
}
.revenueLeft{ .revenueLeft{
background-image: url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/revenueLeft.png"); background-image: url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/revenueLeft.png");
} }
@ -938,6 +968,12 @@ export default {
.summerHolidayRevenueLeft{ .summerHolidayRevenueLeft{
background-image: url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/summerHolidayNo3.png"); background-image: url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/summerHolidayNo3.png");
} }
.midAutumnRevenueLeft{
background-image: url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/midAutumnNo3.png");
}
.nationalDayRevenueLeft{
background-image: url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/nationalDayNo3.png");
}
.revenueRight{ .revenueRight{
background-image: url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/revenueRight.png"); background-image: url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/revenueRight.png");
.value{ .value{
@ -983,6 +1019,24 @@ export default {
color: #2F7F4B; color: #2F7F4B;
} }
} }
.midAutumnRevenueRight{
background-image: url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/midAutumnNo4.png");
.value{
color: #B77500;
}
.label{
color: #B77500;
}
}
.nationalDayRevenueRight{
background-image: url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/nationalDayNo4.png");
.value{
color: #E54B00;
}
.label{
color: #E54B00;
}
}
.carLeft{ .carLeft{
background-image: url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/carLeft.png"); background-image: url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/carLeft.png");
} }
@ -998,6 +1052,12 @@ export default {
.summerHolidayCarLeft{ .summerHolidayCarLeft{
background-image: url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/summerHolidayNo5.png"); background-image: url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/summerHolidayNo5.png");
} }
.midAutumnCarLeft{
background-image: url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/midAutumnNo5.png");
}
.nationalDayCarLeft{
background-image: url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/nationalDayNo5.png");
}
.carRight{ .carRight{
background-image: url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/carRight.png"); background-image: url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/carRight.png");
.value{ .value{
@ -1043,6 +1103,24 @@ export default {
color: #6F8A14; color: #6F8A14;
} }
} }
.midAutumnCarRight{
background-image: url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/midAutumnNo6.png");
.value{
color: #A08F00;
}
.label{
color: #A08F00;
}
}
.nationalDayCarRight{
background-image: url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/nationalDayNo6.png");
.value{
color: #B77500;
}
.label{
color: #B77500;
}
}
} }
} }
} }

View File

@ -140,7 +140,7 @@ export default {
// //
onUnload() { onUnload() {
// //
this.$util.addUserBehaviorNew() this.$util.addUserBehavior()
}, },
methods:{ methods:{
// //

View File

@ -129,7 +129,7 @@ export default {
}, },
// //
onUnload() { onUnload() {
this.$util.addUserBehaviorNew() this.$util.addUserBehavior()
}, },
methods:{ methods:{
...mapMutations(['shouldReLoadingList']), ...mapMutations(['shouldReLoadingList']),

View File

@ -5,7 +5,8 @@
<view v-if="showBtn"> <view v-if="showBtn">
<view class="desc" v-if="!user.WeChat_UserId"> <view class="desc" v-if="!user.WeChat_UserId">
<!-- <view class="desc">申请获取你的公开信息(昵称头像)</view> --> <!-- <view class="desc">申请获取你的公开信息(昵称头像)</view> -->
<button type="primary" class="btn" open-type="getUserInfo" @getuserinfo="bindGetUserInfo">微信授权</button> <!-- <button type="primary" class="btn" open-type="getUserInfo" @getuserinfo="bindGetUserInfo">微信授权</button>-->
<button type="primary" class="btn" open-type="getUserInfo" @getuserinfo="bindGetUserInfo">手机号授权</button>
</view> </view>
<view class="desc" v-else> <view class="desc" v-else>
<button type="primary" class="btn" open-type="getPhoneNumber" @getphonenumber="getPhoneNumber">快速登录账号</button> <button type="primary" class="btn" open-type="getPhoneNumber" @getphonenumber="getPhoneNumber">快速登录账号</button>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

View File

@ -1 +0,0 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1703491182126" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4271" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M851.710029 803.043632c67.147306-78.301344 107.720374-180.059935 107.720373-291.298435 0-247.27171-200.453405-447.724091-447.724091-447.724091S63.981197 264.473487 63.981197 511.745197s200.453405 447.724091 447.724091 447.724091c111.2385 0 212.997092-40.573067 291.298435-107.720374l97.632622 97.632621c13.449313 13.449313 35.255968 13.449313 48.706305 0 13.449313-13.449313 13.449313-35.255968 0-48.706305l-97.632621-97.631598z m-67.805292-19.10001l-22.499434 19.294439c-34.062793 29.209252-72.504314 52.006468-114.25623 67.759243-43.206034 16.301268-88.775906 24.566512-135.441739 24.566512-102.521978 0-198.907189-39.924291-271.40127-112.417349s-112.417349-168.879292-112.417349-271.40127 39.924291-198.907189 112.417349-271.40127S409.184333 127.926578 511.706311 127.926578c102.521978 0 198.907189 39.924291 271.40127 112.417349s112.417349 168.879292 112.417349 271.40127c0 46.666856-8.265244 92.236727-24.566512 135.441738-15.752776 41.75294-38.549991 80.193437-67.759243 114.256231l-19.294438 22.500456z" p-id="4272" fill="#1890ff"></path></svg>

Before

Width:  |  Height:  |  Size: 1.4 KiB