This commit is contained in:
weipengfei 2024-01-25 11:01:27 +08:00
parent 08742b5870
commit 06b92e8206
2 changed files with 8 additions and 2 deletions

View File

@ -2,13 +2,19 @@
<view class="a_h_home">
<view class="a_h_body" v-if="show">
<image @click="open()" class="a_h_bg" mode="widthFix" src="https://lihai001.oss-cn-chengdu.aliyuncs.com/public/uploads/new_activity/tow_price_card.webp"></image>
<image @click.stop="close()" class="a_h_close" src="../static/images/wt_close.png"></image>
<image v-if="showClose" @click.stop="close()" class="a_h_close" src="../static/images/wt_close.png"></image>
</view>
</view>
</template>
<script>
export default {
props:{
showClose: {
type: Boolean,
default: true
}
},
data(){
return {
show: true

View File

@ -144,7 +144,7 @@
<activityCard @close="closeActivityCard"></activityCard>
</uni-popup>
<activityHome @click="navgo(`/pages/newActivity/towPrice/towPrice?street_id=${street_id}&townName=${street}`)"></activityHome>
<activityHome :showClose="false" @click="navgo(`/pages/newActivity/towPrice/towPrice?street_id=${street_id}&townName=${street}`)"></activityHome>
<!-- <m-tabbar native>
<template v-slot:tabbar_index_2>
<view class="custom_style">