|
|
@@ -9,6 +9,9 @@
|
|
|
</up-navbar>
|
|
|
<image src="https://oss.familydaf.cn/sxsnfile/20251218/ee40161fef4647f0b736d118e554dc2f.png" class="top_bg_img" mode="widthFix"></image>
|
|
|
<view class="c-box adffc">
|
|
|
+ <view class="c-box-search" @click="toSearch">
|
|
|
+ <cus-search></cus-search>
|
|
|
+ </view>
|
|
|
<view class="c-box-lunbo">
|
|
|
<up-swiper
|
|
|
:list="bannarList"
|
|
|
@@ -61,6 +64,7 @@
|
|
|
|
|
|
<script setup name="">
|
|
|
import CusTabbar from '@/components/CusTabbar/index.vue'
|
|
|
+ import CusSearch from '@/components/CusSearch/index.vue'
|
|
|
import NonprofitActivety from '@/components/pages/nonprofitActivety/index.vue'
|
|
|
import PageEmpty from '@/components/pageEmpty/index.vue'
|
|
|
import { ref, getCurrentInstance, onMounted, nextTick, watch } from 'vue'
|
|
|
@@ -125,6 +129,10 @@
|
|
|
userId:''
|
|
|
})
|
|
|
|
|
|
+ const toSearch = () => {
|
|
|
+ uni.navigateTo({ url: '/pagesHome/searchActivity?from=home' })
|
|
|
+ }
|
|
|
+
|
|
|
const bannerClick = e => {
|
|
|
let banner = bannarOrigin.value[e];
|
|
|
if(banner&&banner?.redirect){
|
|
|
@@ -295,6 +303,11 @@
|
|
|
height: 100%;
|
|
|
overflow-y: auto;
|
|
|
position: relative;
|
|
|
+ &-search{
|
|
|
+ width: 100%;
|
|
|
+ padding: 20rpx 30rpx 0;
|
|
|
+ box-sizing: border-box;
|
|
|
+ }
|
|
|
&-lunbo{
|
|
|
width: 100%;
|
|
|
height: 326rpx;
|