12.4 概念模块功能完善

This commit is contained in:
尚政杰
2025-12-04 17:41:33 +08:00
parent 4e64455b9b
commit 44842120da
5090 changed files with 9843 additions and 146120 deletions

View File

@@ -263,7 +263,6 @@
import { filterOptions, eventList, homeData, industryCategoryList, loginByEmail, followEvent, stockCategoryList } from '@/request/api'
import { getRateStr, getRateUpOrDown, getLocaleTime } from '@/utils/util.js'
const echarts = require('../../uni_modules/lime-echart/static/echarts.min.js');
import posthog from '@/utils/posthog.js';
export default {
data() {
@@ -452,7 +451,6 @@
}
}
this.monthDateList = monthDateList
posthog.capture("首页")
},
onReady() {
uni.createSelectorQuery().select('#topCategory').boundingClientRect(rect=>{
@@ -630,15 +628,17 @@
{
this.selectMonthIndex --
let monthList = this.monthDateList[this.selectMonthIndex]
let year = ''
let month = ''
for (let item of monthList) {
if(item.isCurrentMonth)
{
year = item.year
month = item.month
break
}
}
this.selectMonth = this.monthDateList[this.selectMonthIndex][0].year+'-'+(month>9?month:('0'+month))
this.selectMonth = year+'-'+(month>9?month:('0'+month))
}
},
/**
@@ -650,15 +650,17 @@
{
this.selectMonthIndex ++
let monthList = this.monthDateList[this.selectMonthIndex]
let year = ''
let month = ''
for (let item of monthList) {
if(item.isCurrentMonth)
{
year = item.year
month = item.month
break
}
}
this.selectMonth = this.monthDateList[this.selectMonthIndex][0].year+'-'+(month>9?month:('0'+month))
this.selectMonth = year+'-'+(month>9?month:('0'+month))
}
},
/**