1
YM
2024-07-17 d5f572496c5fb12fec2fe346b847bf58331299c9
src/pages/zhongyi/zhongyi.vue
@@ -1,6 +1,6 @@
<template>
   <view class="">
      <headNav :idIndex="idIndex" :searchBg="false" text="中医世医传承数据库" bg="/static/image/topBg1.png"
   <view >
      <headNav :idIndex="idIndex" :searchBg="false" text="家学传承" bg="/static/image/topBg1.png"
         bg1="/static/image/line1.png" />
      <view class="flex" style="padding: .24rem 1.21rem ;background-color: #f0f0f0;">
@@ -12,7 +12,7 @@
            <li style="background-color: #DA7A2B;color: #fff;">世医传承</li>
            <li @click="ListClick" style="background-color: #fff;color: #DA7A2B;" >世医传承</li>
         </ul>
         <view class="" style="width: 1rem;"></view>
         <view  style="width: 1rem;"></view>
      </view>
      <!-- echarts图 -->
      <div class="barChart" ref="barChart"></div>
@@ -30,7 +30,6 @@
      },
      onLoad(options) {
         this.idIndex = options.id
         console.log('optionsoptionsoptions', options.id);
      },
      mounted() {
         // 初始化 echarts
@@ -609,10 +608,7 @@
         },
         // 返回按钮 
         goBack() {
            // uuni.redirectTo();
            uni.redirectTo({
               url: '/pages/index/index'
            })
            this.$router.go(-1);
         },
      }
   }