李凌
2025-10-09 631dc512b226b346fefaebbedf1ddd79c06cab71
src/views/C2C/c2c-trade/page/c2cBuy.vue
@@ -4,11 +4,11 @@
      v-if="detail.id">
      <template #trade>
        <div class="buy-item mt-40 w-full mainBackground c2cColor">
          <div class="buy-item-title flex justify-between font-28 py-34 border-b-1 border-light-grey c2cColor">
            <div class="flex-1 text-center" :class="{ 'text-grey': type === 'num' }" @click="typeSwitch('amount')">
          <div class="buy-item-title flex justify-between font-28 py-34 border-b-1 border-light-grey textColor">
            <div class="flex-1 text-center" :class="{ 'textColor1': type === 'num' }" @click="typeSwitch('amount')">
              {{ $t('按金额购买') }}
            </div>
            <div class="flex-1 text-center" :class="{ 'text-grey': type === 'amount' }" @click="typeSwitch('num')">
            <div class="flex-1 text-center" :class="{ 'textColor1': type === 'amount' }" @click="typeSwitch('num')">
              {{ $t('按数量购买') }}
            </div>
          </div>