zzzz
2024-04-23 b6d88ca4a4b0d74c007fb4c574b1baee4aae062e
src/page/list/tradingList/data.list.vue
@@ -5,18 +5,18 @@
        <van-col span="8">
          <div>
            {{ $t("hj313") }}
          </div></van-col
        >
        <van-col span="10"
          ><div style="text-align: right">
          </div>
        </van-col>
        <van-col span="10">
          <div style="text-align: right">
            {{ $t("hj314") }}
          </div></van-col
        >
          </div>
        </van-col>
        <van-col span="6">
          <div style="text-align: right">
            {{ $t("hj315") }}
          </div></van-col
        >
          </div>
        </van-col>
      </van-row>
    </div>
@@ -25,6 +25,7 @@
      v-model="loadings"
      :finished="finished"
      :finished-text="$t('hj43')"
      :loading-text="$t('hj430')"
      @load="onLoads"
      :immediate-check="false"
    >
@@ -65,7 +66,7 @@
          <van-col span="10">
            <div style="text-align: right">
              <div class="tp">
                <span class="price_color">{{ item.nowPrice }}</span>
                <span class="price_color">{{ item.nowPrice | _toString }}</span>
              </div>
              <div class="bt">
                <span>{{ item.addTime }}</span>
@@ -85,13 +86,18 @@
        </van-row>
      </div>
    </van-list>
    <dazy ref="dazy" />
  </div>
</template>
<script>
import * as api from "@/axios/api";
import handleDt from "@/utils/deTh";
import dazy from "./dazy.vue";
export default {
  components: { dazy },
  props: {
    active: {
      type: String,
@@ -163,8 +169,16 @@
        return 0;
      }
    },
    // 点击进入详情
    handleGoToKlineDetail1(item) {
      // 如果是大宗交易。不需要进入详情
      if (this.active === "DZ") {
        this.$refs.dazy.currentItem = item;
        this.$refs.dazy.show = true;
        return;
      }
      // 点击进入详情
      const obj = {
        pid: item.code || "",
        type: item.stock_type || "",
@@ -198,6 +212,7 @@
        stockType = array[0].name;
      } else {
        let array = this.zxtabsList.filter((item) => item.key === b);
        console.log(this.zxtabsList, b);
        stockType = array[0].name;
      }
      let pageNumVal = c || this.pageNumVal;