Commit e759471e authored by lvtz's avatar lvtz

fix

parent ceb9bdab
......@@ -3,6 +3,9 @@ text, view {
font-size: 28rpx;
/* line-height: 1; */
}
page{
position: relative;
}
.container {
box-sizing: border-box;
height: auto;
......@@ -381,4 +384,16 @@ button::after{
color: #9C9C9D;
padding: 75rpx 0;
text-align: center;
}
/* 页面标题下横线 */
.page_topline {
width: 750rpx;
height: 1px;
/* background: rgba(0, 0, 0, 0.1); */
box-shadow: 0 0 5rpx 4rpx rgba(0, 0, 0, 0.1);
position: fixed;
left: 0;
top: 0;
z-index: 1;
transform: scaleY(.5);
}
\ No newline at end of file
<wxs src="../../../filter/index.wxs" module="filter" />
<view class="page_topline"></view>
<view class="container">
<view class="section">
<view class="section-title">问题和意见</view>
......
<wxs src="../../../filter/index.wxs" module="filter" />
<view class="page_topline"></view>
<view class="container">
<view class="list" wx:if="{{list.length>0}}">
<block wx:for="{{list}}" wx:for-item="bigitem" wx:key="bigindex" wx:for-index="bigindex">
<view class="list-item" wx:for="{{bigitem}}" wx:for-item="item" wx:key="index">
<view class="qa-box q-box">
<view class="nickname-box">{{item.teacher_id}}</view>
<view class="nickname-box">{{item.teacher.nickname}}</view>
<view class="time">{{filter.formatDateWithChinese(item.created_at)}}</view>
<view class="content-box">
<view class="text">{{item.content}} {{item.img.length}}</view>
......@@ -16,7 +17,7 @@
</view>
</view>
<view class="qa-box a-box" wx:if="{{item.reply_content}}">
<view class="nickname-box">轻校回复</view>
<view class="nickname-box">轻校回复:</view>
<view class="content-box">
<view class="text">{{item.reply_content}}</view>
</view>
......
page{
background: #F6F5F8;
}
.container{
}
.list{}
.list .list-item{
background: #fff;
margin-bottom: 20rpx;
padding: 0 30rpx;
}
.list .list-item:last-of-type{
margin-bottom: 0;
}
.list .list-item .qa-box{
padding: 24rpx 0;
}
.list .list-item .a-box{
border-top: 1px solid #F5F5F7;
}
.list .list-item .qa-box .nickname-box{
font-size: 30rpx;
color: #666;
line-height: 42rpx;
}
.list .list-item .qa-box .time{
font-size: 26rpx;
color: #999;
line-height: 36rpx;
padding: 8rpx 0 2rpx;
}
.list .list-item .qa-box .content-box{
padding-top: 14rpx;
}
.list .list-item .qa-box .content-box .text{
font-size: 26rpx;
color: #222;
line-height: 36rpx;
padding-bottom: 14rpx;
}
.imgbox{
display: flex;
align-items: center;
padding: 42rpx 0 8rpx;
}
.imgbox .imgitem{
width: 116rpx;
height: 116rpx;
margin-right: 50rpx;
}
.imgbox .imgitem:last-of-type{
margin-right: 0;
}
.list .list-item .qa-box .content-box .imgbox .imgitem .img{
width: 100%;
height: 116rpx;
}
.has-nomore{
font-size: 26rpx;
color: #9C9C9D;
padding: 75rpx 0;
text-align: center;
}
\ No newline at end of file
page {
background: #f6f5f8;
position: relative;
}
.container {
padding-bottom: 100rpx;
}
.list {
}
.list .list-item {
background: #fff;
margin-bottom: 20rpx;
padding: 0 30rpx;
}
.list .list-item:last-of-type {
margin-bottom: 0;
}
.list .list-item .qa-box {
padding: 24rpx 0;
}
.list .list-item .a-box {
border-top: 1px solid #f5f5f7;
}
.list .list-item .qa-box .nickname-box {
font-size: 30rpx;
color: #666;
line-height: 42rpx;
}
.list .list-item .qa-box .time {
font-size: 26rpx;
color: #999;
line-height: 36rpx;
padding: 8rpx 0 2rpx;
}
.list .list-item .qa-box .content-box {
padding-top: 14rpx;
}
.list .list-item .qa-box .content-box .text {
font-size: 26rpx;
color: #222;
line-height: 36rpx;
padding-bottom: 14rpx;
}
.imgbox {
display: flex;
align-items: center;
padding: 42rpx 0 8rpx;
}
.imgbox .imgitem {
width: 116rpx;
height: 116rpx;
margin-right: 50rpx;
}
.imgbox .imgitem:last-of-type {
margin-right: 0;
}
.list .list-item .qa-box .content-box .imgbox .imgitem .img {
width: 100%;
height: 116rpx;
}
.has-nomore {
font-size: 26rpx;
color: #9c9c9d;
padding: 75rpx 0;
text-align: center;
}
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