mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-08 18:36:47 +08:00
搜索问答
This commit is contained in:
@@ -4,21 +4,7 @@
|
||||
<u-toast ref="messager"></u-toast>
|
||||
<view style="margin:30upx 30upx; display: flex;">
|
||||
<u-icon @click="back()" name="arrow-left" color="#383838" size="22" style="margin-right: 10upx;"></u-icon>
|
||||
<!-- <u-search
|
||||
maxlength="20"
|
||||
:focus="true"
|
||||
@clear="clearSearch"
|
||||
placeholder="请输入关键字"
|
||||
:clearabled="true"
|
||||
:showAction="false"
|
||||
shape="round"
|
||||
v-model="keyword"
|
||||
@focus="toSearch()"
|
||||
bgColor="#ffffff"
|
||||
@search="searchList"
|
||||
search-icon="search"
|
||||
>
|
||||
</u-search> -->
|
||||
|
||||
<u-search
|
||||
bgColor="#F2F5F7"
|
||||
maxlength="20"
|
||||
@@ -212,22 +198,17 @@
|
||||
</view>
|
||||
</u-scroll-list>
|
||||
</view>
|
||||
<view class="items">
|
||||
<view class="qa" v-for="(item,irs) in qa.list" :key="irs" @click="toQaPage(item)">
|
||||
<view class="content">
|
||||
<view class="items">
|
||||
<view class="qa" v-for="(item,irs) in qa.list" :key="irs" @click="toQaPage(item)">
|
||||
<view class="content">
|
||||
<view class="content-list">
|
||||
<view class="content-title">
|
||||
<text v-if="item.isResolve" class="qa-solve">[已解决]</text>
|
||||
<text v-else class="qa-unSolve">[待解决]</text>
|
||||
<text v-html="$keywordActiveShow(item.title,keyword)"></text>
|
||||
<!-- {{ item.title }} -->
|
||||
</view>
|
||||
<!-- <view class="content-time">
|
||||
<text style="line-height: 40upx; color: #999; font-size: 26rpx; ">
|
||||
<view class="content-title" style="margin-left: -10upx;">
|
||||
<text v-if="item.isResolve" class="qa-solve" >【已解决】</text>
|
||||
</text>
|
||||
</view> -->
|
||||
|
||||
<text v-else class="qa-unSolve">【待解决】</text>
|
||||
<text v-html="$keywordActiveShow(item.title,keyword)"></text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item-author" style="display: flex;padding: 0 10upx;">
|
||||
<view style="font-size: 28upx;color: #666666;">
|
||||
{{ item.sysCreateBy }}
|
||||
</view>
|
||||
@@ -1036,14 +1017,11 @@
|
||||
|
||||
// text {
|
||||
// white-space: nowrap;
|
||||
// overflow: hidden;
|
||||
// text-overflow: ellipsis;
|
||||
// }
|
||||
.content-title{
|
||||
// overflow: hidden;
|
||||
// text-overflow: ellipsis;
|
||||
// }
|
||||
.content-title{
|
||||
color: #343434;
|
||||
font-size: 36upx;
|
||||
//line-height: 42px;
|
||||
color: #333;
|
||||
font-weight: 500;
|
||||
word-break:break-all;
|
||||
@@ -1066,10 +1044,10 @@
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin-top: 10upx;
|
||||
//height: 60upx;
|
||||
//height: 60upx;
|
||||
// margin-left: 8upx;
|
||||
margin-right: 8upx;
|
||||
.list-details{
|
||||
margin-right: 8upx;
|
||||
.list-details{
|
||||
padding-left: 10upx;
|
||||
.list-text{
|
||||
font-size: 28upx;
|
||||
|
||||
Reference in New Issue
Block a user