| | |
| | | </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"> |
| | |
| | | <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> |
| | |
| | | } |
| | | } |
| | | </script> |
| | | <style lang="scss" scoped> |
| | | <style lang="scss" scoped> |
| | | @import "@/assets/init.scss"; |
| | | |
| | | #cryptos { |