li.shaoyi 10 miesięcy temu
rodzic
commit
7c4099a2e9

+ 6 - 9
src/packages/pc/views/footer/goods/trade/index.vue

@@ -2,7 +2,7 @@
 <template>
     <app-table class="goods-trade" :data="tableList" v-model:columns="tableColumns" :loading="loading"
         :summary-method="getSummaries" show-summary>
-        <template #headerRight>
+        <!-- <template #headerRight>
             <ul class="goods-trade-total">
                 <li>
                     <span>{{ t('order.qtyTotal') }}</span>
@@ -17,7 +17,7 @@
                     <span>{{ plTotal.toFixed(2) }}</span>
                 </li>
             </ul>
-        </template>
+        </template> -->
         <!-- 类型' -->
         <template #buyorsell="{ value }">
             {{ getBuyOrSellName(value) }}
@@ -41,14 +41,13 @@
 </template>
 
 <script lang="ts" setup>
-import { ref, onUnmounted, computed } from 'vue'
+import { ref, onUnmounted } from 'vue'
 import { useRequest } from '@/hooks/request'
 import { useLocalPagination } from '@/hooks/pagination'
 import { useComposeTable } from '@pc/components/base/table'
 import { getBuyOrSellName, getBuildTypeName } from '@/constants/order'
 import { queryTradeDetail } from '@/services/api/order'
 import { formatDate, tmMatchAccountID } from '@/filters'
-import { i18n } from '@/stores'
 import eventBus from '@/services/bus'
 import AppTable from '@pc/components/base/table/index.vue'
 
@@ -59,8 +58,6 @@ const { getSummaries } = useComposeTable<Model.TradeDetailRsp>({
 
 const { tableList, showLoadMore, initTableData, loadMore } = useLocalPagination<Model.TradeDetailRsp>()
 
-const { global: { t } } = i18n
-
 const { dataList, loading, runAsync } = useRequest(queryTradeDetail, {
     params: {
         tradeMode: '50,16'
@@ -82,13 +79,13 @@ const tableColumns = ref<Model.TableColumn[]>([
 ])
 
 // 数量汇总
-const qtyTotal = computed(() => dataList.value.reduce((pre, cur) => pre += cur.tradeqty, 0))
+//const qtyTotal = computed(() => dataList.value.reduce((pre, cur) => pre += cur.tradeqty, 0))
 
 // 手续费汇总
-const feeTotal = computed(() => dataList.value.reduce((pre, cur) => pre += cur.charge, 0))
+//const feeTotal = computed(() => dataList.value.reduce((pre, cur) => pre += cur.charge, 0))
 
 // 盈亏汇总
-const plTotal = computed(() => dataList.value.reduce((pre, cur) => pre += cur.closepl, 0))
+//const plTotal = computed(() => dataList.value.reduce((pre, cur) => pre += cur.closepl, 0))
 
 // 接收成交通知
 const orderDealedNtf = eventBus.$on('OrderDealedNtf', () => {

+ 1 - 1
src/packages/sbyj/App.vue

@@ -26,7 +26,7 @@ const { backHome } = useNavigation()
 const noticeStore = useNoticeStore()
 
 // 当前提示信息
-const currentTipts = computed(() => noticeStore.noticeList[tips.index])
+const currentTipts = computed(() => noticeStore.tipsList[tips.index])
 
 // 通知
 const notify = reactive({

+ 2 - 2
src/packages/tss/views/mine/index.less

@@ -14,7 +14,7 @@
         }
     }
 
-    .app-block__wrapper{
+    .app-block__wrapper {
         box-shadow: var(--box-shadow);
     }
 
@@ -28,7 +28,7 @@
             color: #fff;
             border-top-left-radius: 10px;
             border-top-right-radius: 10px;
-            padding: 20px 12px;
+            padding: 30px 10px 20px 10px;
 
             .profile {
                 display: flex;