✨ feat:修改确认订单选择后无法渲染的问题,顶input框的高度问题

This commit is contained in:
Haiyi
2022-09-29 15:22:39 +08:00
parent 6b59d688db
commit 232d372796
19 changed files with 101 additions and 104 deletions
@@ -8,8 +8,8 @@
.pic {
width: 322px;
height: 322px;
background: #D8D8D8;
opacity: 0.3;
background: #fff;
// opacity: 0.3;
margin-bottom: 24px;
}
+6 -6
View File
@@ -269,18 +269,18 @@ export default memo(() => {
//输入框失焦
const onBlur = (e, id) => {
goodList.map((item) => {
goodList.map(item => {
if (item.id == id) {
if (search.modeId == 0 && (e.detail.value == '' || Number(e.detail.value) == 0)) {
item.nums = 1
item.showInput = false
} else {
item.nums = 1
} else if (search.modeId == 0 && (e.detail.value != '' || Number(e.detail.value) > 0)) {
item.nums = e.detail.value
}
if (search.modeId == 1 && Number(e.detail.value) < 0.5) {
item.nums = 0.5
item.showInput = false
} else {
} else if (search.modeId == 1 && Number(e.detail.value) >= 0.5) {
item.nums = e.detail.value
}
if (search.modeId == 2) {
@@ -334,7 +334,7 @@ export default memo(() => {
</View>
}
{
!histroyList.length && <Empty picUrl='' fonst={'无搜索历史'}></Empty>
!histroyList.length && <Empty picUrl='https://cdn.zzfzyc.com/empty.png' fonst={'无搜索历史'}></Empty>
}
</>
}
@@ -354,7 +354,7 @@ export default memo(() => {
})
}
{
!searchList.length && <Empty picUrl='' fonst={'暂无数据'}></Empty>
!searchList.length && <Empty picUrl='https://cdn.zzfzyc.com/empty.png' fonst={'暂无数据'}></Empty>
}
</>
}