From 3ba1e65840564e9e8177d9a736d83ee18e9bcfad Mon Sep 17 00:00:00 2001
From: wangxia <779219182@qq.com>
Date: Tue, 18 Mar 2025 09:35:48 +0800
Subject: [PATCH] =?UTF-8?q?=E6=8E=92=E5=BA=8F=E6=9B=B4=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/firstBill/index.js | 43 +++++++++++++++----------------------------
pages/firstBill/index.wxml | 4 ++--
2 files changed, 17 insertions(+), 30 deletions(-)
diff --git a/pages/firstBill/index.js b/pages/firstBill/index.js
index 8ef7098..87a34b0 100644
--- a/pages/firstBill/index.js
+++ b/pages/firstBill/index.js
@@ -38,20 +38,6 @@ Page({
picked: '0'
},
],
- sortList: [
- {
- name: '综合排序',
- key: 'zuigao',
- },
- {
- name: '综合排序',
- key: 'zuigao',
- },
- {
- name: '综合排序',
- key: 'zuigao',
- },
- ],
anchorList: [
{
id: 'age',
@@ -137,7 +123,7 @@ Page({
lat: "",
lng: "",
jobClassify: "",
- sortTag: 0,
+ sortTag: 1,
jobRequestLabelIds: "",
cityName: "",
brandIds: "",
@@ -1717,7 +1703,7 @@ Page({
console.log(e);
let that = this;
// let data = e.currentTarget.dataset.item;
- this.data.storeJobListSearchForm.sortTag = 0;
+ this.data.storeJobListSearchForm.sortTag = 1;
that.data.storeJobListSearchForm.pageNum = 1;
this.setData({
firstMenu: "工价",
@@ -4346,7 +4332,7 @@ Page({
let item = e.currentTarget.dataset.item
that.data.choiceCollect = item.key;
// that.data.storeJobListSearchForm.ucj = e.currentTarget.dataset.id;
- that.data.storeJobListSearchForm.sortTag = item.key;
+ // that.data.storeJobListSearchForm.sortTag = 0;
that.data.storeJobListSearchForm.picked = item.picked;
that.data.storeJobListSearchForm.pageNum = 1;
that.setData({
@@ -4372,7 +4358,7 @@ Page({
let str = e.currentTarget.dataset.id;
console.log(e);
if (str == "all") {
- that.data.storeJobListSearchForm.sortTag = 0;
+ that.data.storeJobListSearchForm.sortTag = 1;
that.setData({
firstMenu: "工价",
// storeJobListSearchForm: that.data.storeJobListSearchForm,
@@ -4471,11 +4457,7 @@ Page({
firstMenu: "工价",
recordList: [],
});
- that.getJobList().then(() => {
- that.setData({
- siv: "menu",
- });
- });
+
} else if (str == "fuwufei") {
console.log(str);
that.data.storeJobListSearchForm.sortTag = 3;
@@ -4485,17 +4467,22 @@ Page({
// storeJobListSearchForm: tha t.data.storeJobListSearchForm,
recordList: [],
});
- that.getJobList().then(() => {
- that.setData({
- siv: "menu",
- });
- });
+
} else if (str == "shijian") {
+ that.data.storeJobListSearchForm.sortTag = 2;
+ that.data.storeJobListSearchForm.pageNum = 1;
that.setData({
firstMenu: "时间",
// storeJobListSearchForm: tha t.data.storeJobListSearchForm,
+ recordList: [],
});
+
}
+ that.getJobList().then(() => {
+ that.setData({
+ siv: "menu",
+ });
+ });
that.setData({
activez: str,
whichOneShow: "",
diff --git a/pages/firstBill/index.wxml b/pages/firstBill/index.wxml
index cd96d46..6159e12 100644
--- a/pages/firstBill/index.wxml
+++ b/pages/firstBill/index.wxml
@@ -3,7 +3,7 @@
伯才供应链
-->
-
+
{{searchCityParamStorage.name == '' ? '全国' : searchCityParamStorage.shortName}}
@@ -65,7 +65,7 @@
按工价
- 按佣金
+ 按佣金
按时间