<!– 底部 弹出层开始–>
<uni-popup :show=”showPopupBottom” :type=”popType” @hidePopup=”hidePopup”>
<view class=”popupItem”>
<view class=”popupTitle”>扫描巡检设施</view>
<view class=”popupInput”>
<input :focus=”showPopupBottom” placeholder=”请扫描或输入设施编号” @input=”btnDown” style=”background-color: #F1F1F1;margin: 0 5upx;” v-model=”facilityNo”/>
</view>
<view class=”btnPopup”>
<button type=”default” @click=”btnCancel”>取消</button>
<button type=”warn” @click=”btnConfirm”>确定</button>
</view>
</view>
</uni-popup>
data() {
return {
name: “”,
technology: “技术部”,
date: “”,
time: “”,
spell: “”,
list: [],
showPopupBottom: false,
}
}
// 点击扫描弹框
btnScan(index) {
this.showPopupBottom = true
this.index = index
},