菜大王uniapp开发
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

52 lines
809 B

<script setup>
import { defineProps } from "vue";
import { gotoBack } from "@/libs/utils";
const props = defineProps(
{
title: {
type: String,
default() {
return "";
},
},
},
);
</script>
<template>
<view class="left h5Title">
<text
class="iconfont icon-back"
:style="{ color: '#333' }"
@tap="gotoBack"
/>
<text
class="title"
:style="{ color: '#333' }"
>
{{ props.title }}
</text>
</view>
</template>
<style lang="scss" scoped>
.left {
display: flex;
align-items: baseline;
padding-left: 29rpx;
.icon-back {
font-size: $text-4xl;
font-weight: bold;
color: black;
}
.title {
font-weight: bold;
font-size: $text-4xl;
color: black;
// margin-left: 5rpx;
}
}
</style>