shop-applet/pages/product/components/tip.vue

36 lines
541 B
Vue
Raw Permalink Normal View History

2024-05-14 17:25:13 +08:00
<template>
<view class="tip">
<view>
<span class="iconfont">&#xe78b;</span>
</view>
<view>{{message}}</view>
</view>
</template>
<script>
export default {
props: {
message: {
type: String,
default: '开启时指定区域不配送时无效'
}
}
}
</script>
<style lang="scss" scoped>
.tip {
display: flex;
color: #E93323;
width: 710rpx;
margin: auto;
padding: 21rpx 0 28rpx 0;
font-size: 22rpx;
.iconfont {
font-size: 22rpx;
display: inline-block;
margin-right: 10rpx;
}
}
</style>