我如何自定义网格系统? [关闭]

问题描述 投票:0回答:1
我有一个布局dekstop,如该代码笔所示:

https://codepen.io/happyforever/pen/vYYoYNw?editors=1010

[如果在桌面上访问,则需要这样的布局,但是,如果在移动版本中访问,则希望标题为player的卡位于顶部。

我该怎么办?

vue.js vuejs2 grid vue-component vuetify.js
1个回答
1
投票
使用orderv-col道具...

Vue Codeply

<v-container> <v-row> <v-col cols="12" md="8" order="1" order-md="0" > .. </v-col> <v-col cols="12" md="4" order="0" order-md="1" > <v-card class="pa-2 mb-4" outlined tile > <p class="title">Player</p> ... </v-card> </v-col> </v-row> </v-container>

© www.soinside.com 2019 - 2024. All rights reserved.