li.shaoyi il y a 1 mois
Parent
commit
bf79492d7e

+ 1 - 1
src/packages/digital/assets/themes/default/default.less

@@ -1,7 +1,7 @@
 :root {
     --app-bg-color: #0d121b;
     --page-bg-color: var(--app-bg-color);
-    --font-default-color: #fff;
+    --font-default-color: #f5f5f5;
 
     /* 字体大小规范 */
     --font-x-large: 18px;

+ 43 - 0
src/packages/digital/assets/themes/global/global.less

@@ -140,4 +140,47 @@
         font-weight: normal;
         color: #666;
     }
+}
+
+.g-dialog-message {
+    line-height: 1.6;
+
+    &__header {
+        text-align: left;
+        padding: 0 15px;
+        margin-bottom: 10px;
+
+        h4 {
+            font-weight: bold;
+        }
+
+        span {
+            display: block;
+            font-size: 12px;
+            font-weight: normal;
+            color: #999;
+        }
+    }
+
+    &__content {
+        max-height: 50vh;
+        overflow-y: auto;
+        padding: 0 15px;
+    }
+
+    &__footer {
+        display: flex;
+        justify-content: center;
+        padding: 10px;
+
+        span {
+            &:not(:first-child) {
+                margin-left: 10px;
+            }
+
+            &.disabled {
+                color: #999;
+            }
+        }
+    }
 }

+ 1 - 1
src/packages/digital/views/contract/components/position/list/close/index.vue

@@ -11,7 +11,7 @@
                     <Cell title="持仓方向" :value="getBuyOrSellName(selectedRow.buyorsell, 1)" />
                     <Cell :title="`持仓价格(${getGoodsCurrencyItemName(selectedRow.currencyid)})`"
                         :value="selectedRow.averageprice" />
-                    <Cell :title="`持仓量(${selectedRow.goodscode})`" :value="selectedRow.positionqty" />
+                    <Cell :title="`持仓量(${selectedRow.goodscode})`" :value="selectedRow.curpositionqty" />
                     <Cell :title="`冻结量(${selectedRow.goodscode})`" :value="selectedRow.frozenqty" />
                     <Cell :title="`行情价格(${getGoodsCurrencyItemName(selectedRow.currencyid)})`">
                         <template #value>

+ 1 - 1
src/packages/mobile/components/modules/hqchart/index.vue

@@ -17,7 +17,7 @@
             <Icon name="setting-o" style="padding: 0 16px;" v-if="false" />
         </div>
         <MLine v-bind="{ symbol, goodsCode }" :theme="theme" v-if="tabIndex === 0" />
-        <KLine v-bind="{ symbol, goodsCode, cycleType }" :is-show-title="false" :theme="theme" v-else />
+        <KLine v-bind="{ symbol, goodsCode, cycleType }" :theme="theme" v-else />
     </div>
 </template>