From 40ba46b887bd8eec7216c63e85b34e096df31420 Mon Sep 17 00:00:00 2001
From: lxf <1371462558@qq.com>
Date: Fri, 11 Jul 2025 11:03:30 +0800
Subject: [PATCH] 交易页面

---
 src/components/Transform/perpetual-open/index.vue |   15 +++++++--------
 1 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/src/components/Transform/perpetual-open/index.vue b/src/components/Transform/perpetual-open/index.vue
index 5c53bf9..2f6bb21 100644
--- a/src/components/Transform/perpetual-open/index.vue
+++ b/src/components/Transform/perpetual-open/index.vue
@@ -1,7 +1,7 @@
 <template>
   <!-- 永续合约开仓页 -->
   <div id="cryptos">
-    <div class="perpetual-open">
+    <div class="perpetual-open" style="width: 280px;">
       <div class="flex pt-34  ">
         <div class="w-180 h-60 lh-60 text-center rounded tabBackground textColor">{{ $t('全仓') }} </div>
         <div class="w-140 h-60 lh-60 ml-29 rounded tabBackground textColor" v-if="selectIndex / 1 === 1">
@@ -21,7 +21,7 @@
       </div>
       <div class="pt-30 pb-20">
         <div class="flex">
-          <div class="w-440 flex flex-col">
+          <div class=" flex flex-col">
             <template v-if="selectIndex == 1">
               <div class="flex items-center h-66 rounded-lg text-grey">
                 <p class="font-28 flex-1 flex items-center justify-center h-66 "
@@ -53,7 +53,7 @@
               <span class="ml-20">{{ queryType === 'cryptos' ? 'USDT' : 'USD' }}</span>
             </div>
 
-            <div class="w-440 flex items-center greyBg h-76 lh-76 rounded-lg" style="background-color:#f5f5f5;" v-if="initFutrue" >
+            <div class=" flex items-center greyBg h-76 lh-76 rounded-lg" style="background-color:#f5f5f5;" v-if="initFutrue" >
               <!-- <div v-if="selectIndex == 1 && initFutrue.para && initFutrue.para.length > 0"
                 class="w-80 flex items-center justify-center" style="height:100%;" @click="onReduce">
                 <img src="../../../assets/image/public/reduce.png" alt="add" class="w-30 h-6" />
@@ -62,7 +62,7 @@
                 style="width: 156px;" v-model="form.amount" type="number" @input="onInput" /> -->
               <input v-if="selectIndex == 2 && JSON.stringify(initFutrue.para) != '[]'"
                 :placeholder="($t('最少') + initFutrue && initFutrue.para ? $t('最小金额') + initFutrue.para[paraIndex].buy_min : '')"
-                class="border-none greyBg text-center textColor" style="width: 156px;background-color:#f5f5f5;" v-model="form.amount" type="number"
+                class="border-none greyBg text-center textColor" style="width: 226px;background-color:#f5f5f5;" v-model="form.amount" type="number"
                 @input="onInput" />
               <div class="w-80 flex items-center justify-center" style="height:100%;background-color:#f5f5f5;">
                 <template v-if="selectIndex == 1">
@@ -198,7 +198,7 @@
                 @click="$router.push('/login')">{{ $t('logIn') }}</div>
             </div>
           </div>
-          <div class="ml-30">
+          <!-- <div class="ml-30">
             <div class="w-290 flex justify-between text-grey font-22">
               <div>
                 <div>{{ $t("价格") }}</div>
@@ -267,7 +267,6 @@
             <div class="flex k-select-box">
               <div class="mt-22 mb-22 select-box" style="position: relative">
                 <div class="flex justify-between items-center w-full h-70" @click="selectArryBtn">
-                  <!-- <img src="@/assets/image/public/warn.png" alt="warn-icon" class="w-25 h-25 pl-20"/> -->
                   <div class="pl-16 font-28 textColor" style="width: 80%">
                     {{ dataArrTitle }}
                   </div>
@@ -283,11 +282,11 @@
                 <img src="../../../assets/image/selectIcon.png" alt="warn-icon" class="w-36 h-30 ml-10" />
               </div>
             </div>
-          </div>
+          </div> -->
         </div>
       </div>
       <van-popup v-model:show="show" class="rounded-2xl">
-        <popup-delivery showBtns :detailData="detailData" :key="detailData.order_no" @close="onClose"
+        <popup-delivery style="padding: 10px;" showBtns :detailData="detailData" :key="detailData.order_no" @close="onClose"
           @continueToBuy="continueTobuy" @timeEnd="handleTimeEnd" :price="price" />
       </van-popup>
       <van-action-sheet v-model:show="isSelectShow" @select="onSelect" :actions="actions" :cancel-text="$t('取消')"

--
Gitblit v1.9.3