| | |
| | | <template> |
| | | <div class="container" v-if="!showWelcome"> |
| | | <div class="container vindicate" v-if="!showWelcome"> |
| | | <div class="container-left"> |
| | | <div |
| | | class="left-card" |
| | |
| | | this.getLeftPer() |
| | | console.log(99999); |
| | | window.addEventListener("message",(e)=>{ |
| | | console.log(e); |
| | | console.log(999); |
| | | if(e.data.msg === 'changeColor') { |
| | | document.documentElement.style.setProperty('--colorCard',`${e.data.color}`) |
| | | } |
| | | }) |
| | | }, |
| | | methods: { |
| | |
| | | background-color: rgba(251, 251, 255, 0.1); |
| | | backdrop-filter: blur(4px); |
| | | float: left; |
| | | width: 46%; |
| | | width: 442px; |
| | | height: 190px; |
| | | margin: 0 15px; |
| | | margin-bottom: 30px; |
| | |
| | | overflow: auto; |
| | | box-sizing: border-box; |
| | | flex-shrink: 0; |
| | | padding: 17px 10px 0 10px; |
| | | padding: 13px 10px 0 10px; |
| | | box-sizing: border-box; |
| | | background: #fff; |
| | | border-top:2px solid #E1E0E6 ; |
| | | .left-card { |
| | | position: relative; |
| | | width: 224px; |
| | |
| | | } |
| | | |
| | | } |
| | | |
| | | .vindicate { |
| | | border-top:2px solid #E1E0E6 ; |
| | | } |
| | | </style> |
| | | |
| | | |