修改首页布局
This commit is contained in:
@@ -256,7 +256,10 @@
|
||||
onShow() {
|
||||
// 隐藏原生的tabbar
|
||||
uni.hideTabBar();
|
||||
|
||||
// #ifdef APP-PLUS
|
||||
plus.screen.unlockOrientation();
|
||||
plus.screen.lockOrientation("portrait-primary");
|
||||
// #endif
|
||||
},
|
||||
onReachBottom() {
|
||||
console.log('触底');
|
||||
|
||||
@@ -204,8 +204,10 @@
|
||||
onShow() {
|
||||
// 隐藏原生的tabbar
|
||||
uni.hideTabBar();
|
||||
// #ifdef APP-PLUS
|
||||
plus.screen.unlockOrientation();
|
||||
plus.screen.lockOrientation("portrait-primary");
|
||||
// #endif
|
||||
this.getData(this.courseId)
|
||||
},
|
||||
onReachBottom() {
|
||||
|
||||
@@ -12,8 +12,8 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="fourBox nopadding ">
|
||||
<view class="fourIcon flexbox noRadius" style="justify-content: space-around;">
|
||||
<view class="fourBox nopadding" style="">
|
||||
<view class="fourIcon flexbox noRadius" style="justify-content: space-around; margin-bottom:0; box-shadow: none; ">
|
||||
<div class="item flexbox" @click="onPageJump('/pages/course/outline')">
|
||||
<image src="../../static/my_01.png" mode="aspectFit"></image>
|
||||
<text>学习大纲</text>
|
||||
@@ -37,7 +37,7 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class="newLeve2">
|
||||
<view class="home_nar " style="padding: 0; background-color: #fff;">
|
||||
<view class="home_nar nomargin" style="padding: 0; background-color: #fff;">
|
||||
<view class="flexbox">
|
||||
<view :class="['hn_cl_tit',tabsid==item.id?'active':'']" @click="curseClick(item)"
|
||||
v-for="(item, index) in curseTagList" :key="index">
|
||||
@@ -305,8 +305,10 @@
|
||||
//页面显示
|
||||
onShow() {
|
||||
uni.hideTabBar();
|
||||
// #ifdef APP-PLUS
|
||||
plus.screen.unlockOrientation();
|
||||
plus.screen.lockOrientation("portrait-primary");
|
||||
// #endif
|
||||
this.requestAll()
|
||||
},
|
||||
onTabItemTap() {
|
||||
@@ -687,7 +689,7 @@
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
@import '@/style/mixin.scss';
|
||||
|
||||
.nomargin{margin: 0 !important;}
|
||||
.nopadding{padding: 0 !important;}
|
||||
.noRadius{border-radius: 0 !important;}
|
||||
.appJump {
|
||||
@@ -1343,9 +1345,10 @@
|
||||
|
||||
}
|
||||
.newLeve2{
|
||||
box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.3);
|
||||
// box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.3);
|
||||
background-color: #fff;
|
||||
padding: 0 10rpx;
|
||||
border-top: 1px solid #eee;
|
||||
// padding-bottom:2rpx;
|
||||
}
|
||||
.home_nar {
|
||||
|
||||
Reference in New Issue
Block a user