1
jhzh
2026-05-29 bbf6d337c9641c0d1bf2c57f05310e59c104990b
src/components/Transform/entrust-item/index.vue
@@ -10,7 +10,7 @@
        </div>
      </div>
      <div class="text-grey font-26 flex flex-col justify-between">
        {{ entrust.create_time_ts ? dayjs(entrust.create_time_ts * 1000).format('YYYY-MM-DD HH:mm:ss') : '--' }}
        {{ entrust.create_time ? entrust.create_time : '--' }}
      </div>
    </div>
    <div class="flex justify-between pb-34">
@@ -41,13 +41,16 @@
      <div class="btn-wrap mt-64">
        <button class="detailBtn order-btn text-blue  h-54 lh-54 " @click.stop="goDetail(entrust.order_no)">
          {{ $t('详情') }}</button>
        <button v-if="state == 'submitted'" class="ml-19 order-btn border-none h-54 lh-54 cancel-btn yellow-bg textColor"
        <button v-if="state == 'submitted'"
          class="ml-19 order-btn border-none h-54 lh-54 cancel-btn yellow-bg textColor"
          @click.stop="cancelSingle(entrust.order_no)">
          {{ $t('撤单') }}</button>
        <button v-if="state == 'created'" class="ml-19 order-btn border-none h-54 lh-54 cancel-btn textColor yellow-bg">{{
          $t('已完成') }}</button>
        <button v-if="state == 'canceled'" class="ml-19 order-btn border-none h-54 lh-54 cancel-btn yellow-bg textColor">{{
          $t('canceled') }}</button>
        <button v-if="state == 'created'"
          class="ml-19 order-btn border-none h-54 lh-54 cancel-btn textColor yellow-bg">{{
            $t('已完成') }}</button>
        <button v-if="state == 'canceled'"
          class="ml-19 order-btn border-none h-54 lh-54 cancel-btn yellow-bg textColor">{{
            $t('canceled') }}</button>
      </div>
    </div>
  </div>
@@ -97,7 +100,7 @@
  }
}
</script>
<style lang="scss"  scoped>
<style lang="scss" scoped>
@import "@/assets/init.scss";
#cryptos {