-
Notifications
You must be signed in to change notification settings - Fork 10
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
41f658e
commit 2a7da51
Showing
21 changed files
with
760 additions
and
22 deletions.
There are no files selected for viewing
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,105 @@ | ||
<template> | ||
<div> | ||
<!-- 轮播图区域 --> | ||
<mt-swipe :auto="1000"> | ||
<mt-swipe-item v-for="item in bannerList" :key="item.url"> | ||
<img :src="item.img" alt=""> | ||
</mt-swipe-item> | ||
<mt-swipe-item>2</mt-swipe-item> | ||
<mt-swipe-item>3</mt-swipe-item> | ||
<mt-swipe-item>4</mt-swipe-item> | ||
<mt-swipe-item>5</mt-swipe-item> | ||
</mt-swipe> | ||
|
||
<!-- 九宫格改造为六宫格 --> | ||
<ul class="mui-table-view mui-grid-view mui-grid-9"> | ||
<li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3"><a href="#"> | ||
<img src="../../images/menu1(1).png" alt=""> | ||
<div class="mui-media-body">新闻资讯</div></a></li> | ||
<li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3"><a href="#"> | ||
<img src="../../images/menu2.png" alt=""> | ||
<div class="mui-media-body">图片分享</div></a></li> | ||
<li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3"><a href="#"> | ||
<img src="../../images/menu3.png" alt=""> | ||
<div class="mui-media-body">商品购买</div></a></li> | ||
<li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3"><a href="#"> | ||
<img src="../../images/menu4.png" alt=""> | ||
<div class="mui-media-body">留言反馈</div></a></li> | ||
<li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3"><a href="#"> | ||
<img src="../../images/menu5.png" alt=""> | ||
<div class="mui-media-body">视频专区</div></a></li> | ||
<li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3"><a href="#"> | ||
<img src="../../images/menu6.png" alt=""> | ||
<div class="mui-media-body">联系我们</div></a></li> | ||
</ul> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
import { Toast } from 'mint-ui' | ||
export default { | ||
data() { | ||
return { | ||
bannerList: [] | ||
} | ||
}, | ||
created() { | ||
this.getBanner() | ||
}, | ||
methods: { | ||
getBanner() { | ||
// 获取轮播图数据的方法 | ||
this.$http.get("http://vue.studyit.io/api/getlunbo").then(result => { | ||
if (result.body.status === 0) { | ||
this.bannerList = result.body.message | ||
} else { | ||
Toast('加载轮播图失败') | ||
} | ||
}) | ||
} | ||
} | ||
} | ||
</script> | ||
|
||
<style lang="scss" scoped> | ||
.mint-swipe { | ||
height: 200px; | ||
.mint-swipe-item { | ||
&:nth-child(1) { | ||
background-color: red; | ||
} | ||
&:nth-child(2) { | ||
background-color: yellow; | ||
} | ||
&:nth-child(3) { | ||
background-color: blue; | ||
} | ||
&:nth-child(4) { | ||
background-color: cyan; | ||
} | ||
&:nth-child(5) { | ||
background-color: pink; | ||
} | ||
img { | ||
width: 100%; | ||
height: 100%; | ||
} | ||
} | ||
} | ||
.mui-grid-view.mui-grid-9 { | ||
background-color: #fff; | ||
border: none; | ||
img { | ||
width: 60px; | ||
height: 60px; | ||
} | ||
.mui-media-body{ | ||
font-size: 13px; | ||
} | ||
} | ||
.mui-grid-view.mui-grid-9 .mui-table-view-cell { | ||
border: 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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<template> | ||
<div> | ||
<h3>MemberContainer</h3> | ||
</div> | ||
</template> | ||
|
||
<script></script> | ||
|
||
<style lang="scss" scoped></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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<template> | ||
<div> | ||
<h3>SearchContainer</h3> | ||
</div> | ||
</template> | ||
|
||
<script></script> | ||
|
||
<style lang="scss" scoped></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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<template> | ||
<div> | ||
<h3>ShopcarContainer</h3> | ||
</div> | ||
</template> | ||
|
||
<script></script> | ||
|
||
<style lang="scss" scoped></style> |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,63 @@ | ||
@font-face { | ||
font-family: MuiiconSpread; | ||
font-weight: normal; | ||
font-style: normal; | ||
src: url('../fonts/mui-icons-extra.ttf') format('truetype'); /* iOS 4.1- */ | ||
} | ||
.mui-icon-extra | ||
{ | ||
font-family: MuiiconSpread; | ||
font-size: 24px; | ||
font-weight: normal; | ||
font-style: normal; | ||
line-height: 1; | ||
display: inline-block; | ||
text-decoration: none; | ||
-webkit-font-smoothing: antialiased; | ||
} | ||
.mui-icon-extra-cold:before { content: "\e500"; } | ||
.mui-icon-extra-share:before { content: "\e200"; } | ||
.mui-icon-extra-class:before { content: "\e118"; } | ||
.mui-icon-extra-custom:before { content: "\e117"; } | ||
.mui-icon-extra-new:before { content: "\e103"; } | ||
.mui-icon-extra-card:before { content: "\e104"; } | ||
.mui-icon-extra-grech:before { content: "\e105"; } | ||
.mui-icon-extra-trend:before { content: "\e106"; } | ||
.mui-icon-extra-filter:before { content: "\e207"; } | ||
.mui-icon-extra-holiday:before { content: "\e300"; } | ||
.mui-icon-extra-cart:before { content: "\e107"; } | ||
.mui-icon-extra-heart:before { content: "\e180"; } | ||
.mui-icon-extra-computer:before { content: "\e600"; } | ||
.mui-icon-extra-express:before { content: "\e108"; } | ||
.mui-icon-extra-gift:before { content: "\e109"; } | ||
.mui-icon-extra-gold:before { content: "\e102"; } | ||
.mui-icon-extra-lamp:before { content: "\e601"; } | ||
.mui-icon-extra-rank:before { content: "\e110"; } | ||
.mui-icon-extra-notice:before { content: "\e111"; } | ||
.mui-icon-extra-sweep:before { content: "\e202"; } | ||
.mui-icon-extra-arrowleftcricle:before { content: "\e401"; } | ||
.mui-icon-extra-dictionary:before { content: "\e602"; } | ||
.mui-icon-extra-heart-filled:before { content: "\e119"; } | ||
.mui-icon-extra-xiaoshuo:before { content: "\e607"; } | ||
.mui-icon-extra-top:before { content: "\e403"; } | ||
.mui-icon-extra-people:before { content: "\e203"; } | ||
.mui-icon-extra-topic:before { content: "\e603"; } | ||
.mui-icon-extra-hotel:before { content: "\e301"; } | ||
.mui-icon-extra-like:before { content: "\e206"; } | ||
.mui-icon-extra-regist:before { content: "\e201"; } | ||
.mui-icon-extra-order:before { content: "\e113"; } | ||
.mui-icon-extra-alipay:before { content: "\e114"; } | ||
.mui-icon-extra-find:before { content: "\e400"; } | ||
.mui-icon-extra-arrowrightcricle:before { content: "\e402"; } | ||
.mui-icon-extra-calendar:before { content: "\e115"; } | ||
.mui-icon-extra-prech:before { content: "\e116"; } | ||
.mui-icon-extra-cate:before { content: "\e501"; } | ||
.mui-icon-extra-comment:before { content: "\e209"; } | ||
.mui-icon-extra-at:before { content: "\e208"; } | ||
.mui-icon-extra-addpeople:before { content: "\e204"; } | ||
.mui-icon-extra-peoples:before { content: "\e205"; } | ||
.mui-icon-extra-calc:before { content: "\e101"; } | ||
.mui-icon-extra-classroom:before { content: "\e604"; } | ||
.mui-icon-extra-phone:before { content: "\e404"; } | ||
.mui-icon-extra-university:before { content: "\e605"; } | ||
.mui-icon-extra-outline:before { content: "\e606"; } |
Binary file not shown.
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
Binary file not shown.
Binary file not shown.