li.shaoyi 1 ماه پیش
والد
کامیت
2254783728

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

@@ -100,6 +100,10 @@
             font-weight: normal;
             color: #666;
         }
+
+        .van-checkbox {
+            display: inline-flex;
+        }
     }
 
     &--inset {

+ 2 - 2
src/packages/digital/views/contract/components/order/index.vue

@@ -4,10 +4,10 @@
             <tbody>
                 <tr>
                     <td>
-                        <Checkbox v-model="checked">历史</Checkbox>
+                        <app-date-picker v-model="dateValue" @confirm="onRefresh()" v-if="checked" />
                     </td>
                     <td>
-                        <app-date-picker v-model="dateValue" @confirm="onRefresh()" v-if="checked" />
+                        <Checkbox v-model="checked">历史</Checkbox>
                     </td>
                 </tr>
             </tbody>

+ 2 - 2
src/packages/digital/views/contract/components/position/index.vue

@@ -5,10 +5,10 @@
             <tbody>
                 <tr>
                     <td>
-                        <Checkbox v-model="checked">历史</Checkbox>
+                        <app-date-picker v-model="dateValue" @confirm="onRefresh()" v-if="checked" />
                     </td>
                     <td>
-                        <app-date-picker v-model="dateValue" @confirm="onRefresh()" v-if="checked" />
+                        <Checkbox v-model="checked">历史</Checkbox>
                     </td>
                 </tr>
             </tbody>

+ 2 - 2
src/packages/digital/views/contract/components/statement/index.vue

@@ -4,10 +4,10 @@
             <tbody>
                 <tr>
                     <td>
-                        <Checkbox v-model="checked">历史</Checkbox>
+                        <app-date-picker v-model="dateValue" @confirm="onRefresh()" v-if="checked" />
                     </td>
                     <td>
-                        <app-date-picker v-model="dateValue" @confirm="onRefresh()" v-if="checked" />
+                        <Checkbox v-model="checked">历史</Checkbox>
                     </td>
                 </tr>
             </tbody>

+ 2 - 2
src/packages/digital/views/contract/components/trade/index.vue

@@ -4,10 +4,10 @@
             <tbody>
                 <tr>
                     <td>
-                        <Checkbox v-model="checked">历史</Checkbox>
+                        <app-date-picker v-model="dateValue" @confirm="onRefresh()" v-if="checked" />
                     </td>
                     <td>
-                        <app-date-picker v-model="dateValue" @confirm="onRefresh()" v-if="checked" />
+                        <Checkbox v-model="checked">历史</Checkbox>
                     </td>
                 </tr>
             </tbody>