Showing
2 changed files
with
4 additions
and
5 deletions
| ... | @@ -2,13 +2,13 @@ | ... | @@ -2,13 +2,13 @@ |
| 2 | * @Author: hookehuyr hookehuyr@gmail.com | 2 | * @Author: hookehuyr hookehuyr@gmail.com |
| 3 | * @Date: 2022-05-26 23:52:36 | 3 | * @Date: 2022-05-26 23:52:36 |
| 4 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 4 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 5 | - * @LastEditTime: 2022-12-07 10:40:54 | 5 | + * @LastEditTime: 2022-12-09 14:20:44 |
| 6 | * @FilePath: /data-table/src/App.vue | 6 | * @FilePath: /data-table/src/App.vue |
| 7 | * @Description: | 7 | * @Description: |
| 8 | --> | 8 | --> |
| 9 | <template> | 9 | <template> |
| 10 | <van-row v-if="is_pc"> | 10 | <van-row v-if="is_pc"> |
| 11 | - <van-col span="20" offset="2"> | 11 | + <van-col span="22" offset="1"> |
| 12 | <router-view></router-view> | 12 | <router-view></router-view> |
| 13 | </van-col> | 13 | </van-col> |
| 14 | </van-row> | 14 | </van-row> | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2022-07-18 10:22:22 | 2 | * @Date: 2022-07-18 10:22:22 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2022-12-08 17:54:44 | 4 | + * @LastEditTime: 2022-12-09 14:22:28 |
| 5 | * @FilePath: /data-table/src/views/index.vue | 5 | * @FilePath: /data-table/src/views/index.vue |
| 6 | * @Description: 首页 | 6 | * @Description: 首页 |
| 7 | --> | 7 | --> |
| ... | @@ -13,7 +13,7 @@ | ... | @@ -13,7 +13,7 @@ |
| 13 | scrollable | 13 | scrollable |
| 14 | mode="closeable" | 14 | mode="closeable" |
| 15 | /> | 15 | /> |
| 16 | - <div class="table-box"> | 16 | + <div class="table-box" :style="{ margin: is_pc ? '1rem 0' : '1rem'}"> |
| 17 | <van-image | 17 | <van-image |
| 18 | v-if="PHeader.type === '单张图'" | 18 | v-if="PHeader.type === '单张图'" |
| 19 | width="100%" | 19 | width="100%" |
| ... | @@ -443,7 +443,6 @@ const onSubmit = async (values) => { | ... | @@ -443,7 +443,6 @@ const onSubmit = async (values) => { |
| 443 | font-size: 0.9rem; | 443 | font-size: 0.9rem; |
| 444 | } | 444 | } |
| 445 | .table-box { | 445 | .table-box { |
| 446 | - margin: 1rem; | ||
| 447 | background-color: #ffffff; | 446 | background-color: #ffffff; |
| 448 | padding-bottom: 1rem; | 447 | padding-bottom: 1rem; |
| 449 | } | 448 | } | ... | ... |
-
Please register or login to post a comment