Commit e759471e authored by lvtz's avatar lvtz

fix

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