2020-12-15 00:26:19 +01:00
|
|
|
<template>
|
|
|
|
<div class="uw-hover uv-hover-trigger-region">
|
|
|
|
TEST CONTENT
|
2020-12-16 00:19:20 +01:00
|
|
|
|
|
|
|
<div>
|
|
|
|
{{debugData}}
|
|
|
|
</div>
|
2020-12-15 00:26:19 +01:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
import { mapState } from 'vuex';
|
|
|
|
import Icon from '../common/components/Icon';
|
|
|
|
|
|
|
|
export default {
|
|
|
|
components: {
|
|
|
|
Icon,
|
|
|
|
},
|
|
|
|
data() {
|
|
|
|
return {
|
2020-12-16 00:19:02 +01:00
|
|
|
uiVisible: true,
|
|
|
|
debugData: {
|
|
|
|
resizer: {},
|
|
|
|
player: {},
|
|
|
|
}
|
2020-12-15 00:26:19 +01:00
|
|
|
};
|
|
|
|
},
|
|
|
|
computed: {
|
|
|
|
...mapState([
|
2020-12-16 00:19:02 +01:00
|
|
|
'showUi',
|
|
|
|
'resizerDebugData',
|
|
|
|
'playerDebugData'
|
2020-12-15 00:26:19 +01:00
|
|
|
]),
|
|
|
|
},
|
|
|
|
watch: {
|
|
|
|
showUi(visible) {
|
|
|
|
if (visible !== undefined) {
|
|
|
|
this.uiVisible = visible;
|
|
|
|
}
|
2020-12-16 00:19:02 +01:00
|
|
|
},
|
|
|
|
resizerDebugData(newData) {
|
|
|
|
this.debugData.resizer = newData;
|
|
|
|
},
|
|
|
|
playerDebugData(newData) {
|
|
|
|
this.debugData.player = newData;
|
2020-12-15 00:26:19 +01:00
|
|
|
}
|
|
|
|
},
|
|
|
|
created() {
|
|
|
|
console.log("created!");
|
|
|
|
console.log("store:", this.$store, this);
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss" src="../res/css/uwui-base.scss"></style>
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
@import '../res/css/uwui-base.scss';
|
|
|
|
@import '../res/css/colors.scss';
|
|
|
|
@import '../res/css/font/overpass.css';
|
|
|
|
@import '../res/css/font/overpass-mono.css';
|
|
|
|
@import '../res/css/common.scss';
|
|
|
|
|
|
|
|
.uw-ultrawidify-container-root {
|
|
|
|
.uw-hover {
|
|
|
|
position: absolute;
|
|
|
|
top: 20%;
|
|
|
|
left: 20%;
|
|
|
|
width: 100px;
|
|
|
|
height: 100px;
|
|
|
|
color: #fff;
|
|
|
|
background-color: #000;
|
|
|
|
}
|
|
|
|
.uw-hover:hover {
|
|
|
|
background-color: #f00;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
</style>
|