首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >化纤浆料不起作用

化纤浆料不起作用
EN

Stack Overflow用户
提问于 2018-06-05 02:40:09
回答 1查看 826关注 0票数 1

我一直试图使选择的一半大小的卡宽度,而不是全宽度。我一直在使用<v-flex xs-6>,但似乎不起作用。为什么这不管用?

代码语言:javascript
复制
 <v-content>
      <v-container fluid fill-height text-xs-center>
        <v-layout align-center justify-center>
          <v-flex xs6>
            <v-card class="elevation-12">
                <v-toolbar dark color="primary">
                    <v-toolbar-title>Title</v-toolbar-title>
                    <v-spacer></v-spacer>
                </v-toolbar>
                <v-card-text>
                    <v-form enctype="multipart/form-data">
                        <h4 align="left">Have you ever been arrested for driving under the influence of alcohol?</h4>
                        <v-radio-group v-model="q21" row>
                            <v-radio
                                label="False"
                                value="false"
                                color="red"
                            ></v-radio>
                            <v-radio
                                label="True"
                                value="true"
                                color="green"
                            ></v-radio>
                        </v-radio-group>
                        <v-flex xs-6>
                        <v-select
                            v-if="q21 == 'true'"
                            :items="items"
                            v-model="q21Yes"
                            label="How many times?"
                            class="input-group--focused"
                            item-value="text"
                        ></v-select>
                        </v-flex>
                        <h4 align="left">Have you ever been arrested, even for a few hours because of other behavior while drinking?</h4>
                        <v-radio-group v-model="q22" row>
                            <v-radio
                                label="False"
                                value="false"
                                color="red"
                            ></v-radio>
                            <v-radio
                                label="True"
                                value="true"
                                color="green"
                            ></v-radio>
                        </v-radio-group>
                        <v-flex xs-6>
                        <v-select
                            v-if="q22 == 'true'"
                            :items="items"
                            v-model="q22Yes"
                            label="How many times?"
                            class="input-group--focused"
                            item-value="text"
                        ></v-select>
                        </v-flex>
                    </v-form>
                </v-card-text>
                <v-card-actions>
                    <v-flex>
                        <v-btn @click="save()" color="primary">Submit</v-btn>
                    </v-flex>
                </v-card-actions>
            </v-card>
          </v-flex>
        </v-layout>
      </v-container>
    </v-content>
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2018-10-25 18:42:24

@Traxo的答案是正确的,我习惯于做xs-6,而它应该是xs6。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/50691246

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档