From 891b5db055a1d27c6bda2e9700aa57f8bacd7cd2 Mon Sep 17 00:00:00 2001
From: xuxueyang <xuxy@fengyuntec.com>
Date: 星期四, 15 八月 2024 09:58:44 +0800
Subject: [PATCH] add 部分ui
---
pages/home/components/home-search.vue | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/pages/home/components/home-search.vue b/pages/home/components/home-search.vue
index a0373a6..5194327 100644
--- a/pages/home/components/home-search.vue
+++ b/pages/home/components/home-search.vue
@@ -1,8 +1,8 @@
<template>
<view class="p15 bg-white">
<view class="search-container m-t-12 flex">
- <view class="flex m-r-20">
- <view class="m-r-10" style="line-height: 80rpx;" @click="changeType">
+ <view class="flex m-r-20" @click="changeType">
+ <view class="m-r-10" style="line-height: 80rpx;" >
{{type=='flower'?'按鲜花':'按店铺'}}
</view>
<u-icon name="arrow-down"></u-icon>
@@ -100,10 +100,10 @@
if (this.history_supplier.indexOf(name) >= 0) {
} else {
- this..history_supplier.unshift(name)
+ this.history_supplier.unshift(name)
}
- if (this..history_supplier.length >= 10) {
- this..history_supplier.splice(this..history_supplier.length - 1, 1)
+ if (this.history_supplier.length >= 10) {
+ this.history_supplier.splice(this.history_supplier.length - 1, 1)
}
}
uni.navigateTo({
--
Gitblit v1.9.3