🐞 fix(ID1001426): 【电子商城】-功能{标签功能}:标签缺失
【【电子商城】-功能{标签功能}:标签缺失】 https://www.tapd.cn/53459131/bugtrace/bugs/view/1153459131001001426
This commit is contained in:
parent
a1c42c16aa
commit
97a5f22c2b
@ -1,11 +1,11 @@
|
|||||||
export const BASE_URL = CURRENT_BASE_URL
|
// export const BASE_URL = CURRENT_BASE_URL
|
||||||
// export const BASE_URL = `http://192.168.0.75:50001/lymarket`
|
// export const BASE_URL = `http://192.168.0.75:50001/lymarket`
|
||||||
// export const BASE_URL = `http://192.168.0.89:50001/lymarket`
|
// export const BASE_URL = `http://192.168.0.89:50001/lymarket`
|
||||||
// export const BASE_URL = `http://10.0.0.5:50001/lymarket`
|
// export const BASE_URL = `http://10.0.0.5:50001/lymarket`
|
||||||
// export const BASE_URL = `http://192.168.0.89:40001/lymarket`
|
// export const BASE_URL = `http://192.168.0.89:40001/lymarket`
|
||||||
// export const BASE_URL = `http://192.168.1.165:40001/lymarket` // 王霞
|
// export const BASE_URL = `http://192.168.1.165:40001/lymarket` // 王霞
|
||||||
// export const BASE_URL = 'https://test.zzfzyc.com/lymarket' // 测试环境
|
// export const BASE_URL = 'https://test.zzfzyc.com/lymarket' // 测试环境
|
||||||
// export const BASE_URL = 'https://pre.zzfzyc.com/lymarket' // 预发布
|
export const BASE_URL = 'https://pre.zzfzyc.com/lymarket' // 预发布
|
||||||
// export const BASE_URL = `http://192.168.1.9:40001/lymarket` // 发
|
// export const BASE_URL = `http://192.168.1.9:40001/lymarket` // 发
|
||||||
// export const BASE_URL = `http://192.168.1.9:50005/lymarket` // 发
|
// export const BASE_URL = `http://192.168.1.9:50005/lymarket` // 发
|
||||||
// export const BASE_URL = `http://192.168.1.30:50001/lymarket` // 发
|
// export const BASE_URL = `http://192.168.1.30:50001/lymarket` // 发
|
||||||
|
|||||||
@ -54,6 +54,7 @@
|
|||||||
font-size: $font_size;
|
font-size: $font_size;
|
||||||
color: #707070;
|
color: #707070;
|
||||||
@include common_ellipsis;
|
@include common_ellipsis;
|
||||||
|
font-weight: 400;
|
||||||
text {
|
text {
|
||||||
color: $color_font_one;
|
color: $color_font_one;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
|
|||||||
@ -40,7 +40,7 @@ const Product = ({ desStatus = true, productList = [] }: Params) => {
|
|||||||
<Tag customClassName={styles.tag_g} type="primary" size="small" circle>{item.weight_density}</Tag>
|
<Tag customClassName={styles.tag_g} type="primary" size="small" circle>{item.weight_density}</Tag>
|
||||||
</View>
|
</View>
|
||||||
<View className={styles.des}>
|
<View className={styles.des}>
|
||||||
染色;67.19%棉 28%涤纶 染色;67.19%棉 28%涤纶
|
{item.component}
|
||||||
</View>
|
</View>
|
||||||
<View className={styles.bottom}>
|
<View className={styles.bottom}>
|
||||||
<View className={styles.header_con}>
|
<View className={styles.header_con}>
|
||||||
|
|||||||
@ -27,12 +27,11 @@ const GuessULikeList = (props: PropsType) => {
|
|||||||
<View className={styles.item_img}>
|
<View className={styles.item_img}>
|
||||||
<LabAndImg value={labAndImgObj(item)} />
|
<LabAndImg value={labAndImgObj(item)} />
|
||||||
<View className={styles.num}>{item.product_color_count}色</View>
|
<View className={styles.num}>{item.product_color_count}色</View>
|
||||||
{item.is_favorite && <IconFont customClassName={styles.collection_icon} name="icon-shoucang1" size={40} />}
|
|
||||||
</View>
|
</View>
|
||||||
<View className={styles.item_con}>
|
<View className={styles.item_con}>
|
||||||
<View className={styles.title}>
|
<View className={styles.title}>
|
||||||
<View className={styles.title_text}>
|
<View className={styles.title_text}>
|
||||||
<Text className={styles.title_text_code}>{formatRemoveHashTag(item.code)}</Text>{item.name}
|
<Text className={styles.title_text_code}>{formatHashTag(item.code, '')}</Text>{item.name}
|
||||||
</View>
|
</View>
|
||||||
<View className={styles.favorite}>
|
<View className={styles.favorite}>
|
||||||
{item.is_favorite && <IconFont customClassName={styles.collection_icon} name="icon-shoucang1" size={40} />}
|
{item.is_favorite && <IconFont customClassName={styles.collection_icon} name="icon-shoucang1" size={40} />}
|
||||||
|
|||||||
@ -73,7 +73,7 @@ export default () => {
|
|||||||
if (materialList.list.length < materialList.total) {
|
if (materialList.list.length < materialList.total) {
|
||||||
pageNum.current.page++
|
pageNum.current.page++
|
||||||
const size = pageNum.current.size * pageNum.current.page
|
const size = pageNum.current.size * pageNum.current.page
|
||||||
setSearchField({ ...searchField, size })
|
setSearchField(prev => ({ ...prev, size }))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -175,6 +175,15 @@ export default () => {
|
|||||||
}))
|
}))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 列表下拉刷新
|
||||||
|
const [refresherTriggeredStatus, setRefresherTriggeredStatus] = useState(false)
|
||||||
|
const getRefresherRefresh = async() => {
|
||||||
|
pageNum.current.page = 1
|
||||||
|
pageNum.current.size = 10
|
||||||
|
setRefresherTriggeredStatus(true)
|
||||||
|
setSearchField(val => ({ ...val, size: 10 }))
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<View className={styles.main}>
|
<View className={styles.main}>
|
||||||
<View className={styles.search}>
|
<View className={styles.search}>
|
||||||
@ -206,7 +215,7 @@ export default () => {
|
|||||||
</View>
|
</View>
|
||||||
<View className={styles.list}>
|
<View className={styles.list}>
|
||||||
<View className={styles.scroll}>
|
<View className={styles.scroll}>
|
||||||
<InfiniteScroll safeAreaInsetBottom={false} selfonScrollToLower={getScrolltolower} statusMore={statusMore}>
|
<InfiniteScroll refresherEnabled selfOnRefresherRefresh={getRefresherRefresh} refresherTriggered={refresherTriggeredStatus} safeAreaInsetBottom={false} selfonScrollToLower={getScrolltolower} statusMore={statusMore}>
|
||||||
<View className={styles.product_list}>
|
<View className={styles.product_list}>
|
||||||
{materialList.list?.map((item) => {
|
{materialList.list?.map((item) => {
|
||||||
return (
|
return (
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user