Browse Source

Merge branch 'hanyuqing' of http://124.70.32.114:3100/jianzhenyu/Changsha_tupu into small-tupu

small-tupu
菅振宇 6 months ago
parent
commit
c42f7d2bdf
  1. 8
      gyxtp/src/view/small.vue

8
gyxtp/src/view/small.vue

@ -2,7 +2,7 @@
<div class="about"> <div class="about">
<HeaderInfo style="height: 5.65vw;float: left;"></HeaderInfo> <HeaderInfo style="height: 5.65vw;float: left;"></HeaderInfo>
<leftInfo @show="isZhe" style="width: 5vw;position: absolute;top: 5.35vw;position: absolute;z-index:100;" <leftInfo @show="isZhe" style="width: 5vw;position: absolute;top: 5.35vw;position: absolute;z-index:100;"
:leftNum="3" :zhedie="zhedie"></leftInfo> :leftNum="3" :zhedie="zhedie" v-if="zhedie == 0"></leftInfo>
<div v-if="zhedie == 0" @click="this.zhedie = 1" <div v-if="zhedie == 0" @click="this.zhedie = 1"
style="position: absolute;height: 3vw;width: 3vw;font-size: 2vw;border-radius: 0 50% 50% 0;z-index: 1000;bottom:45%;left:5vw;cursor: pointer"> style="position: absolute;height: 3vw;width: 3vw;font-size: 2vw;border-radius: 0 50% 50% 0;z-index: 1000;bottom:45%;left:5vw;cursor: pointer">
<img src="../assets/img2/close3.png" style="width: 60%;object-fit: contain;"> <img src="../assets/img2/close3.png" style="width: 60%;object-fit: contain;">
@ -101,7 +101,7 @@
</div> </div>
</div> </div>
<div class="container"> <div class="container">
<h3>词云图</h3> <h3>关键词云图</h3>
<div ref="chart" class="chart-container"></div> <div ref="chart" class="chart-container"></div>
</div> </div>
</div> </div>
@ -596,8 +596,8 @@ export default {
// totalNum // totalNum
const baseSize = 120; // const baseSize = 120; //
const sizePerNum = 40; // num const sizePerNum = 60; // num
const maxSize = 300; // const maxSize = 400; //
let width = baseSize + sizePerNum * totalNum; let width = baseSize + sizePerNum * totalNum;
width = Math.min(width, maxSize); // width = Math.min(width, maxSize); //

Loading…
Cancel
Save