no message

This commit is contained in:
2025-09-03 13:12:44 +08:00
parent 573369817e
commit c2ba5048b0
16 changed files with 1370 additions and 202 deletions
+67
View File
@@ -0,0 +1,67 @@
<template>
<view class="my-btn" @click.stop="onClick"
:style="{
'border-radius':br,'min-height':mh,'background-color':bg,width:wd
}">
<text :style="{
color:color,'font-size':fz,'font-weight':fw
}">{{text}}</text>
</view>
</template>
<script>
export default {
props:{
text:{
type:String,
default:'确认'
},
wd:{
type:String,
default:'100%'
},
mh:{
type:String,
default:'88rpx'
},
bg:{
type:String,
default:'#7934F6'
},
br:{
type:String,
default:'16rpx'
},
color:{
type:String,
default:'#fff'
},
fz:{
type:String,
default:'32rpx'
},
fw:{
type:String,
default:'500'
}
},
mounted(){
},
methods: {
onClick(){
this.$emit('ok');
}
}
}
</script>
<style lang="scss" scoped>
.my-btn{
width:100%;
display: flex;
align-items: center;
justify-content: center;
}
</style>
+4 -3
View File
@@ -51,9 +51,10 @@
}
const leftPathType = this.leftPathType;
if(leftPathType === "navigateTo"){
uni.navigateTo({
url:leftPath,
})
// uni.navigateTo({
// url:leftPath,
// })
uni.navigateBack();
}else if(leftPathType === "switchTab"){
uni.switchTab({
url: leftPath,