mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-06 17:36:45 +08:00
热点论坛页面实现
This commit is contained in:
@@ -80,6 +80,15 @@
|
|||||||
{"path" : "pages/study/videoTest","style" : {"navigationBarTitleText": "视频频测试"}},
|
{"path" : "pages/study/videoTest","style" : {"navigationBarTitleText": "视频频测试"}},
|
||||||
{"path" : "pages/lecturer/certification/list","style" : {"navigationBarTitleText": "讲师信息"}},
|
{"path" : "pages/lecturer/certification/list","style" : {"navigationBarTitleText": "讲师信息"}},
|
||||||
{"path" : "pages/lecturer/certification/info","style" : {"navigationBarTitleText": "讲师信息"}}
|
{"path" : "pages/lecturer/certification/info","style" : {"navigationBarTitleText": "讲师信息"}}
|
||||||
|
,{
|
||||||
|
"path" : "pages/hotforum/index",
|
||||||
|
"style" :
|
||||||
|
{
|
||||||
|
"navigationBarTitleText": "",
|
||||||
|
"enablePullDownRefresh": false
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
],
|
],
|
||||||
"globalStyle": {
|
"globalStyle": {
|
||||||
"navigationBarTextStyle": "black",
|
"navigationBarTextStyle": "black",
|
||||||
|
|||||||
51
pages/hotforum/index.vue
Normal file
51
pages/hotforum/index.vue
Normal file
@@ -0,0 +1,51 @@
|
|||||||
|
<template>
|
||||||
|
<view class="hotforum">
|
||||||
|
<view class="tem">
|
||||||
|
<view class="item" v-for="item,i in imgData" :key="i">
|
||||||
|
<image class="img" :src="require(`../../static/images/hotforum/${item}.png`)" mode=""></image>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
imgData:['one','two','one','two'],
|
||||||
|
}
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss" scoped>
|
||||||
|
.hotforum{
|
||||||
|
width: 100%;
|
||||||
|
min-height: 100vh;
|
||||||
|
background: url('../../static/images/hotforum/back.jpg') no-repeat;
|
||||||
|
background-size: 100%;
|
||||||
|
.tem{
|
||||||
|
padding-top: 248rpx;
|
||||||
|
padding-bottom: 106rpx;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
flex-direction: column;
|
||||||
|
.item{
|
||||||
|
background: url('../../static/images/hotforum/border.png') no-repeat;
|
||||||
|
background-size: 100%;
|
||||||
|
width: 683rpx;
|
||||||
|
height: 422rpx;
|
||||||
|
margin-top: -28rpx;
|
||||||
|
.img{
|
||||||
|
width: 650rpx;
|
||||||
|
height: 318rpx;
|
||||||
|
margin-top: 84rpx;
|
||||||
|
margin-left: 15rpx;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
BIN
static/images/hotforum/back.jpg
Normal file
BIN
static/images/hotforum/back.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 434 KiB |
BIN
static/images/hotforum/border.png
Normal file
BIN
static/images/hotforum/border.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 35 KiB |
BIN
static/images/hotforum/one.png
Normal file
BIN
static/images/hotforum/one.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 333 KiB |
BIN
static/images/hotforum/two.png
Normal file
BIN
static/images/hotforum/two.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 344 KiB |
Reference in New Issue
Block a user