11.26 修改K线图样式

This commit is contained in:
尚政杰
2025-11-26 17:19:38 +08:00
parent 48f49c6cf0
commit 4e64455b9b
4803 changed files with 146408 additions and 648 deletions

View File

@@ -8,8 +8,8 @@
<view class="line"></view>
<view class="search" @click="clickSearch()">搜索</view>
</view>
<scroll-view scroll-y class="contentC fixed" :style="'top:'+contentTop+'px;'" @scrolltolower="loadMoreData()">
<view class="">
<scroll-view scroll-y class="contentC fixed" :style="'top:'+contentTop+'px;'" refresher-enabled :refresher-triggered="isRefreshing" @refresherrefresh="pullDownRefresh()" @scrolltolower="loadMoreData()">
<view>
<view class="todayC flex" >
<view class="todayDateC flex" @click="clickSelectMonth()">
<view class="date">{{selectDate}}</view>
@@ -177,6 +177,7 @@
windowWidth:inject('windowWidth'),
contentTop:'',
keywords:'', //搜索关键字
isRefreshing:false,
todayDate:'', //今日日期
calendarDateList:[], //日历日期
selectMonth:'', //选中月份
@@ -291,9 +292,6 @@
})
},
onPullDownRefresh() {
this.reloadData()
},
computed: {
circumference() {
return Math.PI * 100; // 圆周长半径为50的圆周长
@@ -310,6 +308,11 @@
}else
this.getDataListData()
},
pullDownRefresh()
{
this.isRefreshing = true
this.reloadData()
},
loadMoreData()
{
if(!this.loadAll)
@@ -483,7 +486,7 @@
param.category = this.stockCategoryList[this.selectTopCategory].primary_sector
}
calendarEventList(param).then(res=>{
uni.stopPullDownRefresh()
this.isRefreshing = false
if(res.code==200)
{
if(res.data.page==1)
@@ -501,7 +504,7 @@
icon:'none'
})
}).catch(error=>{
uni.stopPullDownRefresh()
this.isRefreshing = false
})
},
/**
@@ -515,6 +518,7 @@
param.category = this.stockCategoryList[this.selectTopCategory].primary_sector
}
calendarDataList(param).then(res=>{
this.isRefreshing = false
if(res.code==200)
{
this.dataList = res.data.data_list
@@ -524,7 +528,7 @@
icon:'none'
})
}).catch(error=>{
uni.stopPullDownRefresh()
this.isRefreshing = false
})
},
/**