🐞 fix:【ID1000658】:

新版内部商城加入购物车的客户搜索无效,
【ID1000661】:序号2,3,9,10,11,13,14,22,37,38,43
This commit is contained in:
Haiyi
2022-11-08 13:54:23 +08:00
parent 7eb3394cd8
commit 4198b9b548
33 changed files with 538 additions and 369 deletions
+2 -2
View File
@@ -205,7 +205,7 @@
// margin-right: 42px;
width: 108px;
height: 108px;
background: #322F2F;
// background: #322F2F;
border-radius: 8px;
}
@@ -272,7 +272,7 @@
// margin-right: 42px;
width: 108px;
height: 108px;
background: #322F2F;
// background: #322F2F;
border-radius: 8px;
}
+17 -3
View File
@@ -17,6 +17,7 @@ import Popup from '@/components/popup';
import UploadImage from '@/components/uploadImage'
import { alert } from '@/common/common';
import RefundCodelist from "@/components/RefundCodelist"
import LabAndImg from "@/components/LabAndImg"
export default () => {
//页面下拉刷新
usePullDownRefresh(() => {
@@ -50,7 +51,7 @@ export default () => {
if (it.leftTitle === '退货说明:') {
it.rightTitle = res.data.return_explain_name
}
if (it.leftTitle === '其他什么:') {
if (it.leftTitle === '其他说明:') {
it.rightTitle = res.data.reason_describe
}
if (it.leftTitle === '货物状况:') {
@@ -100,7 +101,7 @@ export default () => {
rightTitle: '------',
},
{
leftTitle: '其他什么:',
leftTitle: '其他说明:',
rightTitle: '------',
},
{
@@ -378,6 +379,10 @@ interface PropGoods {
}
const GoodsItem = memo((porps: PropGoods) => {
const { list = [], obj = {} } = porps
const labAndImgObj = useCallback((item) => {
return { lab: item.lab, rgb: item.rgb, texture_url: item.texture_url }
}, [])
return (
<>
{
@@ -389,7 +394,16 @@ const GoodsItem = memo((porps: PropGoods) => {
item.product_colors.map((it, inx) => {
return (
<View className={styles.itemGoods}>
<View className={styles.itemPic} style={{ backgroundColor: `rgb(${it?.rgb?.r} ${it?.rgb?.g} ${it?.rgb?.b})` }}></View>
{
it.texture_url === '' &&
<Image className={styles.itemPic} mode={'aspectFill'} src={'https://test.cdn.zzfzyc.com/mall/no_img.png'}></Image>
}
{
it.texture_url !== '' &&
<View className={styles.itemPic}>
<LabAndImg value={labAndImgObj(it)} />
</View>
}
<View className={styles.clear}> </View>
<View className={styles.itemRight}>
<View className={styles.item_right_top}>