首页修改
This commit is contained in:
@@ -228,7 +228,7 @@
|
||||
if (this.curOneCateIndex == 0) {
|
||||
console.log('点我了');
|
||||
uni.showModal({
|
||||
content:'详细内容请跳转至“疯子读书app”内查看',
|
||||
content:'详细内容请跳转至"疯子读书app"内查看',
|
||||
cancelText:'知道了',
|
||||
confirmText:'打开疯子读书',
|
||||
success: function (res) {
|
||||
|
||||
@@ -12,8 +12,8 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="fourBox">
|
||||
<view class="fourIcon flexbox" style="justify-content: space-around;">
|
||||
<view class="fourBox nopadding ">
|
||||
<view class="fourIcon flexbox noRadius" style="justify-content: space-around;">
|
||||
<div class="item flexbox" @click="onPageJump('/pages/course/outline')">
|
||||
<image src="../../static/my_01.png" mode="aspectFit"></image>
|
||||
<text>学习大纲</text>
|
||||
@@ -36,7 +36,8 @@
|
||||
</div>
|
||||
</view>
|
||||
</view>
|
||||
<view class="home_nar ">
|
||||
<view class="newLeve2">
|
||||
<view class="home_nar " 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">
|
||||
@@ -45,7 +46,7 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="fourBox" v-if="sbuMedicalTagsList && sbuMedicalTagsList.length > 0">
|
||||
<view class="fourBox" style="padding: 0;" v-if="sbuMedicalTagsList && sbuMedicalTagsList.length > 0">
|
||||
<view class="childrenBox fourIcon flexbox" style="justify-content: space-around;">
|
||||
<div class="item flexbox" @click="curseClickJump(item)" v-for="(item, index) in sbuMedicalTagsList"
|
||||
:key="index">
|
||||
@@ -53,7 +54,7 @@
|
||||
<text>{{item.title}}</text>
|
||||
</div>
|
||||
</view>
|
||||
</view>
|
||||
</view></view>
|
||||
<!-- 新闻播报 -->
|
||||
<view class="fourBox " v-if="newsList.length > 0">
|
||||
<view class="newsBox flexbox">
|
||||
@@ -684,6 +685,8 @@
|
||||
<style lang="scss" scoped>
|
||||
@import '@/style/mixin.scss';
|
||||
|
||||
.nopadding{padding: 0 !important;}
|
||||
.noRadius{border-radius: 0 !important;}
|
||||
.appJump {
|
||||
position: fixed;
|
||||
right: 0;
|
||||
@@ -1045,10 +1048,12 @@
|
||||
}
|
||||
|
||||
.childrenBox {
|
||||
@include mshadow(10px, 1);
|
||||
background-color: #e4eefa !important;
|
||||
// @include mshadow(10px, 1);
|
||||
background-color: #fff;
|
||||
justify-content: center;
|
||||
margin-top: 10px;
|
||||
box-shadow: none !important;
|
||||
border-radius: 0 !important;
|
||||
|
||||
.item {
|
||||
text {
|
||||
@@ -1099,7 +1104,7 @@
|
||||
.fourIcon {
|
||||
justify-content: space-between;
|
||||
box-shadow: 0px 0px 10px 0px rgba(167, 187, 228, 1);
|
||||
margin: 8px 0;
|
||||
margin-bottom: 8px;
|
||||
// border: 1px solid #fff;
|
||||
text-align: center;
|
||||
height: 60px;
|
||||
@@ -1241,7 +1246,7 @@
|
||||
background-size: cover;
|
||||
padding:30rpx 20rpx;
|
||||
position: relative;
|
||||
|
||||
padding-bottom: 40rpx;
|
||||
// margin-bottom:60rpx;
|
||||
// height: 400rpx; margin-bottom: 130rpx;
|
||||
.icon_hua_1 {
|
||||
@@ -1330,7 +1335,12 @@
|
||||
|
||||
|
||||
}
|
||||
|
||||
.newLeve2{
|
||||
box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.3);
|
||||
background-color: #fff;
|
||||
padding: 0 10rpx;
|
||||
// padding-bottom:2rpx;
|
||||
}
|
||||
.home_nar {
|
||||
margin: 10px 0;
|
||||
justify-content: space-between;
|
||||
@@ -1342,11 +1352,11 @@
|
||||
width: 100%;
|
||||
background-color: #fff;
|
||||
text-align: center;
|
||||
border-radius: 20rpx;
|
||||
// border-radius: 20rpx;
|
||||
align-content: center;
|
||||
justify-content: center;
|
||||
margin-right: 8rpx;
|
||||
box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.3);
|
||||
// box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.3);
|
||||
|
||||
image {
|
||||
width: 120rpx;
|
||||
@@ -1373,10 +1383,10 @@
|
||||
}
|
||||
|
||||
.hn_cl_tit.active {
|
||||
background-color: #9dc1ff;
|
||||
background-color: #e4eefa;
|
||||
|
||||
text {
|
||||
color: #fff;
|
||||
color: #3361a5;
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user