This commit is contained in:
杨航
2025-09-05 15:41:41 +08:00
parent 996e27b77b
commit f482e6d208
+40 -4
View File
@@ -11,7 +11,12 @@
<view class="seek-setting">
<image src="@/static/images/dialog/new-dialog.png" alt="" class="image-icon-new" @click="createNewDialog">
</image>
<image src="@/static/images/dialog/history.png" alt="" class="image-icon" @click="showHistory"></image>
<image src="@/static/images/dialog/history.png" alt="" class="image-icon" @click="showMenuList = true"></image>
<view :class="['more-list', showMenuList? 'show':'']">
<view class="more-item" @click.stop="showHistory">历史</view>
<view class="more-item" @click.stop="toMessage">消息</view>
<view class="more-item" @click.stop="toMePage">我的</view>
</view>
</view>
</view>
@@ -463,9 +468,19 @@
})
}
const historyRef = ref(null)
const showMenuList = ref(false)
const showHistory = () => {
showMenuList.value = false
historyRef.value.open()
}
const toMessage = () => {
showMenuList.value = false
common.navigateTo('/pages/messageNotification/index')
}
const toMePage = () => {
showMenuList.value = false
common.switchTab('/pages/me/index')
}
const showHistoryDetail = (item) => {
queryAskHisByBatchIdPaging({
@@ -787,18 +802,39 @@
.seek-setting {
position: absolute;
z-index: 3;
z-index: 13;
right: 45rpx;
top: 8rpx;
font-size: 26rpx;
width: 140rpx;
height: 52rpx;
padding: 10rpx 0;
overflow: hidden;
// overflow: hidden;
line-height: 32rpx;
text-align: right;
padding-right: 48rpx;
.more-list{
position: absolute;
top: 100%;
right: 0;
width: 100rpx;
text-align: center;
background-color: #fff;
border-radius: 12rpx;
padding: 16rpx 0;
display: none;
z-index: 21;
&.show{
display: block;
}
.more-item{
line-height: 60rpx;
font-size: 29rpx;
color: #333;
position: relative;
z-index: 22;
}
}
.image-icon {
width: 30rpx;
height: 32rpx;