生产、退货、报废、拆分入库木箱扫码优化

This commit is contained in:
2024-05-13 15:00:18 +08:00
parent c91121f6cc
commit 199bc7185e
6 changed files with 21 additions and 11 deletions

View File

@@ -1,11 +1,8 @@
<template>
<view class="search_wraper">
<view class="zd-row scan_wraper">
<slot></slot>
<view class="buttons_wraper">
<view class="iconfont icon_del" @tap="toDel">&#xe6dc;</view>
<view class="iconfont icon_scan" :class="{'icon_scan_active': focused === true}" @tap="toScan">&#xe6e2;</view>
<view class="iconfont icon_phone" @tap="toPhone">&#xe663;</view>
</view>
<uni-icons class="mgr20" type="clear" size="24" color="#666" @tap="toDel"></uni-icons>
<uni-icons type="scan" size="22" :color="focused ? '#D7592F' : '#666'" @tap="toScan"></uni-icons>
</view>
</template>
@@ -72,9 +69,13 @@
<style lang="stylus" scoped>
@import '../common/style/mixin.styl';
.search_wraper
.scan_wraper
position relative
_wh(100%, 80rpx)
border: 1px solid #dcdfe6;
background-color: #fff;
border-radius: 10rpx;
padding: 0 10rpx
.search_input
padding-right: 160rpx;
.buttons_wraper