修复热门弹窗选项列表、搜索页面 icon 路径等问题
parent
de2b2d9162
commit
f19de60058
|
@ -108,19 +108,18 @@
|
||||||
|
|
||||||
<view class="box-a">
|
<view class="box-a">
|
||||||
<view class="box-b" v-for="(item, index) in searchPrerequisiteList" :key="index">
|
<view class="box-b" v-for="(item, index) in searchPrerequisiteList" :key="index">
|
||||||
<ul
|
<view
|
||||||
class="box-c"
|
class="box-c"
|
||||||
:class="{ 'box-d': lefther === index }"
|
:class="{ 'box-d': lefther === index }"
|
||||||
@click="handerShowHand"
|
@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>
|
<text>{{ item }}</text>
|
||||||
</li>
|
</view>
|
||||||
</ul>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
</u-popup>
|
</u-popup>
|
||||||
|
|
||||||
|
@ -148,7 +147,7 @@ import PostView from "@/pages/common/postview/index.vue";
|
||||||
// const postTypeList = ['发布话题', '发布活动'];
|
// const postTypeList = ['发布话题', '发布活动'];
|
||||||
const postTypeList = [{lable:'发布话题',id:1}, {lable:'发布活动',id:2}];
|
const postTypeList = [{lable:'发布话题',id:1}, {lable:'发布活动',id:2}];
|
||||||
const searchPrerequisiteList = [
|
const searchPrerequisiteList = [
|
||||||
'热门', '最新', '筛选3', '筛选4', '筛选5', '筛选6', '筛选7', '筛选8', '筛选9'
|
'热门', '最新', '筛选3', '筛选4', '筛选5', '筛选6', '筛选7', '筛选8'
|
||||||
];
|
];
|
||||||
|
|
||||||
const list1 = reactive([
|
const list1 = reactive([
|
||||||
|
@ -499,12 +498,13 @@ import PostView from "@/pages/common/postview/index.vue";
|
||||||
margin-top: 42rpx;
|
margin-top: 42rpx;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
justify-content: space-between;
|
// justify-content: space-between;
|
||||||
}
|
}
|
||||||
|
|
||||||
.box-b {
|
.box-b {
|
||||||
width: calc(33.33% - 16rpx); /* 每行三个元素,减去外边距的总宽度 */
|
width: calc(33.33% - 48rpx); /* 每行三个元素,减去外边距的总宽度 */
|
||||||
margin-bottom: 24rpx;
|
margin-bottom: 24rpx;
|
||||||
|
margin-left: 24rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.box-c {
|
.box-c {
|
||||||
|
@ -524,7 +524,7 @@ import PostView from "@/pages/common/postview/index.vue";
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-family: "Microsoft YaHei";
|
font-family: "Microsoft YaHei";
|
||||||
// line-height: 82rpx;
|
// line-height: 82rpx;
|
||||||
display: block;
|
// display: block;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: all 0.3s ease;
|
transition: all 0.3s ease;
|
||||||
padding: 12rpx 0;
|
padding: 12rpx 0;
|
||||||
|
|
|
@ -7,11 +7,11 @@
|
||||||
<view class="sousuoBox1 flex alignCenter justifyBetween">
|
<view class="sousuoBox1 flex alignCenter justifyBetween">
|
||||||
<view class="sousuoBox flex alignCenter justifyBetween">
|
<view class="sousuoBox flex alignCenter justifyBetween">
|
||||||
<view class="souBOx 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> -->
|
<!-- <view class="shuruText">在食堂捡到一张饭卡</view> -->
|
||||||
<input v-model="keyword" @input="toContent" @confirm="onSearch" class="shuruText" :placeholder="placeholderText" type="text">
|
<input v-model="keyword" @input="toContent" @confirm="onSearch" class="shuruText" :placeholder="placeholderText" type="text">
|
||||||
</view>
|
</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>
|
||||||
<view class="category-dropdown flex alignCenter">
|
<view class="category-dropdown flex alignCenter">
|
||||||
<text class="text1 flex alignCenter" @click="onSearch">搜索</text>
|
<text class="text1 flex alignCenter" @click="onSearch">搜索</text>
|
||||||
|
@ -22,7 +22,7 @@
|
||||||
<view class="history" v-if="!noHistortOpen">
|
<view class="history" v-if="!noHistortOpen">
|
||||||
<view class="history-top">
|
<view class="history-top">
|
||||||
<view class="history-title">搜索历史</view>
|
<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>
|
||||||
<view class="history-center">
|
<view class="history-center">
|
||||||
<view v-for="(item, index) in historyList" :key="index" class="history-item">
|
<view v-for="(item, index) in historyList" :key="index" class="history-item">
|
||||||
|
@ -33,7 +33,7 @@
|
||||||
<!-- 无内容 -->
|
<!-- 无内容 -->
|
||||||
<view v-else>
|
<view v-else>
|
||||||
<view class="noContent">
|
<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 class="noContentText">没有找到相关内容奥,换个词试试吧!</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
Loading…
Reference in New Issue