Skip to content

Commit

Permalink
Merge pull request #14 from beclab/feat-theme-dark
Browse files Browse the repository at this point in the history
fix: Iframe add loading of dark
  • Loading branch information
wushuangs authored Jun 14, 2024
2 parents 67ebe2c + 0f596e3 commit b5d4e29
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions packages/frontend/src/components/BasicWindow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -108,14 +108,15 @@
textColor="#4999ff"
color="#4999ff"
text=""
backgroundColor="#ffffff"
:backgroundColor="$q.dark.isActive ? 'rgba(31, 31, 31, 1)' : '#ffffff'"
>
</BtLoading>
</VueDragResize>
</template>

<script lang="ts">
import { ref, defineComponent, onMounted, nextTick } from 'vue';
import { useQuasar } from 'quasar';
interface WindowRect {
left: number;
Expand Down Expand Up @@ -163,6 +164,7 @@ export default defineComponent({
const dragRef = ref();
const isFull = ref(false);
const clickNew = ref(false);
const $q = useQuasar();
const app_icon: string = value.value.icon;
Expand Down Expand Up @@ -287,6 +289,7 @@ export default defineComponent({
});
return {
$q,
value,
isActive,
isDrag,
Expand Down Expand Up @@ -340,7 +343,7 @@ export default defineComponent({
}
</style>

<style lang="scss" scoped>
<style lang="scss">
.iframe-box {
box-shadow: 0 1px 5px rgb(0 0 0 / 20%), 0 2px 2px rgb(0 0 0 / 14%),
0 3px 1px -2px rgb(0 0 0 / 12%);
Expand Down

0 comments on commit b5d4e29

Please sign in to comment.