1
PC-20250623MANY\Administrator
2025-08-23 176296116e7d89244d6d3b0b1edf4f4e10672acb
src/views/home/components/HomeLtl.vue
@@ -3,7 +3,9 @@
    <div class="tabs_box">
      <el-tabs v-model="activeName" @tab-click="handleClick">
        <el-tab-pane label="United States" name="US"></el-tab-pane>
        <el-tab-pane label="Mexico" name="MEX"></el-tab-pane>
        <el-tab-pane label="Hong Kong" name="HK"></el-tab-pane>
        <el-tab-pane label="Taiwan" name="TW"></el-tab-pane>
        <el-tab-pane label="India" name="IN"></el-tab-pane>
      </el-tabs>
    </div>
@@ -24,9 +26,9 @@
    <div class="resoult_list">
      <el-table
        height="100%"
        :data="tableData"
        style="width: 100%"
        height="100%"
        size="small"
        empty-text="No Data"
        @row-click="Choice"
@@ -34,19 +36,11 @@
        <el-table-column prop="spell" :label="$t('hj313')">
          <template slot-scope="scope">
            <el-tag
              v-if="scope.row.stock_type == 'MEX'"
              :type="scope.row.stock_type != $mc ? 'success' : ''"
              size="small"
              style="margin-right: 8px"
            >
              MEX
            </el-tag>
            <el-tag
              type="success"
              size="small"
              style="margin-right: 8px"
              v-else-if="scope.row.stock_type == 'US'"
            >
              US
              {{ scope.row.stock_type }}
            </el-tag>
            <span>{{ scope.row.spell }}</span>
          </template>
@@ -127,7 +121,7 @@
    initWebSocket() {
      console.log("initWebSocket");
      this.Trade = new WhrWebSocket({
        path: `wss://ws.kuspitai.com/websocket-server `,
        path: `wss://ws.acapl.net/websocket-server `,
        onmessage: this.getTradeMessage,
      });