个股搜索添加
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
<image style="width: 40rpx; height: 40rpx;" src="/pagesStock/static/icon/ai-icon.png" mode="widthFix">
|
||||
</image>
|
||||
<text style="font-size: 36rpx; margin-left: 10rpx; margin-right: 20rpx;">AI总结</text>
|
||||
<text style="font-size: 28rpx;">市场情绪温和,主线题材:存储芯片</text>
|
||||
<text style="font-size: 28rpx;"></text>
|
||||
</view>
|
||||
|
||||
<view style="background-color: white; border-radius: 10rpx; overflow: hidden; margin: 25rpx;">
|
||||
@@ -94,7 +94,7 @@
|
||||
</view>
|
||||
</view>
|
||||
<view style="display: grid; grid-template-columns: repeat(4, 1fr); gap: 7rpx; margin-top: 25rpx;">
|
||||
<view v-for="(item, index) in bkList" :key="index" @click="bkydAction(index)" :style="{
|
||||
<view v-for="(item, index) in bkList" :key="index" :style="{
|
||||
backgroundColor: item.bgColor,
|
||||
borderRadius: '5rpx',
|
||||
padding: '15rpx',
|
||||
@@ -132,17 +132,17 @@
|
||||
style="width: 100%; height: 500rpx; display: flex; align-items: center; justify-content: center; color: #999;">
|
||||
板块关联图内容区域
|
||||
</view> -->
|
||||
<view v-show="activeType === 0" style="width: 100%; height: 500rpx;">
|
||||
<!-- <view v-show="activeType === 0" style="width: 100%; height: 500rpx;">
|
||||
<l-echart ref="graphChartRef"></l-echart>
|
||||
</view>
|
||||
<view v-show="activeType === 1" style="width: 100%; height: 500rpx;">
|
||||
</view> -->
|
||||
<view v-show="activeType === 0" style="width: 100%; height: 500rpx;">
|
||||
<l-echart ref="chartRef"></l-echart>
|
||||
</view>
|
||||
<WordCloud v-show="activeType === 2" :wordData="wordData" :width="330" :height="330" />
|
||||
<WordCloud v-show="activeType === 1" :wordData="wordData" :width="330" :height="330" />
|
||||
</view>
|
||||
|
||||
|
||||
<view style="color: #2B2B2B; font-weight: 500; display: flex; margin: 25rpx 20rpx;">
|
||||
<!-- <view style="color: #2B2B2B; font-weight: 500; display: flex; margin: 25rpx 20rpx;">
|
||||
<image style="width: 40rpx; height: 42rpx;" src="/pagesStock/static/icon/all-icon-3.png"
|
||||
mode="widthFix"></image>
|
||||
<view style="margin-left: 10rpx;">
|
||||
@@ -186,7 +186,7 @@
|
||||
<image style="width: 27rpx; height: 25rpx; margin-right: 10rpx;"
|
||||
src="/pagesStock/static/icon/all-icon-5.png" mode="widthFix"></image>
|
||||
<text>高位股风险较高,追涨需谨慎</text>
|
||||
</view>
|
||||
</view> -->
|
||||
</view>
|
||||
</scroll-view>
|
||||
|
||||
@@ -355,8 +355,13 @@
|
||||
level: '无热度'
|
||||
} // ≤20%
|
||||
],
|
||||
// bkTypes: [
|
||||
// '板块关联图',
|
||||
// '板块分布',
|
||||
// '热门概念词云'
|
||||
// ],
|
||||
bkTypes: [
|
||||
'板块关联图',
|
||||
|
||||
'板块分布',
|
||||
'热门概念词云'
|
||||
],
|
||||
@@ -446,7 +451,7 @@
|
||||
this.fetchData()
|
||||
// 页面就绪后,若默认选中的是板块分布,初始化饼图
|
||||
//if (this.activeType === 0) {
|
||||
this.initGraphChart(); // 初始化关系图
|
||||
//this.initPieChart(); // 初始化关系图
|
||||
//} else if (this.activeType === 1) {
|
||||
// 初始化饼图
|
||||
//}
|
||||
@@ -467,10 +472,12 @@
|
||||
|
||||
switch (index) {
|
||||
case 0:
|
||||
this.$refs.graphChartRef && this.initGraphChart(); // 增加存在性判断
|
||||
//this.$refs.graphChartRef && this.initGraphChart(); // 增加存在性判断
|
||||
this.$refs.chartRef && this.initPieChart(); // 增加存在性判断
|
||||
break;
|
||||
case 1:
|
||||
this.$refs.chartRef && this.initPieChart(); // 增加存在性判断
|
||||
//this.$refs.chartRef && this.initPieChart(); // 增加存在性判断
|
||||
this.initWordCloud();
|
||||
break;
|
||||
case 2:
|
||||
this.initWordCloud();
|
||||
|
||||
Reference in New Issue
Block a user