Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b3ef661
commit b9d0aa3
Showing
17 changed files
with
104 additions
and
44 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
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 |
---|---|---|
|
@@ -20,6 +20,7 @@ | |
|
||
<script> | ||
export default { | ||
name: 'bottomTab', | ||
data() { | ||
return { | ||
bottomNav: 'message' | ||
|
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 |
---|---|---|
|
@@ -77,6 +77,7 @@ | |
</template> | ||
<script> | ||
export default { | ||
name: 'friend', | ||
computed: { | ||
// 获取全部好友 | ||
friends() { | ||
|
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 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,46 @@ | ||
// 单组件加载 | ||
|
||
// 加载基础样式 | ||
import 'muse-components/styles/base.less' | ||
import appBar from 'muse-components/appBar' | ||
import avatar from 'muse-components/avatar' | ||
import badge from 'muse-components/badge' | ||
import * as bottomNav from 'muse-components/bottomNav' | ||
import flatButton from 'muse-components/flatButton' | ||
import iconButton from 'muse-components/iconButton' | ||
import chip from 'muse-components/chip' | ||
import drawer from 'muse-components/drawer' | ||
import icon from 'muse-components/icon' | ||
import * as list from 'muse-components/list' | ||
import textField from 'muse-components/textField' | ||
import * as tabs from 'muse-components/tabs' | ||
import divider from 'muse-components/divider' | ||
import subHeader from 'muse-components/subHeader' | ||
// 这个模块在项目官网上并没有看到,但是看到作者在issues上回答时说是高分辨率屏的处理,于是就试着加进去了 | ||
import {retina} from 'muse-components/utils' | ||
|
||
const components = { | ||
appBar, | ||
avatar, | ||
badge, | ||
...bottomNav, | ||
flatButton, | ||
iconButton, | ||
chip, | ||
drawer, | ||
icon, | ||
...list, | ||
textField, | ||
...tabs, | ||
divider, | ||
subHeader | ||
} | ||
|
||
export default { | ||
install (Vue) { | ||
Object.keys(components).forEach((key) => { | ||
Vue.component(components[key].name, components[key]) | ||
}) | ||
retina() | ||
} | ||
} |