1.4 修改概念中心日期默认传值
This commit is contained in:
@@ -144,6 +144,11 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view v-if="isData&&(selectTab==0&&eventList.length==0||selectTab==1&&dataList.length==0)" class="noDataC flexColumnCenter">
|
||||
<image class="icon" src="/static/image/index/noData.png" mode="widthFix"></image>
|
||||
<view class="title">当前筛选条件下暂无数据</view>
|
||||
<view class="subtitle">请尝试调整筛选条件</view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
<uni-popup ref="popup" type="top">
|
||||
<view class="popup" :style="'margin-top:'+navH+'px;'">
|
||||
@@ -216,7 +221,8 @@
|
||||
loadAll:false,
|
||||
getLocaleHourMinute:getLocaleHourMinute,
|
||||
replaceAnswerLabel:replaceAnswerLabel,
|
||||
accMul:accMul
|
||||
accMul:accMul,
|
||||
isData:false //是否请求过数据了
|
||||
}
|
||||
},
|
||||
onLoad() {
|
||||
@@ -503,6 +509,7 @@
|
||||
param.category = this.stockCategoryList[this.selectTopCategory].primary_sector
|
||||
}
|
||||
calendarEventList(param).then(res=>{
|
||||
this.isData = true
|
||||
this.isRefreshing = false
|
||||
if(res.code==200)
|
||||
{
|
||||
@@ -522,6 +529,7 @@
|
||||
})
|
||||
}).catch(error=>{
|
||||
this.isRefreshing = false
|
||||
this.isData = true
|
||||
})
|
||||
},
|
||||
/**
|
||||
@@ -1081,6 +1089,26 @@ page
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.noDataC {
|
||||
margin-top: 200rpx;
|
||||
font-weight: 500;
|
||||
.icon {
|
||||
width: 412rpx;
|
||||
height: auto;
|
||||
}
|
||||
.title {
|
||||
margin-top: 8rpx;
|
||||
font-size: 32rpx;
|
||||
color: #939393;
|
||||
}
|
||||
.subtitle {
|
||||
margin-top: 16rpx;
|
||||
font-size: 26rpx;
|
||||
color: #646464;
|
||||
}
|
||||
}
|
||||
|
||||
.popup
|
||||
{
|
||||
background-color: white;
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
<view class="item" v-for="(item,index) in investDetails.related_stocks" :key="index" @click="clickLookRelatedStockItem(item)">
|
||||
<view class="titleCorrelationC flex">
|
||||
<view class="title flex1">{{item.code+' '+item.name}} </view>
|
||||
<view class="correlation">相关度: {{accMul(item.score,100)}}%</view>
|
||||
<view class="correlation">相关度: {{item.score}}%</view>
|
||||
</view>
|
||||
<view v-if="item.sw_primary_sector" class="category">{{item.sw_primary_sector}}</view>
|
||||
<view class="content">{{item.description}}</view>
|
||||
|
||||
Reference in New Issue
Block a user