Files
MER-2.2_2601/mer_uniapp/components/titleBox/index.vue
2026-03-08 20:07:52 +08:00

36 lines
620 B
Vue

<template>
<view class="flex-center recommend-box mt-20 mb-24">
<image :src="`${urlDomain}crmebimage/presets/haowuzuo.png`"></image>
<view class="f-s-32 lh-44rpx ml-4">{{title}}</view>
<image class="ml-6" :src="`${urlDomain}crmebimage/presets/haowuyou.png`"></image>
</view>
</template>
<script>
export default {
props: {
title: {
type: String,
default: ''
}
},
data() {
return {
urlDomain: this.$Cache.get("imgHost"),
}
}
}
</script>
<style scoped lang="scss">
.recommend-box {
image {
width: 42rpx;
height: 36rpx;
}
view {
font-weight: 600;
}
}
</style>