diff --git a/pages/hotforum/index.vue b/pages/hotforum/index.vue index 1ad14e9..0d66fa8 100644 --- a/pages/hotforum/index.vue +++ b/pages/hotforum/index.vue @@ -2,8 +2,9 @@ - + + @@ -12,11 +13,23 @@ export default { data() { return { - imgData:['one','two','one','two'], + imgData:[ + {img:'1',url:'1265897142383042560'}, + {img:'2',url:'1265697724606210048'}, + {img:'3',url:''}, + {img:'4',url:''}, + ], } }, methods: { - + goLearn(item){ + if(item){ + // uni.navigateTo({ + // url: '/pages/study/courseStudy?id=' + item + // }) + window.open(`https://u.boe.com/mobile/pages/study/courseStudy?id=${item}`) + } + } } } @@ -25,7 +38,7 @@ .hotforum{ width: 100%; min-height: 100vh; - background: url('../../static/images/hotforum/back.jpg') no-repeat; + background: url('../../static/images/hotforum/back.png') no-repeat; background-size: 100%; .tem{ padding-top: 248rpx; diff --git a/static/images/hotforum/1.png b/static/images/hotforum/1.png new file mode 100644 index 0000000..af359a5 Binary files /dev/null and b/static/images/hotforum/1.png differ diff --git a/static/images/hotforum/2.png b/static/images/hotforum/2.png new file mode 100644 index 0000000..3e613b7 Binary files /dev/null and b/static/images/hotforum/2.png differ diff --git a/static/images/hotforum/3.png b/static/images/hotforum/3.png new file mode 100644 index 0000000..912b4db Binary files /dev/null and b/static/images/hotforum/3.png differ diff --git a/static/images/hotforum/4.png b/static/images/hotforum/4.png new file mode 100644 index 0000000..8fe8336 Binary files /dev/null and b/static/images/hotforum/4.png differ diff --git a/static/images/hotforum/back.png b/static/images/hotforum/back.png new file mode 100644 index 0000000..7ea5a8b Binary files /dev/null and b/static/images/hotforum/back.png differ diff --git a/static/images/hotforum/foot.png b/static/images/hotforum/foot.png new file mode 100644 index 0000000..ff847d1 Binary files /dev/null and b/static/images/hotforum/foot.png differ diff --git a/static/images/hotforum/背景框.png b/static/images/hotforum/背景框.png new file mode 100644 index 0000000..54032e3 Binary files /dev/null and b/static/images/hotforum/背景框.png differ