|
@@ -23,11 +23,20 @@ const tagclick = computed(() => store.getters["tag/tagClickType"]);
|
|
|
const emit = defineEmits(["close"]);
|
|
|
|
|
|
const goto_now = () => {
|
|
|
- emit("close");
|
|
|
|
|
|
- browser.openLink('/subPackage/pages/activity/activity?pageId='+tag.hotContent.couponLink,
|
|
|
- `https://m.cdfmembers.com/shop/600667208/showactivity?pageId=${tag.hotContent.couponLink}`,
|
|
|
- `/pages/showactivity/main?pageId=${tag.hotContent.couponLink}`)
|
|
|
+ let tag = {};
|
|
|
+
|
|
|
+ try {
|
|
|
+ tag = JSON.parse(tagclick.value.data.hotContent);
|
|
|
+ browser.openLink(
|
|
|
+ "/subPackage/pages/activity/activity?pageId=" + tag.couponLink,
|
|
|
+ `https://m.cdfmembers.com/shop/600667208/showactivity?pageId=${tag.couponLink}`,
|
|
|
+ `/pages/showactivity/main?pageId=${tag.couponLink}`
|
|
|
+ );
|
|
|
+ emit("close");
|
|
|
+ } catch (error) {
|
|
|
+ console.log(error);
|
|
|
+ }
|
|
|
};
|
|
|
</script>
|
|
|
|