This commit is contained in:
2024-01-29 09:11:35 +08:00
parent 730ec16c7a
commit be49a3e45e
4 changed files with 13 additions and 3 deletions

View File

@@ -14,6 +14,7 @@
<view class="select-dialog" @tap.stop="" :style="{ backgroundColor: bgColor }"> <view class="select-dialog" @tap.stop="" :style="{ backgroundColor: bgColor }">
<view class="title-main"> <view class="title-main">
<text class="title-detail">{{ title }}</text> <text class="title-detail">{{ title }}</text>
<image src="../../static/close2.png" class="close-icon" @click="closePop"></image>
</view> </view>
<view v-if="showSearch" class="search-box"> <view v-if="showSearch" class="search-box">
@@ -156,6 +157,9 @@
}, },
created() {}, created() {},
methods: { methods: {
closePop(){
this.hideModal()
},
handleSearch() { handleSearch() {
this.$emit('search', this.searchInput) this.$emit('search', this.searchInput)
}, },
@@ -320,6 +324,12 @@
padding: 30rpx 0; padding: 30rpx 0;
/* border-bottom: 1rpx solid #e6e1e1; */ /* border-bottom: 1rpx solid #e6e1e1; */
} }
.close-icon{
width: 20px;
height: 20px;
padding: 30rpx 0;
margin-right: 10px;
}
.selectIcon { .selectIcon {
font-family: 'selectIcon' !important; font-family: 'selectIcon' !important;

View File

@@ -9,7 +9,7 @@
v-model="associativeText" :focus="focus" :placeholder="hotWorld" clearButton="auto" v-model="associativeText" :focus="focus" :placeholder="hotWorld" clearButton="auto"
cancelButton="none" @clear="clear" /> cancelButton="none" @clear="clear" />
<view v-if="stringIsNotEmpty(associativeText) && associativeText!=page.key" @click="search" <view v-if="stringIsNotEmpty(associativeText) && associativeText!=page.key" @click="search"
style="margin-right: 10px;font-size: 13px; color: #FED6B5;">搜索</view> style="margin-right: 10px; padding: 3px 8px; font-size: 18px; color: #fff;">搜索</view>
</view> </view>
</view> </view>
<!-- <view class="search-body"> <!-- <view class="search-body">

View File

@@ -647,8 +647,8 @@
}, },
onShareTimeline() { onShareTimeline() {
return { return {
title: '邀请您使用XXX小程序', // 分享出的卡片标题 title: '邀请您使用汇融云菜窖小程序', // 分享出的卡片标题
path: '/pages/index/index', // 他人通过卡片进入小程序的路径可以在后面拼接URL的形式带参数 path: '/pages/home/cloudCard2', // 他人通过卡片进入小程序的路径可以在后面拼接URL的形式带参数
imageUrl: '/static/logo_icon.png', // 分享出去的图片默认为当前页面的截图。图片路径可以是本地文件路径或者网络图片路径。支持PNG及JPG。 imageUrl: '/static/logo_icon.png', // 分享出去的图片默认为当前页面的截图。图片路径可以是本地文件路径或者网络图片路径。支持PNG及JPG。
}; };
}, },

BIN
static/close2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB