修复热门弹窗选项列表、搜索页面 icon 路径等问题

main
Connor 2024-06-08 20:01:35 +08:00
parent de2b2d9162
commit f19de60058
2 changed files with 13 additions and 13 deletions

View File

@ -108,19 +108,18 @@
<view class="box-a">
<view class="box-b" v-for="(item, index) in searchPrerequisiteList" :key="index">
<ul
<view
class="box-c"
:class="{ 'box-d': lefther === index }"
@click="handerShowHand"
>
<li class="offtext" :class="{ boxtext: lefther === index }" @click.stop="handerLi(index)">
<view class="offtext" :class="{ boxtext: lefther === index }" @click.stop="handerLi(index)">
<text>{{ item }}</text>
</li>
</ul>
</view>
</view>
</view>
</view>
</view>
</u-popup>
@ -148,7 +147,7 @@ import PostView from "@/pages/common/postview/index.vue";
// const postTypeList = ['', ''];
const postTypeList = [{lable:'发布话题',id:1}, {lable:'发布活动',id:2}];
const searchPrerequisiteList = [
'热门', '最新', '筛选3', '筛选4', '筛选5', '筛选6', '筛选7', '筛选8', '筛选9'
'热门', '最新', '筛选3', '筛选4', '筛选5', '筛选6', '筛选7', '筛选8'
];
const list1 = reactive([
@ -499,12 +498,13 @@ import PostView from "@/pages/common/postview/index.vue";
margin-top: 42rpx;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
// justify-content: space-between;
}
.box-b {
width: calc(33.33% - 16rpx); /* 每行三个元素,减去外边距的总宽度 */
width: calc(33.33% - 48rpx); /* 每行三个元素,减去外边距的总宽度 */
margin-bottom: 24rpx;
margin-left: 24rpx;
}
.box-c {
@ -524,7 +524,7 @@ import PostView from "@/pages/common/postview/index.vue";
text-align: center;
font-family: "Microsoft YaHei";
// line-height: 82rpx;
display: block;
// display: block;
cursor: pointer;
transition: all 0.3s ease;
padding: 12rpx 0;

View File

@ -7,11 +7,11 @@
<view class="sousuoBox1 flex alignCenter justifyBetween">
<view class="sousuoBox flex alignCenter justifyBetween">
<view class="souBOx flex alignCenter justifyBetween" >
<image src="../static/images/icon/tu2-2.png" class="img3"></image>
<image src="../../static/images/icon/tu2-2.png" class="img3"></image>
<!-- <view class="shuruText">在食堂捡到一张饭卡</view> -->
<input v-model="keyword" @input="toContent" @confirm="onSearch" class="shuruText" :placeholder="placeholderText" type="text">
</view>
<image @click.stop="toScanCode" src="../static/images/icon/tu2-3.png" class="img4"></image>
<image @click.stop="toScanCode" src="../../static/images/icon/tu2-3.png" class="img4"></image>
</view>
<view class="category-dropdown flex alignCenter">
<text class="text1 flex alignCenter" @click="onSearch"></text>
@ -22,7 +22,7 @@
<view class="history" v-if="!noHistortOpen">
<view class="history-top">
<view class="history-title">搜索历史</view>
<image src="../static/images/icon/tu3-4.png" class="history-icon" @click="clearHistory"></image>
<image src="../../static/images/icon/tu3-4.png" class="history-icon" @click="clearHistory"></image>
</view>
<view class="history-center">
<view v-for="(item, index) in historyList" :key="index" class="history-item">
@ -33,7 +33,7 @@
<!-- 无内容 -->
<view v-else>
<view class="noContent">
<image src="../static/images/icon/tu4-9.png" class="img6"></image>
<image src="../../static/images/icon/tu4-9.png" class="img6"></image>
<view class="noContentText">没有找到相关内容奥,换个词试试吧!</view>
</view>
</view>