|
@@ -170,11 +170,9 @@ export default {
|
170
|
170
|
}
|
171
|
171
|
},
|
172
|
172
|
created () {
|
173
|
|
- console.log(this.toolClass.UrlSearch(location.search))
|
174
|
|
- localStorage.setItem('code', this.toolClass.UrlSearch(location.search).code)
|
175
|
|
- this.code = localStorage.getItem('code')
|
|
173
|
+ this.code = this.toolClass.UrlSearch(location.search)
|
176
|
174
|
this.getUserInfo({ code: this.code, luckdrawid: this.lotteryId }).then((res) => {
|
177
|
|
- this.data.userInfo = this.userInfo
|
|
175
|
+ localStorage.setItem('userInfo', this.userInfo)
|
178
|
176
|
if (this.data.userInfo.record) {
|
179
|
177
|
this.winning = this.data.userInfo.record.PrizeName
|
180
|
178
|
this.showDialog = true
|
|
@@ -289,7 +287,7 @@ export default {
|
289
|
287
|
<style lang="scss" scoped>
|
290
|
288
|
@font-face {
|
291
|
289
|
font-family: myFont;
|
292
|
|
- src: url("../../assets/hkhb.ttf")
|
|
290
|
+ src: url("../../assets/hkhb.ttf");
|
293
|
291
|
}
|
294
|
292
|
@import "page.scss";
|
295
|
293
|
</style>
|