核心代码是 getCookie()部分,控制弹框的显示隐藏则在 created()中。

Lorem ipsum dolor sit amet,consectetur adipisicing elit. At,atque ea eveniet laudantium magni,maiores nam nihil non numquam odio pariatur perferendis placeat quas quasi sit soluta,sunt ullam voluptatibus.