Browse Source

删除搜索提示

master
wanghongjun 2 years ago
parent
commit
cab4cb33e8
  1. 25
      pages/category/consulting/list.vue
  2. 8
      pages/targetdata/culturalnumbers.vue
  3. 8
      pages/targetdata/culturalresources.vue
  4. 8
      pages/targetdata/publicdata.vue
  5. 8
      pages/targetdata/supermarket.vue
  6. 2
      pages/user/mycertinfo/personverify.vue

25
pages/category/consulting/list.vue

@ -12,8 +12,8 @@
</view>
</scroll-view>
<!-- 右侧 二级分类 -->
<mescroll-body ref="mescrollRef" :sticky="true" @init="mescrollInit" :down="{ native: true }" @down="downCallback" :up="upOption" @up="upCallback">
<scroll-view class="cate-right" :scroll-top="scrollTop" :scroll-y="true" :style="{ height: `${scrollHeight}px` }">
<scroll-view class="cate-right" :scroll-top="scrollTop" :scroll-y="true" :style="{ height: `${scrollHeight}px` }">
<mescroll-body ref="mescrollRef" :sticky="true" @init="mescrollInit" :down="{ native: true }" @down="downCallback" :up="upOption" @up="upCallback">
<view v-if="list.length>0" class="cate-right-cont">
<view class="cate-two-box">
<view class="cate-cont-box">
@ -46,8 +46,8 @@
</view>
</scroll-view>
</mescroll-body>
</mescroll-body>
</scroll-view>
</view>
</view>
@ -122,8 +122,8 @@
this.consultingId = options.consultingId
this.curIndex = options.curIndex ? options.curIndex : 0
//
this.onRefreshPage()
this.getConsultingContextSelection()
this.onRefreshPage()
},
/**
@ -211,6 +211,11 @@
CategoryApi.consultingContextSelection().then(res=>{
if (res.resultCode == '00000000') {
app.informationList = res.data
app.informationList.forEach((items,key) => {
if (items.consultingId === app.consultingId) {
app.curIndex = key
}
})
} else {
app.$error('获取资讯信息失败')
}
@ -244,7 +249,7 @@
// + 20
.cate-left {
// height: 100%;
height: 100%;
display: flex;
flex-direction: column;
flex: 0 0 26%;
@ -261,7 +266,7 @@
.cate-cont {
width: 96%;
height: 300rpx;
padding: 16rpx;
padding: 16rpx 16rpx 0rpx 16rpx;
margin-top: 20rpx;
margin-right: 60rpx;
color: #8e908e;
@ -279,17 +284,17 @@
}
.cate-date {
position: absolute;
top: 200rpx;
top: 190rpx;
}
.cate-bt {
position: absolute;
top: 240rpx;
left: 385rpx;
width: 110rpx;
height: 50rpx;
height: 53rpx;
border-radius: 5rpx;
border: 1rpx #8e908e solid;
background-color: #fff;
background-color: #f7f7f7;
button {
padding-right: 0rpx;

8
pages/targetdata/culturalnumbers.vue

@ -114,12 +114,8 @@ export default {
methods: {
//
async onSearch() {
if (this.searchValue == '') {
this.$error('请输入搜索关键词');
} else {
await this.getHomeList(1)
await this.getHomeListImage()
}
await this.getHomeList(1)
await this.getHomeListImage()
},
// tab
async changeTab(val) {

8
pages/targetdata/culturalresources.vue

@ -114,12 +114,8 @@ export default {
methods: {
//
async onSearch() {
if (this.searchValue == '') {
this.$error('请输入搜索关键词');
} else {
await this.getHomeList(1)
await this.getHomeListImage()
}
await this.getHomeList(1)
await this.getHomeListImage()
},
// tab
async changeTab(val) {

8
pages/targetdata/publicdata.vue

@ -114,12 +114,8 @@
methods: {
//
async onSearch() {
if (this.searchValue == '') {
this.$error('请输入搜索关键词');
} else {
await this.getHomeList(1)
await this.getHomeListImage()
}
await this.getHomeList(1)
await this.getHomeListImage()
},
// tab
async changeTab(val) {

8
pages/targetdata/supermarket.vue

@ -114,12 +114,8 @@ export default {
methods: {
//
async onSearch() {
if (this.searchValue == '') {
this.$error('请输入搜索关键词');
} else {
await this.getHomeList(1)
await this.getHomeListImage()
}
await this.getHomeList(1)
await this.getHomeListImage()
},
// tab
async changeTab(val) {

2
pages/user/mycertinfo/personverify.vue

@ -498,7 +498,7 @@
success({ tempFiles }) {
oldImageList.push(tempFiles)
uni.uploadFile({
url: VerifyApi.getUploadUrl(), //
url: 'kk/'+VerifyApi.getUploadUrl(), //
filePath: tempFiles[0].path,
name: 'file',
success: (uploadFileRes) => {

Loading…
Cancel
Save