10.10综合交易所原始源码_移动端
admin
2026-01-06 42faef34194c466f03e29d75a63ae502e4213044
src/views/optional/index.vue
@@ -56,11 +56,10 @@
                    <m-echarts :dataObj="item" :ratio="item.change_ratio" :index="item.symbol" />
                  </div>
                  <div class="flex-r-item data-box">
                    <div class="data-item" :class="[item.change_ratio < 0 ? 'bg-red' : 'bg-green']">{{ item.close }}
                    </div>
                    <div class="data-item" :class="[item.change_ratio < 0 ? 'bg-red' : 'bg-green']">{{ item.close }}</div>
                    <p class="value" :class="[item.change_ratio < 0 ? 'color-red' : 'color-green']">
                      {{ item.change_ratio < 0 ? item.net_change : '+' + item.net_change }} &nbsp; {{ item.change_ratio
                        }}%</p>
                      }}%</p>
                  </div>
                </div>
              </li>
@@ -103,7 +102,7 @@
                :title="`${t('digitalCurrency')}(${fixedData.cryptos || 0})`" />
              <van-sidebar-item @click="openType('forex', t('外汇'))" :title="`${t('外汇')}(${fixedData.forex || 0})`" />
              <van-sidebar-item @click="openType('INDIA-stocks', t('印度股'))"
                :title="`${t('印度股')}(${fixedData['INDIA-stocks'] || 0})`" />
                                :title="`${t('印度股')}(${fixedData['INDIA-stocks'] || 0})`" />
            </van-sidebar>
          </div>
          <footer class="footer-container">
@@ -128,7 +127,7 @@
    </div>
  </section>
</template>
<script setup>
import { ref, onMounted, onBeforeUnmount } from 'vue';
import { useUserStore } from '@/store/user';
@@ -144,9 +143,6 @@
import { HOST_URL } from '@/config'
import { themeStore } from '@/store/theme';
const thStore = themeStore()
console.log("dddddd", HOST_URL);
const { t } = useI18n()
const router = useRouter()
@@ -449,12 +445,7 @@
      font-weight: 700;
      font-size: 20px;
      line-height: 28px;
      height: 28px;
      color: $mainTextColor;
      width: 75vw;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .icon-group {