Commit 3f90a819 authored by lvtz's avatar lvtz

fix

parent 1e2a1309
......@@ -19,6 +19,9 @@
<view class="title">介绍</view>
</view>
<view class="introduce-box" wx:for="{{themeSelect.contentDetail}}" wx:key="index">
<view class="title-wrapper" wx:if="{{item.title}}">
<view class="title">{{item.title}} <view class="title-bg"></view></view>
</view>
<view class="media-box">
<sjd-media-show
content="{{item.content}}"
......
......@@ -99,6 +99,30 @@ page {
} */
.instro-bx .media-box {
}
.instro-bx .introduce-box .title-wrapper{
text-align: center;
}
.instro-bx .introduce-box .title{
display: inline-block;
font-size:34rpx;
font-family:PingFang SC;
font-weight:bold;
color:rgba(32,32,32,1);
line-height:1;
text-align: center;
margin: 0 auto;
margin-bottom: 20rpx;
position: relative;
}
.instro-bx .introduce-box .title .title-bg{
width: 90%;
height:15rpx;
background:rgba(255,209,70,.4);
border-radius:8rpx;
position: absolute;
left: 2%;
bottom: -15rpx;
}
/* 头部banner+介绍 end*/
/* 联系老师 start */
......
......@@ -19,6 +19,9 @@
<view class="title">介绍</view>
</view>
<view class="introduce-box" wx:for="{{themeSelect.contentDetail}}" wx:key="index">
<view class="title-wrapper" wx:if="{{item.title}}">
<view class="title">{{item.title}} <view class="title-bg"></view></view>
</view>
<view class="media-box">
<sjd-media-show
content="{{item.content}}"
......
......@@ -99,6 +99,30 @@ page {
} */
.instro-bx .media-box {
}
.instro-bx .introduce-box .title-wrapper{
text-align: center;
}
.instro-bx .introduce-box .title{
display: inline-block;
font-size:34rpx;
font-family:PingFang SC;
font-weight:bold;
color:rgba(32,32,32,1);
line-height:1;
text-align: center;
margin: 0 auto;
margin-bottom: 20rpx;
position: relative;
}
.instro-bx .introduce-box .title .title-bg{
width: 90%;
height:15rpx;
background:rgba(255,209,70,.4);
border-radius:8rpx;
position: absolute;
left: 2%;
bottom: -15rpx;
}
/* 头部banner+介绍 end*/
/* 联系老师 start */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment