lxf
2025-04-24 154848e66fd2f82ce1a9be92f1abbe502d661fc3
src/page/kline/index.vue
@@ -12,7 +12,7 @@
                  <span v-if="singDetails.gid"
                  >{{ singDetails.name }}({{ singDetails.gid }})</span
                >
                <span v-else>{{ singDetails.name }}</span>
                <span v-else>{{ $t(singDetails.name) }}</span>
              </div>
              <div class="b_t">
                <span>{{ singDetails.spell }}</span>
@@ -439,7 +439,11 @@
            <span>{{ singDetails.nowPrice  }}</span>
          </div>
        </div>
        <div class="sell_btn" @click="goBuy(1)" v-if="kLineDetails.type != 'HJ'">
        <div
          class="sell_btn"
          @click="goBuy(1)"
          v-if="kLineDetails.type != 'HJ'"
        >
          <div class="top_sell">
            <span>{{ $t("hj85") }}</span>
          </div>
@@ -474,11 +478,11 @@
      newsdetailList: [],
      bayType: "",
      timer: null,
      key:0,
      key: 0
    };
  },
  components: {
    Kline,
    Kline
  },
  created() {
@@ -505,7 +509,7 @@
  // },
  methods: {
    async getHknews() {
      await api.queryIndexNews().then((res) => {
      await api.queryIndexNews().then(res => {
        if (res.status === 0) {
          this.newsdetailList = res.data.data;
        }
@@ -527,13 +531,13 @@
          this.optionBtn = false;
          this.$message({
            message: this.$t("hj97"),
            type: "success",
            type: "success"
          });
        } else {
          this.optionBtn = false;
          this.$message({
            message: data.msg,
            type: "warning",
            type: "warning"
          });
        }
      } else {
@@ -543,12 +547,12 @@
          this.optionBtn = false;
          this.$message({
            message: this.$t("hj96"),
            type: "success",
            type: "success"
          });
        } else {
          this.$message({
            message: data.msg,
            type: "warning",
            type: "warning"
          });
          this.optionBtn = false;
        }
@@ -572,7 +576,7 @@
    },
    async getOpation() {
      let opts = {
        code: this.$route.query.code,
        code: this.$route.query.code
      };
      let data = await api.isOption(opts);
      if (data.status === 0) {