按鈕右邊顯示


父級設置 為 block ;

子級 用 float 浮動

  <h3 slot="title" class="category__header-title">
          <Icon type="ios-paper-outline" color="#2D8cF0" size="25"/>
             數據管理
            <div class="pull-right">
                    <Button type="primary" @click="handleSubmit('formInline')" >查詢</Button>
                    <Button @click="handleReset('formInline')" style="margin-left: 8px">重置 
                    </Button>
            </div>
  </h3>

  css

 .pull-right {
    float: right!important;
}
  .category__header-title {
    display: block;
  }

  效果顯示:


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM