搜索内容

This commit is contained in:
lmj
2022-11-10 17:27:18 +08:00
parent 52cbe35a18
commit e5a93b83dc
2 changed files with 3 additions and 5 deletions

View File

@@ -287,7 +287,6 @@ export default {
}); });
}, },
contentTypeFilter(value) { contentTypeFilter(value) {
console.log(value)
let lmj = String(value) let lmj = String(value)
let obj = {}; let obj = {};
switch (lmj) { switch (lmj) {

View File

@@ -4,7 +4,6 @@
<u-toast ref="messager"></u-toast> <u-toast ref="messager"></u-toast>
<view style="margin:30upx 30upx; display: flex;"> <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-icon @click="back()" name="arrow-left" color="#383838" size="22" style="margin-right: 10upx;"></u-icon>
<u-search <u-search
bgColor="#F2F5F7" bgColor="#F2F5F7"
maxlength="20" maxlength="20"
@@ -19,14 +18,14 @@
actionText="搜索" actionText="搜索"
></u-search> ></u-search>
</view> </view>
<view style="margin:30upx 30upx 10upx 30upx;position: relative;border-bottom:1px solid #f0f0f0; display: flex;justify-content: space-between;"> <view v-show="stepIndex!==1" style="margin:30upx 30upx 10upx 30upx;position: relative;border-bottom:1px solid #f0f0f0; display: flex;justify-content: space-between;">
<view class="con-top"> <view class="con-top">
<view class="con-tab" > <view class="con-tab" >
<view class="con-tab-item" v-for="(item,index) in conTypeList" :key="index" @click="changeConType(item)" <view class="con-tab-item" v-for="(item,index) in conTypeList" :key="index" @click="changeConType(item)"
:class="{'active':conType==item.type}">{{item.con}}</view> :class="{'active':conType==item.type}">{{item.con}}</view>
</view> </view>
</view> </view>
<view v-show="stepIndex==2" style="padding: 15upx 0upx;line-height: 34upx;height: 40upx; font-size: 24upx;"> <view v-show="conType==1" style="padding: 15upx 0upx;line-height: 34upx;height: 40upx; font-size: 24upx;">
<data-filter :type="conType" @reset="resetFilters" @submit="submitFilters"></data-filter> <data-filter :type="conType" @reset="resetFilters" @submit="submitFilters"></data-filter>
</view> </view>
</view> </view>