//html模块 <div class="relicMapSearch"> <el-input v-model="input1" placeholder="请输入景点名称" id="input1"/> <el-select v-model="value" placeholder="西安市" id="select"> <el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value" ></el-option> </el-select> </div>
//改变el-input的宽高 .relicMapSearch /deep/ #input1 { width: pxToRem(310); height: pxToRem(40); min-height: pxToRem(40); position: relative; } //改变el-input的宽高 .relicMapSearch /deep/ #select { width: pxToRem(100); height: pxToRem(40); min-height: pxToRem(40); position: relative; }