| | |
| | | <template> |
| | | <view class=""> |
| | | <view > |
| | | <headNav |
| | | idIndex="2" |
| | | :searchBg="false" |
| | |
| | | }, |
| | | onLoad(options) { |
| | | this.idIndex = options.id; |
| | | console.log("optionsoptionsoptions", options.id); |
| | | }, |
| | | mounted() { |
| | | this.getStatistics(); |
| | |
| | | getData() { |
| | | this.nodeData = []; |
| | | // const defaultDynasty = this.dynasty.find(f.dynasty == "宋"); |
| | | |
| | | this.showTool = false; |
| | | inheritMedicalList({ |
| | | keywords: this.keyword, |
| | | dynastyId: this.activeId, |
| | |
| | | } |
| | | }); |
| | | myChart.on("click", (params) => { |
| | | console.log(params.event.offsetX, params.event.offsetY); |
| | | if (params.componentType === "series") { |
| | | this.showTool = true; |
| | | this.toolTop = params.event.offsetY + "px"; |
| | |
| | | border: none; |
| | | outline: none; |
| | | margin: auto; |
| | | width: 100%; |
| | | flex: 1; |
| | | overflow: hidden; |
| | | padding-left: 20px; |
| | | } |
| | | .searchBox > button { |
| | | width: 10%; |
| | | color: white; |
| | | height: 40px; |
| | | line-height: 40px; |