From 2d881f8c1b0675646329462225c9aa2f9095e90a Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期三, 28 五月 2025 15:33:05 +0800
Subject: [PATCH] 提交
---
wx/pages/online_reporting/online_reporting.vue | 70 +++++++++++++++++++++-------------
1 files changed, 43 insertions(+), 27 deletions(-)
diff --git a/wx/pages/online_reporting/online_reporting.vue b/wx/pages/online_reporting/online_reporting.vue
index e4eca7a..e00335e 100644
--- a/wx/pages/online_reporting/online_reporting.vue
+++ b/wx/pages/online_reporting/online_reporting.vue
@@ -3,16 +3,16 @@
<u-sticky offset-top="0">
<view class="box_search">
<u-search placeholder="鎼滅储鍑洪櫓浜哄鍚�" :showAction="false" v-model="from.memberName" @search="search"></u-search>
- <view class="box_search_cate">
- <view @click="sele(index)" :class="index === num ? 'box_search_cate_item active' : 'box_search_cate_item'" v-for="(item, index) in cate" :key="index">{{item.name}}</view>
- </view>
+ <scroll-view scroll-x class="box_search_l">
+ <view class="box_search_cate">
+ <view @click="sele(index)" :class="index === num ? 'box_search_cate_item active' : 'box_search_cate_item'" v-for="(item, index) in cate" :key="index">{{item.name}}</view>
+ </view>
+ </scroll-view>
</view>
</u-sticky>
<view class="box_list" v-if="list.length > 0">
<view class="box_list_item" v-for="(item, index) in list" :key="index" @click="jump(item.id)">
- <view class="status yellow" v-if="item.status === 0 || item.status === 2 || item.status === 3">澶勭悊涓�</view>
- <view class="status info" v-if="item.status === 1">宸叉挙妗�</view>
- <view class="status info" v-if="item.status === 4">宸茬粨妗�</view>
+ <view class="status info">{{item.statusName}}</view>
<view class="top">
<text>{{item.memberName}}</text>
<text>韬唤璇佸彿锛歿{item.memberIdcardNo}}</text>
@@ -54,9 +54,21 @@
next: false,
cate: [
{ name: '鍏ㄩ儴', id: '' },
- { name: '宸插畬鎴�', id: '4' },
- { name: '澶勭悊涓�', id: '0' },
- { name: '宸叉挙閿�', id: '1' }
+ { name: '鏆傚瓨涓�', id: '0' },
+ { name: '宸叉姤妗�', id: '1' },
+ { name: '寰呯珛妗�', id: '2' },
+ { name: '宸茬珛妗�', id: '3' },
+ { name: '绔嬫閫�鍥�', id: '4' },
+ { name: '寰呭彈鐞�', id: '5' },
+ { name: '鎷掔粷鍙楃悊', id: '6' },
+ { name: '鍟嗚寰呭鎵�', id: '7' },
+ { name: '鍟嗚瀹℃壒鎷掔粷', id: '8' },
+ { name: '宸插彈鐞�', id: '9' },
+ { name: '寰呮牳璧�', id: '10' },
+ { name: '宸叉牳璧�', id: '11' },
+ { name: '寰呯粨妗�', id: '12' },
+ { name: '宸茬粨妗�', id: '13' },
+ { name: '宸叉挙妗�', id: '14' }
]
};
},
@@ -231,26 +243,30 @@
padding: 12rpx 30rpx;
box-sizing: border-box;
background-color: #ffffff;
- .box_search_cate {
+ .box_search_l {
width: 100%;
margin-top: 24rpx;
- display: flex;
- align-items: center;
- .active {
- border: 1rpx solid #437CB3 !important;
- color: #437CB3 !important;
- }
- .box_search_cate_item {
- padding: 12rpx 20rpx;
- border-radius: 30rpx;
- border: 1rpx solid #999999;
- font-weight: 400;
- font-size: 26rpx;
- color: #333333;
- font-style: normal;
- margin-right: 20rpx;
- &:last-child {
- margin: 0 !important;
+ white-space: nowrap;
+ .box_search_cate {
+ display: flex;
+ align-items: center;
+ .active {
+ border: 1rpx solid #437CB3 !important;
+ color: #437CB3 !important;
+ }
+ .box_search_cate_item {
+ display: inline-block;
+ padding: 12rpx 20rpx;
+ border-radius: 30rpx;
+ border: 1rpx solid #999999;
+ font-weight: 400;
+ font-size: 26rpx;
+ color: #333333;
+ font-style: normal;
+ margin-right: 20rpx;
+ &:last-child {
+ margin: 0 !important;
+ }
}
}
}
--
Gitblit v1.9.3