极汇代码片段

38次阅读

共计 896 个字符,预计需要花费 3 分钟才能阅读完成。

1 小控件类

小按钮

<el-button type="danger" @click="submit_add('add_from')" > 黑色按钮 </el-button>
<el-button type="primary" @click="resetForm('add_from')"> 橙色按钮 </el-button>
<el-button type="info" @click="resetCalendarBtn()" > 灰色按钮 </el-button>

复合型按钮

<div name="搜索组合按钮">
         <el-input class="combination" placeholder="请输入内容" id="search-text" prefix-icon="el-icon-search" v-    model.trim="keyword" style="width:250px"></el-input>
         <el-button type="danger" class="combination" @click="search_click()"> 搜索 </el-button>
</div>
<div name="3 组合按钮">
     <el-input prefix-icon="el-icon-search" placeholder="请输入内容" v-model="search_text" class="input-with-select" >
         <el-select v-model="search_type" slot="prepend" placeholder="请选择" style="width: 120px">
              <el-option label="条形码" value="2"></el-option>
              <el-option label="商品名称" value="1"></el-option>
              <el-option label="商品货号" value="3"></el-option>
          </el-select>
         <el-button slot="append" type="primary" id="searchBtn"> 搜索 </el-button>
     </el-input>
</div>

正文完
 0