li.shaoyi 2 年之前
父节点
当前提交
707c930857

+ 1 - 1
src/hooks/echarts/timeline/dataset.ts

@@ -98,7 +98,7 @@ export function useDataset() {
     // 计算图表最高最低指标线
     const calcMarkLine = () => {
         const { close } = dataset.timeline.source;
-        const point = Math.pow(10, -dataset.decimal) * 30; // 图表上下保留30个报价点数
+        const point = Math.pow(10, -dataset.decimal) * 20; // 图表上下保留20个报价点数
         let max = Math.max(...close); // 取历史行情最高价
         let min = Math.min(...close); // 取历史行情最低价
 

+ 1 - 1
src/hooks/echarts/timeline/options.ts

@@ -80,7 +80,7 @@ export function useOptions(dataset: EchartsDataset) {
             grid: {
                 left: '10px',
                 right: '10px',
-                top: '15px',
+                top: '20px',
                 bottom: '10px',
                 containLabel: true,
             },

+ 2 - 2
src/packages/pc/views/footer/goods/order/index.vue

@@ -8,7 +8,7 @@
         </template>
         <!-- 挂牌类型 -->
         <template #orderstatus="{ value }">
-            {{ getWRTradeOrderStatusName(value) }}
+            {{ getOrderStatusName(value) }}
         </template>
         <!-- 委托时间 -->
         <template #ordertime="{ value }">
@@ -29,7 +29,7 @@
 <script lang="ts" setup>
 import { shallowRef, defineAsyncComponent, onUnmounted } from 'vue'
 import { useRequest } from '@/hooks/request'
-import { getBuyOrSellName, getWRTradeOrderStatusName } from '@/constants/order'
+import { getBuyOrSellName, getOrderStatusName } from '@/constants/order'
 import { queryTradeOrderDetail } from '@/services/api/order'
 import AppTable from '@pc/components/base/table/index.vue'
 import { formatDate } from '@/filters'

+ 1 - 1
src/packages/pc/views/market/trade/goods/detail/index.vue

@@ -15,7 +15,7 @@
                     </ul>
                     <div class="buttonbar">
                         <template v-if="active">
-                            <el-button type="info" style="min-width: 60px;">刷新</el-button>
+                            <!-- <el-button type="info" style="min-width: 60px;">刷新</el-button> -->
                             <el-button type="primary" @click="active = false">买卖大厅</el-button>
                         </template>
                         <el-button type="primary" @click="active = true" v-else>图表</el-button>