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