Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
data-table
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
hookehuyr
2022-12-09 14:23:12 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
5948a1956e152be20c5c5facebecbf572670b394
5948a195
1 parent
00c46187
修复PC端显示宽度问题
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
src/App.vue
src/views/index.vue
src/App.vue
View file @
5948a19
...
...
@@ -2,13 +2,13 @@
* @Author: hookehuyr hookehuyr@gmail.com
* @Date: 2022-05-26 23:52:36
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2022-12-0
7 10:40:5
4
* @LastEditTime: 2022-12-0
9 14:20:4
4
* @FilePath: /data-table/src/App.vue
* @Description:
-->
<template>
<van-row v-if="is_pc">
<van-col span="2
0" offset="2
">
<van-col span="2
2" offset="1
">
<router-view></router-view>
</van-col>
</van-row>
...
...
src/views/index.vue
View file @
5948a19
<!--
* @Date: 2022-07-18 10:22:22
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2022-12-0
8 17:54:44
* @LastEditTime: 2022-12-0
9 14:22:28
* @FilePath: /data-table/src/views/index.vue
* @Description: 首页
-->
...
...
@@ -13,7 +13,7 @@
scrollable
mode="closeable"
/>
<div class="table-box">
<div class="table-box"
:style="{ margin: is_pc ? '1rem 0' : '1rem'}"
>
<van-image
v-if="PHeader.type === '单张图'"
width="100%"
...
...
@@ -443,7 +443,6 @@ const onSubmit = async (values) => {
font-size: 0.9rem;
}
.table-box {
margin: 1rem;
background-color: #ffffff;
padding-bottom: 1rem;
}
...
...
Please
register
or
login
to post a comment