From d3009fb2a181b7c78ed24e27b5d450a7ad1fa386 Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期四, 23 十一月 2023 16:33:06 +0800
Subject: [PATCH] #
---
pages/business/goBusiness/goBusiness.vue | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/pages/business/goBusiness/goBusiness.vue b/pages/business/goBusiness/goBusiness.vue
index 84198e9..f472821 100644
--- a/pages/business/goBusiness/goBusiness.vue
+++ b/pages/business/goBusiness/goBusiness.vue
@@ -14,6 +14,11 @@
</view>
</block>
</uni-nav-bar>
+
+ <!-- 鎼滅储妗� -->
+ <view class="search-bg">
+ <u-search placeholder="杈撳叆" v-model="keyword" :clearabled="true" @custom="search()" @search="search()"></u-search>
+ </view>
<view class="main-box">
<view class="box" v-for="item in list" @click="goDetl(item)">
@@ -30,6 +35,7 @@
</view>
</view>
+ <u-empty v-if="true" icon="../../../static/image/emptyList.png" v-show="list.length <= 0" />
<view class="fxbtn">
<uni-icons type="plusempty" color="#fff" @click="add()" ></uni-icons>
</view>
@@ -44,10 +50,11 @@
export default {
data() {
return {
+ keyword: '',
user: {
username: '',
id: 0,
- type: ''
+ type: 'user_id'
},
falg: true,
list: [{
@@ -76,7 +83,6 @@
onShow() {
let that = this
uni.$on('isRefresh',function(data){
- console.log(data);
that.user.username = data.title
that.user.id = data.id
that.user.type = data.key
@@ -92,7 +98,6 @@
methods: {
async getDetail() {
let res = await user.getDetail()
- console.log(res);
if (res.code === 200) {
this.user.username = res.data.username
this.user.id = res.data.id
--
Gitblit v1.9.1