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">
  

</head>

<body>
<!--
  Forked from:
  http://www.quasarchs.com/vue-components/floating-action-button#example--expandable
-->
<div id="q-app" style="min-height: 100vh;">
  <div class="q-px-sm q-py-lg">
    <div class="column items-center" style="margin-top: 100px; margin-bottom: 100px;">
      <q-fab color="purple" icon="keyboard_arrow_up" direction="up">
        <q-fab-action color="primary" @click="onClick" icon="mail"></q-fab-action>
        <q-fab-action color="secondary" @click="onClick" icon="alarm"></q-fab-action>
      </q-fab>

      <br>

      <q-fab color="amber" text-color="black" icon="keyboard_arrow_left" direction="left">
        <q-fab-action color="amber" text-color="black" @click="onClick" icon="mail"></q-fab-action>
        <q-fab-action color="amber" text-color="black" @click="onClick" icon="alarm"></q-fab-action>
      </q-fab>

      <br>

      <q-fab color="secondary" push icon="keyboard_arrow_right" direction="right">
        <q-fab-action color="primary" @click="onClick" icon="mail"></q-fab-action>
        <q-fab-action color="accent" @click="onClick" icon="alarm"></q-fab-action>
      </q-fab>

      <br>

      <q-fab color="accent" glossy icon="keyboard_arrow_down" direction="down">
        <q-fab-action color="amber" text-color="black" @click="onClick" icon="mail"></q-fab-action>
        <q-fab-action color="amber" text-color="black" @click="onClick" icon="al.........完整代码请登录后点击上方下载按钮下载查看

网友评论0