Commit eccb651a authored by 张娇(东信)'s avatar 张娇(东信)

跳转详情页

parent 82b55e74
...@@ -147,7 +147,6 @@ function toSettle() { ...@@ -147,7 +147,6 @@ function toSettle() {
}); });
} else { } else {
const basketIds = selected.map((item) => item.basket.basketId).join(','); const basketIds = selected.map((item) => item.basket.basketId).join(',');
console.log('Basket IDs:', basketIds);
// TODO: 跳转到结算页面 // TODO: 跳转到结算页面
xma.navigateTo({ xma.navigateTo({
url: `/pages/assistingAgriculture/cart/ConfirmOrder?ids=${basketIds}`, url: `/pages/assistingAgriculture/cart/ConfirmOrder?ids=${basketIds}`,
......
...@@ -186,7 +186,6 @@ const choice = (index, item) => { ...@@ -186,7 +186,6 @@ const choice = (index, item) => {
testData.value.forEach((item) => { testData.value.forEach((item) => {
item.imgUrl = import.meta.env.VITE_APP_IMG_URL + item.pic; item.imgUrl = import.meta.env.VITE_APP_IMG_URL + item.pic;
whh.value = getSlashValue(item.content); whh.value = getSlashValue(item.content);
console.log(whh.value, 333);
}); });
light.value = index; light.value = index;
}; };
......
...@@ -103,7 +103,6 @@ const getPresaleCategoryList = () => { ...@@ -103,7 +103,6 @@ const getPresaleCategoryList = () => {
// 预售板块轮播图 // 预售板块轮播图
const getPresale = () => { const getPresale = () => {
getPresaleList({ place: 'index_top' }).then((res) => { getPresaleList({ place: 'index_top' }).then((res) => {
console.log(res, 111);
res.data.forEach((item) => { res.data.forEach((item) => {
item.imgUrl = import.meta.env.VITE_APP_IMG_URL + item.imgUrl; item.imgUrl = import.meta.env.VITE_APP_IMG_URL + item.imgUrl;
}); });
......
...@@ -154,7 +154,6 @@ onMounted(async () => { ...@@ -154,7 +154,6 @@ onMounted(async () => {
// 预售板块轮播图 // 预售板块轮播图
const getPresale = () => { const getPresale = () => {
getPresaleList({ place: 'presale' }).then((res) => { getPresaleList({ place: 'presale' }).then((res) => {
console.log(res, 111);
res.data.forEach((item) => { res.data.forEach((item) => {
item.imgUrl = import.meta.env.VITE_APP_IMG_URL + item.imgUrl; item.imgUrl = import.meta.env.VITE_APP_IMG_URL + item.imgUrl;
}); });
...@@ -234,9 +233,6 @@ function toDetail(item) { ...@@ -234,9 +233,6 @@ function toDetail(item) {
url: `/pages/assistingAgriculture/detail/detail?prodId=${item.prodId}`, url: `/pages/assistingAgriculture/detail/detail?prodId=${item.prodId}`,
}); });
} }
function toTab(item) {
console.log(item, 222);
}
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment