Skip to content

Commit

Permalink
设置响应式布局
Browse files Browse the repository at this point in the history
Signed-off-by: exploit <eitsxiaozhai@gmail.com>
  • Loading branch information
EITSxiaozhai committed Aug 20, 2024
1 parent 50785cf commit 654b87d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 13 additions & 10 deletions blogvuets/src/views/BlogDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -479,9 +479,10 @@ const redirectToUserProfile = () => {
</el-card>
</div>


<el-container class="affix-container">
<el-aside>
<el-row>
<el-container class="affix-container">
<el-col :xs="0" :sm="0" :md="4" :lg="6" :xl="5">
<el-aside class="hidden-md-and-down">
<el-affix target=".affix-container" :offset="270">
<el-card style="height: 30vh">
<el-steps
Expand Down Expand Up @@ -509,11 +510,12 @@ const redirectToUserProfile = () => {
/>
</el-card>
</el-affix>
</el-aside>


</el-aside>
</el-col>

<el-main>
<el-col :xs="24" :sm="24" :md="24" :lg="18" :xl="19">
<el-main>
<el-card style="margin-top: 20px;padding-bottom: 10%" v-if="!isLoading">
<div v-for="(item, index) in data.data" :key="index" class="text item">
<div>
Expand All @@ -532,10 +534,11 @@ const redirectToUserProfile = () => {
</u-comment>
</el-card>
</div>
</el-main>

<el-backtop/>
</el-container>
</el-main>
</el-col>
<el-backtop/>
</el-container>
</el-row>
</template>


Expand Down

0 comments on commit 654b87d

Please sign in to comment.