|
@@ -1154,6 +1154,7 @@
|
|
|
|
|
|
<!-- adv_29 start-->
|
|
<!-- adv_29 start-->
|
|
<div
|
|
<div
|
|
|
|
+ id="EnquiryWrap"
|
|
class="w_sld_react_1210 adv_29_wrap"
|
|
class="w_sld_react_1210 adv_29_wrap"
|
|
v-if="item.json_data && item.json_data.type == 'adv_29'"
|
|
v-if="item.json_data && item.json_data.type == 'adv_29'"
|
|
:style="{
|
|
:style="{
|
|
@@ -1361,6 +1362,17 @@ const goGoodsListByCatId = (val,name) => {
|
|
const adv19Tab = (dataId, index, key, items) => {
|
|
const adv19Tab = (dataId, index, key, items) => {
|
|
items.cur_tab = key;
|
|
items.cur_tab = key;
|
|
};
|
|
};
|
|
|
|
+
|
|
|
|
+onMounted(() => {
|
|
|
|
+ // 是否锚点跳转到询盘区块
|
|
|
|
+ const EnquiryCache = localStorage.getItem("quotations") ?? "";
|
|
|
|
+ if (EnquiryCache) {
|
|
|
|
+ document.getElementById('EnquiryWrap')?.scrollIntoView({ behavior: 'smooth' });
|
|
|
|
+ setTimeout(() => {
|
|
|
|
+ localStorage.removeItem('quotations')
|
|
|
|
+ }, 1000)
|
|
|
|
+ }
|
|
|
|
+})
|
|
</script>
|
|
</script>
|
|
<style lang="scss" scoped>
|
|
<style lang="scss" scoped>
|
|
@import "@/assets/style/decorate.scss";
|
|
@import "@/assets/style/decorate.scss";
|