-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
新增 cssConverter样式转换器,安装文档更新
- Loading branch information
Showing
47 changed files
with
839 additions
and
317 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
<template> | ||
<div class="phone dd"> | ||
<iframe :src="src" class="iframe"></iframe> | ||
</div> | ||
</template> | ||
|
||
<script setup> | ||
import { defineProps, computed } from 'vue'; | ||
console.log(); | ||
const props = defineProps({ | ||
name: { | ||
type: String, | ||
required: true | ||
} | ||
}) | ||
const src = computed(() => { | ||
const baseUrl = process.env.NODE_ENV === 'production' ? '' : "http://localhost:8080/#/pages/" | ||
return baseUrl + props.name | ||
}) | ||
</script> | ||
|
||
<style scoped> | ||
::-webkit-scrollbar{display:none} | ||
.phone { | ||
width: 320px; | ||
height: 568px; | ||
box-shadow: 0px 0px 10px -4px var(--color-lighter); | ||
border-radius: 2px; | ||
position: fixed; | ||
margin-top: 30px; | ||
top: var(--vp-nav-height); | ||
right: calc((100vw - var(--vp-layout-max-width)) / 2); | ||
transition: .2s; | ||
overflow: hidden; | ||
z-index: 11; | ||
} | ||
.phone:hover{ | ||
box-shadow: 0px 0px 10px -2px var(--color-lighter); | ||
} | ||
.iframe{ | ||
width: 333px; | ||
height: 568px; | ||
margin: 0; | ||
border-width: 0; | ||
background-color: #fff; | ||
} | ||
@media screen and (max-width: 1280px) { | ||
.phone{ | ||
display: none; | ||
} | ||
} | ||
@media screen and (min-width: 1280px) and (max-width: 1400px) { | ||
.phone{ | ||
right: 0; | ||
} | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
// eslint-disable-next-line import/prefer-default-export | ||
export { default as SupportTable } from './SupportTable.vue'; | ||
export { default as PhoneCom } from './PhoneCom.vue'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"svg.preview.background": "transparent" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<script> | ||
import HButton from '../../components/HButton/HButton.vue'; | ||
export default HButton; | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<script> | ||
import HTabItem from '../../components/HTabItem/HTabItem.vue'; | ||
export default HTabItem; | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<script> | ||
import HColumnTab from '../../components/HColumnTab/HColumnTab.vue'; | ||
export default HColumnTab; | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export { default as HButton } from './h-button/h-button.vue'; | ||
export { default as HColumnTab } from './h-column-tab/h-column-tab.vue'; |
12 changes: 1 addition & 11 deletions
12
...packages/components/h-button/h-button.vue → ...c/packages/components/HButton/HButton.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
outline: false | ||
--- | ||
|
||
<PhoneCom name="HButton"/> | ||
|
||
# Hbutton | ||
|
||
暂无 |
Oops, something went wrong.