会员相关功能更新

This commit is contained in:
GaoHao
2024-08-14 10:47:16 +08:00
parent 05c7b85a75
commit 5550649e8a
17 changed files with 2343 additions and 197 deletions

View File

@@ -15,7 +15,18 @@
:style="{'height':HeighT.customBar+'px','marginTop':HeighT.heightBar+'px','padding-right':HeighT.custwidth + 'px'}">
<!-- #endif -->
<!-- 标题搜索框 -->
<view class="flex-between" @click="clicknavigateBack">
<view v-if="search&&opacity">
<u--input
class="search"
v-model="searchVal"
placeholder="想吃什么搜一搜"
@confirm="confirmSearch"
prefixIcon="search"
prefixIconStyle="font-size: 22px;color: #909399"
:customStyle="{height:'100%',marginLeft:'20rpx',backgroundColor:'#eee',padding: '0'}"
></u--input>
</view>
<view class="flex-between" @click="clicknavigateBack" v-else>
<view class="navbar_tow_one flex-start" v-if="iconshow">
<u-icon name="arrow-left" :color="iconcolor" size="40"></u-icon>
</view>
@@ -42,7 +53,8 @@
export default {
data() {
return {
Topdistance: ''
Topdistance: '',
searchVal: ""
};
},
props: {
@@ -54,6 +66,10 @@
type: String,
default: '#333333'
},
search: {
type: Boolean,
default: false
},
opacity: {
type: Boolean,
default: false
@@ -104,6 +120,9 @@
} else {
uni.navigateBack()
}
},
confirmSearch () {
this.$emit('searchVal', this.searchVal)
}
}