筛选完成

This commit is contained in:
2022-05-17 20:31:53 +08:00
parent 754b3330a9
commit d639f2b23b
22 changed files with 458 additions and 182 deletions
+3 -3
View File
@@ -11,6 +11,7 @@ import { alert, goLink } from "@/common/common";
import {GetShoppingCartApi, DelShoppingCartApi} from "@/api/shopCart"
import { formatHashTag, formatImgUrl, formatPriceDiv } from "@/common/fotmat";
import { setParam } from "@/common/system";
import { debounce } from "@/common/util";
type param = {
show?: true|false,
@@ -194,7 +195,7 @@ export default ({show = false, onClose}: param) => {
},[list])
//去结算
const orderDetail = () => {
const orderDetail = debounce(() => {
getSelectId()
if(selectIds.current.length == 0) {
alert.error('请选择面料')
@@ -203,8 +204,7 @@ export default ({show = false, onClose}: param) => {
setParam({ids, sale_mode:selectIndex})
goLink('/pages/order/comfirm')
}
}
}, 500)
return (
<View className={styles.shop_cart_main}>