فهرست منبع

Merge branch 'master' of https://git.citupro.com/zhengnaiwen_citu/menduner-uniapp

Xiao_123 2 ماه پیش
والد
کامیت
3d354d800f
2فایلهای تغییر یافته به همراه9 افزوده شده و 9 حذف شده
  1. 3 3
      pagesB/jobFair/enterprisesClassification.vue
  2. 6 6
      pagesB/jobFair/positionClassification.vue

+ 3 - 3
pagesB/jobFair/enterprisesClassification.vue

@@ -8,13 +8,13 @@
         <view class="stick ss-p-y-30" :style="`background-color: ${backgroundColor}`">
           <view style="position: relative;">
             <uni-search-bar
-              v-model="query.content"
+              v-model="query.keyword"
               placeholder="输入关键字"
               cancelButton="none"
               :focus="false"
               bgColor="#fff"
               @confirm="onSearch($event.value)"
-              @clear="query.content = ''; onSearch()"
+              @clear="query.keyword = ''; onSearch()"
             >
             </uni-search-bar>
             <button class="search-btn" @tap.stop="onSearch">搜索</button>
@@ -90,7 +90,7 @@ const listData = ref([])
 const query = reactive({
   pageSize: 20, 
   pageNo: 1,
-  content: '',
+  keyword: '',
   jobFairId: undefined,
 })
 

+ 6 - 6
pagesB/jobFair/positionClassification.vue

@@ -12,13 +12,13 @@
             <!-- 搜索条 -->
             <view style="position: relative;">
               <uni-search-bar
-                v-model="query.content"
+                v-model="query.keyword"
                 placeholder="输入关键字"
                 cancelButton="none"
                 :focus="false"
                 bgColor="#fff"
                 @confirm="onSearch($event.value)"
-                @clear="query.content = ''; onSearch()"
+                @clear="query.keyword = ''; onSearch()"
               >
               </uni-search-bar>
               <button class="search-btn" @tap.stop="onSearch">搜索</button>
@@ -32,13 +32,13 @@
           <view class="stick ss-p-t-30" :style="`background-color: ${backgroundColor}`">
             <view style="position: relative;">
               <uni-search-bar
-                v-model="query.content"
+                v-model="query.keyword"
                 placeholder="输入关键字"
                 cancelButton="none"
                 :focus="false"
                 bgColor="#fff"
                 @confirm="onSearch($event.value)"
-                @clear="query.content = ''; onSearch()"
+                @clear="query.keyword = ''; onSearch()"
               >
               </uni-search-bar>
               <button class="search-btn" @tap.stop="onSearch">搜索</button>
@@ -98,7 +98,7 @@ const listData = ref([])
 const query = reactive({
   pageSize: 20, 
   pageNo: 1,
-  content: '',
+  keyword: '',
   jobFairId: undefined,
 })
 
@@ -150,7 +150,7 @@ const getJobFairDetail = async () => {
   // 类型 -1为不传tag参数
   tabList.value = data?.tag || []
   handClickTab(tabList.value?.length ? 0 : -1)
-  
+
   // 轮播图
   if (data?.headImg?.length) {
     swiperAdList.value = data.headImg