quasar+vue按钮切换单选效果代码

代码语言:html

所属分类:其他

代码描述:quasar+vue按钮切换单选效果代码

代码标签: quasar vue 按钮 切换 单选

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>
<html lang="en" >

<head>
 
<meta charset="UTF-8">
 
 
 
<link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900|Material+Icons'>
<link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/quasar.prod.css">
 
<style>
   
.my-custom-toggle{

 
border: 1px solid #027be3
}

</style>
</head>

<body>
<!--
  Forked from:
  http://www.quasarchs.com/vue-components/button-toggle#example--some-design-examples
-->

<div id="q-app" style="min-height: 100vh;">
 
<div class="q-pa-md q-gutter-md">
   
<div>
     
<q-btn-toggle
       
v-model="model"
       
push
       
glossy
       
toggle-color="primary"
        :
options="[
          {label: 'One', value: 'one'},
          {label: 'Two', value: 'two'},
          {label: 'Three', value: 'three'}
        ]"

     
></q-btn-toggle>
   
</div>

   
<div>
      <q-btn-toggle
        v-model.........完整代码请登录后点击上方下载按钮下载查看

网友评论0