uview-plus组件库全面升级更新,订单结算判断支付方式是否可用代码调整,公众号关注二维码修改
This commit is contained in:
36
uni_modules/uview-plus/components/u-title/u-title.vue
Normal file
36
uni_modules/uview-plus/components/u-title/u-title.vue
Normal file
@@ -0,0 +1,36 @@
|
||||
<style scoped lang="scss">
|
||||
.u-title {
|
||||
.u-title-prefix {
|
||||
width: 4px;
|
||||
height: 18px;
|
||||
border-radius: 2px;
|
||||
background: $u-primary;
|
||||
margin-right: 12px;
|
||||
margin-right :10px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
<template>
|
||||
<view class="u-title u-flex-row u-flex-y-center">
|
||||
<slot name="prefix">
|
||||
<view class="u-title-prefix">
|
||||
</view>
|
||||
</slot>
|
||||
<slot></slot>
|
||||
</view>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
name: 'u-title',
|
||||
props: {
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
}
|
||||
},
|
||||
created: function () {
|
||||
},
|
||||
methods: {
|
||||
}
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user